content
stringlengths 23
1.05M
|
|---|
with Ada.Containers.Indefinite_Vectors;
with Protypo.Api.Engine_Values.Engine_Value_Array_Wrappers;
with Protypo.Api.Engine_Values.Engine_Value_Vectors;
with Protypo.Api.Engine_Values.Handlers;
--
-- ## What is this?
--
-- This is a generic package that allows you to export to the template an "array
-- of something," where the "something" can be an indefinite type (e.g.,
-- String)
--
-- The wrapper implements the `Ambivalent_Interface` that allows for both
-- indexed and record-like access. More precisely, it exports the following
-- access methods
--
-- * _indexed_ access to access a specific element of the array
-- * _first_, _last_ and _length_ analoguos to the corresponding Ada
-- attributes for arrays.
-- * _range_ and _iterate_ iterators to run over the array content.
-- _range_ iterates over the set of indexes, _iterate_ over the array
-- elements
--
-- The programmer must provide
-- * the type of the element
-- * the type of the array
-- * a function to convert an element to an `Engine_Value`
--
generic
type Element_Type (<>) is private;
type Index_Type is range <>;
with function "=" (X, Y : Element_Type) return Boolean is <>;
with package Element_Vectors
is new Ada.Containers.Indefinite_Vectors (Index_Type => Index_Type,
Element_Type => Element_Type);
with function Create (X : Element_Type) return Engine_Value is <>;
package Protypo.Api.Engine_Values.Indefinite_Vector_Wrappers is
type Array_Wrapper is new Handlers.Ambivalent_Interface with private;
type Array_Wrapper_Access is access Array_Wrapper;
function Make_Wrapper (Init : Element_Vectors.Vector)
return Handlers.Ambivalent_Interface_Access;
function Create (Value : Element_Vectors.Vector) return Engine_Value;
-- Syntactic sugar equivalent to Create(Make_Wrapper(Value))
procedure Set (Container : in out Array_Wrapper;
Index : Index_Type;
Value : Element_Type);
procedure Append (Container : in out Array_Wrapper;
Value : Element_Type);
function Get (X : Array_Wrapper;
Index : Engine_Value_Vectors.Vector)
return Handler_Value;
function Get (X : Array_Wrapper;
Field : Id)
return Handler_Value;
function Is_Field (X : Array_Wrapper; Field : Id) return Boolean;
private
type Array_Wrapper is
new Handlers.Ambivalent_Interface
with
record
A : Engine_Value_Array_Wrappers.Array_Wrapper_Access;
end record;
function Get (X : Array_Wrapper;
Index : Engine_Value_Vectors.Vector)
return Handler_Value
is (X.A.Get (Index));
function Get (X : Array_Wrapper;
Field : Id)
return Handler_Value
is (X.A.Get (Field));
function Is_Field (X : Array_Wrapper; Field : Id) return Boolean
is (X.A.Is_Field (Field));
function Create (Value : Element_Vectors.Vector) return Engine_Value
is (Handlers.Create (Make_Wrapper (Value)));
end Protypo.Api.Engine_Values.Indefinite_Vector_Wrappers;
|
-- Ada regular expression library
-- (c) Kristian Klomsten Skordal 2020 <kristian.skordal@wafflemail.net>
-- Report bugs and issues on <https://github.com/skordal/ada-regex>
with Ada.Characters.Latin_1;
with Ada.Unchecked_Deallocation;
with Regex.Utilities.Sorted_Sets;
with Regex.Utilities.String_Buffers;
package body Regex.Regular_Expressions is
function Create (Input : in String) return Regular_Expression is
begin
return Retval : Regular_Expression do
Parse (Input, Retval);
Compile (Retval);
end return;
end Create;
function Create (Input : in Regex.Syntax_Trees.Syntax_Tree_Node_Access) return Regular_Expression is
begin
return Retval : Regular_Expression do
Retval.Syntax_Tree := Regex.Syntax_Trees.Clone_Tree (Input, Retval.Syntax_Tree_Node_Count);
Compile (Retval);
end return;
end Create;
function Get_Syntax_Tree (This : in Regular_Expression)
return Regex.Syntax_Trees.Syntax_Tree_Node_Access is
begin
return This.Syntax_Tree;
end Get_Syntax_Tree;
function Get_State_Machine (This : in Regular_Expression)
return Regex.State_Machines.State_Machine_State_Vectors.Vector is
begin
return This.State_Machine_States;
end Get_State_Machine;
function Get_Start_State (This : in Regular_Expression)
return Regex.State_Machines.State_Machine_State_Access is
begin
return This.Start_State;
end Get_Start_State;
procedure Finalize (This : in out Regular_Expression) is
procedure Free_State is new Ada.Unchecked_Deallocation (State_Machine_State, State_Machine_State_Access);
begin
if This.Syntax_Tree /= null then
Free_Recursively (This.Syntax_Tree);
end if;
for State of This.State_Machine_States loop
Free_State (State);
end loop;
end Finalize;
function Get_Next_Node_Id (This : in out Regular_Expression) return Natural is
Retval : constant Natural := This.Syntax_Tree_Node_Count;
begin
This.Syntax_Tree_Node_Count := This.Syntax_Tree_Node_Count + 1;
return Retval;
end Get_Next_Node_Id;
-- Separate units:
procedure Parse (Input : in String; Output : in out Regular_Expression) is separate;
procedure Compile (Output : in out Regular_Expression) is separate;
end Regex.Regular_Expressions;
|
-- ----------------------------------------------------------------- --
-- AdaSDL --
-- Binding to Simple Direct Media Layer --
-- Copyright (C) 2001 A.M.F.Vargas --
-- Antonio M. F. Vargas --
-- Ponta Delgada - Azores - Portugal --
-- http://www.adapower.net/~avargas --
-- E-mail: avargas@adapower.net --
-- ----------------------------------------------------------------- --
-- --
-- This library is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public --
-- License as published by the Free Software Foundation; either --
-- version 2 of the License, or (at your option) any later version. --
-- --
-- This library is distributed in the hope that it will be useful, --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --
-- General Public License for more details. --
-- --
-- You should have received a copy of the GNU General Public --
-- License along with this library; if not, write to the --
-- Free Software Foundation, Inc., 59 Temple Place - Suite 330, --
-- Boston, MA 02111-1307, USA. --
-- --
-- As a special exception, if other files instantiate generics from --
-- this unit, or you link this unit with other files to produce an --
-- executable, this unit does not by itself cause the resulting --
-- executable to be covered by the GNU General Public License. This --
-- exception does not however invalidate any other reasons why the --
-- executable file might be covered by the GNU Public License. --
-- ----------------------------------------------------------------- --
-- **************************************************************** --
-- This is an Ada binding to SDL ( Simple DirectMedia Layer from --
-- Sam Lantinga - www.libsld.org ) --
-- **************************************************************** --
-- In order to help the Ada programmer, the comments in this file --
-- are, in great extent, a direct copy of the original text in the --
-- SDL header files. --
-- **************************************************************** --
with Interfaces.C.Strings;
with SDL.Types; use SDL.Types;
package SDL.Cdrom is
package CS renames Interfaces.C.Strings;
-- The maximum number of CDROM tracks on a disk.
MAX_TRACKS : constant := 99;
-- the types of CD-ROM track possible
AUDIO_TRACK : constant := 16#00#;
DATA_TRACK : constant := 16#04#;
type CDstatus is new C.int;
-- The possible states which a CD-ROM drive can be
TRAYEMPTY : constant := 0;
STOPPED : constant := 1;
PLAYING : constant := 2;
PAUSED : constant := 3;
ERROR : constant := -1;
-- Given a status, returns true if there's a disk in the drive
-- #define CD_INDRIVE(status) ((int)status > 0)
function INDRIVE (status : CDstatus) return Boolean;
pragma Inline (INDRIVE);
type CDtrack is
record
id : Uint8; -- Track number
the_type : Uint8; -- Data or audio track
unused : Uint16;
lenght : Uint32; -- Length, in frames, of this track
offset : Uint32; -- Offset, in frames, from start of disk
end record;
pragma Convention (C, CDtrack);
type track_Array is
array (C.int range 0 .. MAX_TRACKS) of CDtrack;
pragma Convention (C, track_Array);
-- This structure is only current as of the last call to CDStatus
type CD is
record
id : C.int; -- Private drive identifier
status : CDstatus; -- Current drive status
-- The rest of this structure is only valid if
-- there's a CD in drive
numtracks : C.int; -- Number of tracks on disk
cur_track : C.int; -- Current track position
cur_frame : C.int; -- Current frame offset within current track
track : track_Array;
end record;
pragma Convention (C, CD);
type CD_ptr is access CD;
pragma Convention (C, CD_ptr);
-- Conversion functions from frames to Minute/Second/Frames
-- and vice versa
CD_FPS : constant := 75;
procedure FRAMES_TO_MSF (
frames : C.int;
M : in out C.int;
S : in out C.int;
F : in out C.int);
pragma Inline (FRAMES_TO_MSF);
function MSF_TO_FRAMES (
M : C.int;
S : C.int;
F : C.int) return C.int;
pragma Inline (MSF_TO_FRAMES);
-- CD-audio API functions:
-- Returns the number of CD-ROM drives on the system, or -1 if
-- SDL.Init has not been called with the INIT_CDROM flag.
function CDNumDrives return C.int;
pragma Import (C, CDNumDrives, "SDL_CDNumDrives");
-- Returns a human-readable, system-dependent identifier for the CD-ROM.
-- Example:
-- "/dev/cdrom"
-- "E:"
-- "/dev/disk/ide/1/master"
function CDName (drive : C.int) return CS.chars_ptr;
pragma Import (C, CDName, "SDL_CDName");
-- Opens a CD-ROM drive for access. It returns a drive handle
-- on success, or NULL if the drive was invalid or busy. This
-- newly opened CD-ROM becomes the default CD used when other
-- CD functions are passed a NULL CD-ROM handle.
-- Drives are numbered starting with 0. Drive 0 is the system
-- default CD-ROM.
function CDOpen (drive : C.int) return CD_ptr;
pragma Import (C, CDOpen, "SDL_CDOpen");
-- This function returns the current status of the given drive.
-- If the drive has a CD in it, the table of contents of the CD
-- and current play position of the CD will be stored in the
-- SDL_CD structure.
function SDL_CDStatus (cdrom : CD_ptr) return CDstatus;
pragma Import (C, SDL_CDStatus, "SDL_CDStatus");
-- Play the given CD starting at 'start_track' and 'start_frame'
-- for 'ntracks' tracks and 'nframes' frames. If both 'ntrack'
-- and 'nframe' are 0, play until the end of the CD. This function
-- will skip data tracks. This function should only be called after
-- calling SDL_CDStatus() to get track information about the CD.
-- For example:
-- -- Play entire CD:
-- if CD_INDRIVE(SDL_CDStatus(cdrom)) /= 0 then
-- CDPlayTracks(cdrom, 0, 0, 0, 0);
-- end if;
-- -- Play last track:
-- if CD_INDRIVE(SDL_CDStatus(cdrom)) /= 0 then
-- CDPlayTracks(cdrom, cdrom.numtracks-1, 0, 0, 0);
-- end if;
-- -- Play first and second track and 10 seconds of third track:
-- if CD_INDRIVE(SDL_CDStatus(cdrom)) /= 0 then
-- CDPlayTracks(cdrom, 0, 0, 2, 10);
-- end if;
-- This function returns 0, or -1 if there was an error.
function CDPlayTracks (
cdrom : CD_ptr;
start_track : C.int;
start_frame : C.int;
ntracks : C.int;
nframes : C.int)
return C.int;
pragma Import (C, CDPlayTracks, "SDL_CDPlayTracks");
-- Play the given CD starting at 'start' frame for 'length'
-- frames. It returns 0, or -1 if there was an error.
function CDPlay (
cdrom : CD_ptr;
start : C.int;
lenght : C.int)
return C.int;
pragma Import (C, CDPlay, "SDL_CDPlay");
-- Pause play -- returns 0, or -1 on error
function CDPause (cdrom : CD_ptr) return C.int;
pragma Import (C, CDPause, "SDL_CDPause");
-- Resume play -- returns 0, or -1 on error
function CDResume (cdrom : CD_ptr) return C.int;
pragma Import (C, CDResume, "SDL_CDResume");
-- Stop play -- returns 0, or -1 on error
function CDStop (cdrom : CD_ptr) return C.int;
pragma Import (C, CDStop, "SDL_CDStop");
-- Eject CD-ROM -- returns 0, or -1 on error
function CDEject (cdrom : CD_ptr) return C.int;
pragma Import (C, CDEject, "SDL_CDEject");
-- Closes the handle for the CD-ROM drive
procedure CDClose (cdrom : CD_ptr);
pragma Import (C, CDClose, "SDL_CDClose");
end SDL.Cdrom;
|
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- Sample.Menu_Demo --
-- --
-- B O D Y --
-- --
------------------------------------------------------------------------------
-- Copyright (c) 1998 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
-- "Software"), to deal in the Software without restriction, including --
-- without limitation the rights to use, copy, modify, merge, publish, --
-- distribute, distribute with modifications, sublicense, and/or sell --
-- copies of the Software, and to permit persons to whom the Software is --
-- furnished to do so, subject to the following conditions: --
-- --
-- The above copyright notice and this permission notice shall be included --
-- in all copies or substantial portions of the Software. --
-- --
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. --
-- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR --
-- THE USE OR OTHER DEALINGS IN THE SOFTWARE. --
-- --
-- Except as contained in this notice, the name(s) of the above copyright --
-- holders shall not be used in advertising or otherwise to promote the --
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
------------------------------------------------------------------------------
-- Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
-- Version Control
-- $Revision: 1.7 $
-- Binding Version 00.93
------------------------------------------------------------------------------
with Terminal_Interface.Curses; use Terminal_Interface.Curses;
with Terminal_Interface.Curses.Panels; use Terminal_Interface.Curses.Panels;
with Terminal_Interface.Curses.Menus; use Terminal_Interface.Curses.Menus;
with Terminal_Interface.Curses.Menus.Menu_User_Data;
with Terminal_Interface.Curses.Menus.Item_User_Data;
with Ada.Characters.Latin_1; use Ada.Characters.Latin_1;
with Sample.Manifest; use Sample.Manifest;
with Sample.Function_Key_Setting; use Sample.Function_Key_Setting;
with Sample.Keyboard_Handler; use Sample.Keyboard_Handler;
with Sample.Menu_Demo.Handler;
with Sample.Helpers; use Sample.Helpers;
with Sample.Explanation; use Sample.Explanation;
package body Sample.Menu_Demo is
package Spacing_Demo is
procedure Spacing_Test;
end Spacing_Demo;
package body Spacing_Demo is
procedure Spacing_Test
is
function My_Driver (M : Menu;
K : Key_Code;
P : Panel) return Boolean;
procedure Set_Option_Key;
procedure Set_Select_Key;
procedure Set_Description_Key;
procedure Set_Hide_Key;
package Mh is new Sample.Menu_Demo.Handler (My_Driver);
I : Item_Array_Access := new Item_Array'
(New_Item ("January", "31 Days"),
New_Item ("February", "28/29 Days"),
New_Item ("March", "31 Days"),
New_Item ("April", "30 Days"),
New_Item ("May", "31 Days"),
New_Item ("June", "30 Days"),
New_Item ("July", "31 Days"),
New_Item ("August", "31 Days"),
New_Item ("September", "30 Days"),
New_Item ("October", "31 Days"),
New_Item ("November", "30 Days"),
New_Item ("December", "31 Days"),
Null_Item);
M : Menu := New_Menu (I);
Flip_State : Boolean := True;
Hide_Long : Boolean := False;
type Format_Code is (Four_By_1, Four_By_2, Four_By_3);
type Operations is (Flip, Reorder, Reformat, Reselect, Describe);
type Change is array (Operations) of Boolean;
pragma Pack (Change);
No_Change : constant Change := Change'(others => False);
Current_Format : Format_Code := Four_By_1;
To_Change : Change := No_Change;
function My_Driver (M : Menu;
K : Key_Code;
P : Panel) return Boolean
is
begin
To_Change := No_Change;
if K in User_Key_Code'Range then
if K = QUIT then
return True;
end if;
end if;
if K in Special_Key_Code'Range then
case K is
when Key_F4 =>
To_Change (Flip) := True;
return True;
when Key_F5 =>
To_Change (Reformat) := True;
Current_Format := Four_By_1;
return True;
when Key_F6 =>
To_Change (Reformat) := True;
Current_Format := Four_By_2;
return True;
when Key_F7 =>
To_Change (Reformat) := True;
Current_Format := Four_By_3;
return True;
when Key_F8 =>
To_Change (Reorder) := True;
return True;
when Key_F9 =>
To_Change (Reselect) := True;
return True;
when Key_F10 =>
if Current_Format /= Four_By_3 then
To_Change (Describe) := True;
return True;
else
return False;
end if;
when Key_F11 =>
Hide_Long := not Hide_Long;
declare
O : Item_Option_Set;
begin
for J in I'Range loop
Get_Options (I (J), O);
O.Selectable := True;
if Hide_Long then
case J is
when 1 | 3 | 5 | 7 | 8 | 10 | 12 =>
O.Selectable := False;
when others => null;
end case;
end if;
Set_Options (I (J), O);
end loop;
end;
return False;
when others => null;
end case;
end if;
return False;
end My_Driver;
procedure Set_Option_Key
is
O : Menu_Option_Set;
begin
if Current_Format = Four_By_1 then
Set_Soft_Label_Key (8, "");
else
Get_Options (M, O);
if O.Row_Major_Order then
Set_Soft_Label_Key (8, "O-Col");
else
Set_Soft_Label_Key (8, "O-Row");
end if;
end if;
Refresh_Soft_Label_Keys_Without_Update;
end Set_Option_Key;
procedure Set_Select_Key
is
O : Menu_Option_Set;
begin
Get_Options (M, O);
if O.One_Valued then
Set_Soft_Label_Key (9, "Multi");
else
Set_Soft_Label_Key (9, "Singl");
end if;
Refresh_Soft_Label_Keys_Without_Update;
end Set_Select_Key;
procedure Set_Description_Key
is
O : Menu_Option_Set;
begin
if Current_Format = Four_By_3 then
Set_Soft_Label_Key (10, "");
else
Get_Options (M, O);
if O.Show_Descriptions then
Set_Soft_Label_Key (10, "-Desc");
else
Set_Soft_Label_Key (10, "+Desc");
end if;
end if;
Refresh_Soft_Label_Keys_Without_Update;
end Set_Description_Key;
procedure Set_Hide_Key
is
begin
if Hide_Long then
Set_Soft_Label_Key (11, "Enab");
else
Set_Soft_Label_Key (11, "Disab");
end if;
Refresh_Soft_Label_Keys_Without_Update;
end Set_Hide_Key;
begin
Push_Environment ("MENU01");
Notepad ("MENU-PAD01");
Default_Labels;
Set_Soft_Label_Key (4, "Flip");
Set_Soft_Label_Key (5, "4x1");
Set_Soft_Label_Key (6, "4x2");
Set_Soft_Label_Key (7, "4x3");
Set_Option_Key;
Set_Select_Key;
Set_Description_Key;
Set_Hide_Key;
Set_Format (M, 4, 1);
loop
Mh.Drive_Me (M);
exit when To_Change = No_Change;
if To_Change (Flip) then
if Flip_State then
Flip_State := False;
Set_Spacing (M, 3, 2, 0);
else
Flip_State := True;
Set_Spacing (M);
end if;
elsif To_Change (Reformat) then
case Current_Format is
when Four_By_1 => Set_Format (M, 4, 1);
when Four_By_2 => Set_Format (M, 4, 2);
when Four_By_3 =>
declare
O : Menu_Option_Set;
begin
Get_Options (M, O);
O.Show_Descriptions := False;
Set_Options (M, O);
Set_Format (M, 4, 3);
end;
end case;
Set_Option_Key;
Set_Description_Key;
elsif To_Change (Reorder) then
declare
O : Menu_Option_Set;
begin
Get_Options (M, O);
O.Row_Major_Order := not O.Row_Major_Order;
Set_Options (M, O);
Set_Option_Key;
end;
elsif To_Change (Reselect) then
declare
O : Menu_Option_Set;
begin
Get_Options (M, O);
O.One_Valued := not O.One_Valued;
Set_Options (M, O);
Set_Select_Key;
end;
elsif To_Change (Describe) then
declare
O : Menu_Option_Set;
begin
Get_Options (M, O);
O.Show_Descriptions := not O.Show_Descriptions;
Set_Options (M, O);
Set_Description_Key;
end;
else
null;
end if;
end loop;
Set_Spacing (M);
Flip_State := True;
Pop_Environment;
Delete (M);
Free (I, True);
end Spacing_Test;
end Spacing_Demo;
procedure Demo
is
-- We use this datatype only to test the instantiation of
-- the Menu_User_Data generic package. No functionality
-- behind it.
type User_Data is new Integer;
type User_Data_Access is access User_Data;
-- Those packages are only instantiated to test the usability.
-- No real functionality is shown in the demo.
package MUD is new Menu_User_Data (User_Data, User_Data_Access);
package IUD is new Item_User_Data (User_Data, User_Data_Access);
function My_Driver (M : Menu;
K : Key_Code;
P : Panel) return Boolean;
package Mh is new Sample.Menu_Demo.Handler (My_Driver);
Itm : Item_Array_Access := new Item_Array'
(New_Item ("Menu Layout Options"),
New_Item ("Demo of Hook functions"),
Null_Item);
M : Menu := New_Menu (Itm);
U1 : User_Data_Access := new User_Data'(4711);
U2 : User_Data_Access;
U3 : User_Data_Access := new User_Data'(4712);
U4 : User_Data_Access;
function My_Driver (M : Menu;
K : Key_Code;
P : Panel) return Boolean
is
Idx : constant Positive := Get_Index (Current (M));
begin
if K in User_Key_Code'Range then
if K = QUIT then
return True;
elsif K = SELECT_ITEM then
if Idx in Itm'Range then
Hide (P);
Update_Panels;
end if;
case Idx is
when 1 => Spacing_Demo.Spacing_Test;
when others => Not_Implemented;
end case;
if Idx in Itm'Range then
Top (P);
Show (P);
Update_Panels;
Update_Screen;
end if;
end if;
end if;
return False;
end My_Driver;
begin
Push_Environment ("MENU00");
Notepad ("MENU-PAD00");
Default_Labels;
Refresh_Soft_Label_Keys_Without_Update;
Set_Pad_Character (M, '|');
MUD.Set_User_Data (M, U1);
IUD.Set_User_Data (Itm (1), U3);
Mh.Drive_Me (M);
MUD.Get_User_Data (M, U2);
pragma Assert (U1 = U2 and U1.all = 4711);
IUD.Get_User_Data (Itm (1), U4);
pragma Assert (U3 = U4 and U3.all = 4712);
Pop_Environment;
Delete (M);
Free (Itm, True);
end Demo;
end Sample.Menu_Demo;
|
package body Trendy_Test.Assertions is
procedure Fail (Op : in out Operation'Class;
Message : String;
Loc : Source_Location := Make_Source_Location) is
begin
Op.Report_Failure (Message, Loc);
end Fail;
procedure Assert (Op : in out Operation'Class; Condition : Boolean;
Loc : Source_Location := Make_Source_Location) is
begin
if not Condition then
Op.Report_Failure("", Loc);
end if;
end Assert;
procedure Assert_EQ (Op : in out Trendy_Test.Operation'Class;
Left : String;
Right : String;
Loc : Source_Location := Make_Source_Location) is
begin
if Left /= Right then
Op.Report_Failure (Left & " /= " & Right, Loc);
end if;
end Assert_EQ;
end Trendy_Test.Assertions;
|
With
Risi_Script.Types.Internals;
Private With
Risi_Script.Types.Implementation;
Private Package Risi_Script.Types.Implementation.Creators is
Package Internal renames Risi_Script.Types.Internals;
Function Create ( Item : Internal.Integer_Type ) return Representation;
-- Function Create ( Item : Internal.Array_Type ) return Representation;
-- Function Create ( Item : Internal.Hash_Type ) return Representation;
-- Function Create ( Item : Internal.String_Type ) return Representation;
Function Create ( Item : Internal.Real_Type ) return Representation;
Function Create ( Item : Internal.Pointer_Type ) return Representation;
-- Function Create ( Item : Internal.Reference_Type) return Representation;
Function Create ( Item : Internal.Fixed_Type ) return Representation;
Function Create ( Item : Internal.Boolean_Type ) return Representation;
Function Create ( Item : Internal.Func_Type ) return Representation;
Private
Function Create ( Item : Internal.Integer_Type ) return Representation
renames Internal_Create;
Function Create ( Item : Internal.Real_Type ) return Representation
renames Internal_Create;
Function Create ( Item : Internal.Pointer_Type ) return Representation
renames Internal_Create;
Function Create ( Item : Internal.Fixed_Type ) return Representation
renames Internal_Create;
Function Create ( Item : Internal.Boolean_Type ) return Representation
renames Internal_Create;
Function Create ( Item : Internal.Func_Type ) return Representation
renames Internal_Create;
End Risi_Script.Types.Implementation.Creators;
|
-- This file is generated by SWIG. Please do not modify by hand.
--
with Interfaces;
with Interfaces.C;
with Interfaces.C.Strings;
with swig;
with swig.pointers;
with xcb.Pointers;
with xcb.xcb_alloc_color_cells_cookie_t;
with xcb.xcb_alloc_color_cells_reply_t;
with xcb.xcb_alloc_color_cookie_t;
with xcb.xcb_alloc_color_planes_cookie_t;
with xcb.xcb_alloc_color_planes_reply_t;
with xcb.xcb_alloc_color_reply_t;
with xcb.xcb_alloc_named_color_cookie_t;
with xcb.xcb_alloc_named_color_reply_t;
with xcb.xcb_arc_iterator_t;
with xcb.xcb_arc_t;
with xcb.xcb_atom_iterator_t;
with xcb.xcb_auth_info_t;
with xcb.xcb_big_requests_enable_cookie_t;
with xcb.xcb_big_requests_enable_reply_t;
with xcb.xcb_bool32_iterator_t;
with xcb.xcb_button_iterator_t;
with xcb.xcb_change_gc_request_t;
with xcb.xcb_change_gc_value_list_t;
with xcb.xcb_change_hosts_request_t;
with xcb.xcb_change_keyboard_control_request_t;
with xcb.xcb_change_keyboard_control_value_list_t;
with xcb.xcb_change_keyboard_mapping_request_t;
with xcb.xcb_change_property_request_t;
with xcb.xcb_change_window_attributes_request_t;
with xcb.xcb_change_window_attributes_value_list_t;
with xcb.xcb_char2b_iterator_t;
with xcb.xcb_char2b_t;
with xcb.xcb_charinfo_iterator_t;
with xcb.xcb_charinfo_t;
with xcb.xcb_client_message_data_iterator_t;
with xcb.xcb_coloritem_iterator_t;
with xcb.xcb_coloritem_t;
with xcb.xcb_colormap_iterator_t;
with xcb.xcb_configure_window_request_t;
with xcb.xcb_configure_window_value_list_t;
with xcb.xcb_create_gc_request_t;
with xcb.xcb_create_gc_value_list_t;
with xcb.xcb_create_window_request_t;
with xcb.xcb_create_window_value_list_t;
with xcb.xcb_cursor_iterator_t;
with xcb.xcb_depth_iterator_t;
with xcb.xcb_depth_t;
with xcb.xcb_drawable_iterator_t;
with xcb.xcb_extension_t;
with xcb.xcb_fill_poly_request_t;
with xcb.xcb_font_iterator_t;
with xcb.xcb_fontable_iterator_t;
with xcb.xcb_fontprop_iterator_t;
with xcb.xcb_fontprop_t;
with xcb.xcb_format_iterator_t;
with xcb.xcb_format_t;
with xcb.xcb_free_colors_request_t;
with xcb.xcb_gcontext_iterator_t;
with xcb.xcb_generic_error_t;
with xcb.xcb_generic_event_t;
with xcb.xcb_generic_iterator_t;
with xcb.xcb_get_atom_name_cookie_t;
with xcb.xcb_get_atom_name_reply_t;
with xcb.xcb_get_font_path_cookie_t;
with xcb.xcb_get_font_path_reply_t;
with xcb.xcb_get_geometry_cookie_t;
with xcb.xcb_get_geometry_reply_t;
with xcb.xcb_get_image_cookie_t;
with xcb.xcb_get_image_reply_t;
with xcb.xcb_get_input_focus_cookie_t;
with xcb.xcb_get_input_focus_reply_t;
with xcb.xcb_get_keyboard_control_cookie_t;
with xcb.xcb_get_keyboard_control_reply_t;
with xcb.xcb_get_keyboard_mapping_cookie_t;
with xcb.xcb_get_keyboard_mapping_reply_t;
with xcb.xcb_get_modifier_mapping_cookie_t;
with xcb.xcb_get_modifier_mapping_reply_t;
with xcb.xcb_get_motion_events_cookie_t;
with xcb.xcb_get_motion_events_reply_t;
with xcb.xcb_get_pointer_control_cookie_t;
with xcb.xcb_get_pointer_control_reply_t;
with xcb.xcb_get_pointer_mapping_cookie_t;
with xcb.xcb_get_pointer_mapping_reply_t;
with xcb.xcb_get_property_cookie_t;
with xcb.xcb_get_property_reply_t;
with xcb.xcb_get_screen_saver_cookie_t;
with xcb.xcb_get_screen_saver_reply_t;
with xcb.xcb_get_selection_owner_cookie_t;
with xcb.xcb_get_selection_owner_reply_t;
with xcb.xcb_get_window_attributes_cookie_t;
with xcb.xcb_get_window_attributes_reply_t;
with xcb.xcb_glx_are_textures_resident_cookie_t;
with xcb.xcb_glx_are_textures_resident_reply_t;
with xcb.xcb_glx_bool32_iterator_t;
with xcb.xcb_glx_change_drawable_attributes_request_t;
with xcb.xcb_glx_client_info_request_t;
with xcb.xcb_glx_context_iterator_t;
with xcb.xcb_glx_context_tag_iterator_t;
with xcb.xcb_glx_create_context_attribs_arb_request_t;
with xcb.xcb_glx_create_pbuffer_request_t;
with xcb.xcb_glx_create_pixmap_request_t;
with xcb.xcb_glx_create_window_request_t;
with xcb.xcb_glx_delete_queries_arb_request_t;
with xcb.xcb_glx_delete_textures_request_t;
with xcb.xcb_glx_drawable_iterator_t;
with xcb.xcb_glx_fbconfig_iterator_t;
with xcb.xcb_glx_finish_cookie_t;
with xcb.xcb_glx_finish_reply_t;
with xcb.xcb_glx_float32_iterator_t;
with xcb.xcb_glx_float64_iterator_t;
with xcb.xcb_glx_gen_lists_cookie_t;
with xcb.xcb_glx_gen_lists_reply_t;
with xcb.xcb_glx_gen_queries_arb_cookie_t;
with xcb.xcb_glx_gen_queries_arb_reply_t;
with xcb.xcb_glx_gen_textures_cookie_t;
with xcb.xcb_glx_gen_textures_reply_t;
with xcb.xcb_glx_get_booleanv_cookie_t;
with xcb.xcb_glx_get_booleanv_reply_t;
with xcb.xcb_glx_get_clip_plane_cookie_t;
with xcb.xcb_glx_get_clip_plane_reply_t;
with xcb.xcb_glx_get_color_table_cookie_t;
with xcb.xcb_glx_get_color_table_parameterfv_cookie_t;
with xcb.xcb_glx_get_color_table_parameterfv_reply_t;
with xcb.xcb_glx_get_color_table_parameteriv_cookie_t;
with xcb.xcb_glx_get_color_table_parameteriv_reply_t;
with xcb.xcb_glx_get_color_table_reply_t;
with xcb.xcb_glx_get_compressed_tex_image_arb_cookie_t;
with xcb.xcb_glx_get_compressed_tex_image_arb_reply_t;
with xcb.xcb_glx_get_convolution_filter_cookie_t;
with xcb.xcb_glx_get_convolution_filter_reply_t;
with xcb.xcb_glx_get_convolution_parameterfv_cookie_t;
with xcb.xcb_glx_get_convolution_parameterfv_reply_t;
with xcb.xcb_glx_get_convolution_parameteriv_cookie_t;
with xcb.xcb_glx_get_convolution_parameteriv_reply_t;
with xcb.xcb_glx_get_doublev_cookie_t;
with xcb.xcb_glx_get_doublev_reply_t;
with xcb.xcb_glx_get_drawable_attributes_cookie_t;
with xcb.xcb_glx_get_drawable_attributes_reply_t;
with xcb.xcb_glx_get_error_cookie_t;
with xcb.xcb_glx_get_error_reply_t;
with xcb.xcb_glx_get_fb_configs_cookie_t;
with xcb.xcb_glx_get_fb_configs_reply_t;
with xcb.xcb_glx_get_floatv_cookie_t;
with xcb.xcb_glx_get_floatv_reply_t;
with xcb.xcb_glx_get_histogram_cookie_t;
with xcb.xcb_glx_get_histogram_parameterfv_cookie_t;
with xcb.xcb_glx_get_histogram_parameterfv_reply_t;
with xcb.xcb_glx_get_histogram_parameteriv_cookie_t;
with xcb.xcb_glx_get_histogram_parameteriv_reply_t;
with xcb.xcb_glx_get_histogram_reply_t;
with xcb.xcb_glx_get_integerv_cookie_t;
with xcb.xcb_glx_get_integerv_reply_t;
with xcb.xcb_glx_get_lightfv_cookie_t;
with xcb.xcb_glx_get_lightfv_reply_t;
with xcb.xcb_glx_get_lightiv_cookie_t;
with xcb.xcb_glx_get_lightiv_reply_t;
with xcb.xcb_glx_get_mapdv_cookie_t;
with xcb.xcb_glx_get_mapdv_reply_t;
with xcb.xcb_glx_get_mapfv_cookie_t;
with xcb.xcb_glx_get_mapfv_reply_t;
with xcb.xcb_glx_get_mapiv_cookie_t;
with xcb.xcb_glx_get_mapiv_reply_t;
with xcb.xcb_glx_get_materialfv_cookie_t;
with xcb.xcb_glx_get_materialfv_reply_t;
with xcb.xcb_glx_get_materialiv_cookie_t;
with xcb.xcb_glx_get_materialiv_reply_t;
with xcb.xcb_glx_get_minmax_cookie_t;
with xcb.xcb_glx_get_minmax_parameterfv_cookie_t;
with xcb.xcb_glx_get_minmax_parameterfv_reply_t;
with xcb.xcb_glx_get_minmax_parameteriv_cookie_t;
with xcb.xcb_glx_get_minmax_parameteriv_reply_t;
with xcb.xcb_glx_get_minmax_reply_t;
with xcb.xcb_glx_get_pixel_mapfv_cookie_t;
with xcb.xcb_glx_get_pixel_mapfv_reply_t;
with xcb.xcb_glx_get_pixel_mapuiv_cookie_t;
with xcb.xcb_glx_get_pixel_mapuiv_reply_t;
with xcb.xcb_glx_get_pixel_mapusv_cookie_t;
with xcb.xcb_glx_get_pixel_mapusv_reply_t;
with xcb.xcb_glx_get_polygon_stipple_cookie_t;
with xcb.xcb_glx_get_polygon_stipple_reply_t;
with xcb.xcb_glx_get_query_objectiv_arb_cookie_t;
with xcb.xcb_glx_get_query_objectiv_arb_reply_t;
with xcb.xcb_glx_get_query_objectuiv_arb_cookie_t;
with xcb.xcb_glx_get_query_objectuiv_arb_reply_t;
with xcb.xcb_glx_get_queryiv_arb_cookie_t;
with xcb.xcb_glx_get_queryiv_arb_reply_t;
with xcb.xcb_glx_get_separable_filter_cookie_t;
with xcb.xcb_glx_get_separable_filter_reply_t;
with xcb.xcb_glx_get_string_cookie_t;
with xcb.xcb_glx_get_string_reply_t;
with xcb.xcb_glx_get_tex_envfv_cookie_t;
with xcb.xcb_glx_get_tex_envfv_reply_t;
with xcb.xcb_glx_get_tex_enviv_cookie_t;
with xcb.xcb_glx_get_tex_enviv_reply_t;
with xcb.xcb_glx_get_tex_gendv_cookie_t;
with xcb.xcb_glx_get_tex_gendv_reply_t;
with xcb.xcb_glx_get_tex_genfv_cookie_t;
with xcb.xcb_glx_get_tex_genfv_reply_t;
with xcb.xcb_glx_get_tex_geniv_cookie_t;
with xcb.xcb_glx_get_tex_geniv_reply_t;
with xcb.xcb_glx_get_tex_image_cookie_t;
with xcb.xcb_glx_get_tex_image_reply_t;
with xcb.xcb_glx_get_tex_level_parameterfv_cookie_t;
with xcb.xcb_glx_get_tex_level_parameterfv_reply_t;
with xcb.xcb_glx_get_tex_level_parameteriv_cookie_t;
with xcb.xcb_glx_get_tex_level_parameteriv_reply_t;
with xcb.xcb_glx_get_tex_parameterfv_cookie_t;
with xcb.xcb_glx_get_tex_parameterfv_reply_t;
with xcb.xcb_glx_get_tex_parameteriv_cookie_t;
with xcb.xcb_glx_get_tex_parameteriv_reply_t;
with xcb.xcb_glx_get_visual_configs_cookie_t;
with xcb.xcb_glx_get_visual_configs_reply_t;
with xcb.xcb_glx_is_direct_cookie_t;
with xcb.xcb_glx_is_direct_reply_t;
with xcb.xcb_glx_is_enabled_cookie_t;
with xcb.xcb_glx_is_enabled_reply_t;
with xcb.xcb_glx_is_list_cookie_t;
with xcb.xcb_glx_is_list_reply_t;
with xcb.xcb_glx_is_query_arb_cookie_t;
with xcb.xcb_glx_is_query_arb_reply_t;
with xcb.xcb_glx_is_texture_cookie_t;
with xcb.xcb_glx_is_texture_reply_t;
with xcb.xcb_glx_make_context_current_cookie_t;
with xcb.xcb_glx_make_context_current_reply_t;
with xcb.xcb_glx_make_current_cookie_t;
with xcb.xcb_glx_make_current_reply_t;
with xcb.xcb_glx_pbuffer_iterator_t;
with xcb.xcb_glx_pixmap_iterator_t;
with xcb.xcb_glx_query_context_cookie_t;
with xcb.xcb_glx_query_context_reply_t;
with xcb.xcb_glx_query_extensions_string_cookie_t;
with xcb.xcb_glx_query_extensions_string_reply_t;
with xcb.xcb_glx_query_server_string_cookie_t;
with xcb.xcb_glx_query_server_string_reply_t;
with xcb.xcb_glx_query_version_cookie_t;
with xcb.xcb_glx_query_version_reply_t;
with xcb.xcb_glx_read_pixels_cookie_t;
with xcb.xcb_glx_read_pixels_reply_t;
with xcb.xcb_glx_render_large_request_t;
with xcb.xcb_glx_render_mode_cookie_t;
with xcb.xcb_glx_render_mode_reply_t;
with xcb.xcb_glx_render_request_t;
with xcb.xcb_glx_set_client_info_2arb_request_t;
with xcb.xcb_glx_set_client_info_arb_request_t;
with xcb.xcb_glx_vendor_private_request_t;
with xcb.xcb_glx_vendor_private_with_reply_cookie_t;
with xcb.xcb_glx_vendor_private_with_reply_reply_t;
with xcb.xcb_glx_window_iterator_t;
with xcb.xcb_grab_keyboard_cookie_t;
with xcb.xcb_grab_keyboard_reply_t;
with xcb.xcb_grab_pointer_cookie_t;
with xcb.xcb_grab_pointer_reply_t;
with xcb.xcb_host_iterator_t;
with xcb.xcb_host_t;
with xcb.xcb_image_text_16_request_t;
with xcb.xcb_image_text_8_request_t;
with xcb.xcb_intern_atom_cookie_t;
with xcb.xcb_intern_atom_reply_t;
with xcb.xcb_keycode32_iterator_t;
with xcb.xcb_keycode_iterator_t;
with xcb.xcb_keysym_iterator_t;
with xcb.xcb_list_extensions_cookie_t;
with xcb.xcb_list_extensions_reply_t;
with xcb.xcb_list_fonts_cookie_t;
with xcb.xcb_list_fonts_reply_t;
with xcb.xcb_list_fonts_with_info_cookie_t;
with xcb.xcb_list_fonts_with_info_reply_t;
with xcb.xcb_list_hosts_cookie_t;
with xcb.xcb_list_hosts_reply_t;
with xcb.xcb_list_installed_colormaps_cookie_t;
with xcb.xcb_list_installed_colormaps_reply_t;
with xcb.xcb_list_properties_cookie_t;
with xcb.xcb_list_properties_reply_t;
with xcb.xcb_lookup_color_cookie_t;
with xcb.xcb_lookup_color_reply_t;
with xcb.xcb_open_font_request_t;
with xcb.xcb_pixmap_iterator_t;
with xcb.xcb_point_iterator_t;
with xcb.xcb_point_t;
with xcb.xcb_poly_arc_request_t;
with xcb.xcb_poly_fill_arc_request_t;
with xcb.xcb_poly_fill_rectangle_request_t;
with xcb.xcb_poly_line_request_t;
with xcb.xcb_poly_point_request_t;
with xcb.xcb_poly_rectangle_request_t;
with xcb.xcb_poly_segment_request_t;
with xcb.xcb_poly_text_16_request_t;
with xcb.xcb_poly_text_8_request_t;
with xcb.xcb_protocol_request_t;
with xcb.xcb_put_image_request_t;
with xcb.xcb_query_best_size_cookie_t;
with xcb.xcb_query_best_size_reply_t;
with xcb.xcb_query_colors_cookie_t;
with xcb.xcb_query_colors_reply_t;
with xcb.xcb_query_extension_cookie_t;
with xcb.xcb_query_extension_reply_t;
with xcb.xcb_query_font_cookie_t;
with xcb.xcb_query_font_reply_t;
with xcb.xcb_query_keymap_cookie_t;
with xcb.xcb_query_keymap_reply_t;
with xcb.xcb_query_pointer_cookie_t;
with xcb.xcb_query_pointer_reply_t;
with xcb.xcb_query_text_extents_cookie_t;
with xcb.xcb_query_text_extents_reply_t;
with xcb.xcb_query_tree_cookie_t;
with xcb.xcb_query_tree_reply_t;
with xcb.xcb_rectangle_iterator_t;
with xcb.xcb_rectangle_t;
with xcb.xcb_render_add_glyphs_request_t;
with xcb.xcb_render_add_traps_request_t;
with xcb.xcb_render_animcursorelt_iterator_t;
with xcb.xcb_render_animcursorelt_t;
with xcb.xcb_render_change_picture_request_t;
with xcb.xcb_render_change_picture_value_list_t;
with xcb.xcb_render_color_iterator_t;
with xcb.xcb_render_color_t;
with xcb.xcb_render_composite_glyphs_16_request_t;
with xcb.xcb_render_composite_glyphs_32_request_t;
with xcb.xcb_render_composite_glyphs_8_request_t;
with xcb.xcb_render_create_anim_cursor_request_t;
with xcb.xcb_render_create_conical_gradient_request_t;
with xcb.xcb_render_create_linear_gradient_request_t;
with xcb.xcb_render_create_picture_request_t;
with xcb.xcb_render_create_picture_value_list_t;
with xcb.xcb_render_create_radial_gradient_request_t;
with xcb.xcb_render_directformat_iterator_t;
with xcb.xcb_render_fill_rectangles_request_t;
with xcb.xcb_render_fixed_iterator_t;
with xcb.xcb_render_free_glyphs_request_t;
with xcb.xcb_render_glyph_iterator_t;
with xcb.xcb_render_glyphinfo_iterator_t;
with xcb.xcb_render_glyphinfo_t;
with xcb.xcb_render_glyphset_iterator_t;
with xcb.xcb_render_indexvalue_iterator_t;
with xcb.xcb_render_indexvalue_t;
with xcb.xcb_render_linefix_iterator_t;
with xcb.xcb_render_pictdepth_iterator_t;
with xcb.xcb_render_pictdepth_t;
with xcb.xcb_render_pictformat_iterator_t;
with xcb.xcb_render_pictforminfo_iterator_t;
with xcb.xcb_render_pictforminfo_t;
with xcb.xcb_render_pictscreen_iterator_t;
with xcb.xcb_render_pictscreen_t;
with xcb.xcb_render_picture_iterator_t;
with xcb.xcb_render_pictvisual_iterator_t;
with xcb.xcb_render_pictvisual_t;
with xcb.xcb_render_pointfix_iterator_t;
with xcb.xcb_render_pointfix_t;
with xcb.xcb_render_query_filters_cookie_t;
with xcb.xcb_render_query_filters_reply_t;
with xcb.xcb_render_query_pict_formats_cookie_t;
with xcb.xcb_render_query_pict_formats_reply_t;
with xcb.xcb_render_query_pict_index_values_cookie_t;
with xcb.xcb_render_query_pict_index_values_reply_t;
with xcb.xcb_render_query_version_cookie_t;
with xcb.xcb_render_query_version_reply_t;
with xcb.xcb_render_set_picture_clip_rectangles_request_t;
with xcb.xcb_render_set_picture_filter_request_t;
with xcb.xcb_render_spanfix_iterator_t;
with xcb.xcb_render_transform_iterator_t;
with xcb.xcb_render_transform_t;
with xcb.xcb_render_trap_iterator_t;
with xcb.xcb_render_trap_t;
with xcb.xcb_render_trapezoid_iterator_t;
with xcb.xcb_render_trapezoid_t;
with xcb.xcb_render_trapezoids_request_t;
with xcb.xcb_render_tri_fan_request_t;
with xcb.xcb_render_tri_strip_request_t;
with xcb.xcb_render_triangle_iterator_t;
with xcb.xcb_render_triangle_t;
with xcb.xcb_render_triangles_request_t;
with xcb.xcb_rgb_iterator_t;
with xcb.xcb_rgb_t;
with xcb.xcb_rotate_properties_request_t;
with xcb.xcb_screen_iterator_t;
with xcb.xcb_screen_t;
with xcb.xcb_segment_iterator_t;
with xcb.xcb_segment_t;
with xcb.xcb_set_clip_rectangles_request_t;
with xcb.xcb_set_dashes_request_t;
with xcb.xcb_set_font_path_request_t;
with xcb.xcb_set_modifier_mapping_cookie_t;
with xcb.xcb_set_modifier_mapping_reply_t;
with xcb.xcb_set_pointer_mapping_cookie_t;
with xcb.xcb_set_pointer_mapping_reply_t;
with xcb.xcb_setup_authenticate_iterator_t;
with xcb.xcb_setup_authenticate_t;
with xcb.xcb_setup_failed_iterator_t;
with xcb.xcb_setup_failed_t;
with xcb.xcb_setup_iterator_t;
with xcb.xcb_setup_request_iterator_t;
with xcb.xcb_setup_request_t;
with xcb.xcb_setup_t;
with xcb.xcb_store_colors_request_t;
with xcb.xcb_store_named_color_request_t;
with xcb.xcb_str_iterator_t;
with xcb.xcb_str_t;
with xcb.xcb_timecoord_iterator_t;
with xcb.xcb_timecoord_t;
with xcb.xcb_timestamp_iterator_t;
with xcb.xcb_translate_coordinates_cookie_t;
with xcb.xcb_translate_coordinates_reply_t;
with xcb.xcb_visualid_iterator_t;
with xcb.xcb_visualtype_iterator_t;
with xcb.xcb_visualtype_t;
with xcb.xcb_void_cookie_t;
with xcb.xcb_window_iterator_t;
with xcb.xcb_xc_misc_get_version_cookie_t;
with xcb.xcb_xc_misc_get_version_reply_t;
with xcb.xcb_xc_misc_get_xid_list_cookie_t;
with xcb.xcb_xc_misc_get_xid_list_reply_t;
with xcb.xcb_xc_misc_get_xid_range_cookie_t;
with xcb.xcb_xc_misc_get_xid_range_reply_t;
with Interfaces.C;
package xcb.Binding is
xcb_big_requests_id : aliased xcb.xcb_extension_t.Item;
xcb_render_id : aliased xcb.xcb_extension_t.Item;
xcb_xc_misc_id : aliased xcb.xcb_extension_t.Item;
xcb_glx_id : aliased xcb.xcb_extension_t.Item;
function xcb_flush
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return Interfaces.C.int;
function xcb_get_maximum_request_length
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return Interfaces.Unsigned_32;
procedure xcb_prefetch_maximum_request_length
(c : in xcb.Pointers.xcb_connection_t_Pointer);
function xcb_wait_for_event
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_generic_event_t.Pointer;
function xcb_poll_for_event
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_generic_event_t.Pointer;
function xcb_poll_for_queued_event
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_generic_event_t.Pointer;
function xcb_poll_for_special_event
(c : in xcb.Pointers.xcb_connection_t_Pointer;
se : in xcb.Pointers.xcb_special_event_t_Pointer)
return xcb.xcb_generic_event_t.Pointer;
function xcb_wait_for_special_event
(c : in xcb.Pointers.xcb_connection_t_Pointer;
se : in xcb.Pointers.xcb_special_event_t_Pointer)
return xcb.xcb_generic_event_t.Pointer;
function xcb_register_for_special_xge
(c : in xcb.Pointers.xcb_connection_t_Pointer;
ext : in xcb.xcb_extension_t.Pointer;
eid : in Interfaces.Unsigned_32;
stamp : in swig.pointers.uint32_t_Pointer)
return xcb.Pointers.xcb_special_event_t_Pointer;
procedure xcb_unregister_for_special_event
(c : in xcb.Pointers.xcb_connection_t_Pointer;
se : in xcb.Pointers.xcb_special_event_t_Pointer);
function xcb_request_check
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_void_cookie_t.Item)
return xcb.xcb_generic_error_t.Pointer;
procedure xcb_discard_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
sequence : in Interfaces.C.unsigned);
procedure xcb_discard_reply64
(c : in xcb.Pointers.xcb_connection_t_Pointer;
sequence : in Interfaces.Unsigned_64);
function xcb_get_extension_data
(c : in xcb.Pointers.xcb_connection_t_Pointer;
ext : in xcb.xcb_extension_t.Pointer)
return xcb.xcb_query_extension_reply_t.Pointer;
procedure xcb_prefetch_extension_data
(c : in xcb.Pointers.xcb_connection_t_Pointer;
ext : in xcb.xcb_extension_t.Pointer);
function xcb_get_setup
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_setup_t.Pointer;
function xcb_get_file_descriptor
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return Interfaces.C.int;
function xcb_connection_has_error
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return Interfaces.C.int;
function xcb_connect_to_fd
(fd : in Interfaces.C.int;
auth_info : in xcb.xcb_auth_info_t.Pointer)
return xcb.Pointers.xcb_connection_t_Pointer;
procedure xcb_disconnect (c : in xcb.Pointers.xcb_connection_t_Pointer);
function xcb_parse_display
(name : in Interfaces.C.Strings.chars_ptr;
host : in swig.pointers.chars_ptr_Pointer;
display : in swig.pointers.int_Pointer;
screen : in swig.pointers.int_Pointer)
return Interfaces.C.int;
function xcb_connect
(displayname : in Interfaces.C.Strings.chars_ptr;
screenp : in swig.pointers.int_Pointer)
return xcb.Pointers.xcb_connection_t_Pointer;
function xcb_connect_to_display_with_auth_info
(display : in Interfaces.C.Strings.chars_ptr;
auth : in xcb.xcb_auth_info_t.Pointer;
screen : in swig.pointers.int_Pointer)
return xcb.Pointers.xcb_connection_t_Pointer;
function xcb_generate_id
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return Interfaces.Unsigned_32;
function xcb_total_read
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return Interfaces.Unsigned_64;
function xcb_total_written
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return Interfaces.Unsigned_64;
procedure xcb_char2b_next (i : in xcb.xcb_char2b_iterator_t.Pointer);
function xcb_char2b_end
(i : in xcb.xcb_char2b_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_window_next (i : in xcb.xcb_window_iterator_t.Pointer);
function xcb_window_end
(i : in xcb.xcb_window_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_pixmap_next (i : in xcb.xcb_pixmap_iterator_t.Pointer);
function xcb_pixmap_end
(i : in xcb.xcb_pixmap_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_cursor_next (i : in xcb.xcb_cursor_iterator_t.Pointer);
function xcb_cursor_end
(i : in xcb.xcb_cursor_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_font_next (i : in xcb.xcb_font_iterator_t.Pointer);
function xcb_font_end
(i : in xcb.xcb_font_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_gcontext_next (i : in xcb.xcb_gcontext_iterator_t.Pointer);
function xcb_gcontext_end
(i : in xcb.xcb_gcontext_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_colormap_next (i : in xcb.xcb_colormap_iterator_t.Pointer);
function xcb_colormap_end
(i : in xcb.xcb_colormap_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_atom_next (i : in xcb.xcb_atom_iterator_t.Pointer);
function xcb_atom_end
(i : in xcb.xcb_atom_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_drawable_next (i : in xcb.xcb_drawable_iterator_t.Pointer);
function xcb_drawable_end
(i : in xcb.xcb_drawable_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_fontable_next (i : in xcb.xcb_fontable_iterator_t.Pointer);
function xcb_fontable_end
(i : in xcb.xcb_fontable_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_bool32_next (i : in xcb.xcb_bool32_iterator_t.Pointer);
function xcb_bool32_end
(i : in xcb.xcb_bool32_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_visualid_next (i : in xcb.xcb_visualid_iterator_t.Pointer);
function xcb_visualid_end
(i : in xcb.xcb_visualid_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_timestamp_next (i : in xcb.xcb_timestamp_iterator_t.Pointer);
function xcb_timestamp_end
(i : in xcb.xcb_timestamp_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_keysym_next (i : in xcb.xcb_keysym_iterator_t.Pointer);
function xcb_keysym_end
(i : in xcb.xcb_keysym_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_keycode_next (i : in xcb.xcb_keycode_iterator_t.Pointer);
function xcb_keycode_end
(i : in xcb.xcb_keycode_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_keycode32_next (i : in xcb.xcb_keycode32_iterator_t.Pointer);
function xcb_keycode32_end
(i : in xcb.xcb_keycode32_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_button_next (i : in xcb.xcb_button_iterator_t.Pointer);
function xcb_button_end
(i : in xcb.xcb_button_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_point_next (i : in xcb.xcb_point_iterator_t.Pointer);
function xcb_point_end
(i : in xcb.xcb_point_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_rectangle_next (i : in xcb.xcb_rectangle_iterator_t.Pointer);
function xcb_rectangle_end
(i : in xcb.xcb_rectangle_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_arc_next (i : in xcb.xcb_arc_iterator_t.Pointer);
function xcb_arc_end
(i : in xcb.xcb_arc_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_format_next (i : in xcb.xcb_format_iterator_t.Pointer);
function xcb_format_end
(i : in xcb.xcb_format_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_visualtype_next
(i : in xcb.xcb_visualtype_iterator_t.Pointer);
function xcb_visualtype_end
(i : in xcb.xcb_visualtype_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_depth_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_depth_visuals
(R : in xcb.xcb_depth_t.Pointer)
return xcb.xcb_visualtype_t.Pointer;
function xcb_depth_visuals_length
(R : in xcb.xcb_depth_t.Pointer)
return Interfaces.C.int;
function xcb_depth_visuals_iterator
(R : in xcb.xcb_depth_t.Pointer)
return xcb.xcb_visualtype_iterator_t.Item;
procedure xcb_depth_next (i : in xcb.xcb_depth_iterator_t.Pointer);
function xcb_depth_end
(i : in xcb.xcb_depth_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_screen_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_screen_allowed_depths_length
(R : in xcb.xcb_screen_t.Pointer)
return Interfaces.C.int;
function xcb_screen_allowed_depths_iterator
(R : in xcb.xcb_screen_t.Pointer)
return xcb.xcb_depth_iterator_t.Item;
procedure xcb_screen_next (i : in xcb.xcb_screen_iterator_t.Pointer);
function xcb_screen_end
(i : in xcb.xcb_screen_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_setup_request_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_setup_request_authorization_protocol_name
(R : in xcb.xcb_setup_request_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_setup_request_authorization_protocol_name_length
(R : in xcb.xcb_setup_request_t.Pointer)
return Interfaces.C.int;
function xcb_setup_request_authorization_protocol_name_end
(R : in xcb.xcb_setup_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_setup_request_authorization_protocol_data
(R : in xcb.xcb_setup_request_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_setup_request_authorization_protocol_data_length
(R : in xcb.xcb_setup_request_t.Pointer)
return Interfaces.C.int;
function xcb_setup_request_authorization_protocol_data_end
(R : in xcb.xcb_setup_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_setup_request_next
(i : in xcb.xcb_setup_request_iterator_t.Pointer);
function xcb_setup_request_end
(i : in xcb.xcb_setup_request_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_setup_failed_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_setup_failed_reason
(R : in xcb.xcb_setup_failed_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_setup_failed_reason_length
(R : in xcb.xcb_setup_failed_t.Pointer)
return Interfaces.C.int;
function xcb_setup_failed_reason_end
(R : in xcb.xcb_setup_failed_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_setup_failed_next
(i : in xcb.xcb_setup_failed_iterator_t.Pointer);
function xcb_setup_failed_end
(i : in xcb.xcb_setup_failed_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_setup_authenticate_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_setup_authenticate_reason
(R : in xcb.xcb_setup_authenticate_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_setup_authenticate_reason_length
(R : in xcb.xcb_setup_authenticate_t.Pointer)
return Interfaces.C.int;
function xcb_setup_authenticate_reason_end
(R : in xcb.xcb_setup_authenticate_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_setup_authenticate_next
(i : in xcb.xcb_setup_authenticate_iterator_t.Pointer);
function xcb_setup_authenticate_end
(i : in xcb.xcb_setup_authenticate_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_setup_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_setup_vendor
(R : in xcb.xcb_setup_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_setup_vendor_length
(R : in xcb.xcb_setup_t.Pointer)
return Interfaces.C.int;
function xcb_setup_vendor_end
(R : in xcb.xcb_setup_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_setup_pixmap_formats
(R : in xcb.xcb_setup_t.Pointer)
return xcb.xcb_format_t.Pointer;
function xcb_setup_pixmap_formats_length
(R : in xcb.xcb_setup_t.Pointer)
return Interfaces.C.int;
function xcb_setup_pixmap_formats_iterator
(R : in xcb.xcb_setup_t.Pointer)
return xcb.xcb_format_iterator_t.Item;
function xcb_setup_roots_length
(R : in xcb.xcb_setup_t.Pointer)
return Interfaces.C.int;
function xcb_setup_roots_iterator
(R : in xcb.xcb_setup_t.Pointer)
return xcb.xcb_screen_iterator_t.Item;
procedure xcb_setup_next (i : in xcb.xcb_setup_iterator_t.Pointer);
function xcb_setup_end
(i : in xcb.xcb_setup_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_client_message_data_next
(i : in xcb.xcb_client_message_data_iterator_t.Pointer);
function xcb_client_message_data_end
(i : in xcb.xcb_client_message_data_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_create_window_value_list_serialize
(a_buffer : in swig.pointers.void_ptr_Pointer;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_create_window_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_create_window_value_list_unpack
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_create_window_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_create_window_value_list_sizeof
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_create_window_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_create_window_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
depth : in Interfaces.Unsigned_8;
wid : in xcb.xcb_window_t;
parent : in xcb.xcb_window_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16;
border_width : in Interfaces.Unsigned_16;
a_class : in Interfaces.Unsigned_16;
visual : in xcb.xcb_visualid_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_window
(c : in xcb.Pointers.xcb_connection_t_Pointer;
depth : in Interfaces.Unsigned_8;
wid : in xcb.xcb_window_t;
parent : in xcb.xcb_window_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16;
border_width : in Interfaces.Unsigned_16;
a_class : in Interfaces.Unsigned_16;
visual : in xcb.xcb_visualid_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_window_aux_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
depth : in Interfaces.Unsigned_8;
wid : in xcb.xcb_window_t;
parent : in xcb.xcb_window_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16;
border_width : in Interfaces.Unsigned_16;
a_class : in Interfaces.Unsigned_16;
visual : in xcb.xcb_visualid_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_create_window_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_window_aux
(c : in xcb.Pointers.xcb_connection_t_Pointer;
depth : in Interfaces.Unsigned_8;
wid : in xcb.xcb_window_t;
parent : in xcb.xcb_window_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16;
border_width : in Interfaces.Unsigned_16;
a_class : in Interfaces.Unsigned_16;
visual : in xcb.xcb_visualid_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_create_window_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_window_value_list
(R : in xcb.xcb_create_window_request_t.Pointer)
return swig.void_ptr;
function xcb_change_window_attributes_value_list_serialize
(a_buffer : in swig.pointers.void_ptr_Pointer;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_change_window_attributes_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_change_window_attributes_value_list_unpack
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_change_window_attributes_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_change_window_attributes_value_list_sizeof
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_change_window_attributes_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_change_window_attributes_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_window_attributes
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_window_attributes_aux_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_change_window_attributes_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_window_attributes_aux
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_change_window_attributes_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_window_attributes_value_list
(R : in xcb.xcb_change_window_attributes_request_t.Pointer)
return swig.void_ptr;
function xcb_get_window_attributes
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_get_window_attributes_cookie_t.Item;
function xcb_get_window_attributes_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_get_window_attributes_cookie_t.Item;
function xcb_get_window_attributes_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_window_attributes_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_window_attributes_reply_t.Pointer;
function xcb_destroy_window_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_destroy_window
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_destroy_subwindows_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_destroy_subwindows
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_save_set_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_save_set
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_reparent_window_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
parent : in xcb.xcb_window_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_reparent_window
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
parent : in xcb.xcb_window_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_map_window_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_map_window
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_map_subwindows_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_map_subwindows
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_unmap_window_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_unmap_window
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_unmap_subwindows_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_unmap_subwindows
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_configure_window_value_list_serialize
(a_buffer : in swig.pointers.void_ptr_Pointer;
value_mask : in Interfaces.Unsigned_16;
a_aux : in xcb.xcb_configure_window_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_configure_window_value_list_unpack
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_16;
a_aux : in xcb.xcb_configure_window_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_configure_window_value_list_sizeof
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_16)
return Interfaces.C.int;
function xcb_configure_window_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_configure_window_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
value_mask : in Interfaces.Unsigned_16;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_configure_window
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
value_mask : in Interfaces.Unsigned_16;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_configure_window_aux_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
value_mask : in Interfaces.Unsigned_16;
value_list : in xcb.xcb_configure_window_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_configure_window_aux
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
value_mask : in Interfaces.Unsigned_16;
value_list : in xcb.xcb_configure_window_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_configure_window_value_list
(R : in xcb.xcb_configure_window_request_t.Pointer)
return swig.void_ptr;
function xcb_circulate_window_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
direction : in Interfaces.Unsigned_8;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_circulate_window
(c : in xcb.Pointers.xcb_connection_t_Pointer;
direction : in Interfaces.Unsigned_8;
window : in xcb.xcb_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_get_geometry
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t)
return xcb.xcb_get_geometry_cookie_t.Item;
function xcb_get_geometry_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t)
return xcb.xcb_get_geometry_cookie_t.Item;
function xcb_get_geometry_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_geometry_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_geometry_reply_t.Pointer;
function xcb_query_tree_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_query_tree
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_query_tree_cookie_t.Item;
function xcb_query_tree_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_query_tree_cookie_t.Item;
function xcb_query_tree_children
(R : in xcb.xcb_query_tree_reply_t.Pointer)
return xcb.Pointers.xcb_window_t_Pointer;
function xcb_query_tree_children_length
(R : in xcb.xcb_query_tree_reply_t.Pointer)
return Interfaces.C.int;
function xcb_query_tree_children_end
(R : in xcb.xcb_query_tree_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_query_tree_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_query_tree_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_query_tree_reply_t.Pointer;
function xcb_intern_atom_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_intern_atom
(c : in xcb.Pointers.xcb_connection_t_Pointer;
only_if_exists : in Interfaces.Unsigned_8;
name_len : in Interfaces.Unsigned_16;
name : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_intern_atom_cookie_t.Item;
function xcb_intern_atom_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
only_if_exists : in Interfaces.Unsigned_8;
name_len : in Interfaces.Unsigned_16;
name : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_intern_atom_cookie_t.Item;
function xcb_intern_atom_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_intern_atom_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_intern_atom_reply_t.Pointer;
function xcb_get_atom_name_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_get_atom_name
(c : in xcb.Pointers.xcb_connection_t_Pointer;
atom : in xcb.xcb_atom_t)
return xcb.xcb_get_atom_name_cookie_t.Item;
function xcb_get_atom_name_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
atom : in xcb.xcb_atom_t)
return xcb.xcb_get_atom_name_cookie_t.Item;
function xcb_get_atom_name_name
(R : in xcb.xcb_get_atom_name_reply_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_get_atom_name_name_length
(R : in xcb.xcb_get_atom_name_reply_t.Pointer)
return Interfaces.C.int;
function xcb_get_atom_name_name_end
(R : in xcb.xcb_get_atom_name_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_get_atom_name_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_atom_name_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_atom_name_reply_t.Pointer;
function xcb_change_property_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_change_property_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8;
window : in xcb.xcb_window_t;
property : in xcb.xcb_atom_t;
the_type : in xcb.xcb_atom_t;
format : in Interfaces.Unsigned_8;
data_len : in Interfaces.Unsigned_32;
data : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_property
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8;
window : in xcb.xcb_window_t;
property : in xcb.xcb_atom_t;
the_type : in xcb.xcb_atom_t;
format : in Interfaces.Unsigned_8;
data_len : in Interfaces.Unsigned_32;
data : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_property_data
(R : in xcb.xcb_change_property_request_t.Pointer)
return swig.void_ptr;
function xcb_change_property_data_length
(R : in xcb.xcb_change_property_request_t.Pointer)
return Interfaces.C.int;
function xcb_change_property_data_end
(R : in xcb.xcb_change_property_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_delete_property_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
property : in xcb.xcb_atom_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_delete_property
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
property : in xcb.xcb_atom_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_get_property_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_get_property
(c : in xcb.Pointers.xcb_connection_t_Pointer;
a_delete : in Interfaces.Unsigned_8;
window : in xcb.xcb_window_t;
property : in xcb.xcb_atom_t;
the_type : in xcb.xcb_atom_t;
long_offset : in Interfaces.Unsigned_32;
long_length : in Interfaces.Unsigned_32)
return xcb.xcb_get_property_cookie_t.Item;
function xcb_get_property_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
a_delete : in Interfaces.Unsigned_8;
window : in xcb.xcb_window_t;
property : in xcb.xcb_atom_t;
the_type : in xcb.xcb_atom_t;
long_offset : in Interfaces.Unsigned_32;
long_length : in Interfaces.Unsigned_32)
return xcb.xcb_get_property_cookie_t.Item;
function xcb_get_property_value
(R : in xcb.xcb_get_property_reply_t.Pointer)
return swig.void_ptr;
function xcb_get_property_value_length
(R : in xcb.xcb_get_property_reply_t.Pointer)
return Interfaces.C.int;
function xcb_get_property_value_end
(R : in xcb.xcb_get_property_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_get_property_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_property_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_property_reply_t.Pointer;
function xcb_list_properties_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_list_properties
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_list_properties_cookie_t.Item;
function xcb_list_properties_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_list_properties_cookie_t.Item;
function xcb_list_properties_atoms
(R : in xcb.xcb_list_properties_reply_t.Pointer)
return xcb.Pointers.xcb_atom_t_Pointer;
function xcb_list_properties_atoms_length
(R : in xcb.xcb_list_properties_reply_t.Pointer)
return Interfaces.C.int;
function xcb_list_properties_atoms_end
(R : in xcb.xcb_list_properties_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_list_properties_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_list_properties_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_list_properties_reply_t.Pointer;
function xcb_set_selection_owner_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
owner : in xcb.xcb_window_t;
selection : in xcb.xcb_atom_t;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_selection_owner
(c : in xcb.Pointers.xcb_connection_t_Pointer;
owner : in xcb.xcb_window_t;
selection : in xcb.xcb_atom_t;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_get_selection_owner
(c : in xcb.Pointers.xcb_connection_t_Pointer;
selection : in xcb.xcb_atom_t)
return xcb.xcb_get_selection_owner_cookie_t.Item;
function xcb_get_selection_owner_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
selection : in xcb.xcb_atom_t)
return xcb.xcb_get_selection_owner_cookie_t.Item;
function xcb_get_selection_owner_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_selection_owner_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_selection_owner_reply_t.Pointer;
function xcb_convert_selection_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
requestor : in xcb.xcb_window_t;
selection : in xcb.xcb_atom_t;
target : in xcb.xcb_atom_t;
property : in xcb.xcb_atom_t;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_convert_selection
(c : in xcb.Pointers.xcb_connection_t_Pointer;
requestor : in xcb.xcb_window_t;
selection : in xcb.xcb_atom_t;
target : in xcb.xcb_atom_t;
property : in xcb.xcb_atom_t;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_send_event_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
propagate : in Interfaces.Unsigned_8;
destination : in xcb.xcb_window_t;
event_mask : in Interfaces.Unsigned_32;
event : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_send_event
(c : in xcb.Pointers.xcb_connection_t_Pointer;
propagate : in Interfaces.Unsigned_8;
destination : in xcb.xcb_window_t;
event_mask : in Interfaces.Unsigned_32;
event : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_grab_pointer
(c : in xcb.Pointers.xcb_connection_t_Pointer;
owner_events : in Interfaces.Unsigned_8;
grab_window : in xcb.xcb_window_t;
event_mask : in Interfaces.Unsigned_16;
pointer_mode : in Interfaces.Unsigned_8;
keyboard_mode : in Interfaces.Unsigned_8;
confine_to : in xcb.xcb_window_t;
cursor : in xcb.xcb_cursor_t;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_grab_pointer_cookie_t.Item;
function xcb_grab_pointer_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
owner_events : in Interfaces.Unsigned_8;
grab_window : in xcb.xcb_window_t;
event_mask : in Interfaces.Unsigned_16;
pointer_mode : in Interfaces.Unsigned_8;
keyboard_mode : in Interfaces.Unsigned_8;
confine_to : in xcb.xcb_window_t;
cursor : in xcb.xcb_cursor_t;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_grab_pointer_cookie_t.Item;
function xcb_grab_pointer_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_grab_pointer_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_grab_pointer_reply_t.Pointer;
function xcb_ungrab_pointer_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_ungrab_pointer
(c : in xcb.Pointers.xcb_connection_t_Pointer;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_grab_button_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
owner_events : in Interfaces.Unsigned_8;
grab_window : in xcb.xcb_window_t;
event_mask : in Interfaces.Unsigned_16;
pointer_mode : in Interfaces.Unsigned_8;
keyboard_mode : in Interfaces.Unsigned_8;
confine_to : in xcb.xcb_window_t;
cursor : in xcb.xcb_cursor_t;
button : in Interfaces.Unsigned_8;
modifiers : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_grab_button
(c : in xcb.Pointers.xcb_connection_t_Pointer;
owner_events : in Interfaces.Unsigned_8;
grab_window : in xcb.xcb_window_t;
event_mask : in Interfaces.Unsigned_16;
pointer_mode : in Interfaces.Unsigned_8;
keyboard_mode : in Interfaces.Unsigned_8;
confine_to : in xcb.xcb_window_t;
cursor : in xcb.xcb_cursor_t;
button : in Interfaces.Unsigned_8;
modifiers : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_ungrab_button_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
button : in Interfaces.Unsigned_8;
grab_window : in xcb.xcb_window_t;
modifiers : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_ungrab_button
(c : in xcb.Pointers.xcb_connection_t_Pointer;
button : in Interfaces.Unsigned_8;
grab_window : in xcb.xcb_window_t;
modifiers : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_active_pointer_grab_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cursor : in xcb.xcb_cursor_t;
time : in xcb.xcb_timestamp_t;
event_mask : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_active_pointer_grab
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cursor : in xcb.xcb_cursor_t;
time : in xcb.xcb_timestamp_t;
event_mask : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_grab_keyboard
(c : in xcb.Pointers.xcb_connection_t_Pointer;
owner_events : in Interfaces.Unsigned_8;
grab_window : in xcb.xcb_window_t;
time : in xcb.xcb_timestamp_t;
pointer_mode : in Interfaces.Unsigned_8;
keyboard_mode : in Interfaces.Unsigned_8)
return xcb.xcb_grab_keyboard_cookie_t.Item;
function xcb_grab_keyboard_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
owner_events : in Interfaces.Unsigned_8;
grab_window : in xcb.xcb_window_t;
time : in xcb.xcb_timestamp_t;
pointer_mode : in Interfaces.Unsigned_8;
keyboard_mode : in Interfaces.Unsigned_8)
return xcb.xcb_grab_keyboard_cookie_t.Item;
function xcb_grab_keyboard_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_grab_keyboard_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_grab_keyboard_reply_t.Pointer;
function xcb_ungrab_keyboard_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_ungrab_keyboard
(c : in xcb.Pointers.xcb_connection_t_Pointer;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_grab_key_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
owner_events : in Interfaces.Unsigned_8;
grab_window : in xcb.xcb_window_t;
modifiers : in Interfaces.Unsigned_16;
key : in xcb.xcb_keycode_t;
pointer_mode : in Interfaces.Unsigned_8;
keyboard_mode : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_grab_key
(c : in xcb.Pointers.xcb_connection_t_Pointer;
owner_events : in Interfaces.Unsigned_8;
grab_window : in xcb.xcb_window_t;
modifiers : in Interfaces.Unsigned_16;
key : in xcb.xcb_keycode_t;
pointer_mode : in Interfaces.Unsigned_8;
keyboard_mode : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_ungrab_key_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
key : in xcb.xcb_keycode_t;
grab_window : in xcb.xcb_window_t;
modifiers : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_ungrab_key
(c : in xcb.Pointers.xcb_connection_t_Pointer;
key : in xcb.xcb_keycode_t;
grab_window : in xcb.xcb_window_t;
modifiers : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_allow_events_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_allow_events
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_grab_server_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_grab_server
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_ungrab_server_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_ungrab_server
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_query_pointer
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_query_pointer_cookie_t.Item;
function xcb_query_pointer_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_query_pointer_cookie_t.Item;
function xcb_query_pointer_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_query_pointer_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_query_pointer_reply_t.Pointer;
procedure xcb_timecoord_next (i : in xcb.xcb_timecoord_iterator_t.Pointer);
function xcb_timecoord_end
(i : in xcb.xcb_timecoord_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_get_motion_events_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_get_motion_events
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
start : in xcb.xcb_timestamp_t;
stop : in xcb.xcb_timestamp_t)
return xcb.xcb_get_motion_events_cookie_t.Item;
function xcb_get_motion_events_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
start : in xcb.xcb_timestamp_t;
stop : in xcb.xcb_timestamp_t)
return xcb.xcb_get_motion_events_cookie_t.Item;
function xcb_get_motion_events_events
(R : in xcb.xcb_get_motion_events_reply_t.Pointer)
return xcb.xcb_timecoord_t.Pointer;
function xcb_get_motion_events_events_length
(R : in xcb.xcb_get_motion_events_reply_t.Pointer)
return Interfaces.C.int;
function xcb_get_motion_events_events_iterator
(R : in xcb.xcb_get_motion_events_reply_t.Pointer)
return xcb.xcb_timecoord_iterator_t.Item;
function xcb_get_motion_events_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_motion_events_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_motion_events_reply_t.Pointer;
function xcb_translate_coordinates
(c : in xcb.Pointers.xcb_connection_t_Pointer;
src_window : in xcb.xcb_window_t;
dst_window : in xcb.xcb_window_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16)
return xcb.xcb_translate_coordinates_cookie_t.Item;
function xcb_translate_coordinates_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
src_window : in xcb.xcb_window_t;
dst_window : in xcb.xcb_window_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16)
return xcb.xcb_translate_coordinates_cookie_t.Item;
function xcb_translate_coordinates_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_translate_coordinates_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_translate_coordinates_reply_t.Pointer;
function xcb_warp_pointer_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
src_window : in xcb.xcb_window_t;
dst_window : in xcb.xcb_window_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
src_width : in Interfaces.Unsigned_16;
src_height : in Interfaces.Unsigned_16;
dst_x : in Interfaces.Integer_16;
dst_y : in Interfaces.Integer_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_warp_pointer
(c : in xcb.Pointers.xcb_connection_t_Pointer;
src_window : in xcb.xcb_window_t;
dst_window : in xcb.xcb_window_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
src_width : in Interfaces.Unsigned_16;
src_height : in Interfaces.Unsigned_16;
dst_x : in Interfaces.Integer_16;
dst_y : in Interfaces.Integer_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_input_focus_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
revert_to : in Interfaces.Unsigned_8;
focus : in xcb.xcb_window_t;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_input_focus
(c : in xcb.Pointers.xcb_connection_t_Pointer;
revert_to : in Interfaces.Unsigned_8;
focus : in xcb.xcb_window_t;
time : in xcb.xcb_timestamp_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_get_input_focus
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_input_focus_cookie_t.Item;
function xcb_get_input_focus_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_input_focus_cookie_t.Item;
function xcb_get_input_focus_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_input_focus_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_input_focus_reply_t.Pointer;
function xcb_query_keymap
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_query_keymap_cookie_t.Item;
function xcb_query_keymap_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_query_keymap_cookie_t.Item;
function xcb_query_keymap_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_query_keymap_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_query_keymap_reply_t.Pointer;
function xcb_open_font_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_open_font_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
fid : in xcb.xcb_font_t;
name_len : in Interfaces.Unsigned_16;
name : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_open_font
(c : in xcb.Pointers.xcb_connection_t_Pointer;
fid : in xcb.xcb_font_t;
name_len : in Interfaces.Unsigned_16;
name : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_open_font_name
(R : in xcb.xcb_open_font_request_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_open_font_name_length
(R : in xcb.xcb_open_font_request_t.Pointer)
return Interfaces.C.int;
function xcb_open_font_name_end
(R : in xcb.xcb_open_font_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_close_font_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
font : in xcb.xcb_font_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_close_font
(c : in xcb.Pointers.xcb_connection_t_Pointer;
font : in xcb.xcb_font_t)
return xcb.xcb_void_cookie_t.Item;
procedure xcb_fontprop_next (i : in xcb.xcb_fontprop_iterator_t.Pointer);
function xcb_fontprop_end
(i : in xcb.xcb_fontprop_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_charinfo_next (i : in xcb.xcb_charinfo_iterator_t.Pointer);
function xcb_charinfo_end
(i : in xcb.xcb_charinfo_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_query_font_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_query_font
(c : in xcb.Pointers.xcb_connection_t_Pointer;
font : in xcb.xcb_fontable_t)
return xcb.xcb_query_font_cookie_t.Item;
function xcb_query_font_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
font : in xcb.xcb_fontable_t)
return xcb.xcb_query_font_cookie_t.Item;
function xcb_query_font_properties
(R : in xcb.xcb_query_font_reply_t.Pointer)
return xcb.xcb_fontprop_t.Pointer;
function xcb_query_font_properties_length
(R : in xcb.xcb_query_font_reply_t.Pointer)
return Interfaces.C.int;
function xcb_query_font_properties_iterator
(R : in xcb.xcb_query_font_reply_t.Pointer)
return xcb.xcb_fontprop_iterator_t.Item;
function xcb_query_font_char_infos
(R : in xcb.xcb_query_font_reply_t.Pointer)
return xcb.xcb_charinfo_t.Pointer;
function xcb_query_font_char_infos_length
(R : in xcb.xcb_query_font_reply_t.Pointer)
return Interfaces.C.int;
function xcb_query_font_char_infos_iterator
(R : in xcb.xcb_query_font_reply_t.Pointer)
return xcb.xcb_charinfo_iterator_t.Item;
function xcb_query_font_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_query_font_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_query_font_reply_t.Pointer;
function xcb_query_text_extents_sizeof
(a_buffer : in swig.void_ptr;
string_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_query_text_extents
(c : in xcb.Pointers.xcb_connection_t_Pointer;
font : in xcb.xcb_fontable_t;
string_len : in Interfaces.Unsigned_32;
string : in xcb.xcb_char2b_t.Pointer)
return xcb.xcb_query_text_extents_cookie_t.Item;
function xcb_query_text_extents_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
font : in xcb.xcb_fontable_t;
string_len : in Interfaces.Unsigned_32;
string : in xcb.xcb_char2b_t.Pointer)
return xcb.xcb_query_text_extents_cookie_t.Item;
function xcb_query_text_extents_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_query_text_extents_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_query_text_extents_reply_t.Pointer;
function xcb_str_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_str_name
(R : in xcb.xcb_str_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_str_name_length
(R : in xcb.xcb_str_t.Pointer)
return Interfaces.C.int;
function xcb_str_name_end
(R : in xcb.xcb_str_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_str_next (i : in xcb.xcb_str_iterator_t.Pointer);
function xcb_str_end
(i : in xcb.xcb_str_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_list_fonts_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_list_fonts
(c : in xcb.Pointers.xcb_connection_t_Pointer;
max_names : in Interfaces.Unsigned_16;
pattern_len : in Interfaces.Unsigned_16;
pattern : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_list_fonts_cookie_t.Item;
function xcb_list_fonts_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
max_names : in Interfaces.Unsigned_16;
pattern_len : in Interfaces.Unsigned_16;
pattern : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_list_fonts_cookie_t.Item;
function xcb_list_fonts_names_length
(R : in xcb.xcb_list_fonts_reply_t.Pointer)
return Interfaces.C.int;
function xcb_list_fonts_names_iterator
(R : in xcb.xcb_list_fonts_reply_t.Pointer)
return xcb.xcb_str_iterator_t.Item;
function xcb_list_fonts_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_list_fonts_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_list_fonts_reply_t.Pointer;
function xcb_list_fonts_with_info_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_list_fonts_with_info
(c : in xcb.Pointers.xcb_connection_t_Pointer;
max_names : in Interfaces.Unsigned_16;
pattern_len : in Interfaces.Unsigned_16;
pattern : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_list_fonts_with_info_cookie_t.Item;
function xcb_list_fonts_with_info_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
max_names : in Interfaces.Unsigned_16;
pattern_len : in Interfaces.Unsigned_16;
pattern : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_list_fonts_with_info_cookie_t.Item;
function xcb_list_fonts_with_info_properties
(R : in xcb.xcb_list_fonts_with_info_reply_t.Pointer)
return xcb.xcb_fontprop_t.Pointer;
function xcb_list_fonts_with_info_properties_length
(R : in xcb.xcb_list_fonts_with_info_reply_t.Pointer)
return Interfaces.C.int;
function xcb_list_fonts_with_info_properties_iterator
(R : in xcb.xcb_list_fonts_with_info_reply_t.Pointer)
return xcb.xcb_fontprop_iterator_t.Item;
function xcb_list_fonts_with_info_name
(R : in xcb.xcb_list_fonts_with_info_reply_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_list_fonts_with_info_name_length
(R : in xcb.xcb_list_fonts_with_info_reply_t.Pointer)
return Interfaces.C.int;
function xcb_list_fonts_with_info_name_end
(R : in xcb.xcb_list_fonts_with_info_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_list_fonts_with_info_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_list_fonts_with_info_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_list_fonts_with_info_reply_t.Pointer;
function xcb_set_font_path_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_set_font_path_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
font_qty : in Interfaces.Unsigned_16;
font : in xcb.xcb_str_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_font_path
(c : in xcb.Pointers.xcb_connection_t_Pointer;
font_qty : in Interfaces.Unsigned_16;
font : in xcb.xcb_str_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_font_path_font_length
(R : in xcb.xcb_set_font_path_request_t.Pointer)
return Interfaces.C.int;
function xcb_set_font_path_font_iterator
(R : in xcb.xcb_set_font_path_request_t.Pointer)
return xcb.xcb_str_iterator_t.Item;
function xcb_get_font_path_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_get_font_path
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_font_path_cookie_t.Item;
function xcb_get_font_path_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_font_path_cookie_t.Item;
function xcb_get_font_path_path_length
(R : in xcb.xcb_get_font_path_reply_t.Pointer)
return Interfaces.C.int;
function xcb_get_font_path_path_iterator
(R : in xcb.xcb_get_font_path_reply_t.Pointer)
return xcb.xcb_str_iterator_t.Item;
function xcb_get_font_path_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_font_path_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_font_path_reply_t.Pointer;
function xcb_create_pixmap_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
depth : in Interfaces.Unsigned_8;
pid : in xcb.xcb_pixmap_t;
drawable : in xcb.xcb_drawable_t;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_pixmap
(c : in xcb.Pointers.xcb_connection_t_Pointer;
depth : in Interfaces.Unsigned_8;
pid : in xcb.xcb_pixmap_t;
drawable : in xcb.xcb_drawable_t;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_free_pixmap_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
pixmap : in xcb.xcb_pixmap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_free_pixmap
(c : in xcb.Pointers.xcb_connection_t_Pointer;
pixmap : in xcb.xcb_pixmap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_gc_value_list_serialize
(a_buffer : in swig.pointers.void_ptr_Pointer;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_create_gc_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_create_gc_value_list_unpack
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_create_gc_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_create_gc_value_list_sizeof
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_create_gc_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_create_gc_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cid : in xcb.xcb_gcontext_t;
drawable : in xcb.xcb_drawable_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_gc
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cid : in xcb.xcb_gcontext_t;
drawable : in xcb.xcb_drawable_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_gc_aux_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cid : in xcb.xcb_gcontext_t;
drawable : in xcb.xcb_drawable_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_create_gc_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_gc_aux
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cid : in xcb.xcb_gcontext_t;
drawable : in xcb.xcb_drawable_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_create_gc_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_gc_value_list
(R : in xcb.xcb_create_gc_request_t.Pointer)
return swig.void_ptr;
function xcb_change_gc_value_list_serialize
(a_buffer : in swig.pointers.void_ptr_Pointer;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_change_gc_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_change_gc_value_list_unpack
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_change_gc_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_change_gc_value_list_sizeof
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_change_gc_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_change_gc_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
gc : in xcb.xcb_gcontext_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_gc
(c : in xcb.Pointers.xcb_connection_t_Pointer;
gc : in xcb.xcb_gcontext_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_gc_aux_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
gc : in xcb.xcb_gcontext_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_change_gc_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_gc_aux
(c : in xcb.Pointers.xcb_connection_t_Pointer;
gc : in xcb.xcb_gcontext_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_change_gc_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_gc_value_list
(R : in xcb.xcb_change_gc_request_t.Pointer)
return swig.void_ptr;
function xcb_copy_gc_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
src_gc : in xcb.xcb_gcontext_t;
dst_gc : in xcb.xcb_gcontext_t;
value_mask : in Interfaces.Unsigned_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_copy_gc
(c : in xcb.Pointers.xcb_connection_t_Pointer;
src_gc : in xcb.xcb_gcontext_t;
dst_gc : in xcb.xcb_gcontext_t;
value_mask : in Interfaces.Unsigned_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_dashes_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_set_dashes_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
gc : in xcb.xcb_gcontext_t;
dash_offset : in Interfaces.Unsigned_16;
dashes_len : in Interfaces.Unsigned_16;
dashes : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_dashes
(c : in xcb.Pointers.xcb_connection_t_Pointer;
gc : in xcb.xcb_gcontext_t;
dash_offset : in Interfaces.Unsigned_16;
dashes_len : in Interfaces.Unsigned_16;
dashes : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_dashes_dashes
(R : in xcb.xcb_set_dashes_request_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_set_dashes_dashes_length
(R : in xcb.xcb_set_dashes_request_t.Pointer)
return Interfaces.C.int;
function xcb_set_dashes_dashes_end
(R : in xcb.xcb_set_dashes_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_set_clip_rectangles_sizeof
(a_buffer : in swig.void_ptr;
rectangles_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_set_clip_rectangles_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
ordering : in Interfaces.Unsigned_8;
gc : in xcb.xcb_gcontext_t;
clip_x_origin : in Interfaces.Integer_16;
clip_y_origin : in Interfaces.Integer_16;
rectangles_len : in Interfaces.Unsigned_32;
rectangles : in xcb.xcb_rectangle_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_clip_rectangles
(c : in xcb.Pointers.xcb_connection_t_Pointer;
ordering : in Interfaces.Unsigned_8;
gc : in xcb.xcb_gcontext_t;
clip_x_origin : in Interfaces.Integer_16;
clip_y_origin : in Interfaces.Integer_16;
rectangles_len : in Interfaces.Unsigned_32;
rectangles : in xcb.xcb_rectangle_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_clip_rectangles_rectangles
(R : in xcb.xcb_set_clip_rectangles_request_t.Pointer)
return xcb.xcb_rectangle_t.Pointer;
function xcb_set_clip_rectangles_rectangles_length
(R : in xcb.xcb_set_clip_rectangles_request_t.Pointer)
return Interfaces.C.int;
function xcb_set_clip_rectangles_rectangles_iterator
(R : in xcb.xcb_set_clip_rectangles_request_t.Pointer)
return xcb.xcb_rectangle_iterator_t.Item;
function xcb_free_gc_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
gc : in xcb.xcb_gcontext_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_free_gc
(c : in xcb.Pointers.xcb_connection_t_Pointer;
gc : in xcb.xcb_gcontext_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_clear_area_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
exposures : in Interfaces.Unsigned_8;
window : in xcb.xcb_window_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_clear_area
(c : in xcb.Pointers.xcb_connection_t_Pointer;
exposures : in Interfaces.Unsigned_8;
window : in xcb.xcb_window_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_copy_area_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
src_drawable : in xcb.xcb_drawable_t;
dst_drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
dst_x : in Interfaces.Integer_16;
dst_y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_copy_area
(c : in xcb.Pointers.xcb_connection_t_Pointer;
src_drawable : in xcb.xcb_drawable_t;
dst_drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
dst_x : in Interfaces.Integer_16;
dst_y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_copy_plane_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
src_drawable : in xcb.xcb_drawable_t;
dst_drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
dst_x : in Interfaces.Integer_16;
dst_y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16;
bit_plane : in Interfaces.Unsigned_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_copy_plane
(c : in xcb.Pointers.xcb_connection_t_Pointer;
src_drawable : in xcb.xcb_drawable_t;
dst_drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
dst_x : in Interfaces.Integer_16;
dst_y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16;
bit_plane : in Interfaces.Unsigned_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_point_sizeof
(a_buffer : in swig.void_ptr;
points_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_poly_point_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
coordinate_mode : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
points_len : in Interfaces.Unsigned_32;
points : in xcb.xcb_point_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_point
(c : in xcb.Pointers.xcb_connection_t_Pointer;
coordinate_mode : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
points_len : in Interfaces.Unsigned_32;
points : in xcb.xcb_point_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_point_points
(R : in xcb.xcb_poly_point_request_t.Pointer)
return xcb.xcb_point_t.Pointer;
function xcb_poly_point_points_length
(R : in xcb.xcb_poly_point_request_t.Pointer)
return Interfaces.C.int;
function xcb_poly_point_points_iterator
(R : in xcb.xcb_poly_point_request_t.Pointer)
return xcb.xcb_point_iterator_t.Item;
function xcb_poly_line_sizeof
(a_buffer : in swig.void_ptr;
points_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_poly_line_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
coordinate_mode : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
points_len : in Interfaces.Unsigned_32;
points : in xcb.xcb_point_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_line
(c : in xcb.Pointers.xcb_connection_t_Pointer;
coordinate_mode : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
points_len : in Interfaces.Unsigned_32;
points : in xcb.xcb_point_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_line_points
(R : in xcb.xcb_poly_line_request_t.Pointer)
return xcb.xcb_point_t.Pointer;
function xcb_poly_line_points_length
(R : in xcb.xcb_poly_line_request_t.Pointer)
return Interfaces.C.int;
function xcb_poly_line_points_iterator
(R : in xcb.xcb_poly_line_request_t.Pointer)
return xcb.xcb_point_iterator_t.Item;
procedure xcb_segment_next (i : in xcb.xcb_segment_iterator_t.Pointer);
function xcb_segment_end
(i : in xcb.xcb_segment_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_poly_segment_sizeof
(a_buffer : in swig.void_ptr;
segments_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_poly_segment_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
segments_len : in Interfaces.Unsigned_32;
segments : in xcb.xcb_segment_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_segment
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
segments_len : in Interfaces.Unsigned_32;
segments : in xcb.xcb_segment_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_segment_segments
(R : in xcb.xcb_poly_segment_request_t.Pointer)
return xcb.xcb_segment_t.Pointer;
function xcb_poly_segment_segments_length
(R : in xcb.xcb_poly_segment_request_t.Pointer)
return Interfaces.C.int;
function xcb_poly_segment_segments_iterator
(R : in xcb.xcb_poly_segment_request_t.Pointer)
return xcb.xcb_segment_iterator_t.Item;
function xcb_poly_rectangle_sizeof
(a_buffer : in swig.void_ptr;
rectangles_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_poly_rectangle_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
rectangles_len : in Interfaces.Unsigned_32;
rectangles : in xcb.xcb_rectangle_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_rectangle
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
rectangles_len : in Interfaces.Unsigned_32;
rectangles : in xcb.xcb_rectangle_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_rectangle_rectangles
(R : in xcb.xcb_poly_rectangle_request_t.Pointer)
return xcb.xcb_rectangle_t.Pointer;
function xcb_poly_rectangle_rectangles_length
(R : in xcb.xcb_poly_rectangle_request_t.Pointer)
return Interfaces.C.int;
function xcb_poly_rectangle_rectangles_iterator
(R : in xcb.xcb_poly_rectangle_request_t.Pointer)
return xcb.xcb_rectangle_iterator_t.Item;
function xcb_poly_arc_sizeof
(a_buffer : in swig.void_ptr;
arcs_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_poly_arc_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
arcs_len : in Interfaces.Unsigned_32;
arcs : in xcb.xcb_arc_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_arc
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
arcs_len : in Interfaces.Unsigned_32;
arcs : in xcb.xcb_arc_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_arc_arcs
(R : in xcb.xcb_poly_arc_request_t.Pointer)
return xcb.xcb_arc_t.Pointer;
function xcb_poly_arc_arcs_length
(R : in xcb.xcb_poly_arc_request_t.Pointer)
return Interfaces.C.int;
function xcb_poly_arc_arcs_iterator
(R : in xcb.xcb_poly_arc_request_t.Pointer)
return xcb.xcb_arc_iterator_t.Item;
function xcb_fill_poly_sizeof
(a_buffer : in swig.void_ptr;
points_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_fill_poly_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
shape : in Interfaces.Unsigned_8;
coordinate_mode : in Interfaces.Unsigned_8;
points_len : in Interfaces.Unsigned_32;
points : in xcb.xcb_point_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_fill_poly
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
shape : in Interfaces.Unsigned_8;
coordinate_mode : in Interfaces.Unsigned_8;
points_len : in Interfaces.Unsigned_32;
points : in xcb.xcb_point_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_fill_poly_points
(R : in xcb.xcb_fill_poly_request_t.Pointer)
return xcb.xcb_point_t.Pointer;
function xcb_fill_poly_points_length
(R : in xcb.xcb_fill_poly_request_t.Pointer)
return Interfaces.C.int;
function xcb_fill_poly_points_iterator
(R : in xcb.xcb_fill_poly_request_t.Pointer)
return xcb.xcb_point_iterator_t.Item;
function xcb_poly_fill_rectangle_sizeof
(a_buffer : in swig.void_ptr;
rectangles_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_poly_fill_rectangle_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
rectangles_len : in Interfaces.Unsigned_32;
rectangles : in xcb.xcb_rectangle_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_fill_rectangle
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
rectangles_len : in Interfaces.Unsigned_32;
rectangles : in xcb.xcb_rectangle_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_fill_rectangle_rectangles
(R : in xcb.xcb_poly_fill_rectangle_request_t.Pointer)
return xcb.xcb_rectangle_t.Pointer;
function xcb_poly_fill_rectangle_rectangles_length
(R : in xcb.xcb_poly_fill_rectangle_request_t.Pointer)
return Interfaces.C.int;
function xcb_poly_fill_rectangle_rectangles_iterator
(R : in xcb.xcb_poly_fill_rectangle_request_t.Pointer)
return xcb.xcb_rectangle_iterator_t.Item;
function xcb_poly_fill_arc_sizeof
(a_buffer : in swig.void_ptr;
arcs_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_poly_fill_arc_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
arcs_len : in Interfaces.Unsigned_32;
arcs : in xcb.xcb_arc_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_fill_arc
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
arcs_len : in Interfaces.Unsigned_32;
arcs : in xcb.xcb_arc_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_fill_arc_arcs
(R : in xcb.xcb_poly_fill_arc_request_t.Pointer)
return xcb.xcb_arc_t.Pointer;
function xcb_poly_fill_arc_arcs_length
(R : in xcb.xcb_poly_fill_arc_request_t.Pointer)
return Interfaces.C.int;
function xcb_poly_fill_arc_arcs_iterator
(R : in xcb.xcb_poly_fill_arc_request_t.Pointer)
return xcb.xcb_arc_iterator_t.Item;
function xcb_put_image_sizeof
(a_buffer : in swig.void_ptr;
data_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_put_image_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
format : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16;
dst_x : in Interfaces.Integer_16;
dst_y : in Interfaces.Integer_16;
left_pad : in Interfaces.Unsigned_8;
depth : in Interfaces.Unsigned_8;
data_len : in Interfaces.Unsigned_32;
data : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_put_image
(c : in xcb.Pointers.xcb_connection_t_Pointer;
format : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16;
dst_x : in Interfaces.Integer_16;
dst_y : in Interfaces.Integer_16;
left_pad : in Interfaces.Unsigned_8;
depth : in Interfaces.Unsigned_8;
data_len : in Interfaces.Unsigned_32;
data : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_put_image_data
(R : in xcb.xcb_put_image_request_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_put_image_data_length
(R : in xcb.xcb_put_image_request_t.Pointer)
return Interfaces.C.int;
function xcb_put_image_data_end
(R : in xcb.xcb_put_image_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_get_image_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_get_image
(c : in xcb.Pointers.xcb_connection_t_Pointer;
format : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16;
plane_mask : in Interfaces.Unsigned_32)
return xcb.xcb_get_image_cookie_t.Item;
function xcb_get_image_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
format : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16;
plane_mask : in Interfaces.Unsigned_32)
return xcb.xcb_get_image_cookie_t.Item;
function xcb_get_image_data
(R : in xcb.xcb_get_image_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_get_image_data_length
(R : in xcb.xcb_get_image_reply_t.Pointer)
return Interfaces.C.int;
function xcb_get_image_data_end
(R : in xcb.xcb_get_image_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_get_image_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_image_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_image_reply_t.Pointer;
function xcb_poly_text_8_sizeof
(a_buffer : in swig.void_ptr;
items_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_poly_text_8_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
items_len : in Interfaces.Unsigned_32;
items : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_text_8
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
items_len : in Interfaces.Unsigned_32;
items : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_text_8_items
(R : in xcb.xcb_poly_text_8_request_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_poly_text_8_items_length
(R : in xcb.xcb_poly_text_8_request_t.Pointer)
return Interfaces.C.int;
function xcb_poly_text_8_items_end
(R : in xcb.xcb_poly_text_8_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_poly_text_16_sizeof
(a_buffer : in swig.void_ptr;
items_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_poly_text_16_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
items_len : in Interfaces.Unsigned_32;
items : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_text_16
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
items_len : in Interfaces.Unsigned_32;
items : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_poly_text_16_items
(R : in xcb.xcb_poly_text_16_request_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_poly_text_16_items_length
(R : in xcb.xcb_poly_text_16_request_t.Pointer)
return Interfaces.C.int;
function xcb_poly_text_16_items_end
(R : in xcb.xcb_poly_text_16_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_image_text_8_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_image_text_8_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
string_len : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
string : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_image_text_8
(c : in xcb.Pointers.xcb_connection_t_Pointer;
string_len : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
string : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_image_text_8_string
(R : in xcb.xcb_image_text_8_request_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_image_text_8_string_length
(R : in xcb.xcb_image_text_8_request_t.Pointer)
return Interfaces.C.int;
function xcb_image_text_8_string_end
(R : in xcb.xcb_image_text_8_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_image_text_16_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_image_text_16_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
string_len : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
string : in xcb.xcb_char2b_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_image_text_16
(c : in xcb.Pointers.xcb_connection_t_Pointer;
string_len : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
gc : in xcb.xcb_gcontext_t;
x : in Interfaces.Integer_16;
y : in Interfaces.Integer_16;
string : in xcb.xcb_char2b_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_image_text_16_string
(R : in xcb.xcb_image_text_16_request_t.Pointer)
return xcb.xcb_char2b_t.Pointer;
function xcb_image_text_16_string_length
(R : in xcb.xcb_image_text_16_request_t.Pointer)
return Interfaces.C.int;
function xcb_image_text_16_string_iterator
(R : in xcb.xcb_image_text_16_request_t.Pointer)
return xcb.xcb_char2b_iterator_t.Item;
function xcb_create_colormap_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
alloc : in Interfaces.Unsigned_8;
mid : in xcb.xcb_colormap_t;
window : in xcb.xcb_window_t;
visual : in xcb.xcb_visualid_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_colormap
(c : in xcb.Pointers.xcb_connection_t_Pointer;
alloc : in Interfaces.Unsigned_8;
mid : in xcb.xcb_colormap_t;
window : in xcb.xcb_window_t;
visual : in xcb.xcb_visualid_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_free_colormap_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_free_colormap
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_copy_colormap_and_free_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mid : in xcb.xcb_colormap_t;
src_cmap : in xcb.xcb_colormap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_copy_colormap_and_free
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mid : in xcb.xcb_colormap_t;
src_cmap : in xcb.xcb_colormap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_install_colormap_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_install_colormap
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_uninstall_colormap_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_uninstall_colormap
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_list_installed_colormaps_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_list_installed_colormaps
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_list_installed_colormaps_cookie_t.Item;
function xcb_list_installed_colormaps_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t)
return xcb.xcb_list_installed_colormaps_cookie_t.Item;
function xcb_list_installed_colormaps_cmaps
(R : in xcb.xcb_list_installed_colormaps_reply_t.Pointer)
return xcb.Pointers.xcb_colormap_t_Pointer;
function xcb_list_installed_colormaps_cmaps_length
(R : in xcb.xcb_list_installed_colormaps_reply_t.Pointer)
return Interfaces.C.int;
function xcb_list_installed_colormaps_cmaps_end
(R : in xcb.xcb_list_installed_colormaps_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_list_installed_colormaps_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_list_installed_colormaps_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_list_installed_colormaps_reply_t.Pointer;
function xcb_alloc_color
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t;
red : in Interfaces.Unsigned_16;
green : in Interfaces.Unsigned_16;
blue : in Interfaces.Unsigned_16)
return xcb.xcb_alloc_color_cookie_t.Item;
function xcb_alloc_color_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t;
red : in Interfaces.Unsigned_16;
green : in Interfaces.Unsigned_16;
blue : in Interfaces.Unsigned_16)
return xcb.xcb_alloc_color_cookie_t.Item;
function xcb_alloc_color_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_alloc_color_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_alloc_color_reply_t.Pointer;
function xcb_alloc_named_color_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_alloc_named_color
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t;
name_len : in Interfaces.Unsigned_16;
name : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_alloc_named_color_cookie_t.Item;
function xcb_alloc_named_color_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t;
name_len : in Interfaces.Unsigned_16;
name : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_alloc_named_color_cookie_t.Item;
function xcb_alloc_named_color_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_alloc_named_color_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_alloc_named_color_reply_t.Pointer;
function xcb_alloc_color_cells_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_alloc_color_cells
(c : in xcb.Pointers.xcb_connection_t_Pointer;
contiguous : in Interfaces.Unsigned_8;
cmap : in xcb.xcb_colormap_t;
colors : in Interfaces.Unsigned_16;
planes : in Interfaces.Unsigned_16)
return xcb.xcb_alloc_color_cells_cookie_t.Item;
function xcb_alloc_color_cells_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
contiguous : in Interfaces.Unsigned_8;
cmap : in xcb.xcb_colormap_t;
colors : in Interfaces.Unsigned_16;
planes : in Interfaces.Unsigned_16)
return xcb.xcb_alloc_color_cells_cookie_t.Item;
function xcb_alloc_color_cells_pixels
(R : in xcb.xcb_alloc_color_cells_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_alloc_color_cells_pixels_length
(R : in xcb.xcb_alloc_color_cells_reply_t.Pointer)
return Interfaces.C.int;
function xcb_alloc_color_cells_pixels_end
(R : in xcb.xcb_alloc_color_cells_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_alloc_color_cells_masks
(R : in xcb.xcb_alloc_color_cells_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_alloc_color_cells_masks_length
(R : in xcb.xcb_alloc_color_cells_reply_t.Pointer)
return Interfaces.C.int;
function xcb_alloc_color_cells_masks_end
(R : in xcb.xcb_alloc_color_cells_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_alloc_color_cells_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_alloc_color_cells_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_alloc_color_cells_reply_t.Pointer;
function xcb_alloc_color_planes_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_alloc_color_planes
(c : in xcb.Pointers.xcb_connection_t_Pointer;
contiguous : in Interfaces.Unsigned_8;
cmap : in xcb.xcb_colormap_t;
colors : in Interfaces.Unsigned_16;
reds : in Interfaces.Unsigned_16;
greens : in Interfaces.Unsigned_16;
blues : in Interfaces.Unsigned_16)
return xcb.xcb_alloc_color_planes_cookie_t.Item;
function xcb_alloc_color_planes_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
contiguous : in Interfaces.Unsigned_8;
cmap : in xcb.xcb_colormap_t;
colors : in Interfaces.Unsigned_16;
reds : in Interfaces.Unsigned_16;
greens : in Interfaces.Unsigned_16;
blues : in Interfaces.Unsigned_16)
return xcb.xcb_alloc_color_planes_cookie_t.Item;
function xcb_alloc_color_planes_pixels
(R : in xcb.xcb_alloc_color_planes_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_alloc_color_planes_pixels_length
(R : in xcb.xcb_alloc_color_planes_reply_t.Pointer)
return Interfaces.C.int;
function xcb_alloc_color_planes_pixels_end
(R : in xcb.xcb_alloc_color_planes_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_alloc_color_planes_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_alloc_color_planes_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_alloc_color_planes_reply_t.Pointer;
function xcb_free_colors_sizeof
(a_buffer : in swig.void_ptr;
pixels_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_free_colors_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t;
plane_mask : in Interfaces.Unsigned_32;
pixels_len : in Interfaces.Unsigned_32;
pixels : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_free_colors
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t;
plane_mask : in Interfaces.Unsigned_32;
pixels_len : in Interfaces.Unsigned_32;
pixels : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_free_colors_pixels
(R : in xcb.xcb_free_colors_request_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_free_colors_pixels_length
(R : in xcb.xcb_free_colors_request_t.Pointer)
return Interfaces.C.int;
function xcb_free_colors_pixels_end
(R : in xcb.xcb_free_colors_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_coloritem_next (i : in xcb.xcb_coloritem_iterator_t.Pointer);
function xcb_coloritem_end
(i : in xcb.xcb_coloritem_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_store_colors_sizeof
(a_buffer : in swig.void_ptr;
items_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_store_colors_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t;
items_len : in Interfaces.Unsigned_32;
items : in xcb.xcb_coloritem_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_store_colors
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t;
items_len : in Interfaces.Unsigned_32;
items : in xcb.xcb_coloritem_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_store_colors_items
(R : in xcb.xcb_store_colors_request_t.Pointer)
return xcb.xcb_coloritem_t.Pointer;
function xcb_store_colors_items_length
(R : in xcb.xcb_store_colors_request_t.Pointer)
return Interfaces.C.int;
function xcb_store_colors_items_iterator
(R : in xcb.xcb_store_colors_request_t.Pointer)
return xcb.xcb_coloritem_iterator_t.Item;
function xcb_store_named_color_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_store_named_color_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
flags : in Interfaces.Unsigned_8;
cmap : in xcb.xcb_colormap_t;
pixel : in Interfaces.Unsigned_32;
name_len : in Interfaces.Unsigned_16;
name : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_store_named_color
(c : in xcb.Pointers.xcb_connection_t_Pointer;
flags : in Interfaces.Unsigned_8;
cmap : in xcb.xcb_colormap_t;
pixel : in Interfaces.Unsigned_32;
name_len : in Interfaces.Unsigned_16;
name : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_store_named_color_name
(R : in xcb.xcb_store_named_color_request_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_store_named_color_name_length
(R : in xcb.xcb_store_named_color_request_t.Pointer)
return Interfaces.C.int;
function xcb_store_named_color_name_end
(R : in xcb.xcb_store_named_color_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_rgb_next (i : in xcb.xcb_rgb_iterator_t.Pointer);
function xcb_rgb_end
(i : in xcb.xcb_rgb_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_query_colors_sizeof
(a_buffer : in swig.void_ptr;
pixels_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_query_colors
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t;
pixels_len : in Interfaces.Unsigned_32;
pixels : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_query_colors_cookie_t.Item;
function xcb_query_colors_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t;
pixels_len : in Interfaces.Unsigned_32;
pixels : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_query_colors_cookie_t.Item;
function xcb_query_colors_colors
(R : in xcb.xcb_query_colors_reply_t.Pointer)
return xcb.xcb_rgb_t.Pointer;
function xcb_query_colors_colors_length
(R : in xcb.xcb_query_colors_reply_t.Pointer)
return Interfaces.C.int;
function xcb_query_colors_colors_iterator
(R : in xcb.xcb_query_colors_reply_t.Pointer)
return xcb.xcb_rgb_iterator_t.Item;
function xcb_query_colors_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_query_colors_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_query_colors_reply_t.Pointer;
function xcb_lookup_color_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_lookup_color
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t;
name_len : in Interfaces.Unsigned_16;
name : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_lookup_color_cookie_t.Item;
function xcb_lookup_color_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cmap : in xcb.xcb_colormap_t;
name_len : in Interfaces.Unsigned_16;
name : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_lookup_color_cookie_t.Item;
function xcb_lookup_color_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_lookup_color_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_lookup_color_reply_t.Pointer;
function xcb_create_cursor_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cid : in xcb.xcb_cursor_t;
source : in xcb.xcb_pixmap_t;
mask : in xcb.xcb_pixmap_t;
fore_red : in Interfaces.Unsigned_16;
fore_green : in Interfaces.Unsigned_16;
fore_blue : in Interfaces.Unsigned_16;
back_red : in Interfaces.Unsigned_16;
back_green : in Interfaces.Unsigned_16;
back_blue : in Interfaces.Unsigned_16;
x : in Interfaces.Unsigned_16;
y : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_cursor
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cid : in xcb.xcb_cursor_t;
source : in xcb.xcb_pixmap_t;
mask : in xcb.xcb_pixmap_t;
fore_red : in Interfaces.Unsigned_16;
fore_green : in Interfaces.Unsigned_16;
fore_blue : in Interfaces.Unsigned_16;
back_red : in Interfaces.Unsigned_16;
back_green : in Interfaces.Unsigned_16;
back_blue : in Interfaces.Unsigned_16;
x : in Interfaces.Unsigned_16;
y : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_glyph_cursor_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cid : in xcb.xcb_cursor_t;
source_font : in xcb.xcb_font_t;
mask_font : in xcb.xcb_font_t;
source_char : in Interfaces.Unsigned_16;
mask_char : in Interfaces.Unsigned_16;
fore_red : in Interfaces.Unsigned_16;
fore_green : in Interfaces.Unsigned_16;
fore_blue : in Interfaces.Unsigned_16;
back_red : in Interfaces.Unsigned_16;
back_green : in Interfaces.Unsigned_16;
back_blue : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_create_glyph_cursor
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cid : in xcb.xcb_cursor_t;
source_font : in xcb.xcb_font_t;
mask_font : in xcb.xcb_font_t;
source_char : in Interfaces.Unsigned_16;
mask_char : in Interfaces.Unsigned_16;
fore_red : in Interfaces.Unsigned_16;
fore_green : in Interfaces.Unsigned_16;
fore_blue : in Interfaces.Unsigned_16;
back_red : in Interfaces.Unsigned_16;
back_green : in Interfaces.Unsigned_16;
back_blue : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_free_cursor_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cursor : in xcb.xcb_cursor_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_free_cursor
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cursor : in xcb.xcb_cursor_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_recolor_cursor_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cursor : in xcb.xcb_cursor_t;
fore_red : in Interfaces.Unsigned_16;
fore_green : in Interfaces.Unsigned_16;
fore_blue : in Interfaces.Unsigned_16;
back_red : in Interfaces.Unsigned_16;
back_green : in Interfaces.Unsigned_16;
back_blue : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_recolor_cursor
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cursor : in xcb.xcb_cursor_t;
fore_red : in Interfaces.Unsigned_16;
fore_green : in Interfaces.Unsigned_16;
fore_blue : in Interfaces.Unsigned_16;
back_red : in Interfaces.Unsigned_16;
back_green : in Interfaces.Unsigned_16;
back_blue : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_query_best_size
(c : in xcb.Pointers.xcb_connection_t_Pointer;
a_class : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16)
return xcb.xcb_query_best_size_cookie_t.Item;
function xcb_query_best_size_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
a_class : in Interfaces.Unsigned_8;
drawable : in xcb.xcb_drawable_t;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16)
return xcb.xcb_query_best_size_cookie_t.Item;
function xcb_query_best_size_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_query_best_size_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_query_best_size_reply_t.Pointer;
function xcb_query_extension_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_query_extension
(c : in xcb.Pointers.xcb_connection_t_Pointer;
name_len : in Interfaces.Unsigned_16;
name : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_query_extension_cookie_t.Item;
function xcb_query_extension_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
name_len : in Interfaces.Unsigned_16;
name : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_query_extension_cookie_t.Item;
function xcb_query_extension_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_query_extension_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_query_extension_reply_t.Pointer;
function xcb_list_extensions_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_list_extensions
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_list_extensions_cookie_t.Item;
function xcb_list_extensions_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_list_extensions_cookie_t.Item;
function xcb_list_extensions_names_length
(R : in xcb.xcb_list_extensions_reply_t.Pointer)
return Interfaces.C.int;
function xcb_list_extensions_names_iterator
(R : in xcb.xcb_list_extensions_reply_t.Pointer)
return xcb.xcb_str_iterator_t.Item;
function xcb_list_extensions_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_list_extensions_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_list_extensions_reply_t.Pointer;
function xcb_change_keyboard_mapping_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_change_keyboard_mapping_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
keycode_count : in Interfaces.Unsigned_8;
first_keycode : in xcb.xcb_keycode_t;
keysyms_per_keycode : in Interfaces.Unsigned_8;
keysyms : in xcb.Pointers.xcb_keysym_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_keyboard_mapping
(c : in xcb.Pointers.xcb_connection_t_Pointer;
keycode_count : in Interfaces.Unsigned_8;
first_keycode : in xcb.xcb_keycode_t;
keysyms_per_keycode : in Interfaces.Unsigned_8;
keysyms : in xcb.Pointers.xcb_keysym_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_keyboard_mapping_keysyms
(R : in xcb.xcb_change_keyboard_mapping_request_t.Pointer)
return xcb.Pointers.xcb_keysym_t_Pointer;
function xcb_change_keyboard_mapping_keysyms_length
(R : in xcb.xcb_change_keyboard_mapping_request_t.Pointer)
return Interfaces.C.int;
function xcb_change_keyboard_mapping_keysyms_end
(R : in xcb.xcb_change_keyboard_mapping_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_get_keyboard_mapping_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_get_keyboard_mapping
(c : in xcb.Pointers.xcb_connection_t_Pointer;
first_keycode : in xcb.xcb_keycode_t;
count : in Interfaces.Unsigned_8)
return xcb.xcb_get_keyboard_mapping_cookie_t.Item;
function xcb_get_keyboard_mapping_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
first_keycode : in xcb.xcb_keycode_t;
count : in Interfaces.Unsigned_8)
return xcb.xcb_get_keyboard_mapping_cookie_t.Item;
function xcb_get_keyboard_mapping_keysyms
(R : in xcb.xcb_get_keyboard_mapping_reply_t.Pointer)
return xcb.Pointers.xcb_keysym_t_Pointer;
function xcb_get_keyboard_mapping_keysyms_length
(R : in xcb.xcb_get_keyboard_mapping_reply_t.Pointer)
return Interfaces.C.int;
function xcb_get_keyboard_mapping_keysyms_end
(R : in xcb.xcb_get_keyboard_mapping_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_get_keyboard_mapping_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_keyboard_mapping_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_keyboard_mapping_reply_t.Pointer;
function xcb_change_keyboard_control_value_list_serialize
(a_buffer : in swig.pointers.void_ptr_Pointer;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_change_keyboard_control_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_change_keyboard_control_value_list_unpack
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_change_keyboard_control_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_change_keyboard_control_value_list_sizeof
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_change_keyboard_control_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_change_keyboard_control_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_keyboard_control
(c : in xcb.Pointers.xcb_connection_t_Pointer;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_keyboard_control_aux_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_change_keyboard_control_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_keyboard_control_aux
(c : in xcb.Pointers.xcb_connection_t_Pointer;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_change_keyboard_control_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_keyboard_control_value_list
(R : in xcb.xcb_change_keyboard_control_request_t.Pointer)
return swig.void_ptr;
function xcb_get_keyboard_control
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_keyboard_control_cookie_t.Item;
function xcb_get_keyboard_control_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_keyboard_control_cookie_t.Item;
function xcb_get_keyboard_control_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_keyboard_control_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_keyboard_control_reply_t.Pointer;
function xcb_bell_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
percent : in Interfaces.Integer_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_bell
(c : in xcb.Pointers.xcb_connection_t_Pointer;
percent : in Interfaces.Integer_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_pointer_control_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
acceleration_numerator : in Interfaces.Integer_16;
acceleration_denominator : in Interfaces.Integer_16;
threshold : in Interfaces.Integer_16;
do_acceleration : in Interfaces.Unsigned_8;
do_threshold : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_pointer_control
(c : in xcb.Pointers.xcb_connection_t_Pointer;
acceleration_numerator : in Interfaces.Integer_16;
acceleration_denominator : in Interfaces.Integer_16;
threshold : in Interfaces.Integer_16;
do_acceleration : in Interfaces.Unsigned_8;
do_threshold : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_get_pointer_control
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_pointer_control_cookie_t.Item;
function xcb_get_pointer_control_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_pointer_control_cookie_t.Item;
function xcb_get_pointer_control_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_pointer_control_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_pointer_control_reply_t.Pointer;
function xcb_set_screen_saver_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
timeout : in Interfaces.Integer_16;
interval : in Interfaces.Integer_16;
prefer_blanking : in Interfaces.Unsigned_8;
allow_exposures : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_screen_saver
(c : in xcb.Pointers.xcb_connection_t_Pointer;
timeout : in Interfaces.Integer_16;
interval : in Interfaces.Integer_16;
prefer_blanking : in Interfaces.Unsigned_8;
allow_exposures : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_get_screen_saver
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_screen_saver_cookie_t.Item;
function xcb_get_screen_saver_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_screen_saver_cookie_t.Item;
function xcb_get_screen_saver_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_screen_saver_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_screen_saver_reply_t.Pointer;
function xcb_change_hosts_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_change_hosts_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8;
family : in Interfaces.Unsigned_8;
address_len : in Interfaces.Unsigned_16;
address : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_hosts
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8;
family : in Interfaces.Unsigned_8;
address_len : in Interfaces.Unsigned_16;
address : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_change_hosts_address
(R : in xcb.xcb_change_hosts_request_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_change_hosts_address_length
(R : in xcb.xcb_change_hosts_request_t.Pointer)
return Interfaces.C.int;
function xcb_change_hosts_address_end
(R : in xcb.xcb_change_hosts_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_host_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_host_address
(R : in xcb.xcb_host_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_host_address_length
(R : in xcb.xcb_host_t.Pointer)
return Interfaces.C.int;
function xcb_host_address_end
(R : in xcb.xcb_host_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_host_next (i : in xcb.xcb_host_iterator_t.Pointer);
function xcb_host_end
(i : in xcb.xcb_host_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_list_hosts_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_list_hosts
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_list_hosts_cookie_t.Item;
function xcb_list_hosts_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_list_hosts_cookie_t.Item;
function xcb_list_hosts_hosts_length
(R : in xcb.xcb_list_hosts_reply_t.Pointer)
return Interfaces.C.int;
function xcb_list_hosts_hosts_iterator
(R : in xcb.xcb_list_hosts_reply_t.Pointer)
return xcb.xcb_host_iterator_t.Item;
function xcb_list_hosts_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_list_hosts_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_list_hosts_reply_t.Pointer;
function xcb_set_access_control_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_access_control
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_close_down_mode_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_close_down_mode
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_kill_client_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
resource : in Interfaces.Unsigned_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_kill_client
(c : in xcb.Pointers.xcb_connection_t_Pointer;
resource : in Interfaces.Unsigned_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_rotate_properties_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_rotate_properties_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
atoms_len : in Interfaces.Unsigned_16;
the_delta : in Interfaces.Integer_16;
atoms : in xcb.Pointers.xcb_atom_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_rotate_properties
(c : in xcb.Pointers.xcb_connection_t_Pointer;
window : in xcb.xcb_window_t;
atoms_len : in Interfaces.Unsigned_16;
the_delta : in Interfaces.Integer_16;
atoms : in xcb.Pointers.xcb_atom_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_rotate_properties_atoms
(R : in xcb.xcb_rotate_properties_request_t.Pointer)
return xcb.Pointers.xcb_atom_t_Pointer;
function xcb_rotate_properties_atoms_length
(R : in xcb.xcb_rotate_properties_request_t.Pointer)
return Interfaces.C.int;
function xcb_rotate_properties_atoms_end
(R : in xcb.xcb_rotate_properties_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_force_screen_saver_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_force_screen_saver
(c : in xcb.Pointers.xcb_connection_t_Pointer;
mode : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_set_pointer_mapping_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_set_pointer_mapping
(c : in xcb.Pointers.xcb_connection_t_Pointer;
map_len : in Interfaces.Unsigned_8;
map : in swig.pointers.int8_t_Pointer)
return xcb.xcb_set_pointer_mapping_cookie_t.Item;
function xcb_set_pointer_mapping_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
map_len : in Interfaces.Unsigned_8;
map : in swig.pointers.int8_t_Pointer)
return xcb.xcb_set_pointer_mapping_cookie_t.Item;
function xcb_set_pointer_mapping_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_set_pointer_mapping_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_set_pointer_mapping_reply_t.Pointer;
function xcb_get_pointer_mapping_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_get_pointer_mapping
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_pointer_mapping_cookie_t.Item;
function xcb_get_pointer_mapping_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_pointer_mapping_cookie_t.Item;
function xcb_get_pointer_mapping_map
(R : in xcb.xcb_get_pointer_mapping_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_get_pointer_mapping_map_length
(R : in xcb.xcb_get_pointer_mapping_reply_t.Pointer)
return Interfaces.C.int;
function xcb_get_pointer_mapping_map_end
(R : in xcb.xcb_get_pointer_mapping_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_get_pointer_mapping_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_pointer_mapping_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_pointer_mapping_reply_t.Pointer;
function xcb_set_modifier_mapping_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_set_modifier_mapping
(c : in xcb.Pointers.xcb_connection_t_Pointer;
keycodes_per_modifier : in Interfaces.Unsigned_8;
keycodes : in xcb.Pointers.xcb_keycode_t_Pointer)
return xcb.xcb_set_modifier_mapping_cookie_t.Item;
function xcb_set_modifier_mapping_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
keycodes_per_modifier : in Interfaces.Unsigned_8;
keycodes : in xcb.Pointers.xcb_keycode_t_Pointer)
return xcb.xcb_set_modifier_mapping_cookie_t.Item;
function xcb_set_modifier_mapping_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_set_modifier_mapping_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_set_modifier_mapping_reply_t.Pointer;
function xcb_get_modifier_mapping_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_get_modifier_mapping
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_modifier_mapping_cookie_t.Item;
function xcb_get_modifier_mapping_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_get_modifier_mapping_cookie_t.Item;
function xcb_get_modifier_mapping_keycodes
(R : in xcb.xcb_get_modifier_mapping_reply_t.Pointer)
return xcb.Pointers.xcb_keycode_t_Pointer;
function xcb_get_modifier_mapping_keycodes_length
(R : in xcb.xcb_get_modifier_mapping_reply_t.Pointer)
return Interfaces.C.int;
function xcb_get_modifier_mapping_keycodes_end
(R : in xcb.xcb_get_modifier_mapping_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_get_modifier_mapping_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_get_modifier_mapping_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_get_modifier_mapping_reply_t.Pointer;
function xcb_no_operation_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_no_operation
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_big_requests_enable
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_big_requests_enable_cookie_t.Item;
function xcb_big_requests_enable_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_big_requests_enable_cookie_t.Item;
function xcb_big_requests_enable_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_big_requests_enable_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_big_requests_enable_reply_t.Pointer;
procedure xcb_render_glyph_next
(i : in xcb.xcb_render_glyph_iterator_t.Pointer);
function xcb_render_glyph_end
(i : in xcb.xcb_render_glyph_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_glyphset_next
(i : in xcb.xcb_render_glyphset_iterator_t.Pointer);
function xcb_render_glyphset_end
(i : in xcb.xcb_render_glyphset_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_picture_next
(i : in xcb.xcb_render_picture_iterator_t.Pointer);
function xcb_render_picture_end
(i : in xcb.xcb_render_picture_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_pictformat_next
(i : in xcb.xcb_render_pictformat_iterator_t.Pointer);
function xcb_render_pictformat_end
(i : in xcb.xcb_render_pictformat_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_fixed_next
(i : in xcb.xcb_render_fixed_iterator_t.Pointer);
function xcb_render_fixed_end
(i : in xcb.xcb_render_fixed_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_directformat_next
(i : in xcb.xcb_render_directformat_iterator_t.Pointer);
function xcb_render_directformat_end
(i : in xcb.xcb_render_directformat_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_pictforminfo_next
(i : in xcb.xcb_render_pictforminfo_iterator_t.Pointer);
function xcb_render_pictforminfo_end
(i : in xcb.xcb_render_pictforminfo_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_pictvisual_next
(i : in xcb.xcb_render_pictvisual_iterator_t.Pointer);
function xcb_render_pictvisual_end
(i : in xcb.xcb_render_pictvisual_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_pictdepth_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_render_pictdepth_visuals
(R : in xcb.xcb_render_pictdepth_t.Pointer)
return xcb.xcb_render_pictvisual_t.Pointer;
function xcb_render_pictdepth_visuals_length
(R : in xcb.xcb_render_pictdepth_t.Pointer)
return Interfaces.C.int;
function xcb_render_pictdepth_visuals_iterator
(R : in xcb.xcb_render_pictdepth_t.Pointer)
return xcb.xcb_render_pictvisual_iterator_t.Item;
procedure xcb_render_pictdepth_next
(i : in xcb.xcb_render_pictdepth_iterator_t.Pointer);
function xcb_render_pictdepth_end
(i : in xcb.xcb_render_pictdepth_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_pictscreen_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_render_pictscreen_depths_length
(R : in xcb.xcb_render_pictscreen_t.Pointer)
return Interfaces.C.int;
function xcb_render_pictscreen_depths_iterator
(R : in xcb.xcb_render_pictscreen_t.Pointer)
return xcb.xcb_render_pictdepth_iterator_t.Item;
procedure xcb_render_pictscreen_next
(i : in xcb.xcb_render_pictscreen_iterator_t.Pointer);
function xcb_render_pictscreen_end
(i : in xcb.xcb_render_pictscreen_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_indexvalue_next
(i : in xcb.xcb_render_indexvalue_iterator_t.Pointer);
function xcb_render_indexvalue_end
(i : in xcb.xcb_render_indexvalue_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_color_next
(i : in xcb.xcb_render_color_iterator_t.Pointer);
function xcb_render_color_end
(i : in xcb.xcb_render_color_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_pointfix_next
(i : in xcb.xcb_render_pointfix_iterator_t.Pointer);
function xcb_render_pointfix_end
(i : in xcb.xcb_render_pointfix_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_linefix_next
(i : in xcb.xcb_render_linefix_iterator_t.Pointer);
function xcb_render_linefix_end
(i : in xcb.xcb_render_linefix_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_triangle_next
(i : in xcb.xcb_render_triangle_iterator_t.Pointer);
function xcb_render_triangle_end
(i : in xcb.xcb_render_triangle_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_trapezoid_next
(i : in xcb.xcb_render_trapezoid_iterator_t.Pointer);
function xcb_render_trapezoid_end
(i : in xcb.xcb_render_trapezoid_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_glyphinfo_next
(i : in xcb.xcb_render_glyphinfo_iterator_t.Pointer);
function xcb_render_glyphinfo_end
(i : in xcb.xcb_render_glyphinfo_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_query_version
(c : in xcb.Pointers.xcb_connection_t_Pointer;
client_major_version : in Interfaces.Unsigned_32;
client_minor_version : in Interfaces.Unsigned_32)
return xcb.xcb_render_query_version_cookie_t.Item;
function xcb_render_query_version_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
client_major_version : in Interfaces.Unsigned_32;
client_minor_version : in Interfaces.Unsigned_32)
return xcb.xcb_render_query_version_cookie_t.Item;
function xcb_render_query_version_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_render_query_version_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_render_query_version_reply_t.Pointer;
function xcb_render_query_pict_formats_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_render_query_pict_formats
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_render_query_pict_formats_cookie_t.Item;
function xcb_render_query_pict_formats_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_render_query_pict_formats_cookie_t.Item;
function xcb_render_query_pict_formats_formats
(R : in xcb.xcb_render_query_pict_formats_reply_t.Pointer)
return xcb.xcb_render_pictforminfo_t.Pointer;
function xcb_render_query_pict_formats_formats_length
(R : in xcb.xcb_render_query_pict_formats_reply_t.Pointer)
return Interfaces.C.int;
function xcb_render_query_pict_formats_formats_iterator
(R : in xcb.xcb_render_query_pict_formats_reply_t.Pointer)
return xcb.xcb_render_pictforminfo_iterator_t.Item;
function xcb_render_query_pict_formats_screens_length
(R : in xcb.xcb_render_query_pict_formats_reply_t.Pointer)
return Interfaces.C.int;
function xcb_render_query_pict_formats_screens_iterator
(R : in xcb.xcb_render_query_pict_formats_reply_t.Pointer)
return xcb.xcb_render_pictscreen_iterator_t.Item;
function xcb_render_query_pict_formats_subpixels
(R : in xcb.xcb_render_query_pict_formats_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_render_query_pict_formats_subpixels_length
(R : in xcb.xcb_render_query_pict_formats_reply_t.Pointer)
return Interfaces.C.int;
function xcb_render_query_pict_formats_subpixels_end
(R : in xcb.xcb_render_query_pict_formats_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_query_pict_formats_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_render_query_pict_formats_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_render_query_pict_formats_reply_t.Pointer;
function xcb_render_query_pict_index_values_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_render_query_pict_index_values
(c : in xcb.Pointers.xcb_connection_t_Pointer;
format : in xcb.xcb_render_pictformat_t)
return xcb.xcb_render_query_pict_index_values_cookie_t.Item;
function xcb_render_query_pict_index_values_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
format : in xcb.xcb_render_pictformat_t)
return xcb.xcb_render_query_pict_index_values_cookie_t.Item;
function xcb_render_query_pict_index_values_values
(R : in xcb.xcb_render_query_pict_index_values_reply_t.Pointer)
return xcb.xcb_render_indexvalue_t.Pointer;
function xcb_render_query_pict_index_values_values_length
(R : in xcb.xcb_render_query_pict_index_values_reply_t.Pointer)
return Interfaces.C.int;
function xcb_render_query_pict_index_values_values_iterator
(R : in xcb.xcb_render_query_pict_index_values_reply_t.Pointer)
return xcb.xcb_render_indexvalue_iterator_t.Item;
function xcb_render_query_pict_index_values_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_render_query_pict_index_values_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_render_query_pict_index_values_reply_t.Pointer;
function xcb_render_create_picture_value_list_serialize
(a_buffer : in swig.pointers.void_ptr_Pointer;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_render_create_picture_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_render_create_picture_value_list_unpack
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_render_create_picture_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_render_create_picture_value_list_sizeof
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_create_picture_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_render_create_picture_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
pid : in xcb.xcb_render_picture_t;
drawable : in xcb.xcb_drawable_t;
format : in xcb.xcb_render_pictformat_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_picture
(c : in xcb.Pointers.xcb_connection_t_Pointer;
pid : in xcb.xcb_render_picture_t;
drawable : in xcb.xcb_drawable_t;
format : in xcb.xcb_render_pictformat_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_picture_aux_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
pid : in xcb.xcb_render_picture_t;
drawable : in xcb.xcb_drawable_t;
format : in xcb.xcb_render_pictformat_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_render_create_picture_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_picture_aux
(c : in xcb.Pointers.xcb_connection_t_Pointer;
pid : in xcb.xcb_render_picture_t;
drawable : in xcb.xcb_drawable_t;
format : in xcb.xcb_render_pictformat_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_render_create_picture_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_picture_value_list
(R : in xcb.xcb_render_create_picture_request_t.Pointer)
return swig.void_ptr;
function xcb_render_change_picture_value_list_serialize
(a_buffer : in swig.pointers.void_ptr_Pointer;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_render_change_picture_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_render_change_picture_value_list_unpack
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32;
a_aux : in xcb.xcb_render_change_picture_value_list_t.Pointer)
return Interfaces.C.int;
function xcb_render_change_picture_value_list_sizeof
(a_buffer : in swig.void_ptr;
value_mask : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_change_picture_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_render_change_picture_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_change_picture
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in swig.void_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_change_picture_aux_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_render_change_picture_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_change_picture_aux
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
value_mask : in Interfaces.Unsigned_32;
value_list : in xcb.xcb_render_change_picture_value_list_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_change_picture_value_list
(R : in xcb.xcb_render_change_picture_request_t.Pointer)
return swig.void_ptr;
function xcb_render_set_picture_clip_rectangles_sizeof
(a_buffer : in swig.void_ptr;
rectangles_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_set_picture_clip_rectangles_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
clip_x_origin : in Interfaces.Integer_16;
clip_y_origin : in Interfaces.Integer_16;
rectangles_len : in Interfaces.Unsigned_32;
rectangles : in xcb.xcb_rectangle_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_set_picture_clip_rectangles
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
clip_x_origin : in Interfaces.Integer_16;
clip_y_origin : in Interfaces.Integer_16;
rectangles_len : in Interfaces.Unsigned_32;
rectangles : in xcb.xcb_rectangle_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_set_picture_clip_rectangles_rectangles
(R : in xcb.xcb_render_set_picture_clip_rectangles_request_t.Pointer)
return xcb.xcb_rectangle_t.Pointer;
function xcb_render_set_picture_clip_rectangles_rectangles_length
(R : in xcb.xcb_render_set_picture_clip_rectangles_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_set_picture_clip_rectangles_rectangles_iterator
(R : in xcb.xcb_render_set_picture_clip_rectangles_request_t.Pointer)
return xcb.xcb_rectangle_iterator_t.Item;
function xcb_render_free_picture_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_free_picture
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_composite_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
mask : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
mask_x : in Interfaces.Integer_16;
mask_y : in Interfaces.Integer_16;
dst_x : in Interfaces.Integer_16;
dst_y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_composite
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
mask : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
mask_x : in Interfaces.Integer_16;
mask_y : in Interfaces.Integer_16;
dst_x : in Interfaces.Integer_16;
dst_y : in Interfaces.Integer_16;
width : in Interfaces.Unsigned_16;
height : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_trapezoids_sizeof
(a_buffer : in swig.void_ptr;
traps_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_trapezoids_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
traps_len : in Interfaces.Unsigned_32;
traps : in xcb.xcb_render_trapezoid_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_trapezoids
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
traps_len : in Interfaces.Unsigned_32;
traps : in xcb.xcb_render_trapezoid_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_trapezoids_traps
(R : in xcb.xcb_render_trapezoids_request_t.Pointer)
return xcb.xcb_render_trapezoid_t.Pointer;
function xcb_render_trapezoids_traps_length
(R : in xcb.xcb_render_trapezoids_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_trapezoids_traps_iterator
(R : in xcb.xcb_render_trapezoids_request_t.Pointer)
return xcb.xcb_render_trapezoid_iterator_t.Item;
function xcb_render_triangles_sizeof
(a_buffer : in swig.void_ptr;
triangles_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_triangles_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
triangles_len : in Interfaces.Unsigned_32;
triangles : in xcb.xcb_render_triangle_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_triangles
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
triangles_len : in Interfaces.Unsigned_32;
triangles : in xcb.xcb_render_triangle_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_triangles_triangles
(R : in xcb.xcb_render_triangles_request_t.Pointer)
return xcb.xcb_render_triangle_t.Pointer;
function xcb_render_triangles_triangles_length
(R : in xcb.xcb_render_triangles_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_triangles_triangles_iterator
(R : in xcb.xcb_render_triangles_request_t.Pointer)
return xcb.xcb_render_triangle_iterator_t.Item;
function xcb_render_tri_strip_sizeof
(a_buffer : in swig.void_ptr;
points_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_tri_strip_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
points_len : in Interfaces.Unsigned_32;
points : in xcb.xcb_render_pointfix_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_tri_strip
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
points_len : in Interfaces.Unsigned_32;
points : in xcb.xcb_render_pointfix_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_tri_strip_points
(R : in xcb.xcb_render_tri_strip_request_t.Pointer)
return xcb.xcb_render_pointfix_t.Pointer;
function xcb_render_tri_strip_points_length
(R : in xcb.xcb_render_tri_strip_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_tri_strip_points_iterator
(R : in xcb.xcb_render_tri_strip_request_t.Pointer)
return xcb.xcb_render_pointfix_iterator_t.Item;
function xcb_render_tri_fan_sizeof
(a_buffer : in swig.void_ptr;
points_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_tri_fan_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
points_len : in Interfaces.Unsigned_32;
points : in xcb.xcb_render_pointfix_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_tri_fan
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
points_len : in Interfaces.Unsigned_32;
points : in xcb.xcb_render_pointfix_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_tri_fan_points
(R : in xcb.xcb_render_tri_fan_request_t.Pointer)
return xcb.xcb_render_pointfix_t.Pointer;
function xcb_render_tri_fan_points_length
(R : in xcb.xcb_render_tri_fan_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_tri_fan_points_iterator
(R : in xcb.xcb_render_tri_fan_request_t.Pointer)
return xcb.xcb_render_pointfix_iterator_t.Item;
function xcb_render_create_glyph_set_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
gsid : in xcb.xcb_render_glyphset_t;
format : in xcb.xcb_render_pictformat_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_glyph_set
(c : in xcb.Pointers.xcb_connection_t_Pointer;
gsid : in xcb.xcb_render_glyphset_t;
format : in xcb.xcb_render_pictformat_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_reference_glyph_set_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
gsid : in xcb.xcb_render_glyphset_t;
existing : in xcb.xcb_render_glyphset_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_reference_glyph_set
(c : in xcb.Pointers.xcb_connection_t_Pointer;
gsid : in xcb.xcb_render_glyphset_t;
existing : in xcb.xcb_render_glyphset_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_free_glyph_set_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
glyphset : in xcb.xcb_render_glyphset_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_free_glyph_set
(c : in xcb.Pointers.xcb_connection_t_Pointer;
glyphset : in xcb.xcb_render_glyphset_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_add_glyphs_sizeof
(a_buffer : in swig.void_ptr;
data_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_add_glyphs_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
glyphset : in xcb.xcb_render_glyphset_t;
glyphs_len : in Interfaces.Unsigned_32;
glyphids : in swig.pointers.uint32_t_Pointer;
glyphs : in xcb.xcb_render_glyphinfo_t.Pointer;
data_len : in Interfaces.Unsigned_32;
data : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_add_glyphs
(c : in xcb.Pointers.xcb_connection_t_Pointer;
glyphset : in xcb.xcb_render_glyphset_t;
glyphs_len : in Interfaces.Unsigned_32;
glyphids : in swig.pointers.uint32_t_Pointer;
glyphs : in xcb.xcb_render_glyphinfo_t.Pointer;
data_len : in Interfaces.Unsigned_32;
data : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_add_glyphs_glyphids
(R : in xcb.xcb_render_add_glyphs_request_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_render_add_glyphs_glyphids_length
(R : in xcb.xcb_render_add_glyphs_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_add_glyphs_glyphids_end
(R : in xcb.xcb_render_add_glyphs_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_add_glyphs_glyphs
(R : in xcb.xcb_render_add_glyphs_request_t.Pointer)
return xcb.xcb_render_glyphinfo_t.Pointer;
function xcb_render_add_glyphs_glyphs_length
(R : in xcb.xcb_render_add_glyphs_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_add_glyphs_glyphs_iterator
(R : in xcb.xcb_render_add_glyphs_request_t.Pointer)
return xcb.xcb_render_glyphinfo_iterator_t.Item;
function xcb_render_add_glyphs_data
(R : in xcb.xcb_render_add_glyphs_request_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_render_add_glyphs_data_length
(R : in xcb.xcb_render_add_glyphs_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_add_glyphs_data_end
(R : in xcb.xcb_render_add_glyphs_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_free_glyphs_sizeof
(a_buffer : in swig.void_ptr;
glyphs_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_free_glyphs_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
glyphset : in xcb.xcb_render_glyphset_t;
glyphs_len : in Interfaces.Unsigned_32;
glyphs : in xcb.Pointers.xcb_render_glyph_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_free_glyphs
(c : in xcb.Pointers.xcb_connection_t_Pointer;
glyphset : in xcb.xcb_render_glyphset_t;
glyphs_len : in Interfaces.Unsigned_32;
glyphs : in xcb.Pointers.xcb_render_glyph_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_free_glyphs_glyphs
(R : in xcb.xcb_render_free_glyphs_request_t.Pointer)
return xcb.Pointers.xcb_render_glyph_t_Pointer;
function xcb_render_free_glyphs_glyphs_length
(R : in xcb.xcb_render_free_glyphs_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_free_glyphs_glyphs_end
(R : in xcb.xcb_render_free_glyphs_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_composite_glyphs_8_sizeof
(a_buffer : in swig.void_ptr;
glyphcmds_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_composite_glyphs_8_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
glyphset : in xcb.xcb_render_glyphset_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
glyphcmds_len : in Interfaces.Unsigned_32;
glyphcmds : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_composite_glyphs_8
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
glyphset : in xcb.xcb_render_glyphset_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
glyphcmds_len : in Interfaces.Unsigned_32;
glyphcmds : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_composite_glyphs_8_glyphcmds
(R : in xcb.xcb_render_composite_glyphs_8_request_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_render_composite_glyphs_8_glyphcmds_length
(R : in xcb.xcb_render_composite_glyphs_8_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_composite_glyphs_8_glyphcmds_end
(R : in xcb.xcb_render_composite_glyphs_8_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_composite_glyphs_16_sizeof
(a_buffer : in swig.void_ptr;
glyphcmds_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_composite_glyphs_16_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
glyphset : in xcb.xcb_render_glyphset_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
glyphcmds_len : in Interfaces.Unsigned_32;
glyphcmds : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_composite_glyphs_16
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
glyphset : in xcb.xcb_render_glyphset_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
glyphcmds_len : in Interfaces.Unsigned_32;
glyphcmds : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_composite_glyphs_16_glyphcmds
(R : in xcb.xcb_render_composite_glyphs_16_request_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_render_composite_glyphs_16_glyphcmds_length
(R : in xcb.xcb_render_composite_glyphs_16_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_composite_glyphs_16_glyphcmds_end
(R : in xcb.xcb_render_composite_glyphs_16_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_composite_glyphs_32_sizeof
(a_buffer : in swig.void_ptr;
glyphcmds_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_composite_glyphs_32_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
glyphset : in xcb.xcb_render_glyphset_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
glyphcmds_len : in Interfaces.Unsigned_32;
glyphcmds : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_composite_glyphs_32
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
glyphset : in xcb.xcb_render_glyphset_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
glyphcmds_len : in Interfaces.Unsigned_32;
glyphcmds : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_composite_glyphs_32_glyphcmds
(R : in xcb.xcb_render_composite_glyphs_32_request_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_render_composite_glyphs_32_glyphcmds_length
(R : in xcb.xcb_render_composite_glyphs_32_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_composite_glyphs_32_glyphcmds_end
(R : in xcb.xcb_render_composite_glyphs_32_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_fill_rectangles_sizeof
(a_buffer : in swig.void_ptr;
rects_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_fill_rectangles_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
dst : in xcb.xcb_render_picture_t;
color : in xcb.xcb_render_color_t.Item;
rects_len : in Interfaces.Unsigned_32;
rects : in xcb.xcb_rectangle_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_fill_rectangles
(c : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
dst : in xcb.xcb_render_picture_t;
color : in xcb.xcb_render_color_t.Item;
rects_len : in Interfaces.Unsigned_32;
rects : in xcb.xcb_rectangle_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_fill_rectangles_rects
(R : in xcb.xcb_render_fill_rectangles_request_t.Pointer)
return xcb.xcb_rectangle_t.Pointer;
function xcb_render_fill_rectangles_rects_length
(R : in xcb.xcb_render_fill_rectangles_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_fill_rectangles_rects_iterator
(R : in xcb.xcb_render_fill_rectangles_request_t.Pointer)
return xcb.xcb_rectangle_iterator_t.Item;
function xcb_render_create_cursor_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cid : in xcb.xcb_cursor_t;
source : in xcb.xcb_render_picture_t;
x : in Interfaces.Unsigned_16;
y : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_cursor
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cid : in xcb.xcb_cursor_t;
source : in xcb.xcb_render_picture_t;
x : in Interfaces.Unsigned_16;
y : in Interfaces.Unsigned_16)
return xcb.xcb_void_cookie_t.Item;
procedure xcb_render_transform_next
(i : in xcb.xcb_render_transform_iterator_t.Pointer);
function xcb_render_transform_end
(i : in xcb.xcb_render_transform_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_set_picture_transform_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
transform : in xcb.xcb_render_transform_t.Item)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_set_picture_transform
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
transform : in xcb.xcb_render_transform_t.Item)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_query_filters_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_render_query_filters
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t)
return xcb.xcb_render_query_filters_cookie_t.Item;
function xcb_render_query_filters_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_drawable_t)
return xcb.xcb_render_query_filters_cookie_t.Item;
function xcb_render_query_filters_aliases
(R : in xcb.xcb_render_query_filters_reply_t.Pointer)
return swig.pointers.uint16_t_Pointer;
function xcb_render_query_filters_aliases_length
(R : in xcb.xcb_render_query_filters_reply_t.Pointer)
return Interfaces.C.int;
function xcb_render_query_filters_aliases_end
(R : in xcb.xcb_render_query_filters_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_query_filters_filters_length
(R : in xcb.xcb_render_query_filters_reply_t.Pointer)
return Interfaces.C.int;
function xcb_render_query_filters_filters_iterator
(R : in xcb.xcb_render_query_filters_reply_t.Pointer)
return xcb.xcb_str_iterator_t.Item;
function xcb_render_query_filters_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_render_query_filters_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_render_query_filters_reply_t.Pointer;
function xcb_render_set_picture_filter_sizeof
(a_buffer : in swig.void_ptr;
values_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_set_picture_filter_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
filter_len : in Interfaces.Unsigned_16;
filter : in Interfaces.C.Strings.chars_ptr;
values_len : in Interfaces.Unsigned_32;
values : in xcb.Pointers.xcb_render_fixed_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_set_picture_filter
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
filter_len : in Interfaces.Unsigned_16;
filter : in Interfaces.C.Strings.chars_ptr;
values_len : in Interfaces.Unsigned_32;
values : in xcb.Pointers.xcb_render_fixed_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_set_picture_filter_filter
(R : in xcb.xcb_render_set_picture_filter_request_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_render_set_picture_filter_filter_length
(R : in xcb.xcb_render_set_picture_filter_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_set_picture_filter_filter_end
(R : in xcb.xcb_render_set_picture_filter_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_set_picture_filter_values
(R : in xcb.xcb_render_set_picture_filter_request_t.Pointer)
return xcb.Pointers.xcb_render_fixed_t_Pointer;
function xcb_render_set_picture_filter_values_length
(R : in xcb.xcb_render_set_picture_filter_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_set_picture_filter_values_end
(R : in xcb.xcb_render_set_picture_filter_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_animcursorelt_next
(i : in xcb.xcb_render_animcursorelt_iterator_t.Pointer);
function xcb_render_animcursorelt_end
(i : in xcb.xcb_render_animcursorelt_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_create_anim_cursor_sizeof
(a_buffer : in swig.void_ptr;
cursors_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_create_anim_cursor_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cid : in xcb.xcb_cursor_t;
cursors_len : in Interfaces.Unsigned_32;
cursors : in xcb.xcb_render_animcursorelt_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_anim_cursor
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cid : in xcb.xcb_cursor_t;
cursors_len : in Interfaces.Unsigned_32;
cursors : in xcb.xcb_render_animcursorelt_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_anim_cursor_cursors
(R : in xcb.xcb_render_create_anim_cursor_request_t.Pointer)
return xcb.xcb_render_animcursorelt_t.Pointer;
function xcb_render_create_anim_cursor_cursors_length
(R : in xcb.xcb_render_create_anim_cursor_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_create_anim_cursor_cursors_iterator
(R : in xcb.xcb_render_create_anim_cursor_request_t.Pointer)
return xcb.xcb_render_animcursorelt_iterator_t.Item;
procedure xcb_render_spanfix_next
(i : in xcb.xcb_render_spanfix_iterator_t.Pointer);
function xcb_render_spanfix_end
(i : in xcb.xcb_render_spanfix_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_render_trap_next
(i : in xcb.xcb_render_trap_iterator_t.Pointer);
function xcb_render_trap_end
(i : in xcb.xcb_render_trap_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_add_traps_sizeof
(a_buffer : in swig.void_ptr;
traps_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_render_add_traps_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
x_off : in Interfaces.Integer_16;
y_off : in Interfaces.Integer_16;
traps_len : in Interfaces.Unsigned_32;
traps : in xcb.xcb_render_trap_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_add_traps
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
x_off : in Interfaces.Integer_16;
y_off : in Interfaces.Integer_16;
traps_len : in Interfaces.Unsigned_32;
traps : in xcb.xcb_render_trap_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_add_traps_traps
(R : in xcb.xcb_render_add_traps_request_t.Pointer)
return xcb.xcb_render_trap_t.Pointer;
function xcb_render_add_traps_traps_length
(R : in xcb.xcb_render_add_traps_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_add_traps_traps_iterator
(R : in xcb.xcb_render_add_traps_request_t.Pointer)
return xcb.xcb_render_trap_iterator_t.Item;
function xcb_render_create_solid_fill_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
color : in xcb.xcb_render_color_t.Item)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_solid_fill
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
color : in xcb.xcb_render_color_t.Item)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_linear_gradient_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_render_create_linear_gradient_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
p1 : in xcb.xcb_render_pointfix_t.Item;
p2 : in xcb.xcb_render_pointfix_t.Item;
num_stops : in Interfaces.Unsigned_32;
stops : in xcb.Pointers.xcb_render_fixed_t_Pointer;
colors : in xcb.xcb_render_color_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_linear_gradient
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
p1 : in xcb.xcb_render_pointfix_t.Item;
p2 : in xcb.xcb_render_pointfix_t.Item;
num_stops : in Interfaces.Unsigned_32;
stops : in xcb.Pointers.xcb_render_fixed_t_Pointer;
colors : in xcb.xcb_render_color_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_linear_gradient_stops
(R : in xcb.xcb_render_create_linear_gradient_request_t.Pointer)
return xcb.Pointers.xcb_render_fixed_t_Pointer;
function xcb_render_create_linear_gradient_stops_length
(R : in xcb.xcb_render_create_linear_gradient_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_create_linear_gradient_stops_end
(R : in xcb.xcb_render_create_linear_gradient_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_create_linear_gradient_colors
(R : in xcb.xcb_render_create_linear_gradient_request_t.Pointer)
return xcb.xcb_render_color_t.Pointer;
function xcb_render_create_linear_gradient_colors_length
(R : in xcb.xcb_render_create_linear_gradient_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_create_linear_gradient_colors_iterator
(R : in xcb.xcb_render_create_linear_gradient_request_t.Pointer)
return xcb.xcb_render_color_iterator_t.Item;
function xcb_render_create_radial_gradient_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_render_create_radial_gradient_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
inner : in xcb.xcb_render_pointfix_t.Item;
outer : in xcb.xcb_render_pointfix_t.Item;
inner_radius : in xcb.xcb_render_fixed_t;
outer_radius : in xcb.xcb_render_fixed_t;
num_stops : in Interfaces.Unsigned_32;
stops : in xcb.Pointers.xcb_render_fixed_t_Pointer;
colors : in xcb.xcb_render_color_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_radial_gradient
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
inner : in xcb.xcb_render_pointfix_t.Item;
outer : in xcb.xcb_render_pointfix_t.Item;
inner_radius : in xcb.xcb_render_fixed_t;
outer_radius : in xcb.xcb_render_fixed_t;
num_stops : in Interfaces.Unsigned_32;
stops : in xcb.Pointers.xcb_render_fixed_t_Pointer;
colors : in xcb.xcb_render_color_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_radial_gradient_stops
(R : in xcb.xcb_render_create_radial_gradient_request_t.Pointer)
return xcb.Pointers.xcb_render_fixed_t_Pointer;
function xcb_render_create_radial_gradient_stops_length
(R : in xcb.xcb_render_create_radial_gradient_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_create_radial_gradient_stops_end
(R : in xcb.xcb_render_create_radial_gradient_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_create_radial_gradient_colors
(R : in xcb.xcb_render_create_radial_gradient_request_t.Pointer)
return xcb.xcb_render_color_t.Pointer;
function xcb_render_create_radial_gradient_colors_length
(R : in xcb.xcb_render_create_radial_gradient_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_create_radial_gradient_colors_iterator
(R : in xcb.xcb_render_create_radial_gradient_request_t.Pointer)
return xcb.xcb_render_color_iterator_t.Item;
function xcb_render_create_conical_gradient_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_render_create_conical_gradient_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
center : in xcb.xcb_render_pointfix_t.Item;
angle : in xcb.xcb_render_fixed_t;
num_stops : in Interfaces.Unsigned_32;
stops : in xcb.Pointers.xcb_render_fixed_t_Pointer;
colors : in xcb.xcb_render_color_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_conical_gradient
(c : in xcb.Pointers.xcb_connection_t_Pointer;
picture : in xcb.xcb_render_picture_t;
center : in xcb.xcb_render_pointfix_t.Item;
angle : in xcb.xcb_render_fixed_t;
num_stops : in Interfaces.Unsigned_32;
stops : in xcb.Pointers.xcb_render_fixed_t_Pointer;
colors : in xcb.xcb_render_color_t.Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_create_conical_gradient_stops
(R : in xcb.xcb_render_create_conical_gradient_request_t.Pointer)
return xcb.Pointers.xcb_render_fixed_t_Pointer;
function xcb_render_create_conical_gradient_stops_length
(R : in xcb.xcb_render_create_conical_gradient_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_create_conical_gradient_stops_end
(R : in xcb.xcb_render_create_conical_gradient_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_render_create_conical_gradient_colors
(R : in xcb.xcb_render_create_conical_gradient_request_t.Pointer)
return xcb.xcb_render_color_t.Pointer;
function xcb_render_create_conical_gradient_colors_length
(R : in xcb.xcb_render_create_conical_gradient_request_t.Pointer)
return Interfaces.C.int;
function xcb_render_create_conical_gradient_colors_iterator
(R : in xcb.xcb_render_create_conical_gradient_request_t.Pointer)
return xcb.xcb_render_color_iterator_t.Item;
function xcb_send_request
(c : in xcb.Pointers.xcb_connection_t_Pointer;
flags : in Interfaces.C.int;
vector : in xcb.Pointers.iovec_Pointer;
request : in xcb.xcb_protocol_request_t.Pointer)
return Interfaces.C.unsigned;
function xcb_send_request_with_fds
(c : in xcb.Pointers.xcb_connection_t_Pointer;
flags : in Interfaces.C.int;
vector : in xcb.Pointers.iovec_Pointer;
request : in xcb.xcb_protocol_request_t.Pointer;
num_fds : in Interfaces.C.unsigned;
fds : in swig.pointers.int_Pointer)
return Interfaces.C.unsigned;
function xcb_send_request64
(c : in xcb.Pointers.xcb_connection_t_Pointer;
flags : in Interfaces.C.int;
vector : in xcb.Pointers.iovec_Pointer;
request : in xcb.xcb_protocol_request_t.Pointer)
return Interfaces.Unsigned_64;
function xcb_send_request_with_fds64
(c : in xcb.Pointers.xcb_connection_t_Pointer;
flags : in Interfaces.C.int;
vector : in xcb.Pointers.iovec_Pointer;
request : in xcb.xcb_protocol_request_t.Pointer;
num_fds : in Interfaces.C.unsigned;
fds : in swig.pointers.int_Pointer)
return Interfaces.Unsigned_64;
procedure xcb_send_fd
(c : in xcb.Pointers.xcb_connection_t_Pointer;
fd : in Interfaces.C.int);
function xcb_writev
(c : in xcb.Pointers.xcb_connection_t_Pointer;
vector : in xcb.Pointers.iovec_Pointer;
count : in Interfaces.C.int;
requests : in Interfaces.Unsigned_64)
return Interfaces.C.int;
function xcb_wait_for_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
request : in Interfaces.C.unsigned;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return swig.void_ptr;
function xcb_wait_for_reply64
(c : in xcb.Pointers.xcb_connection_t_Pointer;
request : in Interfaces.Unsigned_64;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return swig.void_ptr;
function xcb_poll_for_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
request : in Interfaces.C.unsigned;
reply : in swig.pointers.void_ptr_Pointer;
error : in xcb.xcb_generic_error_t.Pointer_Pointer)
return Interfaces.C.int;
function xcb_poll_for_reply64
(c : in xcb.Pointers.xcb_connection_t_Pointer;
request : in Interfaces.Unsigned_64;
reply : in swig.pointers.void_ptr_Pointer;
error : in xcb.xcb_generic_error_t.Pointer_Pointer)
return Interfaces.C.int;
function xcb_get_reply_fds
(c : in xcb.Pointers.xcb_connection_t_Pointer;
reply : in swig.void_ptr;
replylen : in Interfaces.C.size_t)
return swig.pointers.int_Pointer;
function xcb_popcount
(mask : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_sumof
(list : in swig.pointers.int8_t_Pointer;
len : in Interfaces.C.int)
return Interfaces.C.int;
function xcb_render_util_find_visual_format
(formats : in xcb.xcb_render_query_pict_formats_reply_t.Pointer;
visual : in xcb.xcb_visualid_t)
return xcb.xcb_render_pictvisual_t.Pointer;
function xcb_render_util_find_format
(formats : in xcb.xcb_render_query_pict_formats_reply_t.Pointer;
mask : in Interfaces.C.unsigned_long;
ptemplate : in xcb.xcb_render_pictforminfo_t.Pointer;
count : in Interfaces.C.int)
return xcb.xcb_render_pictforminfo_t.Pointer;
function xcb_render_util_find_standard_format
(formats : in xcb.xcb_render_query_pict_formats_reply_t.Pointer;
format : in xcb.xcb_pict_standard_t)
return xcb.xcb_render_pictforminfo_t.Pointer;
function xcb_render_util_query_version
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_render_query_version_reply_t.Pointer;
function xcb_render_util_query_formats
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_render_query_pict_formats_reply_t.Pointer;
function xcb_render_util_disconnect
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return Interfaces.C.int;
function xcb_render_util_composite_text_stream
(initial_glyphset : in xcb.xcb_render_glyphset_t;
total_glyphs : in Interfaces.Unsigned_32;
total_glyphset_changes : in Interfaces.Unsigned_32)
return xcb.Pointers.xcb_render_util_composite_text_stream_t_Pointer;
procedure xcb_render_util_glyphs_8
(stream : in xcb.Pointers.xcb_render_util_composite_text_stream_t_Pointer;
dx : in Interfaces.Integer_16;
dy : in Interfaces.Integer_16;
count : in Interfaces.Unsigned_32;
glyphs : in swig.pointers.int8_t_Pointer);
procedure xcb_render_util_glyphs_16
(stream : in xcb.Pointers.xcb_render_util_composite_text_stream_t_Pointer;
dx : in Interfaces.Integer_16;
dy : in Interfaces.Integer_16;
count : in Interfaces.Unsigned_32;
glyphs : in swig.pointers.uint16_t_Pointer);
procedure xcb_render_util_glyphs_32
(stream : in xcb.Pointers.xcb_render_util_composite_text_stream_t_Pointer;
dx : in Interfaces.Integer_16;
dy : in Interfaces.Integer_16;
count : in Interfaces.Unsigned_32;
glyphs : in swig.pointers.uint32_t_Pointer);
procedure xcb_render_util_change_glyphset
(stream : in xcb.Pointers.xcb_render_util_composite_text_stream_t_Pointer;
glyphset : in xcb.xcb_render_glyphset_t);
function xcb_render_util_composite_text
(xc : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
stream : in xcb.Pointers.xcb_render_util_composite_text_stream_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_render_util_composite_text_checked
(xc : in xcb.Pointers.xcb_connection_t_Pointer;
op : in Interfaces.Unsigned_8;
src : in xcb.xcb_render_picture_t;
dst : in xcb.xcb_render_picture_t;
mask_format : in xcb.xcb_render_pictformat_t;
src_x : in Interfaces.Integer_16;
src_y : in Interfaces.Integer_16;
stream : in xcb.Pointers.xcb_render_util_composite_text_stream_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
procedure xcb_render_util_composite_text_free
(stream : in xcb.Pointers
.xcb_render_util_composite_text_stream_t_Pointer);
function xcb_xc_misc_get_version
(c : in xcb.Pointers.xcb_connection_t_Pointer;
client_major_version : in Interfaces.Unsigned_16;
client_minor_version : in Interfaces.Unsigned_16)
return xcb.xcb_xc_misc_get_version_cookie_t.Item;
function xcb_xc_misc_get_version_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
client_major_version : in Interfaces.Unsigned_16;
client_minor_version : in Interfaces.Unsigned_16)
return xcb.xcb_xc_misc_get_version_cookie_t.Item;
function xcb_xc_misc_get_version_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_xc_misc_get_version_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_xc_misc_get_version_reply_t.Pointer;
function xcb_xc_misc_get_xid_range
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_xc_misc_get_xid_range_cookie_t.Item;
function xcb_xc_misc_get_xid_range_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer)
return xcb.xcb_xc_misc_get_xid_range_cookie_t.Item;
function xcb_xc_misc_get_xid_range_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_xc_misc_get_xid_range_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_xc_misc_get_xid_range_reply_t.Pointer;
function xcb_xc_misc_get_xid_list_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_xc_misc_get_xid_list
(c : in xcb.Pointers.xcb_connection_t_Pointer;
count : in Interfaces.Unsigned_32)
return xcb.xcb_xc_misc_get_xid_list_cookie_t.Item;
function xcb_xc_misc_get_xid_list_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
count : in Interfaces.Unsigned_32)
return xcb.xcb_xc_misc_get_xid_list_cookie_t.Item;
function xcb_xc_misc_get_xid_list_ids
(R : in xcb.xcb_xc_misc_get_xid_list_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_xc_misc_get_xid_list_ids_length
(R : in xcb.xcb_xc_misc_get_xid_list_reply_t.Pointer)
return Interfaces.C.int;
function xcb_xc_misc_get_xid_list_ids_end
(R : in xcb.xcb_xc_misc_get_xid_list_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_xc_misc_get_xid_list_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_xc_misc_get_xid_list_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_xc_misc_get_xid_list_reply_t.Pointer;
procedure xcb_glx_pixmap_next
(i : in xcb.xcb_glx_pixmap_iterator_t.Pointer);
function xcb_glx_pixmap_end
(i : in xcb.xcb_glx_pixmap_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_glx_context_next
(i : in xcb.xcb_glx_context_iterator_t.Pointer);
function xcb_glx_context_end
(i : in xcb.xcb_glx_context_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_glx_pbuffer_next
(i : in xcb.xcb_glx_pbuffer_iterator_t.Pointer);
function xcb_glx_pbuffer_end
(i : in xcb.xcb_glx_pbuffer_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_glx_window_next
(i : in xcb.xcb_glx_window_iterator_t.Pointer);
function xcb_glx_window_end
(i : in xcb.xcb_glx_window_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_glx_fbconfig_next
(i : in xcb.xcb_glx_fbconfig_iterator_t.Pointer);
function xcb_glx_fbconfig_end
(i : in xcb.xcb_glx_fbconfig_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_glx_drawable_next
(i : in xcb.xcb_glx_drawable_iterator_t.Pointer);
function xcb_glx_drawable_end
(i : in xcb.xcb_glx_drawable_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_glx_float32_next
(i : in xcb.xcb_glx_float32_iterator_t.Pointer);
function xcb_glx_float32_end
(i : in xcb.xcb_glx_float32_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_glx_float64_next
(i : in xcb.xcb_glx_float64_iterator_t.Pointer);
function xcb_glx_float64_end
(i : in xcb.xcb_glx_float64_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_glx_bool32_next
(i : in xcb.xcb_glx_bool32_iterator_t.Pointer);
function xcb_glx_bool32_end
(i : in xcb.xcb_glx_bool32_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
procedure xcb_glx_context_tag_next
(i : in xcb.xcb_glx_context_tag_iterator_t.Pointer);
function xcb_glx_context_tag_end
(i : in xcb.xcb_glx_context_tag_iterator_t.Item)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_render_sizeof
(a_buffer : in swig.void_ptr;
data_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_glx_render_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
data_len : in Interfaces.Unsigned_32;
data : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_render
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
data_len : in Interfaces.Unsigned_32;
data : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_render_data
(R : in xcb.xcb_glx_render_request_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_render_data_length
(R : in xcb.xcb_glx_render_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_render_data_end
(R : in xcb.xcb_glx_render_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_render_large_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_render_large_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
request_num : in Interfaces.Unsigned_16;
request_total : in Interfaces.Unsigned_16;
data_len : in Interfaces.Unsigned_32;
data : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_render_large
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
request_num : in Interfaces.Unsigned_16;
request_total : in Interfaces.Unsigned_16;
data_len : in Interfaces.Unsigned_32;
data : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_render_large_data
(R : in xcb.xcb_glx_render_large_request_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_render_large_data_length
(R : in xcb.xcb_glx_render_large_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_render_large_data_end
(R : in xcb.xcb_glx_render_large_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_create_context_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context : in xcb.xcb_glx_context_t;
visual : in xcb.xcb_visualid_t;
screen : in Interfaces.Unsigned_32;
share_list : in xcb.xcb_glx_context_t;
is_direct : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_create_context
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context : in xcb.xcb_glx_context_t;
visual : in xcb.xcb_visualid_t;
screen : in Interfaces.Unsigned_32;
share_list : in xcb.xcb_glx_context_t;
is_direct : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_destroy_context_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context : in xcb.xcb_glx_context_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_destroy_context
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context : in xcb.xcb_glx_context_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_make_current
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_glx_drawable_t;
context : in xcb.xcb_glx_context_t;
old_context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_glx_make_current_cookie_t.Item;
function xcb_glx_make_current_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_glx_drawable_t;
context : in xcb.xcb_glx_context_t;
old_context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_glx_make_current_cookie_t.Item;
function xcb_glx_make_current_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_make_current_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_make_current_reply_t.Pointer;
function xcb_glx_is_direct
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context : in xcb.xcb_glx_context_t)
return xcb.xcb_glx_is_direct_cookie_t.Item;
function xcb_glx_is_direct_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context : in xcb.xcb_glx_context_t)
return xcb.xcb_glx_is_direct_cookie_t.Item;
function xcb_glx_is_direct_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_is_direct_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_is_direct_reply_t.Pointer;
function xcb_glx_query_version
(c : in xcb.Pointers.xcb_connection_t_Pointer;
major_version : in Interfaces.Unsigned_32;
minor_version : in Interfaces.Unsigned_32)
return xcb.xcb_glx_query_version_cookie_t.Item;
function xcb_glx_query_version_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
major_version : in Interfaces.Unsigned_32;
minor_version : in Interfaces.Unsigned_32)
return xcb.xcb_glx_query_version_cookie_t.Item;
function xcb_glx_query_version_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_query_version_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_query_version_reply_t.Pointer;
function xcb_glx_wait_gl_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_wait_gl
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_wait_x_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_wait_x
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_copy_context_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
src : in xcb.xcb_glx_context_t;
dest : in xcb.xcb_glx_context_t;
mask : in Interfaces.Unsigned_32;
src_context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_copy_context
(c : in xcb.Pointers.xcb_connection_t_Pointer;
src : in xcb.xcb_glx_context_t;
dest : in xcb.xcb_glx_context_t;
mask : in Interfaces.Unsigned_32;
src_context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_swap_buffers_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
drawable : in xcb.xcb_glx_drawable_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_swap_buffers
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
drawable : in xcb.xcb_glx_drawable_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_use_x_font_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
font : in xcb.xcb_font_t;
first : in Interfaces.Unsigned_32;
count : in Interfaces.Unsigned_32;
list_base : in Interfaces.Unsigned_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_use_x_font
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
font : in xcb.xcb_font_t;
first : in Interfaces.Unsigned_32;
count : in Interfaces.Unsigned_32;
list_base : in Interfaces.Unsigned_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_create_glx_pixmap_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32;
visual : in xcb.xcb_visualid_t;
pixmap : in xcb.xcb_pixmap_t;
glx_pixmap : in xcb.xcb_glx_pixmap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_create_glx_pixmap
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32;
visual : in xcb.xcb_visualid_t;
pixmap : in xcb.xcb_pixmap_t;
glx_pixmap : in xcb.xcb_glx_pixmap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_get_visual_configs_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_visual_configs
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_visual_configs_cookie_t.Item;
function xcb_glx_get_visual_configs_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_visual_configs_cookie_t.Item;
function xcb_glx_get_visual_configs_property_list
(R : in xcb.xcb_glx_get_visual_configs_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_get_visual_configs_property_list_length
(R : in xcb.xcb_glx_get_visual_configs_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_visual_configs_property_list_end
(R : in xcb.xcb_glx_get_visual_configs_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_visual_configs_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_visual_configs_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_visual_configs_reply_t.Pointer;
function xcb_glx_destroy_glx_pixmap_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
glx_pixmap : in xcb.xcb_glx_pixmap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_destroy_glx_pixmap
(c : in xcb.Pointers.xcb_connection_t_Pointer;
glx_pixmap : in xcb.xcb_glx_pixmap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_vendor_private_sizeof
(a_buffer : in swig.void_ptr;
data_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_glx_vendor_private_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
vendor_code : in Interfaces.Unsigned_32;
context_tag : in xcb.xcb_glx_context_tag_t;
data_len : in Interfaces.Unsigned_32;
data : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_vendor_private
(c : in xcb.Pointers.xcb_connection_t_Pointer;
vendor_code : in Interfaces.Unsigned_32;
context_tag : in xcb.xcb_glx_context_tag_t;
data_len : in Interfaces.Unsigned_32;
data : in swig.pointers.int8_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_vendor_private_data
(R : in xcb.xcb_glx_vendor_private_request_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_vendor_private_data_length
(R : in xcb.xcb_glx_vendor_private_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_vendor_private_data_end
(R : in xcb.xcb_glx_vendor_private_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_vendor_private_with_reply_sizeof
(a_buffer : in swig.void_ptr;
data_len : in Interfaces.Unsigned_32)
return Interfaces.C.int;
function xcb_glx_vendor_private_with_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
vendor_code : in Interfaces.Unsigned_32;
context_tag : in xcb.xcb_glx_context_tag_t;
data_len : in Interfaces.Unsigned_32;
data : in swig.pointers.int8_t_Pointer)
return xcb.xcb_glx_vendor_private_with_reply_cookie_t.Item;
function xcb_glx_vendor_private_with_reply_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
vendor_code : in Interfaces.Unsigned_32;
context_tag : in xcb.xcb_glx_context_tag_t;
data_len : in Interfaces.Unsigned_32;
data : in swig.pointers.int8_t_Pointer)
return xcb.xcb_glx_vendor_private_with_reply_cookie_t.Item;
function xcb_glx_vendor_private_with_reply_data_2
(R : in xcb.xcb_glx_vendor_private_with_reply_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_vendor_private_with_reply_data_2_length
(R : in xcb.xcb_glx_vendor_private_with_reply_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_vendor_private_with_reply_data_2_end
(R : in xcb.xcb_glx_vendor_private_with_reply_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_vendor_private_with_reply_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_vendor_private_with_reply_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_vendor_private_with_reply_reply_t.Pointer;
function xcb_glx_query_extensions_string
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32)
return xcb.xcb_glx_query_extensions_string_cookie_t.Item;
function xcb_glx_query_extensions_string_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32)
return xcb.xcb_glx_query_extensions_string_cookie_t.Item;
function xcb_glx_query_extensions_string_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_query_extensions_string_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_query_extensions_string_reply_t.Pointer;
function xcb_glx_query_server_string_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_query_server_string
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32;
name : in Interfaces.Unsigned_32)
return xcb.xcb_glx_query_server_string_cookie_t.Item;
function xcb_glx_query_server_string_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32;
name : in Interfaces.Unsigned_32)
return xcb.xcb_glx_query_server_string_cookie_t.Item;
function xcb_glx_query_server_string_string
(R : in xcb.xcb_glx_query_server_string_reply_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_glx_query_server_string_string_length
(R : in xcb.xcb_glx_query_server_string_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_query_server_string_string_end
(R : in xcb.xcb_glx_query_server_string_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_query_server_string_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_query_server_string_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_query_server_string_reply_t.Pointer;
function xcb_glx_client_info_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_client_info_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
major_version : in Interfaces.Unsigned_32;
minor_version : in Interfaces.Unsigned_32;
str_len : in Interfaces.Unsigned_32;
string : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_client_info
(c : in xcb.Pointers.xcb_connection_t_Pointer;
major_version : in Interfaces.Unsigned_32;
minor_version : in Interfaces.Unsigned_32;
str_len : in Interfaces.Unsigned_32;
string : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_client_info_string
(R : in xcb.xcb_glx_client_info_request_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_glx_client_info_string_length
(R : in xcb.xcb_glx_client_info_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_client_info_string_end
(R : in xcb.xcb_glx_client_info_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_fb_configs_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_fb_configs
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_fb_configs_cookie_t.Item;
function xcb_glx_get_fb_configs_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_fb_configs_cookie_t.Item;
function xcb_glx_get_fb_configs_property_list
(R : in xcb.xcb_glx_get_fb_configs_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_get_fb_configs_property_list_length
(R : in xcb.xcb_glx_get_fb_configs_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_fb_configs_property_list_end
(R : in xcb.xcb_glx_get_fb_configs_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_fb_configs_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_fb_configs_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_fb_configs_reply_t.Pointer;
function xcb_glx_create_pixmap_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_create_pixmap_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32;
fbconfig : in xcb.xcb_glx_fbconfig_t;
pixmap : in xcb.xcb_pixmap_t;
glx_pixmap : in xcb.xcb_glx_pixmap_t;
num_attribs : in Interfaces.Unsigned_32;
attribs : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_create_pixmap
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32;
fbconfig : in xcb.xcb_glx_fbconfig_t;
pixmap : in xcb.xcb_pixmap_t;
glx_pixmap : in xcb.xcb_glx_pixmap_t;
num_attribs : in Interfaces.Unsigned_32;
attribs : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_create_pixmap_attribs
(R : in xcb.xcb_glx_create_pixmap_request_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_create_pixmap_attribs_length
(R : in xcb.xcb_glx_create_pixmap_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_create_pixmap_attribs_end
(R : in xcb.xcb_glx_create_pixmap_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_destroy_pixmap_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
glx_pixmap : in xcb.xcb_glx_pixmap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_destroy_pixmap
(c : in xcb.Pointers.xcb_connection_t_Pointer;
glx_pixmap : in xcb.xcb_glx_pixmap_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_create_new_context_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context : in xcb.xcb_glx_context_t;
fbconfig : in xcb.xcb_glx_fbconfig_t;
screen : in Interfaces.Unsigned_32;
render_type : in Interfaces.Unsigned_32;
share_list : in xcb.xcb_glx_context_t;
is_direct : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_create_new_context
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context : in xcb.xcb_glx_context_t;
fbconfig : in xcb.xcb_glx_fbconfig_t;
screen : in Interfaces.Unsigned_32;
render_type : in Interfaces.Unsigned_32;
share_list : in xcb.xcb_glx_context_t;
is_direct : in Interfaces.Unsigned_8)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_query_context_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_query_context
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context : in xcb.xcb_glx_context_t)
return xcb.xcb_glx_query_context_cookie_t.Item;
function xcb_glx_query_context_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context : in xcb.xcb_glx_context_t)
return xcb.xcb_glx_query_context_cookie_t.Item;
function xcb_glx_query_context_attribs
(R : in xcb.xcb_glx_query_context_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_query_context_attribs_length
(R : in xcb.xcb_glx_query_context_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_query_context_attribs_end
(R : in xcb.xcb_glx_query_context_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_query_context_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_query_context_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_query_context_reply_t.Pointer;
function xcb_glx_make_context_current
(c : in xcb.Pointers.xcb_connection_t_Pointer;
old_context_tag : in xcb.xcb_glx_context_tag_t;
drawable : in xcb.xcb_glx_drawable_t;
read_drawable : in xcb.xcb_glx_drawable_t;
context : in xcb.xcb_glx_context_t)
return xcb.xcb_glx_make_context_current_cookie_t.Item;
function xcb_glx_make_context_current_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
old_context_tag : in xcb.xcb_glx_context_tag_t;
drawable : in xcb.xcb_glx_drawable_t;
read_drawable : in xcb.xcb_glx_drawable_t;
context : in xcb.xcb_glx_context_t)
return xcb.xcb_glx_make_context_current_cookie_t.Item;
function xcb_glx_make_context_current_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_make_context_current_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_make_context_current_reply_t.Pointer;
function xcb_glx_create_pbuffer_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_create_pbuffer_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32;
fbconfig : in xcb.xcb_glx_fbconfig_t;
pbuffer : in xcb.xcb_glx_pbuffer_t;
num_attribs : in Interfaces.Unsigned_32;
attribs : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_create_pbuffer
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32;
fbconfig : in xcb.xcb_glx_fbconfig_t;
pbuffer : in xcb.xcb_glx_pbuffer_t;
num_attribs : in Interfaces.Unsigned_32;
attribs : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_create_pbuffer_attribs
(R : in xcb.xcb_glx_create_pbuffer_request_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_create_pbuffer_attribs_length
(R : in xcb.xcb_glx_create_pbuffer_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_create_pbuffer_attribs_end
(R : in xcb.xcb_glx_create_pbuffer_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_destroy_pbuffer_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
pbuffer : in xcb.xcb_glx_pbuffer_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_destroy_pbuffer
(c : in xcb.Pointers.xcb_connection_t_Pointer;
pbuffer : in xcb.xcb_glx_pbuffer_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_get_drawable_attributes_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_drawable_attributes
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_glx_drawable_t)
return xcb.xcb_glx_get_drawable_attributes_cookie_t.Item;
function xcb_glx_get_drawable_attributes_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_glx_drawable_t)
return xcb.xcb_glx_get_drawable_attributes_cookie_t.Item;
function xcb_glx_get_drawable_attributes_attribs
(R : in xcb.xcb_glx_get_drawable_attributes_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_get_drawable_attributes_attribs_length
(R : in xcb.xcb_glx_get_drawable_attributes_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_drawable_attributes_attribs_end
(R : in xcb.xcb_glx_get_drawable_attributes_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_drawable_attributes_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_drawable_attributes_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_drawable_attributes_reply_t.Pointer;
function xcb_glx_change_drawable_attributes_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_change_drawable_attributes_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_glx_drawable_t;
num_attribs : in Interfaces.Unsigned_32;
attribs : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_change_drawable_attributes
(c : in xcb.Pointers.xcb_connection_t_Pointer;
drawable : in xcb.xcb_glx_drawable_t;
num_attribs : in Interfaces.Unsigned_32;
attribs : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_change_drawable_attributes_attribs
(R : in xcb.xcb_glx_change_drawable_attributes_request_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_change_drawable_attributes_attribs_length
(R : in xcb.xcb_glx_change_drawable_attributes_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_change_drawable_attributes_attribs_end
(R : in xcb.xcb_glx_change_drawable_attributes_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_create_window_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_create_window_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32;
fbconfig : in xcb.xcb_glx_fbconfig_t;
window : in xcb.xcb_window_t;
glx_window : in xcb.xcb_glx_window_t;
num_attribs : in Interfaces.Unsigned_32;
attribs : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_create_window
(c : in xcb.Pointers.xcb_connection_t_Pointer;
screen : in Interfaces.Unsigned_32;
fbconfig : in xcb.xcb_glx_fbconfig_t;
window : in xcb.xcb_window_t;
glx_window : in xcb.xcb_glx_window_t;
num_attribs : in Interfaces.Unsigned_32;
attribs : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_create_window_attribs
(R : in xcb.xcb_glx_create_window_request_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_create_window_attribs_length
(R : in xcb.xcb_glx_create_window_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_create_window_attribs_end
(R : in xcb.xcb_glx_create_window_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_delete_window_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
glxwindow : in xcb.xcb_glx_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_delete_window
(c : in xcb.Pointers.xcb_connection_t_Pointer;
glxwindow : in xcb.xcb_glx_window_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_set_client_info_arb_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_set_client_info_arb_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
major_version : in Interfaces.Unsigned_32;
minor_version : in Interfaces.Unsigned_32;
num_versions : in Interfaces.Unsigned_32;
gl_str_len : in Interfaces.Unsigned_32;
glx_str_len : in Interfaces.Unsigned_32;
gl_versions : in swig.pointers.uint32_t_Pointer;
gl_extension_string : in Interfaces.C.Strings.chars_ptr;
glx_extension_string : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_set_client_info_arb
(c : in xcb.Pointers.xcb_connection_t_Pointer;
major_version : in Interfaces.Unsigned_32;
minor_version : in Interfaces.Unsigned_32;
num_versions : in Interfaces.Unsigned_32;
gl_str_len : in Interfaces.Unsigned_32;
glx_str_len : in Interfaces.Unsigned_32;
gl_versions : in swig.pointers.uint32_t_Pointer;
gl_extension_string : in Interfaces.C.Strings.chars_ptr;
glx_extension_string : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_set_client_info_arb_gl_versions
(R : in xcb.xcb_glx_set_client_info_arb_request_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_set_client_info_arb_gl_versions_length
(R : in xcb.xcb_glx_set_client_info_arb_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_set_client_info_arb_gl_versions_end
(R : in xcb.xcb_glx_set_client_info_arb_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_set_client_info_arb_gl_extension_string
(R : in xcb.xcb_glx_set_client_info_arb_request_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_glx_set_client_info_arb_gl_extension_string_length
(R : in xcb.xcb_glx_set_client_info_arb_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_set_client_info_arb_gl_extension_string_end
(R : in xcb.xcb_glx_set_client_info_arb_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_set_client_info_arb_glx_extension_string
(R : in xcb.xcb_glx_set_client_info_arb_request_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_glx_set_client_info_arb_glx_extension_string_length
(R : in xcb.xcb_glx_set_client_info_arb_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_set_client_info_arb_glx_extension_string_end
(R : in xcb.xcb_glx_set_client_info_arb_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_create_context_attribs_arb_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_create_context_attribs_arb_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context : in xcb.xcb_glx_context_t;
fbconfig : in xcb.xcb_glx_fbconfig_t;
screen : in Interfaces.Unsigned_32;
share_list : in xcb.xcb_glx_context_t;
is_direct : in Interfaces.Unsigned_8;
num_attribs : in Interfaces.Unsigned_32;
attribs : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_create_context_attribs_arb
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context : in xcb.xcb_glx_context_t;
fbconfig : in xcb.xcb_glx_fbconfig_t;
screen : in Interfaces.Unsigned_32;
share_list : in xcb.xcb_glx_context_t;
is_direct : in Interfaces.Unsigned_8;
num_attribs : in Interfaces.Unsigned_32;
attribs : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_create_context_attribs_arb_attribs
(R : in xcb.xcb_glx_create_context_attribs_arb_request_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_create_context_attribs_arb_attribs_length
(R : in xcb.xcb_glx_create_context_attribs_arb_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_create_context_attribs_arb_attribs_end
(R : in xcb.xcb_glx_create_context_attribs_arb_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_set_client_info_2arb_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_set_client_info_2arb_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
major_version : in Interfaces.Unsigned_32;
minor_version : in Interfaces.Unsigned_32;
num_versions : in Interfaces.Unsigned_32;
gl_str_len : in Interfaces.Unsigned_32;
glx_str_len : in Interfaces.Unsigned_32;
gl_versions : in swig.pointers.uint32_t_Pointer;
gl_extension_string : in Interfaces.C.Strings.chars_ptr;
glx_extension_string : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_set_client_info_2arb
(c : in xcb.Pointers.xcb_connection_t_Pointer;
major_version : in Interfaces.Unsigned_32;
minor_version : in Interfaces.Unsigned_32;
num_versions : in Interfaces.Unsigned_32;
gl_str_len : in Interfaces.Unsigned_32;
glx_str_len : in Interfaces.Unsigned_32;
gl_versions : in swig.pointers.uint32_t_Pointer;
gl_extension_string : in Interfaces.C.Strings.chars_ptr;
glx_extension_string : in Interfaces.C.Strings.chars_ptr)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_set_client_info_2arb_gl_versions
(R : in xcb.xcb_glx_set_client_info_2arb_request_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_set_client_info_2arb_gl_versions_length
(R : in xcb.xcb_glx_set_client_info_2arb_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_set_client_info_2arb_gl_versions_end
(R : in xcb.xcb_glx_set_client_info_2arb_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_set_client_info_2arb_gl_extension_string
(R : in xcb.xcb_glx_set_client_info_2arb_request_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_glx_set_client_info_2arb_gl_extension_string_length
(R : in xcb.xcb_glx_set_client_info_2arb_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_set_client_info_2arb_gl_extension_string_end
(R : in xcb.xcb_glx_set_client_info_2arb_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_set_client_info_2arb_glx_extension_string
(R : in xcb.xcb_glx_set_client_info_2arb_request_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_glx_set_client_info_2arb_glx_extension_string_length
(R : in xcb.xcb_glx_set_client_info_2arb_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_set_client_info_2arb_glx_extension_string_end
(R : in xcb.xcb_glx_set_client_info_2arb_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_new_list_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
list : in Interfaces.Unsigned_32;
mode : in Interfaces.Unsigned_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_new_list
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
list : in Interfaces.Unsigned_32;
mode : in Interfaces.Unsigned_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_end_list_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_end_list
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_delete_lists_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
list : in Interfaces.Unsigned_32;
the_range : in Interfaces.Integer_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_delete_lists
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
list : in Interfaces.Unsigned_32;
the_range : in Interfaces.Integer_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_gen_lists
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
the_range : in Interfaces.Integer_32)
return xcb.xcb_glx_gen_lists_cookie_t.Item;
function xcb_glx_gen_lists_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
the_range : in Interfaces.Integer_32)
return xcb.xcb_glx_gen_lists_cookie_t.Item;
function xcb_glx_gen_lists_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_gen_lists_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_gen_lists_reply_t.Pointer;
function xcb_glx_feedback_buffer_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
size : in Interfaces.Integer_32;
the_type : in Interfaces.Integer_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_feedback_buffer
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
size : in Interfaces.Integer_32;
the_type : in Interfaces.Integer_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_select_buffer_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
size : in Interfaces.Integer_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_select_buffer
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
size : in Interfaces.Integer_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_render_mode_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_render_mode
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
mode : in Interfaces.Unsigned_32)
return xcb.xcb_glx_render_mode_cookie_t.Item;
function xcb_glx_render_mode_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
mode : in Interfaces.Unsigned_32)
return xcb.xcb_glx_render_mode_cookie_t.Item;
function xcb_glx_render_mode_data
(R : in xcb.xcb_glx_render_mode_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_render_mode_data_length
(R : in xcb.xcb_glx_render_mode_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_render_mode_data_end
(R : in xcb.xcb_glx_render_mode_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_render_mode_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_render_mode_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_render_mode_reply_t.Pointer;
function xcb_glx_finish
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_glx_finish_cookie_t.Item;
function xcb_glx_finish_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_glx_finish_cookie_t.Item;
function xcb_glx_finish_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_finish_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_finish_reply_t.Pointer;
function xcb_glx_pixel_storef_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
pname : in Interfaces.Unsigned_32;
datum : in xcb.xcb_glx_float32_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_pixel_storef
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
pname : in Interfaces.Unsigned_32;
datum : in xcb.xcb_glx_float32_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_pixel_storei_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
pname : in Interfaces.Unsigned_32;
datum : in Interfaces.Integer_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_pixel_storei
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
pname : in Interfaces.Unsigned_32;
datum : in Interfaces.Integer_32)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_read_pixels_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_read_pixels
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
x : in Interfaces.Integer_32;
y : in Interfaces.Integer_32;
width : in Interfaces.Integer_32;
height : in Interfaces.Integer_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8;
lsb_first : in Interfaces.Unsigned_8)
return xcb.xcb_glx_read_pixels_cookie_t.Item;
function xcb_glx_read_pixels_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
x : in Interfaces.Integer_32;
y : in Interfaces.Integer_32;
width : in Interfaces.Integer_32;
height : in Interfaces.Integer_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8;
lsb_first : in Interfaces.Unsigned_8)
return xcb.xcb_glx_read_pixels_cookie_t.Item;
function xcb_glx_read_pixels_data
(R : in xcb.xcb_glx_read_pixels_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_read_pixels_data_length
(R : in xcb.xcb_glx_read_pixels_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_read_pixels_data_end
(R : in xcb.xcb_glx_read_pixels_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_read_pixels_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_read_pixels_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_read_pixels_reply_t.Pointer;
function xcb_glx_get_booleanv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_booleanv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
pname : in Interfaces.Integer_32)
return xcb.xcb_glx_get_booleanv_cookie_t.Item;
function xcb_glx_get_booleanv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
pname : in Interfaces.Integer_32)
return xcb.xcb_glx_get_booleanv_cookie_t.Item;
function xcb_glx_get_booleanv_data
(R : in xcb.xcb_glx_get_booleanv_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_get_booleanv_data_length
(R : in xcb.xcb_glx_get_booleanv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_booleanv_data_end
(R : in xcb.xcb_glx_get_booleanv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_booleanv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_booleanv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_booleanv_reply_t.Pointer;
function xcb_glx_get_clip_plane_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_clip_plane
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
plane : in Interfaces.Integer_32)
return xcb.xcb_glx_get_clip_plane_cookie_t.Item;
function xcb_glx_get_clip_plane_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
plane : in Interfaces.Integer_32)
return xcb.xcb_glx_get_clip_plane_cookie_t.Item;
function xcb_glx_get_clip_plane_data
(R : in xcb.xcb_glx_get_clip_plane_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float64_t_Pointer;
function xcb_glx_get_clip_plane_data_length
(R : in xcb.xcb_glx_get_clip_plane_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_clip_plane_data_end
(R : in xcb.xcb_glx_get_clip_plane_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_clip_plane_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_clip_plane_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_clip_plane_reply_t.Pointer;
function xcb_glx_get_doublev_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_doublev
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_doublev_cookie_t.Item;
function xcb_glx_get_doublev_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_doublev_cookie_t.Item;
function xcb_glx_get_doublev_data
(R : in xcb.xcb_glx_get_doublev_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float64_t_Pointer;
function xcb_glx_get_doublev_data_length
(R : in xcb.xcb_glx_get_doublev_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_doublev_data_end
(R : in xcb.xcb_glx_get_doublev_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_doublev_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_doublev_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_doublev_reply_t.Pointer;
function xcb_glx_get_error
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_glx_get_error_cookie_t.Item;
function xcb_glx_get_error_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_glx_get_error_cookie_t.Item;
function xcb_glx_get_error_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_error_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_error_reply_t.Pointer;
function xcb_glx_get_floatv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_floatv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_floatv_cookie_t.Item;
function xcb_glx_get_floatv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_floatv_cookie_t.Item;
function xcb_glx_get_floatv_data
(R : in xcb.xcb_glx_get_floatv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float32_t_Pointer;
function xcb_glx_get_floatv_data_length
(R : in xcb.xcb_glx_get_floatv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_floatv_data_end
(R : in xcb.xcb_glx_get_floatv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_floatv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_floatv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_floatv_reply_t.Pointer;
function xcb_glx_get_integerv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_integerv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_integerv_cookie_t.Item;
function xcb_glx_get_integerv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_integerv_cookie_t.Item;
function xcb_glx_get_integerv_data
(R : in xcb.xcb_glx_get_integerv_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_integerv_data_length
(R : in xcb.xcb_glx_get_integerv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_integerv_data_end
(R : in xcb.xcb_glx_get_integerv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_integerv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_integerv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_integerv_reply_t.Pointer;
function xcb_glx_get_lightfv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_lightfv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
light : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_lightfv_cookie_t.Item;
function xcb_glx_get_lightfv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
light : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_lightfv_cookie_t.Item;
function xcb_glx_get_lightfv_data
(R : in xcb.xcb_glx_get_lightfv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float32_t_Pointer;
function xcb_glx_get_lightfv_data_length
(R : in xcb.xcb_glx_get_lightfv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_lightfv_data_end
(R : in xcb.xcb_glx_get_lightfv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_lightfv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_lightfv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_lightfv_reply_t.Pointer;
function xcb_glx_get_lightiv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_lightiv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
light : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_lightiv_cookie_t.Item;
function xcb_glx_get_lightiv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
light : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_lightiv_cookie_t.Item;
function xcb_glx_get_lightiv_data
(R : in xcb.xcb_glx_get_lightiv_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_lightiv_data_length
(R : in xcb.xcb_glx_get_lightiv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_lightiv_data_end
(R : in xcb.xcb_glx_get_lightiv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_lightiv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_lightiv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_lightiv_reply_t.Pointer;
function xcb_glx_get_mapdv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_mapdv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
query : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_mapdv_cookie_t.Item;
function xcb_glx_get_mapdv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
query : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_mapdv_cookie_t.Item;
function xcb_glx_get_mapdv_data
(R : in xcb.xcb_glx_get_mapdv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float64_t_Pointer;
function xcb_glx_get_mapdv_data_length
(R : in xcb.xcb_glx_get_mapdv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_mapdv_data_end
(R : in xcb.xcb_glx_get_mapdv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_mapdv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_mapdv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_mapdv_reply_t.Pointer;
function xcb_glx_get_mapfv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_mapfv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
query : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_mapfv_cookie_t.Item;
function xcb_glx_get_mapfv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
query : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_mapfv_cookie_t.Item;
function xcb_glx_get_mapfv_data
(R : in xcb.xcb_glx_get_mapfv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float32_t_Pointer;
function xcb_glx_get_mapfv_data_length
(R : in xcb.xcb_glx_get_mapfv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_mapfv_data_end
(R : in xcb.xcb_glx_get_mapfv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_mapfv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_mapfv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_mapfv_reply_t.Pointer;
function xcb_glx_get_mapiv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_mapiv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
query : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_mapiv_cookie_t.Item;
function xcb_glx_get_mapiv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
query : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_mapiv_cookie_t.Item;
function xcb_glx_get_mapiv_data
(R : in xcb.xcb_glx_get_mapiv_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_mapiv_data_length
(R : in xcb.xcb_glx_get_mapiv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_mapiv_data_end
(R : in xcb.xcb_glx_get_mapiv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_mapiv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_mapiv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_mapiv_reply_t.Pointer;
function xcb_glx_get_materialfv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_materialfv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
face : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_materialfv_cookie_t.Item;
function xcb_glx_get_materialfv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
face : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_materialfv_cookie_t.Item;
function xcb_glx_get_materialfv_data
(R : in xcb.xcb_glx_get_materialfv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float32_t_Pointer;
function xcb_glx_get_materialfv_data_length
(R : in xcb.xcb_glx_get_materialfv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_materialfv_data_end
(R : in xcb.xcb_glx_get_materialfv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_materialfv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_materialfv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_materialfv_reply_t.Pointer;
function xcb_glx_get_materialiv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_materialiv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
face : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_materialiv_cookie_t.Item;
function xcb_glx_get_materialiv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
face : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_materialiv_cookie_t.Item;
function xcb_glx_get_materialiv_data
(R : in xcb.xcb_glx_get_materialiv_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_materialiv_data_length
(R : in xcb.xcb_glx_get_materialiv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_materialiv_data_end
(R : in xcb.xcb_glx_get_materialiv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_materialiv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_materialiv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_materialiv_reply_t.Pointer;
function xcb_glx_get_pixel_mapfv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_pixel_mapfv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
map : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_pixel_mapfv_cookie_t.Item;
function xcb_glx_get_pixel_mapfv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
map : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_pixel_mapfv_cookie_t.Item;
function xcb_glx_get_pixel_mapfv_data
(R : in xcb.xcb_glx_get_pixel_mapfv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float32_t_Pointer;
function xcb_glx_get_pixel_mapfv_data_length
(R : in xcb.xcb_glx_get_pixel_mapfv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_pixel_mapfv_data_end
(R : in xcb.xcb_glx_get_pixel_mapfv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_pixel_mapfv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_pixel_mapfv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_pixel_mapfv_reply_t.Pointer;
function xcb_glx_get_pixel_mapuiv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_pixel_mapuiv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
map : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_pixel_mapuiv_cookie_t.Item;
function xcb_glx_get_pixel_mapuiv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
map : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_pixel_mapuiv_cookie_t.Item;
function xcb_glx_get_pixel_mapuiv_data
(R : in xcb.xcb_glx_get_pixel_mapuiv_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_get_pixel_mapuiv_data_length
(R : in xcb.xcb_glx_get_pixel_mapuiv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_pixel_mapuiv_data_end
(R : in xcb.xcb_glx_get_pixel_mapuiv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_pixel_mapuiv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_pixel_mapuiv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_pixel_mapuiv_reply_t.Pointer;
function xcb_glx_get_pixel_mapusv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_pixel_mapusv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
map : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_pixel_mapusv_cookie_t.Item;
function xcb_glx_get_pixel_mapusv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
map : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_pixel_mapusv_cookie_t.Item;
function xcb_glx_get_pixel_mapusv_data
(R : in xcb.xcb_glx_get_pixel_mapusv_reply_t.Pointer)
return swig.pointers.uint16_t_Pointer;
function xcb_glx_get_pixel_mapusv_data_length
(R : in xcb.xcb_glx_get_pixel_mapusv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_pixel_mapusv_data_end
(R : in xcb.xcb_glx_get_pixel_mapusv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_pixel_mapusv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_pixel_mapusv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_pixel_mapusv_reply_t.Pointer;
function xcb_glx_get_polygon_stipple_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_polygon_stipple
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
lsb_first : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_polygon_stipple_cookie_t.Item;
function xcb_glx_get_polygon_stipple_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
lsb_first : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_polygon_stipple_cookie_t.Item;
function xcb_glx_get_polygon_stipple_data
(R : in xcb.xcb_glx_get_polygon_stipple_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_get_polygon_stipple_data_length
(R : in xcb.xcb_glx_get_polygon_stipple_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_polygon_stipple_data_end
(R : in xcb.xcb_glx_get_polygon_stipple_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_polygon_stipple_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_polygon_stipple_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_polygon_stipple_reply_t.Pointer;
function xcb_glx_get_string_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_string
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
name : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_string_cookie_t.Item;
function xcb_glx_get_string_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
name : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_string_cookie_t.Item;
function xcb_glx_get_string_string
(R : in xcb.xcb_glx_get_string_reply_t.Pointer)
return Interfaces.C.Strings.chars_ptr;
function xcb_glx_get_string_string_length
(R : in xcb.xcb_glx_get_string_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_string_string_end
(R : in xcb.xcb_glx_get_string_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_string_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_string_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_string_reply_t.Pointer;
function xcb_glx_get_tex_envfv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_tex_envfv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_envfv_cookie_t.Item;
function xcb_glx_get_tex_envfv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_envfv_cookie_t.Item;
function xcb_glx_get_tex_envfv_data
(R : in xcb.xcb_glx_get_tex_envfv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float32_t_Pointer;
function xcb_glx_get_tex_envfv_data_length
(R : in xcb.xcb_glx_get_tex_envfv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_tex_envfv_data_end
(R : in xcb.xcb_glx_get_tex_envfv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_tex_envfv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_tex_envfv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_tex_envfv_reply_t.Pointer;
function xcb_glx_get_tex_enviv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_tex_enviv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_enviv_cookie_t.Item;
function xcb_glx_get_tex_enviv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_enviv_cookie_t.Item;
function xcb_glx_get_tex_enviv_data
(R : in xcb.xcb_glx_get_tex_enviv_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_tex_enviv_data_length
(R : in xcb.xcb_glx_get_tex_enviv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_tex_enviv_data_end
(R : in xcb.xcb_glx_get_tex_enviv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_tex_enviv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_tex_enviv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_tex_enviv_reply_t.Pointer;
function xcb_glx_get_tex_gendv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_tex_gendv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
coord : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_gendv_cookie_t.Item;
function xcb_glx_get_tex_gendv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
coord : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_gendv_cookie_t.Item;
function xcb_glx_get_tex_gendv_data
(R : in xcb.xcb_glx_get_tex_gendv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float64_t_Pointer;
function xcb_glx_get_tex_gendv_data_length
(R : in xcb.xcb_glx_get_tex_gendv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_tex_gendv_data_end
(R : in xcb.xcb_glx_get_tex_gendv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_tex_gendv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_tex_gendv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_tex_gendv_reply_t.Pointer;
function xcb_glx_get_tex_genfv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_tex_genfv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
coord : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_genfv_cookie_t.Item;
function xcb_glx_get_tex_genfv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
coord : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_genfv_cookie_t.Item;
function xcb_glx_get_tex_genfv_data
(R : in xcb.xcb_glx_get_tex_genfv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float32_t_Pointer;
function xcb_glx_get_tex_genfv_data_length
(R : in xcb.xcb_glx_get_tex_genfv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_tex_genfv_data_end
(R : in xcb.xcb_glx_get_tex_genfv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_tex_genfv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_tex_genfv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_tex_genfv_reply_t.Pointer;
function xcb_glx_get_tex_geniv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_tex_geniv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
coord : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_geniv_cookie_t.Item;
function xcb_glx_get_tex_geniv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
coord : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_geniv_cookie_t.Item;
function xcb_glx_get_tex_geniv_data
(R : in xcb.xcb_glx_get_tex_geniv_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_tex_geniv_data_length
(R : in xcb.xcb_glx_get_tex_geniv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_tex_geniv_data_end
(R : in xcb.xcb_glx_get_tex_geniv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_tex_geniv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_tex_geniv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_tex_geniv_reply_t.Pointer;
function xcb_glx_get_tex_image_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_tex_image
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
level : in Interfaces.Integer_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_tex_image_cookie_t.Item;
function xcb_glx_get_tex_image_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
level : in Interfaces.Integer_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_tex_image_cookie_t.Item;
function xcb_glx_get_tex_image_data
(R : in xcb.xcb_glx_get_tex_image_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_get_tex_image_data_length
(R : in xcb.xcb_glx_get_tex_image_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_tex_image_data_end
(R : in xcb.xcb_glx_get_tex_image_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_tex_image_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_tex_image_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_tex_image_reply_t.Pointer;
function xcb_glx_get_tex_parameterfv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_tex_parameterfv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_parameterfv_cookie_t.Item;
function xcb_glx_get_tex_parameterfv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_parameterfv_cookie_t.Item;
function xcb_glx_get_tex_parameterfv_data
(R : in xcb.xcb_glx_get_tex_parameterfv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float32_t_Pointer;
function xcb_glx_get_tex_parameterfv_data_length
(R : in xcb.xcb_glx_get_tex_parameterfv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_tex_parameterfv_data_end
(R : in xcb.xcb_glx_get_tex_parameterfv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_tex_parameterfv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_tex_parameterfv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_tex_parameterfv_reply_t.Pointer;
function xcb_glx_get_tex_parameteriv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_tex_parameteriv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_parameteriv_cookie_t.Item;
function xcb_glx_get_tex_parameteriv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_parameteriv_cookie_t.Item;
function xcb_glx_get_tex_parameteriv_data
(R : in xcb.xcb_glx_get_tex_parameteriv_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_tex_parameteriv_data_length
(R : in xcb.xcb_glx_get_tex_parameteriv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_tex_parameteriv_data_end
(R : in xcb.xcb_glx_get_tex_parameteriv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_tex_parameteriv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_tex_parameteriv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_tex_parameteriv_reply_t.Pointer;
function xcb_glx_get_tex_level_parameterfv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_tex_level_parameterfv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
level : in Interfaces.Integer_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_level_parameterfv_cookie_t.Item;
function xcb_glx_get_tex_level_parameterfv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
level : in Interfaces.Integer_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_level_parameterfv_cookie_t.Item;
function xcb_glx_get_tex_level_parameterfv_data
(R : in xcb.xcb_glx_get_tex_level_parameterfv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float32_t_Pointer;
function xcb_glx_get_tex_level_parameterfv_data_length
(R : in xcb.xcb_glx_get_tex_level_parameterfv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_tex_level_parameterfv_data_end
(R : in xcb.xcb_glx_get_tex_level_parameterfv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_tex_level_parameterfv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_tex_level_parameterfv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_tex_level_parameterfv_reply_t.Pointer;
function xcb_glx_get_tex_level_parameteriv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_tex_level_parameteriv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
level : in Interfaces.Integer_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_level_parameteriv_cookie_t.Item;
function xcb_glx_get_tex_level_parameteriv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
level : in Interfaces.Integer_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_tex_level_parameteriv_cookie_t.Item;
function xcb_glx_get_tex_level_parameteriv_data
(R : in xcb.xcb_glx_get_tex_level_parameteriv_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_tex_level_parameteriv_data_length
(R : in xcb.xcb_glx_get_tex_level_parameteriv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_tex_level_parameteriv_data_end
(R : in xcb.xcb_glx_get_tex_level_parameteriv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_tex_level_parameteriv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_tex_level_parameteriv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_tex_level_parameteriv_reply_t.Pointer;
function xcb_glx_is_enabled
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
capability : in Interfaces.Unsigned_32)
return xcb.xcb_glx_is_enabled_cookie_t.Item;
function xcb_glx_is_enabled_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
capability : in Interfaces.Unsigned_32)
return xcb.xcb_glx_is_enabled_cookie_t.Item;
function xcb_glx_is_enabled_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_is_enabled_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_is_enabled_reply_t.Pointer;
function xcb_glx_is_list
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
list : in Interfaces.Unsigned_32)
return xcb.xcb_glx_is_list_cookie_t.Item;
function xcb_glx_is_list_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
list : in Interfaces.Unsigned_32)
return xcb.xcb_glx_is_list_cookie_t.Item;
function xcb_glx_is_list_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_is_list_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_is_list_reply_t.Pointer;
function xcb_glx_flush_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_flush
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_are_textures_resident_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_are_textures_resident
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
n : in Interfaces.Integer_32;
textures : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_glx_are_textures_resident_cookie_t.Item;
function xcb_glx_are_textures_resident_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
n : in Interfaces.Integer_32;
textures : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_glx_are_textures_resident_cookie_t.Item;
function xcb_glx_are_textures_resident_data
(R : in xcb.xcb_glx_are_textures_resident_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_are_textures_resident_data_length
(R : in xcb.xcb_glx_are_textures_resident_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_are_textures_resident_data_end
(R : in xcb.xcb_glx_are_textures_resident_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_are_textures_resident_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_are_textures_resident_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_are_textures_resident_reply_t.Pointer;
function xcb_glx_delete_textures_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_delete_textures_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
n : in Interfaces.Integer_32;
textures : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_delete_textures
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
n : in Interfaces.Integer_32;
textures : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_delete_textures_textures
(R : in xcb.xcb_glx_delete_textures_request_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_delete_textures_textures_length
(R : in xcb.xcb_glx_delete_textures_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_delete_textures_textures_end
(R : in xcb.xcb_glx_delete_textures_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_gen_textures_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_gen_textures
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
n : in Interfaces.Integer_32)
return xcb.xcb_glx_gen_textures_cookie_t.Item;
function xcb_glx_gen_textures_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
n : in Interfaces.Integer_32)
return xcb.xcb_glx_gen_textures_cookie_t.Item;
function xcb_glx_gen_textures_data
(R : in xcb.xcb_glx_gen_textures_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_gen_textures_data_length
(R : in xcb.xcb_glx_gen_textures_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_gen_textures_data_end
(R : in xcb.xcb_glx_gen_textures_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_gen_textures_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_gen_textures_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_gen_textures_reply_t.Pointer;
function xcb_glx_is_texture
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
texture : in Interfaces.Unsigned_32)
return xcb.xcb_glx_is_texture_cookie_t.Item;
function xcb_glx_is_texture_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
texture : in Interfaces.Unsigned_32)
return xcb.xcb_glx_is_texture_cookie_t.Item;
function xcb_glx_is_texture_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_is_texture_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_is_texture_reply_t.Pointer;
function xcb_glx_get_color_table_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_color_table
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_color_table_cookie_t.Item;
function xcb_glx_get_color_table_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_color_table_cookie_t.Item;
function xcb_glx_get_color_table_data
(R : in xcb.xcb_glx_get_color_table_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_get_color_table_data_length
(R : in xcb.xcb_glx_get_color_table_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_color_table_data_end
(R : in xcb.xcb_glx_get_color_table_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_color_table_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_color_table_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_color_table_reply_t.Pointer;
function xcb_glx_get_color_table_parameterfv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_color_table_parameterfv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_color_table_parameterfv_cookie_t.Item;
function xcb_glx_get_color_table_parameterfv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_color_table_parameterfv_cookie_t.Item;
function xcb_glx_get_color_table_parameterfv_data
(R : in xcb.xcb_glx_get_color_table_parameterfv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float32_t_Pointer;
function xcb_glx_get_color_table_parameterfv_data_length
(R : in xcb.xcb_glx_get_color_table_parameterfv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_color_table_parameterfv_data_end
(R : in xcb.xcb_glx_get_color_table_parameterfv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_color_table_parameterfv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_color_table_parameterfv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_color_table_parameterfv_reply_t.Pointer;
function xcb_glx_get_color_table_parameteriv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_color_table_parameteriv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_color_table_parameteriv_cookie_t.Item;
function xcb_glx_get_color_table_parameteriv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_color_table_parameteriv_cookie_t.Item;
function xcb_glx_get_color_table_parameteriv_data
(R : in xcb.xcb_glx_get_color_table_parameteriv_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_color_table_parameteriv_data_length
(R : in xcb.xcb_glx_get_color_table_parameteriv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_color_table_parameteriv_data_end
(R : in xcb.xcb_glx_get_color_table_parameteriv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_color_table_parameteriv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_color_table_parameteriv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_color_table_parameteriv_reply_t.Pointer;
function xcb_glx_get_convolution_filter_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_convolution_filter
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_convolution_filter_cookie_t.Item;
function xcb_glx_get_convolution_filter_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_convolution_filter_cookie_t.Item;
function xcb_glx_get_convolution_filter_data
(R : in xcb.xcb_glx_get_convolution_filter_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_get_convolution_filter_data_length
(R : in xcb.xcb_glx_get_convolution_filter_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_convolution_filter_data_end
(R : in xcb.xcb_glx_get_convolution_filter_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_convolution_filter_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_convolution_filter_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_convolution_filter_reply_t.Pointer;
function xcb_glx_get_convolution_parameterfv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_convolution_parameterfv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_convolution_parameterfv_cookie_t.Item;
function xcb_glx_get_convolution_parameterfv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_convolution_parameterfv_cookie_t.Item;
function xcb_glx_get_convolution_parameterfv_data
(R : in xcb.xcb_glx_get_convolution_parameterfv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float32_t_Pointer;
function xcb_glx_get_convolution_parameterfv_data_length
(R : in xcb.xcb_glx_get_convolution_parameterfv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_convolution_parameterfv_data_end
(R : in xcb.xcb_glx_get_convolution_parameterfv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_convolution_parameterfv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_convolution_parameterfv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_convolution_parameterfv_reply_t.Pointer;
function xcb_glx_get_convolution_parameteriv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_convolution_parameteriv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_convolution_parameteriv_cookie_t.Item;
function xcb_glx_get_convolution_parameteriv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_convolution_parameteriv_cookie_t.Item;
function xcb_glx_get_convolution_parameteriv_data
(R : in xcb.xcb_glx_get_convolution_parameteriv_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_convolution_parameteriv_data_length
(R : in xcb.xcb_glx_get_convolution_parameteriv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_convolution_parameteriv_data_end
(R : in xcb.xcb_glx_get_convolution_parameteriv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_convolution_parameteriv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_convolution_parameteriv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_convolution_parameteriv_reply_t.Pointer;
function xcb_glx_get_separable_filter_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_separable_filter
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_separable_filter_cookie_t.Item;
function xcb_glx_get_separable_filter_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_separable_filter_cookie_t.Item;
function xcb_glx_get_separable_filter_rows_and_cols
(R : in xcb.xcb_glx_get_separable_filter_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_get_separable_filter_rows_and_cols_length
(R : in xcb.xcb_glx_get_separable_filter_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_separable_filter_rows_and_cols_end
(R : in xcb.xcb_glx_get_separable_filter_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_separable_filter_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_separable_filter_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_separable_filter_reply_t.Pointer;
function xcb_glx_get_histogram_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_histogram
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8;
reset : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_histogram_cookie_t.Item;
function xcb_glx_get_histogram_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8;
reset : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_histogram_cookie_t.Item;
function xcb_glx_get_histogram_data
(R : in xcb.xcb_glx_get_histogram_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_get_histogram_data_length
(R : in xcb.xcb_glx_get_histogram_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_histogram_data_end
(R : in xcb.xcb_glx_get_histogram_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_histogram_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_histogram_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_histogram_reply_t.Pointer;
function xcb_glx_get_histogram_parameterfv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_histogram_parameterfv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_histogram_parameterfv_cookie_t.Item;
function xcb_glx_get_histogram_parameterfv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_histogram_parameterfv_cookie_t.Item;
function xcb_glx_get_histogram_parameterfv_data
(R : in xcb.xcb_glx_get_histogram_parameterfv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float32_t_Pointer;
function xcb_glx_get_histogram_parameterfv_data_length
(R : in xcb.xcb_glx_get_histogram_parameterfv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_histogram_parameterfv_data_end
(R : in xcb.xcb_glx_get_histogram_parameterfv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_histogram_parameterfv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_histogram_parameterfv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_histogram_parameterfv_reply_t.Pointer;
function xcb_glx_get_histogram_parameteriv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_histogram_parameteriv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_histogram_parameteriv_cookie_t.Item;
function xcb_glx_get_histogram_parameteriv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_histogram_parameteriv_cookie_t.Item;
function xcb_glx_get_histogram_parameteriv_data
(R : in xcb.xcb_glx_get_histogram_parameteriv_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_histogram_parameteriv_data_length
(R : in xcb.xcb_glx_get_histogram_parameteriv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_histogram_parameteriv_data_end
(R : in xcb.xcb_glx_get_histogram_parameteriv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_histogram_parameteriv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_histogram_parameteriv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_histogram_parameteriv_reply_t.Pointer;
function xcb_glx_get_minmax_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_minmax
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8;
reset : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_minmax_cookie_t.Item;
function xcb_glx_get_minmax_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
format : in Interfaces.Unsigned_32;
the_type : in Interfaces.Unsigned_32;
swap_bytes : in Interfaces.Unsigned_8;
reset : in Interfaces.Unsigned_8)
return xcb.xcb_glx_get_minmax_cookie_t.Item;
function xcb_glx_get_minmax_data
(R : in xcb.xcb_glx_get_minmax_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_get_minmax_data_length
(R : in xcb.xcb_glx_get_minmax_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_minmax_data_end
(R : in xcb.xcb_glx_get_minmax_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_minmax_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_minmax_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_minmax_reply_t.Pointer;
function xcb_glx_get_minmax_parameterfv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_minmax_parameterfv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_minmax_parameterfv_cookie_t.Item;
function xcb_glx_get_minmax_parameterfv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_minmax_parameterfv_cookie_t.Item;
function xcb_glx_get_minmax_parameterfv_data
(R : in xcb.xcb_glx_get_minmax_parameterfv_reply_t.Pointer)
return xcb.Pointers.xcb_glx_float32_t_Pointer;
function xcb_glx_get_minmax_parameterfv_data_length
(R : in xcb.xcb_glx_get_minmax_parameterfv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_minmax_parameterfv_data_end
(R : in xcb.xcb_glx_get_minmax_parameterfv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_minmax_parameterfv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_minmax_parameterfv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_minmax_parameterfv_reply_t.Pointer;
function xcb_glx_get_minmax_parameteriv_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_minmax_parameteriv
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_minmax_parameteriv_cookie_t.Item;
function xcb_glx_get_minmax_parameteriv_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_minmax_parameteriv_cookie_t.Item;
function xcb_glx_get_minmax_parameteriv_data
(R : in xcb.xcb_glx_get_minmax_parameteriv_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_minmax_parameteriv_data_length
(R : in xcb.xcb_glx_get_minmax_parameteriv_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_minmax_parameteriv_data_end
(R : in xcb.xcb_glx_get_minmax_parameteriv_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_minmax_parameteriv_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_minmax_parameteriv_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_minmax_parameteriv_reply_t.Pointer;
function xcb_glx_get_compressed_tex_image_arb_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_compressed_tex_image_arb
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
level : in Interfaces.Integer_32)
return xcb.xcb_glx_get_compressed_tex_image_arb_cookie_t.Item;
function xcb_glx_get_compressed_tex_image_arb_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
level : in Interfaces.Integer_32)
return xcb.xcb_glx_get_compressed_tex_image_arb_cookie_t.Item;
function xcb_glx_get_compressed_tex_image_arb_data
(R : in xcb.xcb_glx_get_compressed_tex_image_arb_reply_t.Pointer)
return swig.pointers.int8_t_Pointer;
function xcb_glx_get_compressed_tex_image_arb_data_length
(R : in xcb.xcb_glx_get_compressed_tex_image_arb_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_compressed_tex_image_arb_data_end
(R : in xcb.xcb_glx_get_compressed_tex_image_arb_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_compressed_tex_image_arb_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_compressed_tex_image_arb_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_compressed_tex_image_arb_reply_t.Pointer;
function xcb_glx_delete_queries_arb_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_delete_queries_arb_checked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
n : in Interfaces.Integer_32;
ids : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_delete_queries_arb
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
n : in Interfaces.Integer_32;
ids : in swig.pointers.uint32_t_Pointer)
return xcb.xcb_void_cookie_t.Item;
function xcb_glx_delete_queries_arb_ids
(R : in xcb.xcb_glx_delete_queries_arb_request_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_delete_queries_arb_ids_length
(R : in xcb.xcb_glx_delete_queries_arb_request_t.Pointer)
return Interfaces.C.int;
function xcb_glx_delete_queries_arb_ids_end
(R : in xcb.xcb_glx_delete_queries_arb_request_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_gen_queries_arb_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_gen_queries_arb
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
n : in Interfaces.Integer_32)
return xcb.xcb_glx_gen_queries_arb_cookie_t.Item;
function xcb_glx_gen_queries_arb_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
n : in Interfaces.Integer_32)
return xcb.xcb_glx_gen_queries_arb_cookie_t.Item;
function xcb_glx_gen_queries_arb_data
(R : in xcb.xcb_glx_gen_queries_arb_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_gen_queries_arb_data_length
(R : in xcb.xcb_glx_gen_queries_arb_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_gen_queries_arb_data_end
(R : in xcb.xcb_glx_gen_queries_arb_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_gen_queries_arb_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_gen_queries_arb_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_gen_queries_arb_reply_t.Pointer;
function xcb_glx_is_query_arb
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
id : in Interfaces.Unsigned_32)
return xcb.xcb_glx_is_query_arb_cookie_t.Item;
function xcb_glx_is_query_arb_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
id : in Interfaces.Unsigned_32)
return xcb.xcb_glx_is_query_arb_cookie_t.Item;
function xcb_glx_is_query_arb_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_is_query_arb_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_is_query_arb_reply_t.Pointer;
function xcb_glx_get_queryiv_arb_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_queryiv_arb
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_queryiv_arb_cookie_t.Item;
function xcb_glx_get_queryiv_arb_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
target : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_queryiv_arb_cookie_t.Item;
function xcb_glx_get_queryiv_arb_data
(R : in xcb.xcb_glx_get_queryiv_arb_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_queryiv_arb_data_length
(R : in xcb.xcb_glx_get_queryiv_arb_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_queryiv_arb_data_end
(R : in xcb.xcb_glx_get_queryiv_arb_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_queryiv_arb_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_queryiv_arb_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_queryiv_arb_reply_t.Pointer;
function xcb_glx_get_query_objectiv_arb_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_query_objectiv_arb
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
id : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_query_objectiv_arb_cookie_t.Item;
function xcb_glx_get_query_objectiv_arb_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
id : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_query_objectiv_arb_cookie_t.Item;
function xcb_glx_get_query_objectiv_arb_data
(R : in xcb.xcb_glx_get_query_objectiv_arb_reply_t.Pointer)
return swig.pointers.int32_t_Pointer;
function xcb_glx_get_query_objectiv_arb_data_length
(R : in xcb.xcb_glx_get_query_objectiv_arb_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_query_objectiv_arb_data_end
(R : in xcb.xcb_glx_get_query_objectiv_arb_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_query_objectiv_arb_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_query_objectiv_arb_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_query_objectiv_arb_reply_t.Pointer;
function xcb_glx_get_query_objectuiv_arb_sizeof
(a_buffer : in swig.void_ptr)
return Interfaces.C.int;
function xcb_glx_get_query_objectuiv_arb
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
id : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_query_objectuiv_arb_cookie_t.Item;
function xcb_glx_get_query_objectuiv_arb_unchecked
(c : in xcb.Pointers.xcb_connection_t_Pointer;
context_tag : in xcb.xcb_glx_context_tag_t;
id : in Interfaces.Unsigned_32;
pname : in Interfaces.Unsigned_32)
return xcb.xcb_glx_get_query_objectuiv_arb_cookie_t.Item;
function xcb_glx_get_query_objectuiv_arb_data
(R : in xcb.xcb_glx_get_query_objectuiv_arb_reply_t.Pointer)
return swig.pointers.uint32_t_Pointer;
function xcb_glx_get_query_objectuiv_arb_data_length
(R : in xcb.xcb_glx_get_query_objectuiv_arb_reply_t.Pointer)
return Interfaces.C.int;
function xcb_glx_get_query_objectuiv_arb_data_end
(R : in xcb.xcb_glx_get_query_objectuiv_arb_reply_t.Pointer)
return xcb.xcb_generic_iterator_t.Item;
function xcb_glx_get_query_objectuiv_arb_reply
(c : in xcb.Pointers.xcb_connection_t_Pointer;
cookie : in xcb.xcb_glx_get_query_objectuiv_arb_cookie_t.Item;
e : in xcb.xcb_generic_error_t.Pointer_Pointer)
return xcb.xcb_glx_get_query_objectuiv_arb_reply_t.Pointer;
function x11_XOpenDisplay
(display_name : in Interfaces.C.Strings.chars_ptr)
return xcb.Pointers.Display_Pointer;
function x11_DefaultScreen
(display : in xcb.Pointers.Display_Pointer)
return Interfaces.C.int;
function x11_XGetXCBConnection
(dpy : in xcb.Pointers.Display_Pointer)
return xcb.Pointers.xcb_connection_t_Pointer;
procedure x11_XSetEventQueueOwner
(dpy : in xcb.Pointers.Display_Pointer;
owner : in xcb.XEventQueueOwner);
private
pragma Import (C, xcb_big_requests_id, "xcb_big_requests_id");
pragma Import (C, xcb_render_id, "xcb_render_id");
pragma Import (C, xcb_xc_misc_id, "xcb_xc_misc_id");
pragma Import (C, xcb_glx_id, "xcb_glx_id");
pragma Import (C, xcb_flush, "xcb_flush");
pragma Import
(C, xcb_get_maximum_request_length, "xcb_get_maximum_request_length");
pragma Import
(C,
xcb_prefetch_maximum_request_length,
"xcb_prefetch_maximum_request_length");
pragma Import (C, xcb_wait_for_event, "xcb_wait_for_event");
pragma Import (C, xcb_poll_for_event, "xcb_poll_for_event");
pragma Import (C, xcb_poll_for_queued_event, "xcb_poll_for_queued_event");
pragma Import (C, xcb_poll_for_special_event, "xcb_poll_for_special_event");
pragma Import (C, xcb_wait_for_special_event, "xcb_wait_for_special_event");
pragma Import
(C, xcb_register_for_special_xge, "xcb_register_for_special_xge");
pragma Import
(C, xcb_unregister_for_special_event, "xcb_unregister_for_special_event");
pragma Import (C, xcb_request_check, "xcb_request_check");
pragma Import (C, xcb_discard_reply, "xcb_discard_reply");
pragma Import (C, xcb_discard_reply64, "xcb_discard_reply64");
pragma Import (C, xcb_get_extension_data, "xcb_get_extension_data");
pragma Import
(C, xcb_prefetch_extension_data, "xcb_prefetch_extension_data");
pragma Import (C, xcb_get_setup, "xcb_get_setup");
pragma Import (C, xcb_get_file_descriptor, "xcb_get_file_descriptor");
pragma Import (C, xcb_connection_has_error, "xcb_connection_has_error");
pragma Import (C, xcb_connect_to_fd, "xcb_connect_to_fd");
pragma Import (C, xcb_disconnect, "xcb_disconnect");
pragma Import (C, xcb_parse_display, "xcb_parse_display");
pragma Import (C, xcb_connect, "xcb_connect");
pragma Import
(C,
xcb_connect_to_display_with_auth_info,
"xcb_connect_to_display_with_auth_info");
pragma Import (C, xcb_generate_id, "xcb_generate_id");
pragma Import (C, xcb_total_read, "xcb_total_read");
pragma Import (C, xcb_total_written, "xcb_total_written");
pragma Import (C, xcb_char2b_next, "xcb_char2b_next");
pragma Import (C, xcb_char2b_end, "xcb_char2b_end");
pragma Import (C, xcb_window_next, "xcb_window_next");
pragma Import (C, xcb_window_end, "xcb_window_end");
pragma Import (C, xcb_pixmap_next, "xcb_pixmap_next");
pragma Import (C, xcb_pixmap_end, "xcb_pixmap_end");
pragma Import (C, xcb_cursor_next, "xcb_cursor_next");
pragma Import (C, xcb_cursor_end, "xcb_cursor_end");
pragma Import (C, xcb_font_next, "xcb_font_next");
pragma Import (C, xcb_font_end, "xcb_font_end");
pragma Import (C, xcb_gcontext_next, "xcb_gcontext_next");
pragma Import (C, xcb_gcontext_end, "xcb_gcontext_end");
pragma Import (C, xcb_colormap_next, "xcb_colormap_next");
pragma Import (C, xcb_colormap_end, "xcb_colormap_end");
pragma Import (C, xcb_atom_next, "xcb_atom_next");
pragma Import (C, xcb_atom_end, "xcb_atom_end");
pragma Import (C, xcb_drawable_next, "xcb_drawable_next");
pragma Import (C, xcb_drawable_end, "xcb_drawable_end");
pragma Import (C, xcb_fontable_next, "xcb_fontable_next");
pragma Import (C, xcb_fontable_end, "xcb_fontable_end");
pragma Import (C, xcb_bool32_next, "xcb_bool32_next");
pragma Import (C, xcb_bool32_end, "xcb_bool32_end");
pragma Import (C, xcb_visualid_next, "xcb_visualid_next");
pragma Import (C, xcb_visualid_end, "xcb_visualid_end");
pragma Import (C, xcb_timestamp_next, "xcb_timestamp_next");
pragma Import (C, xcb_timestamp_end, "xcb_timestamp_end");
pragma Import (C, xcb_keysym_next, "xcb_keysym_next");
pragma Import (C, xcb_keysym_end, "xcb_keysym_end");
pragma Import (C, xcb_keycode_next, "xcb_keycode_next");
pragma Import (C, xcb_keycode_end, "xcb_keycode_end");
pragma Import (C, xcb_keycode32_next, "xcb_keycode32_next");
pragma Import (C, xcb_keycode32_end, "xcb_keycode32_end");
pragma Import (C, xcb_button_next, "xcb_button_next");
pragma Import (C, xcb_button_end, "xcb_button_end");
pragma Import (C, xcb_point_next, "xcb_point_next");
pragma Import (C, xcb_point_end, "xcb_point_end");
pragma Import (C, xcb_rectangle_next, "xcb_rectangle_next");
pragma Import (C, xcb_rectangle_end, "xcb_rectangle_end");
pragma Import (C, xcb_arc_next, "xcb_arc_next");
pragma Import (C, xcb_arc_end, "xcb_arc_end");
pragma Import (C, xcb_format_next, "xcb_format_next");
pragma Import (C, xcb_format_end, "xcb_format_end");
pragma Import (C, xcb_visualtype_next, "xcb_visualtype_next");
pragma Import (C, xcb_visualtype_end, "xcb_visualtype_end");
pragma Import (C, xcb_depth_sizeof, "xcb_depth_sizeof");
pragma Import (C, xcb_depth_visuals, "xcb_depth_visuals");
pragma Import (C, xcb_depth_visuals_length, "xcb_depth_visuals_length");
pragma Import (C, xcb_depth_visuals_iterator, "xcb_depth_visuals_iterator");
pragma Import (C, xcb_depth_next, "xcb_depth_next");
pragma Import (C, xcb_depth_end, "xcb_depth_end");
pragma Import (C, xcb_screen_sizeof, "xcb_screen_sizeof");
pragma Import
(C, xcb_screen_allowed_depths_length, "xcb_screen_allowed_depths_length");
pragma Import
(C,
xcb_screen_allowed_depths_iterator,
"xcb_screen_allowed_depths_iterator");
pragma Import (C, xcb_screen_next, "xcb_screen_next");
pragma Import (C, xcb_screen_end, "xcb_screen_end");
pragma Import (C, xcb_setup_request_sizeof, "xcb_setup_request_sizeof");
pragma Import
(C,
xcb_setup_request_authorization_protocol_name,
"xcb_setup_request_authorization_protocol_name");
pragma Import
(C,
xcb_setup_request_authorization_protocol_name_length,
"xcb_setup_request_authorization_protocol_name_length");
pragma Import
(C,
xcb_setup_request_authorization_protocol_name_end,
"xcb_setup_request_authorization_protocol_name_end");
pragma Import
(C,
xcb_setup_request_authorization_protocol_data,
"xcb_setup_request_authorization_protocol_data");
pragma Import
(C,
xcb_setup_request_authorization_protocol_data_length,
"xcb_setup_request_authorization_protocol_data_length");
pragma Import
(C,
xcb_setup_request_authorization_protocol_data_end,
"xcb_setup_request_authorization_protocol_data_end");
pragma Import (C, xcb_setup_request_next, "xcb_setup_request_next");
pragma Import (C, xcb_setup_request_end, "xcb_setup_request_end");
pragma Import (C, xcb_setup_failed_sizeof, "xcb_setup_failed_sizeof");
pragma Import (C, xcb_setup_failed_reason, "xcb_setup_failed_reason");
pragma Import
(C, xcb_setup_failed_reason_length, "xcb_setup_failed_reason_length");
pragma Import
(C, xcb_setup_failed_reason_end, "xcb_setup_failed_reason_end");
pragma Import (C, xcb_setup_failed_next, "xcb_setup_failed_next");
pragma Import (C, xcb_setup_failed_end, "xcb_setup_failed_end");
pragma Import
(C, xcb_setup_authenticate_sizeof, "xcb_setup_authenticate_sizeof");
pragma Import
(C, xcb_setup_authenticate_reason, "xcb_setup_authenticate_reason");
pragma Import
(C,
xcb_setup_authenticate_reason_length,
"xcb_setup_authenticate_reason_length");
pragma Import
(C,
xcb_setup_authenticate_reason_end,
"xcb_setup_authenticate_reason_end");
pragma Import
(C, xcb_setup_authenticate_next, "xcb_setup_authenticate_next");
pragma Import (C, xcb_setup_authenticate_end, "xcb_setup_authenticate_end");
pragma Import (C, xcb_setup_sizeof, "xcb_setup_sizeof");
pragma Import (C, xcb_setup_vendor, "xcb_setup_vendor");
pragma Import (C, xcb_setup_vendor_length, "xcb_setup_vendor_length");
pragma Import (C, xcb_setup_vendor_end, "xcb_setup_vendor_end");
pragma Import (C, xcb_setup_pixmap_formats, "xcb_setup_pixmap_formats");
pragma Import
(C, xcb_setup_pixmap_formats_length, "xcb_setup_pixmap_formats_length");
pragma Import
(C,
xcb_setup_pixmap_formats_iterator,
"xcb_setup_pixmap_formats_iterator");
pragma Import (C, xcb_setup_roots_length, "xcb_setup_roots_length");
pragma Import (C, xcb_setup_roots_iterator, "xcb_setup_roots_iterator");
pragma Import (C, xcb_setup_next, "xcb_setup_next");
pragma Import (C, xcb_setup_end, "xcb_setup_end");
pragma Import
(C, xcb_client_message_data_next, "xcb_client_message_data_next");
pragma Import
(C, xcb_client_message_data_end, "xcb_client_message_data_end");
pragma Import
(C,
xcb_create_window_value_list_serialize,
"xcb_create_window_value_list_serialize");
pragma Import
(C,
xcb_create_window_value_list_unpack,
"xcb_create_window_value_list_unpack");
pragma Import
(C,
xcb_create_window_value_list_sizeof,
"xcb_create_window_value_list_sizeof");
pragma Import (C, xcb_create_window_sizeof, "xcb_create_window_sizeof");
pragma Import (C, xcb_create_window_checked, "xcb_create_window_checked");
pragma Import (C, xcb_create_window, "xcb_create_window");
pragma Import
(C, xcb_create_window_aux_checked, "xcb_create_window_aux_checked");
pragma Import (C, xcb_create_window_aux, "xcb_create_window_aux");
pragma Import
(C, xcb_create_window_value_list, "xcb_create_window_value_list");
pragma Import
(C,
xcb_change_window_attributes_value_list_serialize,
"xcb_change_window_attributes_value_list_serialize");
pragma Import
(C,
xcb_change_window_attributes_value_list_unpack,
"xcb_change_window_attributes_value_list_unpack");
pragma Import
(C,
xcb_change_window_attributes_value_list_sizeof,
"xcb_change_window_attributes_value_list_sizeof");
pragma Import
(C,
xcb_change_window_attributes_sizeof,
"xcb_change_window_attributes_sizeof");
pragma Import
(C,
xcb_change_window_attributes_checked,
"xcb_change_window_attributes_checked");
pragma Import
(C, xcb_change_window_attributes, "xcb_change_window_attributes");
pragma Import
(C,
xcb_change_window_attributes_aux_checked,
"xcb_change_window_attributes_aux_checked");
pragma Import
(C, xcb_change_window_attributes_aux, "xcb_change_window_attributes_aux");
pragma Import
(C,
xcb_change_window_attributes_value_list,
"xcb_change_window_attributes_value_list");
pragma Import (C, xcb_get_window_attributes, "xcb_get_window_attributes");
pragma Import
(C,
xcb_get_window_attributes_unchecked,
"xcb_get_window_attributes_unchecked");
pragma Import
(C, xcb_get_window_attributes_reply, "xcb_get_window_attributes_reply");
pragma Import (C, xcb_destroy_window_checked, "xcb_destroy_window_checked");
pragma Import (C, xcb_destroy_window, "xcb_destroy_window");
pragma Import
(C, xcb_destroy_subwindows_checked, "xcb_destroy_subwindows_checked");
pragma Import (C, xcb_destroy_subwindows, "xcb_destroy_subwindows");
pragma Import
(C, xcb_change_save_set_checked, "xcb_change_save_set_checked");
pragma Import (C, xcb_change_save_set, "xcb_change_save_set");
pragma Import
(C, xcb_reparent_window_checked, "xcb_reparent_window_checked");
pragma Import (C, xcb_reparent_window, "xcb_reparent_window");
pragma Import (C, xcb_map_window_checked, "xcb_map_window_checked");
pragma Import (C, xcb_map_window, "xcb_map_window");
pragma Import (C, xcb_map_subwindows_checked, "xcb_map_subwindows_checked");
pragma Import (C, xcb_map_subwindows, "xcb_map_subwindows");
pragma Import (C, xcb_unmap_window_checked, "xcb_unmap_window_checked");
pragma Import (C, xcb_unmap_window, "xcb_unmap_window");
pragma Import
(C, xcb_unmap_subwindows_checked, "xcb_unmap_subwindows_checked");
pragma Import (C, xcb_unmap_subwindows, "xcb_unmap_subwindows");
pragma Import
(C,
xcb_configure_window_value_list_serialize,
"xcb_configure_window_value_list_serialize");
pragma Import
(C,
xcb_configure_window_value_list_unpack,
"xcb_configure_window_value_list_unpack");
pragma Import
(C,
xcb_configure_window_value_list_sizeof,
"xcb_configure_window_value_list_sizeof");
pragma Import
(C, xcb_configure_window_sizeof, "xcb_configure_window_sizeof");
pragma Import
(C, xcb_configure_window_checked, "xcb_configure_window_checked");
pragma Import (C, xcb_configure_window, "xcb_configure_window");
pragma Import
(C, xcb_configure_window_aux_checked, "xcb_configure_window_aux_checked");
pragma Import (C, xcb_configure_window_aux, "xcb_configure_window_aux");
pragma Import
(C, xcb_configure_window_value_list, "xcb_configure_window_value_list");
pragma Import
(C, xcb_circulate_window_checked, "xcb_circulate_window_checked");
pragma Import (C, xcb_circulate_window, "xcb_circulate_window");
pragma Import (C, xcb_get_geometry, "xcb_get_geometry");
pragma Import (C, xcb_get_geometry_unchecked, "xcb_get_geometry_unchecked");
pragma Import (C, xcb_get_geometry_reply, "xcb_get_geometry_reply");
pragma Import (C, xcb_query_tree_sizeof, "xcb_query_tree_sizeof");
pragma Import (C, xcb_query_tree, "xcb_query_tree");
pragma Import (C, xcb_query_tree_unchecked, "xcb_query_tree_unchecked");
pragma Import (C, xcb_query_tree_children, "xcb_query_tree_children");
pragma Import
(C, xcb_query_tree_children_length, "xcb_query_tree_children_length");
pragma Import
(C, xcb_query_tree_children_end, "xcb_query_tree_children_end");
pragma Import (C, xcb_query_tree_reply, "xcb_query_tree_reply");
pragma Import (C, xcb_intern_atom_sizeof, "xcb_intern_atom_sizeof");
pragma Import (C, xcb_intern_atom, "xcb_intern_atom");
pragma Import (C, xcb_intern_atom_unchecked, "xcb_intern_atom_unchecked");
pragma Import (C, xcb_intern_atom_reply, "xcb_intern_atom_reply");
pragma Import (C, xcb_get_atom_name_sizeof, "xcb_get_atom_name_sizeof");
pragma Import (C, xcb_get_atom_name, "xcb_get_atom_name");
pragma Import
(C, xcb_get_atom_name_unchecked, "xcb_get_atom_name_unchecked");
pragma Import (C, xcb_get_atom_name_name, "xcb_get_atom_name_name");
pragma Import
(C, xcb_get_atom_name_name_length, "xcb_get_atom_name_name_length");
pragma Import (C, xcb_get_atom_name_name_end, "xcb_get_atom_name_name_end");
pragma Import (C, xcb_get_atom_name_reply, "xcb_get_atom_name_reply");
pragma Import (C, xcb_change_property_sizeof, "xcb_change_property_sizeof");
pragma Import
(C, xcb_change_property_checked, "xcb_change_property_checked");
pragma Import (C, xcb_change_property, "xcb_change_property");
pragma Import (C, xcb_change_property_data, "xcb_change_property_data");
pragma Import
(C, xcb_change_property_data_length, "xcb_change_property_data_length");
pragma Import
(C, xcb_change_property_data_end, "xcb_change_property_data_end");
pragma Import
(C, xcb_delete_property_checked, "xcb_delete_property_checked");
pragma Import (C, xcb_delete_property, "xcb_delete_property");
pragma Import (C, xcb_get_property_sizeof, "xcb_get_property_sizeof");
pragma Import (C, xcb_get_property, "xcb_get_property");
pragma Import (C, xcb_get_property_unchecked, "xcb_get_property_unchecked");
pragma Import (C, xcb_get_property_value, "xcb_get_property_value");
pragma Import
(C, xcb_get_property_value_length, "xcb_get_property_value_length");
pragma Import (C, xcb_get_property_value_end, "xcb_get_property_value_end");
pragma Import (C, xcb_get_property_reply, "xcb_get_property_reply");
pragma Import (C, xcb_list_properties_sizeof, "xcb_list_properties_sizeof");
pragma Import (C, xcb_list_properties, "xcb_list_properties");
pragma Import
(C, xcb_list_properties_unchecked, "xcb_list_properties_unchecked");
pragma Import (C, xcb_list_properties_atoms, "xcb_list_properties_atoms");
pragma Import
(C, xcb_list_properties_atoms_length, "xcb_list_properties_atoms_length");
pragma Import
(C, xcb_list_properties_atoms_end, "xcb_list_properties_atoms_end");
pragma Import (C, xcb_list_properties_reply, "xcb_list_properties_reply");
pragma Import
(C, xcb_set_selection_owner_checked, "xcb_set_selection_owner_checked");
pragma Import (C, xcb_set_selection_owner, "xcb_set_selection_owner");
pragma Import (C, xcb_get_selection_owner, "xcb_get_selection_owner");
pragma Import
(C,
xcb_get_selection_owner_unchecked,
"xcb_get_selection_owner_unchecked");
pragma Import
(C, xcb_get_selection_owner_reply, "xcb_get_selection_owner_reply");
pragma Import
(C, xcb_convert_selection_checked, "xcb_convert_selection_checked");
pragma Import (C, xcb_convert_selection, "xcb_convert_selection");
pragma Import (C, xcb_send_event_checked, "xcb_send_event_checked");
pragma Import (C, xcb_send_event, "xcb_send_event");
pragma Import (C, xcb_grab_pointer, "xcb_grab_pointer");
pragma Import (C, xcb_grab_pointer_unchecked, "xcb_grab_pointer_unchecked");
pragma Import (C, xcb_grab_pointer_reply, "xcb_grab_pointer_reply");
pragma Import (C, xcb_ungrab_pointer_checked, "xcb_ungrab_pointer_checked");
pragma Import (C, xcb_ungrab_pointer, "xcb_ungrab_pointer");
pragma Import (C, xcb_grab_button_checked, "xcb_grab_button_checked");
pragma Import (C, xcb_grab_button, "xcb_grab_button");
pragma Import (C, xcb_ungrab_button_checked, "xcb_ungrab_button_checked");
pragma Import (C, xcb_ungrab_button, "xcb_ungrab_button");
pragma Import
(C,
xcb_change_active_pointer_grab_checked,
"xcb_change_active_pointer_grab_checked");
pragma Import
(C, xcb_change_active_pointer_grab, "xcb_change_active_pointer_grab");
pragma Import (C, xcb_grab_keyboard, "xcb_grab_keyboard");
pragma Import
(C, xcb_grab_keyboard_unchecked, "xcb_grab_keyboard_unchecked");
pragma Import (C, xcb_grab_keyboard_reply, "xcb_grab_keyboard_reply");
pragma Import
(C, xcb_ungrab_keyboard_checked, "xcb_ungrab_keyboard_checked");
pragma Import (C, xcb_ungrab_keyboard, "xcb_ungrab_keyboard");
pragma Import (C, xcb_grab_key_checked, "xcb_grab_key_checked");
pragma Import (C, xcb_grab_key, "xcb_grab_key");
pragma Import (C, xcb_ungrab_key_checked, "xcb_ungrab_key_checked");
pragma Import (C, xcb_ungrab_key, "xcb_ungrab_key");
pragma Import (C, xcb_allow_events_checked, "xcb_allow_events_checked");
pragma Import (C, xcb_allow_events, "xcb_allow_events");
pragma Import (C, xcb_grab_server_checked, "xcb_grab_server_checked");
pragma Import (C, xcb_grab_server, "xcb_grab_server");
pragma Import (C, xcb_ungrab_server_checked, "xcb_ungrab_server_checked");
pragma Import (C, xcb_ungrab_server, "xcb_ungrab_server");
pragma Import (C, xcb_query_pointer, "xcb_query_pointer");
pragma Import
(C, xcb_query_pointer_unchecked, "xcb_query_pointer_unchecked");
pragma Import (C, xcb_query_pointer_reply, "xcb_query_pointer_reply");
pragma Import (C, xcb_timecoord_next, "xcb_timecoord_next");
pragma Import (C, xcb_timecoord_end, "xcb_timecoord_end");
pragma Import
(C, xcb_get_motion_events_sizeof, "xcb_get_motion_events_sizeof");
pragma Import (C, xcb_get_motion_events, "xcb_get_motion_events");
pragma Import
(C, xcb_get_motion_events_unchecked, "xcb_get_motion_events_unchecked");
pragma Import
(C, xcb_get_motion_events_events, "xcb_get_motion_events_events");
pragma Import
(C,
xcb_get_motion_events_events_length,
"xcb_get_motion_events_events_length");
pragma Import
(C,
xcb_get_motion_events_events_iterator,
"xcb_get_motion_events_events_iterator");
pragma Import
(C, xcb_get_motion_events_reply, "xcb_get_motion_events_reply");
pragma Import (C, xcb_translate_coordinates, "xcb_translate_coordinates");
pragma Import
(C,
xcb_translate_coordinates_unchecked,
"xcb_translate_coordinates_unchecked");
pragma Import
(C, xcb_translate_coordinates_reply, "xcb_translate_coordinates_reply");
pragma Import (C, xcb_warp_pointer_checked, "xcb_warp_pointer_checked");
pragma Import (C, xcb_warp_pointer, "xcb_warp_pointer");
pragma Import
(C, xcb_set_input_focus_checked, "xcb_set_input_focus_checked");
pragma Import (C, xcb_set_input_focus, "xcb_set_input_focus");
pragma Import (C, xcb_get_input_focus, "xcb_get_input_focus");
pragma Import
(C, xcb_get_input_focus_unchecked, "xcb_get_input_focus_unchecked");
pragma Import (C, xcb_get_input_focus_reply, "xcb_get_input_focus_reply");
pragma Import (C, xcb_query_keymap, "xcb_query_keymap");
pragma Import (C, xcb_query_keymap_unchecked, "xcb_query_keymap_unchecked");
pragma Import (C, xcb_query_keymap_reply, "xcb_query_keymap_reply");
pragma Import (C, xcb_open_font_sizeof, "xcb_open_font_sizeof");
pragma Import (C, xcb_open_font_checked, "xcb_open_font_checked");
pragma Import (C, xcb_open_font, "xcb_open_font");
pragma Import (C, xcb_open_font_name, "xcb_open_font_name");
pragma Import (C, xcb_open_font_name_length, "xcb_open_font_name_length");
pragma Import (C, xcb_open_font_name_end, "xcb_open_font_name_end");
pragma Import (C, xcb_close_font_checked, "xcb_close_font_checked");
pragma Import (C, xcb_close_font, "xcb_close_font");
pragma Import (C, xcb_fontprop_next, "xcb_fontprop_next");
pragma Import (C, xcb_fontprop_end, "xcb_fontprop_end");
pragma Import (C, xcb_charinfo_next, "xcb_charinfo_next");
pragma Import (C, xcb_charinfo_end, "xcb_charinfo_end");
pragma Import (C, xcb_query_font_sizeof, "xcb_query_font_sizeof");
pragma Import (C, xcb_query_font, "xcb_query_font");
pragma Import (C, xcb_query_font_unchecked, "xcb_query_font_unchecked");
pragma Import (C, xcb_query_font_properties, "xcb_query_font_properties");
pragma Import
(C, xcb_query_font_properties_length, "xcb_query_font_properties_length");
pragma Import
(C,
xcb_query_font_properties_iterator,
"xcb_query_font_properties_iterator");
pragma Import (C, xcb_query_font_char_infos, "xcb_query_font_char_infos");
pragma Import
(C, xcb_query_font_char_infos_length, "xcb_query_font_char_infos_length");
pragma Import
(C,
xcb_query_font_char_infos_iterator,
"xcb_query_font_char_infos_iterator");
pragma Import (C, xcb_query_font_reply, "xcb_query_font_reply");
pragma Import
(C, xcb_query_text_extents_sizeof, "xcb_query_text_extents_sizeof");
pragma Import (C, xcb_query_text_extents, "xcb_query_text_extents");
pragma Import
(C, xcb_query_text_extents_unchecked, "xcb_query_text_extents_unchecked");
pragma Import
(C, xcb_query_text_extents_reply, "xcb_query_text_extents_reply");
pragma Import (C, xcb_str_sizeof, "xcb_str_sizeof");
pragma Import (C, xcb_str_name, "xcb_str_name");
pragma Import (C, xcb_str_name_length, "xcb_str_name_length");
pragma Import (C, xcb_str_name_end, "xcb_str_name_end");
pragma Import (C, xcb_str_next, "xcb_str_next");
pragma Import (C, xcb_str_end, "xcb_str_end");
pragma Import (C, xcb_list_fonts_sizeof, "xcb_list_fonts_sizeof");
pragma Import (C, xcb_list_fonts, "xcb_list_fonts");
pragma Import (C, xcb_list_fonts_unchecked, "xcb_list_fonts_unchecked");
pragma Import
(C, xcb_list_fonts_names_length, "xcb_list_fonts_names_length");
pragma Import
(C, xcb_list_fonts_names_iterator, "xcb_list_fonts_names_iterator");
pragma Import (C, xcb_list_fonts_reply, "xcb_list_fonts_reply");
pragma Import
(C, xcb_list_fonts_with_info_sizeof, "xcb_list_fonts_with_info_sizeof");
pragma Import (C, xcb_list_fonts_with_info, "xcb_list_fonts_with_info");
pragma Import
(C,
xcb_list_fonts_with_info_unchecked,
"xcb_list_fonts_with_info_unchecked");
pragma Import
(C,
xcb_list_fonts_with_info_properties,
"xcb_list_fonts_with_info_properties");
pragma Import
(C,
xcb_list_fonts_with_info_properties_length,
"xcb_list_fonts_with_info_properties_length");
pragma Import
(C,
xcb_list_fonts_with_info_properties_iterator,
"xcb_list_fonts_with_info_properties_iterator");
pragma Import
(C, xcb_list_fonts_with_info_name, "xcb_list_fonts_with_info_name");
pragma Import
(C,
xcb_list_fonts_with_info_name_length,
"xcb_list_fonts_with_info_name_length");
pragma Import
(C,
xcb_list_fonts_with_info_name_end,
"xcb_list_fonts_with_info_name_end");
pragma Import
(C, xcb_list_fonts_with_info_reply, "xcb_list_fonts_with_info_reply");
pragma Import (C, xcb_set_font_path_sizeof, "xcb_set_font_path_sizeof");
pragma Import (C, xcb_set_font_path_checked, "xcb_set_font_path_checked");
pragma Import (C, xcb_set_font_path, "xcb_set_font_path");
pragma Import
(C, xcb_set_font_path_font_length, "xcb_set_font_path_font_length");
pragma Import
(C, xcb_set_font_path_font_iterator, "xcb_set_font_path_font_iterator");
pragma Import (C, xcb_get_font_path_sizeof, "xcb_get_font_path_sizeof");
pragma Import (C, xcb_get_font_path, "xcb_get_font_path");
pragma Import
(C, xcb_get_font_path_unchecked, "xcb_get_font_path_unchecked");
pragma Import
(C, xcb_get_font_path_path_length, "xcb_get_font_path_path_length");
pragma Import
(C, xcb_get_font_path_path_iterator, "xcb_get_font_path_path_iterator");
pragma Import (C, xcb_get_font_path_reply, "xcb_get_font_path_reply");
pragma Import (C, xcb_create_pixmap_checked, "xcb_create_pixmap_checked");
pragma Import (C, xcb_create_pixmap, "xcb_create_pixmap");
pragma Import (C, xcb_free_pixmap_checked, "xcb_free_pixmap_checked");
pragma Import (C, xcb_free_pixmap, "xcb_free_pixmap");
pragma Import
(C,
xcb_create_gc_value_list_serialize,
"xcb_create_gc_value_list_serialize");
pragma Import
(C, xcb_create_gc_value_list_unpack, "xcb_create_gc_value_list_unpack");
pragma Import
(C, xcb_create_gc_value_list_sizeof, "xcb_create_gc_value_list_sizeof");
pragma Import (C, xcb_create_gc_sizeof, "xcb_create_gc_sizeof");
pragma Import (C, xcb_create_gc_checked, "xcb_create_gc_checked");
pragma Import (C, xcb_create_gc, "xcb_create_gc");
pragma Import (C, xcb_create_gc_aux_checked, "xcb_create_gc_aux_checked");
pragma Import (C, xcb_create_gc_aux, "xcb_create_gc_aux");
pragma Import (C, xcb_create_gc_value_list, "xcb_create_gc_value_list");
pragma Import
(C,
xcb_change_gc_value_list_serialize,
"xcb_change_gc_value_list_serialize");
pragma Import
(C, xcb_change_gc_value_list_unpack, "xcb_change_gc_value_list_unpack");
pragma Import
(C, xcb_change_gc_value_list_sizeof, "xcb_change_gc_value_list_sizeof");
pragma Import (C, xcb_change_gc_sizeof, "xcb_change_gc_sizeof");
pragma Import (C, xcb_change_gc_checked, "xcb_change_gc_checked");
pragma Import (C, xcb_change_gc, "xcb_change_gc");
pragma Import (C, xcb_change_gc_aux_checked, "xcb_change_gc_aux_checked");
pragma Import (C, xcb_change_gc_aux, "xcb_change_gc_aux");
pragma Import (C, xcb_change_gc_value_list, "xcb_change_gc_value_list");
pragma Import (C, xcb_copy_gc_checked, "xcb_copy_gc_checked");
pragma Import (C, xcb_copy_gc, "xcb_copy_gc");
pragma Import (C, xcb_set_dashes_sizeof, "xcb_set_dashes_sizeof");
pragma Import (C, xcb_set_dashes_checked, "xcb_set_dashes_checked");
pragma Import (C, xcb_set_dashes, "xcb_set_dashes");
pragma Import (C, xcb_set_dashes_dashes, "xcb_set_dashes_dashes");
pragma Import
(C, xcb_set_dashes_dashes_length, "xcb_set_dashes_dashes_length");
pragma Import (C, xcb_set_dashes_dashes_end, "xcb_set_dashes_dashes_end");
pragma Import
(C, xcb_set_clip_rectangles_sizeof, "xcb_set_clip_rectangles_sizeof");
pragma Import
(C, xcb_set_clip_rectangles_checked, "xcb_set_clip_rectangles_checked");
pragma Import (C, xcb_set_clip_rectangles, "xcb_set_clip_rectangles");
pragma Import
(C,
xcb_set_clip_rectangles_rectangles,
"xcb_set_clip_rectangles_rectangles");
pragma Import
(C,
xcb_set_clip_rectangles_rectangles_length,
"xcb_set_clip_rectangles_rectangles_length");
pragma Import
(C,
xcb_set_clip_rectangles_rectangles_iterator,
"xcb_set_clip_rectangles_rectangles_iterator");
pragma Import (C, xcb_free_gc_checked, "xcb_free_gc_checked");
pragma Import (C, xcb_free_gc, "xcb_free_gc");
pragma Import (C, xcb_clear_area_checked, "xcb_clear_area_checked");
pragma Import (C, xcb_clear_area, "xcb_clear_area");
pragma Import (C, xcb_copy_area_checked, "xcb_copy_area_checked");
pragma Import (C, xcb_copy_area, "xcb_copy_area");
pragma Import (C, xcb_copy_plane_checked, "xcb_copy_plane_checked");
pragma Import (C, xcb_copy_plane, "xcb_copy_plane");
pragma Import (C, xcb_poly_point_sizeof, "xcb_poly_point_sizeof");
pragma Import (C, xcb_poly_point_checked, "xcb_poly_point_checked");
pragma Import (C, xcb_poly_point, "xcb_poly_point");
pragma Import (C, xcb_poly_point_points, "xcb_poly_point_points");
pragma Import
(C, xcb_poly_point_points_length, "xcb_poly_point_points_length");
pragma Import
(C, xcb_poly_point_points_iterator, "xcb_poly_point_points_iterator");
pragma Import (C, xcb_poly_line_sizeof, "xcb_poly_line_sizeof");
pragma Import (C, xcb_poly_line_checked, "xcb_poly_line_checked");
pragma Import (C, xcb_poly_line, "xcb_poly_line");
pragma Import (C, xcb_poly_line_points, "xcb_poly_line_points");
pragma Import
(C, xcb_poly_line_points_length, "xcb_poly_line_points_length");
pragma Import
(C, xcb_poly_line_points_iterator, "xcb_poly_line_points_iterator");
pragma Import (C, xcb_segment_next, "xcb_segment_next");
pragma Import (C, xcb_segment_end, "xcb_segment_end");
pragma Import (C, xcb_poly_segment_sizeof, "xcb_poly_segment_sizeof");
pragma Import (C, xcb_poly_segment_checked, "xcb_poly_segment_checked");
pragma Import (C, xcb_poly_segment, "xcb_poly_segment");
pragma Import (C, xcb_poly_segment_segments, "xcb_poly_segment_segments");
pragma Import
(C, xcb_poly_segment_segments_length, "xcb_poly_segment_segments_length");
pragma Import
(C,
xcb_poly_segment_segments_iterator,
"xcb_poly_segment_segments_iterator");
pragma Import (C, xcb_poly_rectangle_sizeof, "xcb_poly_rectangle_sizeof");
pragma Import (C, xcb_poly_rectangle_checked, "xcb_poly_rectangle_checked");
pragma Import (C, xcb_poly_rectangle, "xcb_poly_rectangle");
pragma Import
(C, xcb_poly_rectangle_rectangles, "xcb_poly_rectangle_rectangles");
pragma Import
(C,
xcb_poly_rectangle_rectangles_length,
"xcb_poly_rectangle_rectangles_length");
pragma Import
(C,
xcb_poly_rectangle_rectangles_iterator,
"xcb_poly_rectangle_rectangles_iterator");
pragma Import (C, xcb_poly_arc_sizeof, "xcb_poly_arc_sizeof");
pragma Import (C, xcb_poly_arc_checked, "xcb_poly_arc_checked");
pragma Import (C, xcb_poly_arc, "xcb_poly_arc");
pragma Import (C, xcb_poly_arc_arcs, "xcb_poly_arc_arcs");
pragma Import (C, xcb_poly_arc_arcs_length, "xcb_poly_arc_arcs_length");
pragma Import (C, xcb_poly_arc_arcs_iterator, "xcb_poly_arc_arcs_iterator");
pragma Import (C, xcb_fill_poly_sizeof, "xcb_fill_poly_sizeof");
pragma Import (C, xcb_fill_poly_checked, "xcb_fill_poly_checked");
pragma Import (C, xcb_fill_poly, "xcb_fill_poly");
pragma Import (C, xcb_fill_poly_points, "xcb_fill_poly_points");
pragma Import
(C, xcb_fill_poly_points_length, "xcb_fill_poly_points_length");
pragma Import
(C, xcb_fill_poly_points_iterator, "xcb_fill_poly_points_iterator");
pragma Import
(C, xcb_poly_fill_rectangle_sizeof, "xcb_poly_fill_rectangle_sizeof");
pragma Import
(C, xcb_poly_fill_rectangle_checked, "xcb_poly_fill_rectangle_checked");
pragma Import (C, xcb_poly_fill_rectangle, "xcb_poly_fill_rectangle");
pragma Import
(C,
xcb_poly_fill_rectangle_rectangles,
"xcb_poly_fill_rectangle_rectangles");
pragma Import
(C,
xcb_poly_fill_rectangle_rectangles_length,
"xcb_poly_fill_rectangle_rectangles_length");
pragma Import
(C,
xcb_poly_fill_rectangle_rectangles_iterator,
"xcb_poly_fill_rectangle_rectangles_iterator");
pragma Import (C, xcb_poly_fill_arc_sizeof, "xcb_poly_fill_arc_sizeof");
pragma Import (C, xcb_poly_fill_arc_checked, "xcb_poly_fill_arc_checked");
pragma Import (C, xcb_poly_fill_arc, "xcb_poly_fill_arc");
pragma Import (C, xcb_poly_fill_arc_arcs, "xcb_poly_fill_arc_arcs");
pragma Import
(C, xcb_poly_fill_arc_arcs_length, "xcb_poly_fill_arc_arcs_length");
pragma Import
(C, xcb_poly_fill_arc_arcs_iterator, "xcb_poly_fill_arc_arcs_iterator");
pragma Import (C, xcb_put_image_sizeof, "xcb_put_image_sizeof");
pragma Import (C, xcb_put_image_checked, "xcb_put_image_checked");
pragma Import (C, xcb_put_image, "xcb_put_image");
pragma Import (C, xcb_put_image_data, "xcb_put_image_data");
pragma Import (C, xcb_put_image_data_length, "xcb_put_image_data_length");
pragma Import (C, xcb_put_image_data_end, "xcb_put_image_data_end");
pragma Import (C, xcb_get_image_sizeof, "xcb_get_image_sizeof");
pragma Import (C, xcb_get_image, "xcb_get_image");
pragma Import (C, xcb_get_image_unchecked, "xcb_get_image_unchecked");
pragma Import (C, xcb_get_image_data, "xcb_get_image_data");
pragma Import (C, xcb_get_image_data_length, "xcb_get_image_data_length");
pragma Import (C, xcb_get_image_data_end, "xcb_get_image_data_end");
pragma Import (C, xcb_get_image_reply, "xcb_get_image_reply");
pragma Import (C, xcb_poly_text_8_sizeof, "xcb_poly_text_8_sizeof");
pragma Import (C, xcb_poly_text_8_checked, "xcb_poly_text_8_checked");
pragma Import (C, xcb_poly_text_8, "xcb_poly_text_8");
pragma Import (C, xcb_poly_text_8_items, "xcb_poly_text_8_items");
pragma Import
(C, xcb_poly_text_8_items_length, "xcb_poly_text_8_items_length");
pragma Import (C, xcb_poly_text_8_items_end, "xcb_poly_text_8_items_end");
pragma Import (C, xcb_poly_text_16_sizeof, "xcb_poly_text_16_sizeof");
pragma Import (C, xcb_poly_text_16_checked, "xcb_poly_text_16_checked");
pragma Import (C, xcb_poly_text_16, "xcb_poly_text_16");
pragma Import (C, xcb_poly_text_16_items, "xcb_poly_text_16_items");
pragma Import
(C, xcb_poly_text_16_items_length, "xcb_poly_text_16_items_length");
pragma Import (C, xcb_poly_text_16_items_end, "xcb_poly_text_16_items_end");
pragma Import (C, xcb_image_text_8_sizeof, "xcb_image_text_8_sizeof");
pragma Import (C, xcb_image_text_8_checked, "xcb_image_text_8_checked");
pragma Import (C, xcb_image_text_8, "xcb_image_text_8");
pragma Import (C, xcb_image_text_8_string, "xcb_image_text_8_string");
pragma Import
(C, xcb_image_text_8_string_length, "xcb_image_text_8_string_length");
pragma Import
(C, xcb_image_text_8_string_end, "xcb_image_text_8_string_end");
pragma Import (C, xcb_image_text_16_sizeof, "xcb_image_text_16_sizeof");
pragma Import (C, xcb_image_text_16_checked, "xcb_image_text_16_checked");
pragma Import (C, xcb_image_text_16, "xcb_image_text_16");
pragma Import (C, xcb_image_text_16_string, "xcb_image_text_16_string");
pragma Import
(C, xcb_image_text_16_string_length, "xcb_image_text_16_string_length");
pragma Import
(C,
xcb_image_text_16_string_iterator,
"xcb_image_text_16_string_iterator");
pragma Import
(C, xcb_create_colormap_checked, "xcb_create_colormap_checked");
pragma Import (C, xcb_create_colormap, "xcb_create_colormap");
pragma Import (C, xcb_free_colormap_checked, "xcb_free_colormap_checked");
pragma Import (C, xcb_free_colormap, "xcb_free_colormap");
pragma Import
(C,
xcb_copy_colormap_and_free_checked,
"xcb_copy_colormap_and_free_checked");
pragma Import (C, xcb_copy_colormap_and_free, "xcb_copy_colormap_and_free");
pragma Import
(C, xcb_install_colormap_checked, "xcb_install_colormap_checked");
pragma Import (C, xcb_install_colormap, "xcb_install_colormap");
pragma Import
(C, xcb_uninstall_colormap_checked, "xcb_uninstall_colormap_checked");
pragma Import (C, xcb_uninstall_colormap, "xcb_uninstall_colormap");
pragma Import
(C,
xcb_list_installed_colormaps_sizeof,
"xcb_list_installed_colormaps_sizeof");
pragma Import
(C, xcb_list_installed_colormaps, "xcb_list_installed_colormaps");
pragma Import
(C,
xcb_list_installed_colormaps_unchecked,
"xcb_list_installed_colormaps_unchecked");
pragma Import
(C,
xcb_list_installed_colormaps_cmaps,
"xcb_list_installed_colormaps_cmaps");
pragma Import
(C,
xcb_list_installed_colormaps_cmaps_length,
"xcb_list_installed_colormaps_cmaps_length");
pragma Import
(C,
xcb_list_installed_colormaps_cmaps_end,
"xcb_list_installed_colormaps_cmaps_end");
pragma Import
(C,
xcb_list_installed_colormaps_reply,
"xcb_list_installed_colormaps_reply");
pragma Import (C, xcb_alloc_color, "xcb_alloc_color");
pragma Import (C, xcb_alloc_color_unchecked, "xcb_alloc_color_unchecked");
pragma Import (C, xcb_alloc_color_reply, "xcb_alloc_color_reply");
pragma Import
(C, xcb_alloc_named_color_sizeof, "xcb_alloc_named_color_sizeof");
pragma Import (C, xcb_alloc_named_color, "xcb_alloc_named_color");
pragma Import
(C, xcb_alloc_named_color_unchecked, "xcb_alloc_named_color_unchecked");
pragma Import
(C, xcb_alloc_named_color_reply, "xcb_alloc_named_color_reply");
pragma Import
(C, xcb_alloc_color_cells_sizeof, "xcb_alloc_color_cells_sizeof");
pragma Import (C, xcb_alloc_color_cells, "xcb_alloc_color_cells");
pragma Import
(C, xcb_alloc_color_cells_unchecked, "xcb_alloc_color_cells_unchecked");
pragma Import
(C, xcb_alloc_color_cells_pixels, "xcb_alloc_color_cells_pixels");
pragma Import
(C,
xcb_alloc_color_cells_pixels_length,
"xcb_alloc_color_cells_pixels_length");
pragma Import
(C, xcb_alloc_color_cells_pixels_end, "xcb_alloc_color_cells_pixels_end");
pragma Import
(C, xcb_alloc_color_cells_masks, "xcb_alloc_color_cells_masks");
pragma Import
(C,
xcb_alloc_color_cells_masks_length,
"xcb_alloc_color_cells_masks_length");
pragma Import
(C, xcb_alloc_color_cells_masks_end, "xcb_alloc_color_cells_masks_end");
pragma Import
(C, xcb_alloc_color_cells_reply, "xcb_alloc_color_cells_reply");
pragma Import
(C, xcb_alloc_color_planes_sizeof, "xcb_alloc_color_planes_sizeof");
pragma Import (C, xcb_alloc_color_planes, "xcb_alloc_color_planes");
pragma Import
(C, xcb_alloc_color_planes_unchecked, "xcb_alloc_color_planes_unchecked");
pragma Import
(C, xcb_alloc_color_planes_pixels, "xcb_alloc_color_planes_pixels");
pragma Import
(C,
xcb_alloc_color_planes_pixels_length,
"xcb_alloc_color_planes_pixels_length");
pragma Import
(C,
xcb_alloc_color_planes_pixels_end,
"xcb_alloc_color_planes_pixels_end");
pragma Import
(C, xcb_alloc_color_planes_reply, "xcb_alloc_color_planes_reply");
pragma Import (C, xcb_free_colors_sizeof, "xcb_free_colors_sizeof");
pragma Import (C, xcb_free_colors_checked, "xcb_free_colors_checked");
pragma Import (C, xcb_free_colors, "xcb_free_colors");
pragma Import (C, xcb_free_colors_pixels, "xcb_free_colors_pixels");
pragma Import
(C, xcb_free_colors_pixels_length, "xcb_free_colors_pixels_length");
pragma Import (C, xcb_free_colors_pixels_end, "xcb_free_colors_pixels_end");
pragma Import (C, xcb_coloritem_next, "xcb_coloritem_next");
pragma Import (C, xcb_coloritem_end, "xcb_coloritem_end");
pragma Import (C, xcb_store_colors_sizeof, "xcb_store_colors_sizeof");
pragma Import (C, xcb_store_colors_checked, "xcb_store_colors_checked");
pragma Import (C, xcb_store_colors, "xcb_store_colors");
pragma Import (C, xcb_store_colors_items, "xcb_store_colors_items");
pragma Import
(C, xcb_store_colors_items_length, "xcb_store_colors_items_length");
pragma Import
(C, xcb_store_colors_items_iterator, "xcb_store_colors_items_iterator");
pragma Import
(C, xcb_store_named_color_sizeof, "xcb_store_named_color_sizeof");
pragma Import
(C, xcb_store_named_color_checked, "xcb_store_named_color_checked");
pragma Import (C, xcb_store_named_color, "xcb_store_named_color");
pragma Import (C, xcb_store_named_color_name, "xcb_store_named_color_name");
pragma Import
(C,
xcb_store_named_color_name_length,
"xcb_store_named_color_name_length");
pragma Import
(C, xcb_store_named_color_name_end, "xcb_store_named_color_name_end");
pragma Import (C, xcb_rgb_next, "xcb_rgb_next");
pragma Import (C, xcb_rgb_end, "xcb_rgb_end");
pragma Import (C, xcb_query_colors_sizeof, "xcb_query_colors_sizeof");
pragma Import (C, xcb_query_colors, "xcb_query_colors");
pragma Import (C, xcb_query_colors_unchecked, "xcb_query_colors_unchecked");
pragma Import (C, xcb_query_colors_colors, "xcb_query_colors_colors");
pragma Import
(C, xcb_query_colors_colors_length, "xcb_query_colors_colors_length");
pragma Import
(C, xcb_query_colors_colors_iterator, "xcb_query_colors_colors_iterator");
pragma Import (C, xcb_query_colors_reply, "xcb_query_colors_reply");
pragma Import (C, xcb_lookup_color_sizeof, "xcb_lookup_color_sizeof");
pragma Import (C, xcb_lookup_color, "xcb_lookup_color");
pragma Import (C, xcb_lookup_color_unchecked, "xcb_lookup_color_unchecked");
pragma Import (C, xcb_lookup_color_reply, "xcb_lookup_color_reply");
pragma Import (C, xcb_create_cursor_checked, "xcb_create_cursor_checked");
pragma Import (C, xcb_create_cursor, "xcb_create_cursor");
pragma Import
(C, xcb_create_glyph_cursor_checked, "xcb_create_glyph_cursor_checked");
pragma Import (C, xcb_create_glyph_cursor, "xcb_create_glyph_cursor");
pragma Import (C, xcb_free_cursor_checked, "xcb_free_cursor_checked");
pragma Import (C, xcb_free_cursor, "xcb_free_cursor");
pragma Import (C, xcb_recolor_cursor_checked, "xcb_recolor_cursor_checked");
pragma Import (C, xcb_recolor_cursor, "xcb_recolor_cursor");
pragma Import (C, xcb_query_best_size, "xcb_query_best_size");
pragma Import
(C, xcb_query_best_size_unchecked, "xcb_query_best_size_unchecked");
pragma Import (C, xcb_query_best_size_reply, "xcb_query_best_size_reply");
pragma Import (C, xcb_query_extension_sizeof, "xcb_query_extension_sizeof");
pragma Import (C, xcb_query_extension, "xcb_query_extension");
pragma Import
(C, xcb_query_extension_unchecked, "xcb_query_extension_unchecked");
pragma Import (C, xcb_query_extension_reply, "xcb_query_extension_reply");
pragma Import (C, xcb_list_extensions_sizeof, "xcb_list_extensions_sizeof");
pragma Import (C, xcb_list_extensions, "xcb_list_extensions");
pragma Import
(C, xcb_list_extensions_unchecked, "xcb_list_extensions_unchecked");
pragma Import
(C, xcb_list_extensions_names_length, "xcb_list_extensions_names_length");
pragma Import
(C,
xcb_list_extensions_names_iterator,
"xcb_list_extensions_names_iterator");
pragma Import (C, xcb_list_extensions_reply, "xcb_list_extensions_reply");
pragma Import
(C,
xcb_change_keyboard_mapping_sizeof,
"xcb_change_keyboard_mapping_sizeof");
pragma Import
(C,
xcb_change_keyboard_mapping_checked,
"xcb_change_keyboard_mapping_checked");
pragma Import
(C, xcb_change_keyboard_mapping, "xcb_change_keyboard_mapping");
pragma Import
(C,
xcb_change_keyboard_mapping_keysyms,
"xcb_change_keyboard_mapping_keysyms");
pragma Import
(C,
xcb_change_keyboard_mapping_keysyms_length,
"xcb_change_keyboard_mapping_keysyms_length");
pragma Import
(C,
xcb_change_keyboard_mapping_keysyms_end,
"xcb_change_keyboard_mapping_keysyms_end");
pragma Import
(C, xcb_get_keyboard_mapping_sizeof, "xcb_get_keyboard_mapping_sizeof");
pragma Import (C, xcb_get_keyboard_mapping, "xcb_get_keyboard_mapping");
pragma Import
(C,
xcb_get_keyboard_mapping_unchecked,
"xcb_get_keyboard_mapping_unchecked");
pragma Import
(C, xcb_get_keyboard_mapping_keysyms, "xcb_get_keyboard_mapping_keysyms");
pragma Import
(C,
xcb_get_keyboard_mapping_keysyms_length,
"xcb_get_keyboard_mapping_keysyms_length");
pragma Import
(C,
xcb_get_keyboard_mapping_keysyms_end,
"xcb_get_keyboard_mapping_keysyms_end");
pragma Import
(C, xcb_get_keyboard_mapping_reply, "xcb_get_keyboard_mapping_reply");
pragma Import
(C,
xcb_change_keyboard_control_value_list_serialize,
"xcb_change_keyboard_control_value_list_serialize");
pragma Import
(C,
xcb_change_keyboard_control_value_list_unpack,
"xcb_change_keyboard_control_value_list_unpack");
pragma Import
(C,
xcb_change_keyboard_control_value_list_sizeof,
"xcb_change_keyboard_control_value_list_sizeof");
pragma Import
(C,
xcb_change_keyboard_control_sizeof,
"xcb_change_keyboard_control_sizeof");
pragma Import
(C,
xcb_change_keyboard_control_checked,
"xcb_change_keyboard_control_checked");
pragma Import
(C, xcb_change_keyboard_control, "xcb_change_keyboard_control");
pragma Import
(C,
xcb_change_keyboard_control_aux_checked,
"xcb_change_keyboard_control_aux_checked");
pragma Import
(C, xcb_change_keyboard_control_aux, "xcb_change_keyboard_control_aux");
pragma Import
(C,
xcb_change_keyboard_control_value_list,
"xcb_change_keyboard_control_value_list");
pragma Import (C, xcb_get_keyboard_control, "xcb_get_keyboard_control");
pragma Import
(C,
xcb_get_keyboard_control_unchecked,
"xcb_get_keyboard_control_unchecked");
pragma Import
(C, xcb_get_keyboard_control_reply, "xcb_get_keyboard_control_reply");
pragma Import (C, xcb_bell_checked, "xcb_bell_checked");
pragma Import (C, xcb_bell, "xcb_bell");
pragma Import
(C,
xcb_change_pointer_control_checked,
"xcb_change_pointer_control_checked");
pragma Import (C, xcb_change_pointer_control, "xcb_change_pointer_control");
pragma Import (C, xcb_get_pointer_control, "xcb_get_pointer_control");
pragma Import
(C,
xcb_get_pointer_control_unchecked,
"xcb_get_pointer_control_unchecked");
pragma Import
(C, xcb_get_pointer_control_reply, "xcb_get_pointer_control_reply");
pragma Import
(C, xcb_set_screen_saver_checked, "xcb_set_screen_saver_checked");
pragma Import (C, xcb_set_screen_saver, "xcb_set_screen_saver");
pragma Import (C, xcb_get_screen_saver, "xcb_get_screen_saver");
pragma Import
(C, xcb_get_screen_saver_unchecked, "xcb_get_screen_saver_unchecked");
pragma Import (C, xcb_get_screen_saver_reply, "xcb_get_screen_saver_reply");
pragma Import (C, xcb_change_hosts_sizeof, "xcb_change_hosts_sizeof");
pragma Import (C, xcb_change_hosts_checked, "xcb_change_hosts_checked");
pragma Import (C, xcb_change_hosts, "xcb_change_hosts");
pragma Import (C, xcb_change_hosts_address, "xcb_change_hosts_address");
pragma Import
(C, xcb_change_hosts_address_length, "xcb_change_hosts_address_length");
pragma Import
(C, xcb_change_hosts_address_end, "xcb_change_hosts_address_end");
pragma Import (C, xcb_host_sizeof, "xcb_host_sizeof");
pragma Import (C, xcb_host_address, "xcb_host_address");
pragma Import (C, xcb_host_address_length, "xcb_host_address_length");
pragma Import (C, xcb_host_address_end, "xcb_host_address_end");
pragma Import (C, xcb_host_next, "xcb_host_next");
pragma Import (C, xcb_host_end, "xcb_host_end");
pragma Import (C, xcb_list_hosts_sizeof, "xcb_list_hosts_sizeof");
pragma Import (C, xcb_list_hosts, "xcb_list_hosts");
pragma Import (C, xcb_list_hosts_unchecked, "xcb_list_hosts_unchecked");
pragma Import
(C, xcb_list_hosts_hosts_length, "xcb_list_hosts_hosts_length");
pragma Import
(C, xcb_list_hosts_hosts_iterator, "xcb_list_hosts_hosts_iterator");
pragma Import (C, xcb_list_hosts_reply, "xcb_list_hosts_reply");
pragma Import
(C, xcb_set_access_control_checked, "xcb_set_access_control_checked");
pragma Import (C, xcb_set_access_control, "xcb_set_access_control");
pragma Import
(C, xcb_set_close_down_mode_checked, "xcb_set_close_down_mode_checked");
pragma Import (C, xcb_set_close_down_mode, "xcb_set_close_down_mode");
pragma Import (C, xcb_kill_client_checked, "xcb_kill_client_checked");
pragma Import (C, xcb_kill_client, "xcb_kill_client");
pragma Import
(C, xcb_rotate_properties_sizeof, "xcb_rotate_properties_sizeof");
pragma Import
(C, xcb_rotate_properties_checked, "xcb_rotate_properties_checked");
pragma Import (C, xcb_rotate_properties, "xcb_rotate_properties");
pragma Import
(C, xcb_rotate_properties_atoms, "xcb_rotate_properties_atoms");
pragma Import
(C,
xcb_rotate_properties_atoms_length,
"xcb_rotate_properties_atoms_length");
pragma Import
(C, xcb_rotate_properties_atoms_end, "xcb_rotate_properties_atoms_end");
pragma Import
(C, xcb_force_screen_saver_checked, "xcb_force_screen_saver_checked");
pragma Import (C, xcb_force_screen_saver, "xcb_force_screen_saver");
pragma Import
(C, xcb_set_pointer_mapping_sizeof, "xcb_set_pointer_mapping_sizeof");
pragma Import (C, xcb_set_pointer_mapping, "xcb_set_pointer_mapping");
pragma Import
(C,
xcb_set_pointer_mapping_unchecked,
"xcb_set_pointer_mapping_unchecked");
pragma Import
(C, xcb_set_pointer_mapping_reply, "xcb_set_pointer_mapping_reply");
pragma Import
(C, xcb_get_pointer_mapping_sizeof, "xcb_get_pointer_mapping_sizeof");
pragma Import (C, xcb_get_pointer_mapping, "xcb_get_pointer_mapping");
pragma Import
(C,
xcb_get_pointer_mapping_unchecked,
"xcb_get_pointer_mapping_unchecked");
pragma Import
(C, xcb_get_pointer_mapping_map, "xcb_get_pointer_mapping_map");
pragma Import
(C,
xcb_get_pointer_mapping_map_length,
"xcb_get_pointer_mapping_map_length");
pragma Import
(C, xcb_get_pointer_mapping_map_end, "xcb_get_pointer_mapping_map_end");
pragma Import
(C, xcb_get_pointer_mapping_reply, "xcb_get_pointer_mapping_reply");
pragma Import
(C, xcb_set_modifier_mapping_sizeof, "xcb_set_modifier_mapping_sizeof");
pragma Import (C, xcb_set_modifier_mapping, "xcb_set_modifier_mapping");
pragma Import
(C,
xcb_set_modifier_mapping_unchecked,
"xcb_set_modifier_mapping_unchecked");
pragma Import
(C, xcb_set_modifier_mapping_reply, "xcb_set_modifier_mapping_reply");
pragma Import
(C, xcb_get_modifier_mapping_sizeof, "xcb_get_modifier_mapping_sizeof");
pragma Import (C, xcb_get_modifier_mapping, "xcb_get_modifier_mapping");
pragma Import
(C,
xcb_get_modifier_mapping_unchecked,
"xcb_get_modifier_mapping_unchecked");
pragma Import
(C,
xcb_get_modifier_mapping_keycodes,
"xcb_get_modifier_mapping_keycodes");
pragma Import
(C,
xcb_get_modifier_mapping_keycodes_length,
"xcb_get_modifier_mapping_keycodes_length");
pragma Import
(C,
xcb_get_modifier_mapping_keycodes_end,
"xcb_get_modifier_mapping_keycodes_end");
pragma Import
(C, xcb_get_modifier_mapping_reply, "xcb_get_modifier_mapping_reply");
pragma Import (C, xcb_no_operation_checked, "xcb_no_operation_checked");
pragma Import (C, xcb_no_operation, "xcb_no_operation");
pragma Import (C, xcb_big_requests_enable, "xcb_big_requests_enable");
pragma Import
(C,
xcb_big_requests_enable_unchecked,
"xcb_big_requests_enable_unchecked");
pragma Import
(C, xcb_big_requests_enable_reply, "xcb_big_requests_enable_reply");
pragma Import (C, xcb_render_glyph_next, "xcb_render_glyph_next");
pragma Import (C, xcb_render_glyph_end, "xcb_render_glyph_end");
pragma Import (C, xcb_render_glyphset_next, "xcb_render_glyphset_next");
pragma Import (C, xcb_render_glyphset_end, "xcb_render_glyphset_end");
pragma Import (C, xcb_render_picture_next, "xcb_render_picture_next");
pragma Import (C, xcb_render_picture_end, "xcb_render_picture_end");
pragma Import (C, xcb_render_pictformat_next, "xcb_render_pictformat_next");
pragma Import (C, xcb_render_pictformat_end, "xcb_render_pictformat_end");
pragma Import (C, xcb_render_fixed_next, "xcb_render_fixed_next");
pragma Import (C, xcb_render_fixed_end, "xcb_render_fixed_end");
pragma Import
(C, xcb_render_directformat_next, "xcb_render_directformat_next");
pragma Import
(C, xcb_render_directformat_end, "xcb_render_directformat_end");
pragma Import
(C, xcb_render_pictforminfo_next, "xcb_render_pictforminfo_next");
pragma Import
(C, xcb_render_pictforminfo_end, "xcb_render_pictforminfo_end");
pragma Import (C, xcb_render_pictvisual_next, "xcb_render_pictvisual_next");
pragma Import (C, xcb_render_pictvisual_end, "xcb_render_pictvisual_end");
pragma Import
(C, xcb_render_pictdepth_sizeof, "xcb_render_pictdepth_sizeof");
pragma Import
(C, xcb_render_pictdepth_visuals, "xcb_render_pictdepth_visuals");
pragma Import
(C,
xcb_render_pictdepth_visuals_length,
"xcb_render_pictdepth_visuals_length");
pragma Import
(C,
xcb_render_pictdepth_visuals_iterator,
"xcb_render_pictdepth_visuals_iterator");
pragma Import (C, xcb_render_pictdepth_next, "xcb_render_pictdepth_next");
pragma Import (C, xcb_render_pictdepth_end, "xcb_render_pictdepth_end");
pragma Import
(C, xcb_render_pictscreen_sizeof, "xcb_render_pictscreen_sizeof");
pragma Import
(C,
xcb_render_pictscreen_depths_length,
"xcb_render_pictscreen_depths_length");
pragma Import
(C,
xcb_render_pictscreen_depths_iterator,
"xcb_render_pictscreen_depths_iterator");
pragma Import (C, xcb_render_pictscreen_next, "xcb_render_pictscreen_next");
pragma Import (C, xcb_render_pictscreen_end, "xcb_render_pictscreen_end");
pragma Import (C, xcb_render_indexvalue_next, "xcb_render_indexvalue_next");
pragma Import (C, xcb_render_indexvalue_end, "xcb_render_indexvalue_end");
pragma Import (C, xcb_render_color_next, "xcb_render_color_next");
pragma Import (C, xcb_render_color_end, "xcb_render_color_end");
pragma Import (C, xcb_render_pointfix_next, "xcb_render_pointfix_next");
pragma Import (C, xcb_render_pointfix_end, "xcb_render_pointfix_end");
pragma Import (C, xcb_render_linefix_next, "xcb_render_linefix_next");
pragma Import (C, xcb_render_linefix_end, "xcb_render_linefix_end");
pragma Import (C, xcb_render_triangle_next, "xcb_render_triangle_next");
pragma Import (C, xcb_render_triangle_end, "xcb_render_triangle_end");
pragma Import (C, xcb_render_trapezoid_next, "xcb_render_trapezoid_next");
pragma Import (C, xcb_render_trapezoid_end, "xcb_render_trapezoid_end");
pragma Import (C, xcb_render_glyphinfo_next, "xcb_render_glyphinfo_next");
pragma Import (C, xcb_render_glyphinfo_end, "xcb_render_glyphinfo_end");
pragma Import (C, xcb_render_query_version, "xcb_render_query_version");
pragma Import
(C,
xcb_render_query_version_unchecked,
"xcb_render_query_version_unchecked");
pragma Import
(C, xcb_render_query_version_reply, "xcb_render_query_version_reply");
pragma Import
(C,
xcb_render_query_pict_formats_sizeof,
"xcb_render_query_pict_formats_sizeof");
pragma Import
(C, xcb_render_query_pict_formats, "xcb_render_query_pict_formats");
pragma Import
(C,
xcb_render_query_pict_formats_unchecked,
"xcb_render_query_pict_formats_unchecked");
pragma Import
(C,
xcb_render_query_pict_formats_formats,
"xcb_render_query_pict_formats_formats");
pragma Import
(C,
xcb_render_query_pict_formats_formats_length,
"xcb_render_query_pict_formats_formats_length");
pragma Import
(C,
xcb_render_query_pict_formats_formats_iterator,
"xcb_render_query_pict_formats_formats_iterator");
pragma Import
(C,
xcb_render_query_pict_formats_screens_length,
"xcb_render_query_pict_formats_screens_length");
pragma Import
(C,
xcb_render_query_pict_formats_screens_iterator,
"xcb_render_query_pict_formats_screens_iterator");
pragma Import
(C,
xcb_render_query_pict_formats_subpixels,
"xcb_render_query_pict_formats_subpixels");
pragma Import
(C,
xcb_render_query_pict_formats_subpixels_length,
"xcb_render_query_pict_formats_subpixels_length");
pragma Import
(C,
xcb_render_query_pict_formats_subpixels_end,
"xcb_render_query_pict_formats_subpixels_end");
pragma Import
(C,
xcb_render_query_pict_formats_reply,
"xcb_render_query_pict_formats_reply");
pragma Import
(C,
xcb_render_query_pict_index_values_sizeof,
"xcb_render_query_pict_index_values_sizeof");
pragma Import
(C,
xcb_render_query_pict_index_values,
"xcb_render_query_pict_index_values");
pragma Import
(C,
xcb_render_query_pict_index_values_unchecked,
"xcb_render_query_pict_index_values_unchecked");
pragma Import
(C,
xcb_render_query_pict_index_values_values,
"xcb_render_query_pict_index_values_values");
pragma Import
(C,
xcb_render_query_pict_index_values_values_length,
"xcb_render_query_pict_index_values_values_length");
pragma Import
(C,
xcb_render_query_pict_index_values_values_iterator,
"xcb_render_query_pict_index_values_values_iterator");
pragma Import
(C,
xcb_render_query_pict_index_values_reply,
"xcb_render_query_pict_index_values_reply");
pragma Import
(C,
xcb_render_create_picture_value_list_serialize,
"xcb_render_create_picture_value_list_serialize");
pragma Import
(C,
xcb_render_create_picture_value_list_unpack,
"xcb_render_create_picture_value_list_unpack");
pragma Import
(C,
xcb_render_create_picture_value_list_sizeof,
"xcb_render_create_picture_value_list_sizeof");
pragma Import
(C, xcb_render_create_picture_sizeof, "xcb_render_create_picture_sizeof");
pragma Import
(C,
xcb_render_create_picture_checked,
"xcb_render_create_picture_checked");
pragma Import (C, xcb_render_create_picture, "xcb_render_create_picture");
pragma Import
(C,
xcb_render_create_picture_aux_checked,
"xcb_render_create_picture_aux_checked");
pragma Import
(C, xcb_render_create_picture_aux, "xcb_render_create_picture_aux");
pragma Import
(C,
xcb_render_create_picture_value_list,
"xcb_render_create_picture_value_list");
pragma Import
(C,
xcb_render_change_picture_value_list_serialize,
"xcb_render_change_picture_value_list_serialize");
pragma Import
(C,
xcb_render_change_picture_value_list_unpack,
"xcb_render_change_picture_value_list_unpack");
pragma Import
(C,
xcb_render_change_picture_value_list_sizeof,
"xcb_render_change_picture_value_list_sizeof");
pragma Import
(C, xcb_render_change_picture_sizeof, "xcb_render_change_picture_sizeof");
pragma Import
(C,
xcb_render_change_picture_checked,
"xcb_render_change_picture_checked");
pragma Import (C, xcb_render_change_picture, "xcb_render_change_picture");
pragma Import
(C,
xcb_render_change_picture_aux_checked,
"xcb_render_change_picture_aux_checked");
pragma Import
(C, xcb_render_change_picture_aux, "xcb_render_change_picture_aux");
pragma Import
(C,
xcb_render_change_picture_value_list,
"xcb_render_change_picture_value_list");
pragma Import
(C,
xcb_render_set_picture_clip_rectangles_sizeof,
"xcb_render_set_picture_clip_rectangles_sizeof");
pragma Import
(C,
xcb_render_set_picture_clip_rectangles_checked,
"xcb_render_set_picture_clip_rectangles_checked");
pragma Import
(C,
xcb_render_set_picture_clip_rectangles,
"xcb_render_set_picture_clip_rectangles");
pragma Import
(C,
xcb_render_set_picture_clip_rectangles_rectangles,
"xcb_render_set_picture_clip_rectangles_rectangles");
pragma Import
(C,
xcb_render_set_picture_clip_rectangles_rectangles_length,
"xcb_render_set_picture_clip_rectangles_rectangles_length");
pragma Import
(C,
xcb_render_set_picture_clip_rectangles_rectangles_iterator,
"xcb_render_set_picture_clip_rectangles_rectangles_iterator");
pragma Import
(C, xcb_render_free_picture_checked, "xcb_render_free_picture_checked");
pragma Import (C, xcb_render_free_picture, "xcb_render_free_picture");
pragma Import
(C, xcb_render_composite_checked, "xcb_render_composite_checked");
pragma Import (C, xcb_render_composite, "xcb_render_composite");
pragma Import
(C, xcb_render_trapezoids_sizeof, "xcb_render_trapezoids_sizeof");
pragma Import
(C, xcb_render_trapezoids_checked, "xcb_render_trapezoids_checked");
pragma Import (C, xcb_render_trapezoids, "xcb_render_trapezoids");
pragma Import
(C, xcb_render_trapezoids_traps, "xcb_render_trapezoids_traps");
pragma Import
(C,
xcb_render_trapezoids_traps_length,
"xcb_render_trapezoids_traps_length");
pragma Import
(C,
xcb_render_trapezoids_traps_iterator,
"xcb_render_trapezoids_traps_iterator");
pragma Import
(C, xcb_render_triangles_sizeof, "xcb_render_triangles_sizeof");
pragma Import
(C, xcb_render_triangles_checked, "xcb_render_triangles_checked");
pragma Import (C, xcb_render_triangles, "xcb_render_triangles");
pragma Import
(C, xcb_render_triangles_triangles, "xcb_render_triangles_triangles");
pragma Import
(C,
xcb_render_triangles_triangles_length,
"xcb_render_triangles_triangles_length");
pragma Import
(C,
xcb_render_triangles_triangles_iterator,
"xcb_render_triangles_triangles_iterator");
pragma Import
(C, xcb_render_tri_strip_sizeof, "xcb_render_tri_strip_sizeof");
pragma Import
(C, xcb_render_tri_strip_checked, "xcb_render_tri_strip_checked");
pragma Import (C, xcb_render_tri_strip, "xcb_render_tri_strip");
pragma Import
(C, xcb_render_tri_strip_points, "xcb_render_tri_strip_points");
pragma Import
(C,
xcb_render_tri_strip_points_length,
"xcb_render_tri_strip_points_length");
pragma Import
(C,
xcb_render_tri_strip_points_iterator,
"xcb_render_tri_strip_points_iterator");
pragma Import (C, xcb_render_tri_fan_sizeof, "xcb_render_tri_fan_sizeof");
pragma Import (C, xcb_render_tri_fan_checked, "xcb_render_tri_fan_checked");
pragma Import (C, xcb_render_tri_fan, "xcb_render_tri_fan");
pragma Import (C, xcb_render_tri_fan_points, "xcb_render_tri_fan_points");
pragma Import
(C, xcb_render_tri_fan_points_length, "xcb_render_tri_fan_points_length");
pragma Import
(C,
xcb_render_tri_fan_points_iterator,
"xcb_render_tri_fan_points_iterator");
pragma Import
(C,
xcb_render_create_glyph_set_checked,
"xcb_render_create_glyph_set_checked");
pragma Import
(C, xcb_render_create_glyph_set, "xcb_render_create_glyph_set");
pragma Import
(C,
xcb_render_reference_glyph_set_checked,
"xcb_render_reference_glyph_set_checked");
pragma Import
(C, xcb_render_reference_glyph_set, "xcb_render_reference_glyph_set");
pragma Import
(C,
xcb_render_free_glyph_set_checked,
"xcb_render_free_glyph_set_checked");
pragma Import (C, xcb_render_free_glyph_set, "xcb_render_free_glyph_set");
pragma Import
(C, xcb_render_add_glyphs_sizeof, "xcb_render_add_glyphs_sizeof");
pragma Import
(C, xcb_render_add_glyphs_checked, "xcb_render_add_glyphs_checked");
pragma Import (C, xcb_render_add_glyphs, "xcb_render_add_glyphs");
pragma Import
(C, xcb_render_add_glyphs_glyphids, "xcb_render_add_glyphs_glyphids");
pragma Import
(C,
xcb_render_add_glyphs_glyphids_length,
"xcb_render_add_glyphs_glyphids_length");
pragma Import
(C,
xcb_render_add_glyphs_glyphids_end,
"xcb_render_add_glyphs_glyphids_end");
pragma Import
(C, xcb_render_add_glyphs_glyphs, "xcb_render_add_glyphs_glyphs");
pragma Import
(C,
xcb_render_add_glyphs_glyphs_length,
"xcb_render_add_glyphs_glyphs_length");
pragma Import
(C,
xcb_render_add_glyphs_glyphs_iterator,
"xcb_render_add_glyphs_glyphs_iterator");
pragma Import (C, xcb_render_add_glyphs_data, "xcb_render_add_glyphs_data");
pragma Import
(C,
xcb_render_add_glyphs_data_length,
"xcb_render_add_glyphs_data_length");
pragma Import
(C, xcb_render_add_glyphs_data_end, "xcb_render_add_glyphs_data_end");
pragma Import
(C, xcb_render_free_glyphs_sizeof, "xcb_render_free_glyphs_sizeof");
pragma Import
(C, xcb_render_free_glyphs_checked, "xcb_render_free_glyphs_checked");
pragma Import (C, xcb_render_free_glyphs, "xcb_render_free_glyphs");
pragma Import
(C, xcb_render_free_glyphs_glyphs, "xcb_render_free_glyphs_glyphs");
pragma Import
(C,
xcb_render_free_glyphs_glyphs_length,
"xcb_render_free_glyphs_glyphs_length");
pragma Import
(C,
xcb_render_free_glyphs_glyphs_end,
"xcb_render_free_glyphs_glyphs_end");
pragma Import
(C,
xcb_render_composite_glyphs_8_sizeof,
"xcb_render_composite_glyphs_8_sizeof");
pragma Import
(C,
xcb_render_composite_glyphs_8_checked,
"xcb_render_composite_glyphs_8_checked");
pragma Import
(C, xcb_render_composite_glyphs_8, "xcb_render_composite_glyphs_8");
pragma Import
(C,
xcb_render_composite_glyphs_8_glyphcmds,
"xcb_render_composite_glyphs_8_glyphcmds");
pragma Import
(C,
xcb_render_composite_glyphs_8_glyphcmds_length,
"xcb_render_composite_glyphs_8_glyphcmds_length");
pragma Import
(C,
xcb_render_composite_glyphs_8_glyphcmds_end,
"xcb_render_composite_glyphs_8_glyphcmds_end");
pragma Import
(C,
xcb_render_composite_glyphs_16_sizeof,
"xcb_render_composite_glyphs_16_sizeof");
pragma Import
(C,
xcb_render_composite_glyphs_16_checked,
"xcb_render_composite_glyphs_16_checked");
pragma Import
(C, xcb_render_composite_glyphs_16, "xcb_render_composite_glyphs_16");
pragma Import
(C,
xcb_render_composite_glyphs_16_glyphcmds,
"xcb_render_composite_glyphs_16_glyphcmds");
pragma Import
(C,
xcb_render_composite_glyphs_16_glyphcmds_length,
"xcb_render_composite_glyphs_16_glyphcmds_length");
pragma Import
(C,
xcb_render_composite_glyphs_16_glyphcmds_end,
"xcb_render_composite_glyphs_16_glyphcmds_end");
pragma Import
(C,
xcb_render_composite_glyphs_32_sizeof,
"xcb_render_composite_glyphs_32_sizeof");
pragma Import
(C,
xcb_render_composite_glyphs_32_checked,
"xcb_render_composite_glyphs_32_checked");
pragma Import
(C, xcb_render_composite_glyphs_32, "xcb_render_composite_glyphs_32");
pragma Import
(C,
xcb_render_composite_glyphs_32_glyphcmds,
"xcb_render_composite_glyphs_32_glyphcmds");
pragma Import
(C,
xcb_render_composite_glyphs_32_glyphcmds_length,
"xcb_render_composite_glyphs_32_glyphcmds_length");
pragma Import
(C,
xcb_render_composite_glyphs_32_glyphcmds_end,
"xcb_render_composite_glyphs_32_glyphcmds_end");
pragma Import
(C,
xcb_render_fill_rectangles_sizeof,
"xcb_render_fill_rectangles_sizeof");
pragma Import
(C,
xcb_render_fill_rectangles_checked,
"xcb_render_fill_rectangles_checked");
pragma Import (C, xcb_render_fill_rectangles, "xcb_render_fill_rectangles");
pragma Import
(C, xcb_render_fill_rectangles_rects, "xcb_render_fill_rectangles_rects");
pragma Import
(C,
xcb_render_fill_rectangles_rects_length,
"xcb_render_fill_rectangles_rects_length");
pragma Import
(C,
xcb_render_fill_rectangles_rects_iterator,
"xcb_render_fill_rectangles_rects_iterator");
pragma Import
(C, xcb_render_create_cursor_checked, "xcb_render_create_cursor_checked");
pragma Import (C, xcb_render_create_cursor, "xcb_render_create_cursor");
pragma Import (C, xcb_render_transform_next, "xcb_render_transform_next");
pragma Import (C, xcb_render_transform_end, "xcb_render_transform_end");
pragma Import
(C,
xcb_render_set_picture_transform_checked,
"xcb_render_set_picture_transform_checked");
pragma Import
(C, xcb_render_set_picture_transform, "xcb_render_set_picture_transform");
pragma Import
(C, xcb_render_query_filters_sizeof, "xcb_render_query_filters_sizeof");
pragma Import (C, xcb_render_query_filters, "xcb_render_query_filters");
pragma Import
(C,
xcb_render_query_filters_unchecked,
"xcb_render_query_filters_unchecked");
pragma Import
(C, xcb_render_query_filters_aliases, "xcb_render_query_filters_aliases");
pragma Import
(C,
xcb_render_query_filters_aliases_length,
"xcb_render_query_filters_aliases_length");
pragma Import
(C,
xcb_render_query_filters_aliases_end,
"xcb_render_query_filters_aliases_end");
pragma Import
(C,
xcb_render_query_filters_filters_length,
"xcb_render_query_filters_filters_length");
pragma Import
(C,
xcb_render_query_filters_filters_iterator,
"xcb_render_query_filters_filters_iterator");
pragma Import
(C, xcb_render_query_filters_reply, "xcb_render_query_filters_reply");
pragma Import
(C,
xcb_render_set_picture_filter_sizeof,
"xcb_render_set_picture_filter_sizeof");
pragma Import
(C,
xcb_render_set_picture_filter_checked,
"xcb_render_set_picture_filter_checked");
pragma Import
(C, xcb_render_set_picture_filter, "xcb_render_set_picture_filter");
pragma Import
(C,
xcb_render_set_picture_filter_filter,
"xcb_render_set_picture_filter_filter");
pragma Import
(C,
xcb_render_set_picture_filter_filter_length,
"xcb_render_set_picture_filter_filter_length");
pragma Import
(C,
xcb_render_set_picture_filter_filter_end,
"xcb_render_set_picture_filter_filter_end");
pragma Import
(C,
xcb_render_set_picture_filter_values,
"xcb_render_set_picture_filter_values");
pragma Import
(C,
xcb_render_set_picture_filter_values_length,
"xcb_render_set_picture_filter_values_length");
pragma Import
(C,
xcb_render_set_picture_filter_values_end,
"xcb_render_set_picture_filter_values_end");
pragma Import
(C, xcb_render_animcursorelt_next, "xcb_render_animcursorelt_next");
pragma Import
(C, xcb_render_animcursorelt_end, "xcb_render_animcursorelt_end");
pragma Import
(C,
xcb_render_create_anim_cursor_sizeof,
"xcb_render_create_anim_cursor_sizeof");
pragma Import
(C,
xcb_render_create_anim_cursor_checked,
"xcb_render_create_anim_cursor_checked");
pragma Import
(C, xcb_render_create_anim_cursor, "xcb_render_create_anim_cursor");
pragma Import
(C,
xcb_render_create_anim_cursor_cursors,
"xcb_render_create_anim_cursor_cursors");
pragma Import
(C,
xcb_render_create_anim_cursor_cursors_length,
"xcb_render_create_anim_cursor_cursors_length");
pragma Import
(C,
xcb_render_create_anim_cursor_cursors_iterator,
"xcb_render_create_anim_cursor_cursors_iterator");
pragma Import (C, xcb_render_spanfix_next, "xcb_render_spanfix_next");
pragma Import (C, xcb_render_spanfix_end, "xcb_render_spanfix_end");
pragma Import (C, xcb_render_trap_next, "xcb_render_trap_next");
pragma Import (C, xcb_render_trap_end, "xcb_render_trap_end");
pragma Import
(C, xcb_render_add_traps_sizeof, "xcb_render_add_traps_sizeof");
pragma Import
(C, xcb_render_add_traps_checked, "xcb_render_add_traps_checked");
pragma Import (C, xcb_render_add_traps, "xcb_render_add_traps");
pragma Import (C, xcb_render_add_traps_traps, "xcb_render_add_traps_traps");
pragma Import
(C,
xcb_render_add_traps_traps_length,
"xcb_render_add_traps_traps_length");
pragma Import
(C,
xcb_render_add_traps_traps_iterator,
"xcb_render_add_traps_traps_iterator");
pragma Import
(C,
xcb_render_create_solid_fill_checked,
"xcb_render_create_solid_fill_checked");
pragma Import
(C, xcb_render_create_solid_fill, "xcb_render_create_solid_fill");
pragma Import
(C,
xcb_render_create_linear_gradient_sizeof,
"xcb_render_create_linear_gradient_sizeof");
pragma Import
(C,
xcb_render_create_linear_gradient_checked,
"xcb_render_create_linear_gradient_checked");
pragma Import
(C,
xcb_render_create_linear_gradient,
"xcb_render_create_linear_gradient");
pragma Import
(C,
xcb_render_create_linear_gradient_stops,
"xcb_render_create_linear_gradient_stops");
pragma Import
(C,
xcb_render_create_linear_gradient_stops_length,
"xcb_render_create_linear_gradient_stops_length");
pragma Import
(C,
xcb_render_create_linear_gradient_stops_end,
"xcb_render_create_linear_gradient_stops_end");
pragma Import
(C,
xcb_render_create_linear_gradient_colors,
"xcb_render_create_linear_gradient_colors");
pragma Import
(C,
xcb_render_create_linear_gradient_colors_length,
"xcb_render_create_linear_gradient_colors_length");
pragma Import
(C,
xcb_render_create_linear_gradient_colors_iterator,
"xcb_render_create_linear_gradient_colors_iterator");
pragma Import
(C,
xcb_render_create_radial_gradient_sizeof,
"xcb_render_create_radial_gradient_sizeof");
pragma Import
(C,
xcb_render_create_radial_gradient_checked,
"xcb_render_create_radial_gradient_checked");
pragma Import
(C,
xcb_render_create_radial_gradient,
"xcb_render_create_radial_gradient");
pragma Import
(C,
xcb_render_create_radial_gradient_stops,
"xcb_render_create_radial_gradient_stops");
pragma Import
(C,
xcb_render_create_radial_gradient_stops_length,
"xcb_render_create_radial_gradient_stops_length");
pragma Import
(C,
xcb_render_create_radial_gradient_stops_end,
"xcb_render_create_radial_gradient_stops_end");
pragma Import
(C,
xcb_render_create_radial_gradient_colors,
"xcb_render_create_radial_gradient_colors");
pragma Import
(C,
xcb_render_create_radial_gradient_colors_length,
"xcb_render_create_radial_gradient_colors_length");
pragma Import
(C,
xcb_render_create_radial_gradient_colors_iterator,
"xcb_render_create_radial_gradient_colors_iterator");
pragma Import
(C,
xcb_render_create_conical_gradient_sizeof,
"xcb_render_create_conical_gradient_sizeof");
pragma Import
(C,
xcb_render_create_conical_gradient_checked,
"xcb_render_create_conical_gradient_checked");
pragma Import
(C,
xcb_render_create_conical_gradient,
"xcb_render_create_conical_gradient");
pragma Import
(C,
xcb_render_create_conical_gradient_stops,
"xcb_render_create_conical_gradient_stops");
pragma Import
(C,
xcb_render_create_conical_gradient_stops_length,
"xcb_render_create_conical_gradient_stops_length");
pragma Import
(C,
xcb_render_create_conical_gradient_stops_end,
"xcb_render_create_conical_gradient_stops_end");
pragma Import
(C,
xcb_render_create_conical_gradient_colors,
"xcb_render_create_conical_gradient_colors");
pragma Import
(C,
xcb_render_create_conical_gradient_colors_length,
"xcb_render_create_conical_gradient_colors_length");
pragma Import
(C,
xcb_render_create_conical_gradient_colors_iterator,
"xcb_render_create_conical_gradient_colors_iterator");
pragma Import (C, xcb_send_request, "xcb_send_request");
pragma Import (C, xcb_send_request_with_fds, "xcb_send_request_with_fds");
pragma Import (C, xcb_send_request64, "xcb_send_request64");
pragma Import
(C, xcb_send_request_with_fds64, "xcb_send_request_with_fds64");
pragma Import (C, xcb_send_fd, "xcb_send_fd");
pragma Import (C, xcb_writev, "xcb_writev");
pragma Import (C, xcb_wait_for_reply, "xcb_wait_for_reply");
pragma Import (C, xcb_wait_for_reply64, "xcb_wait_for_reply64");
pragma Import (C, xcb_poll_for_reply, "xcb_poll_for_reply");
pragma Import (C, xcb_poll_for_reply64, "xcb_poll_for_reply64");
pragma Import (C, xcb_get_reply_fds, "xcb_get_reply_fds");
pragma Import (C, xcb_popcount, "xcb_popcount");
pragma Import (C, xcb_sumof, "xcb_sumof");
pragma Import
(C,
xcb_render_util_find_visual_format,
"xcb_render_util_find_visual_format");
pragma Import
(C, xcb_render_util_find_format, "xcb_render_util_find_format");
pragma Import
(C,
xcb_render_util_find_standard_format,
"xcb_render_util_find_standard_format");
pragma Import
(C, xcb_render_util_query_version, "xcb_render_util_query_version");
pragma Import
(C, xcb_render_util_query_formats, "xcb_render_util_query_formats");
pragma Import (C, xcb_render_util_disconnect, "xcb_render_util_disconnect");
pragma Import
(C,
xcb_render_util_composite_text_stream,
"xcb_render_util_composite_text_stream");
pragma Import (C, xcb_render_util_glyphs_8, "xcb_render_util_glyphs_8");
pragma Import (C, xcb_render_util_glyphs_16, "xcb_render_util_glyphs_16");
pragma Import (C, xcb_render_util_glyphs_32, "xcb_render_util_glyphs_32");
pragma Import
(C, xcb_render_util_change_glyphset, "xcb_render_util_change_glyphset");
pragma Import
(C, xcb_render_util_composite_text, "xcb_render_util_composite_text");
pragma Import
(C,
xcb_render_util_composite_text_checked,
"xcb_render_util_composite_text_checked");
pragma Import
(C,
xcb_render_util_composite_text_free,
"xcb_render_util_composite_text_free");
pragma Import (C, xcb_xc_misc_get_version, "xcb_xc_misc_get_version");
pragma Import
(C,
xcb_xc_misc_get_version_unchecked,
"xcb_xc_misc_get_version_unchecked");
pragma Import
(C, xcb_xc_misc_get_version_reply, "xcb_xc_misc_get_version_reply");
pragma Import (C, xcb_xc_misc_get_xid_range, "xcb_xc_misc_get_xid_range");
pragma Import
(C,
xcb_xc_misc_get_xid_range_unchecked,
"xcb_xc_misc_get_xid_range_unchecked");
pragma Import
(C, xcb_xc_misc_get_xid_range_reply, "xcb_xc_misc_get_xid_range_reply");
pragma Import
(C, xcb_xc_misc_get_xid_list_sizeof, "xcb_xc_misc_get_xid_list_sizeof");
pragma Import (C, xcb_xc_misc_get_xid_list, "xcb_xc_misc_get_xid_list");
pragma Import
(C,
xcb_xc_misc_get_xid_list_unchecked,
"xcb_xc_misc_get_xid_list_unchecked");
pragma Import
(C, xcb_xc_misc_get_xid_list_ids, "xcb_xc_misc_get_xid_list_ids");
pragma Import
(C,
xcb_xc_misc_get_xid_list_ids_length,
"xcb_xc_misc_get_xid_list_ids_length");
pragma Import
(C, xcb_xc_misc_get_xid_list_ids_end, "xcb_xc_misc_get_xid_list_ids_end");
pragma Import
(C, xcb_xc_misc_get_xid_list_reply, "xcb_xc_misc_get_xid_list_reply");
pragma Import (C, xcb_glx_pixmap_next, "xcb_glx_pixmap_next");
pragma Import (C, xcb_glx_pixmap_end, "xcb_glx_pixmap_end");
pragma Import (C, xcb_glx_context_next, "xcb_glx_context_next");
pragma Import (C, xcb_glx_context_end, "xcb_glx_context_end");
pragma Import (C, xcb_glx_pbuffer_next, "xcb_glx_pbuffer_next");
pragma Import (C, xcb_glx_pbuffer_end, "xcb_glx_pbuffer_end");
pragma Import (C, xcb_glx_window_next, "xcb_glx_window_next");
pragma Import (C, xcb_glx_window_end, "xcb_glx_window_end");
pragma Import (C, xcb_glx_fbconfig_next, "xcb_glx_fbconfig_next");
pragma Import (C, xcb_glx_fbconfig_end, "xcb_glx_fbconfig_end");
pragma Import (C, xcb_glx_drawable_next, "xcb_glx_drawable_next");
pragma Import (C, xcb_glx_drawable_end, "xcb_glx_drawable_end");
pragma Import (C, xcb_glx_float32_next, "xcb_glx_float32_next");
pragma Import (C, xcb_glx_float32_end, "xcb_glx_float32_end");
pragma Import (C, xcb_glx_float64_next, "xcb_glx_float64_next");
pragma Import (C, xcb_glx_float64_end, "xcb_glx_float64_end");
pragma Import (C, xcb_glx_bool32_next, "xcb_glx_bool32_next");
pragma Import (C, xcb_glx_bool32_end, "xcb_glx_bool32_end");
pragma Import (C, xcb_glx_context_tag_next, "xcb_glx_context_tag_next");
pragma Import (C, xcb_glx_context_tag_end, "xcb_glx_context_tag_end");
pragma Import (C, xcb_glx_render_sizeof, "xcb_glx_render_sizeof");
pragma Import (C, xcb_glx_render_checked, "xcb_glx_render_checked");
pragma Import (C, xcb_glx_render, "xcb_glx_render");
pragma Import (C, xcb_glx_render_data, "xcb_glx_render_data");
pragma Import (C, xcb_glx_render_data_length, "xcb_glx_render_data_length");
pragma Import (C, xcb_glx_render_data_end, "xcb_glx_render_data_end");
pragma Import
(C, xcb_glx_render_large_sizeof, "xcb_glx_render_large_sizeof");
pragma Import
(C, xcb_glx_render_large_checked, "xcb_glx_render_large_checked");
pragma Import (C, xcb_glx_render_large, "xcb_glx_render_large");
pragma Import (C, xcb_glx_render_large_data, "xcb_glx_render_large_data");
pragma Import
(C, xcb_glx_render_large_data_length, "xcb_glx_render_large_data_length");
pragma Import
(C, xcb_glx_render_large_data_end, "xcb_glx_render_large_data_end");
pragma Import
(C, xcb_glx_create_context_checked, "xcb_glx_create_context_checked");
pragma Import (C, xcb_glx_create_context, "xcb_glx_create_context");
pragma Import
(C, xcb_glx_destroy_context_checked, "xcb_glx_destroy_context_checked");
pragma Import (C, xcb_glx_destroy_context, "xcb_glx_destroy_context");
pragma Import (C, xcb_glx_make_current, "xcb_glx_make_current");
pragma Import
(C, xcb_glx_make_current_unchecked, "xcb_glx_make_current_unchecked");
pragma Import (C, xcb_glx_make_current_reply, "xcb_glx_make_current_reply");
pragma Import (C, xcb_glx_is_direct, "xcb_glx_is_direct");
pragma Import
(C, xcb_glx_is_direct_unchecked, "xcb_glx_is_direct_unchecked");
pragma Import (C, xcb_glx_is_direct_reply, "xcb_glx_is_direct_reply");
pragma Import (C, xcb_glx_query_version, "xcb_glx_query_version");
pragma Import
(C, xcb_glx_query_version_unchecked, "xcb_glx_query_version_unchecked");
pragma Import
(C, xcb_glx_query_version_reply, "xcb_glx_query_version_reply");
pragma Import (C, xcb_glx_wait_gl_checked, "xcb_glx_wait_gl_checked");
pragma Import (C, xcb_glx_wait_gl, "xcb_glx_wait_gl");
pragma Import (C, xcb_glx_wait_x_checked, "xcb_glx_wait_x_checked");
pragma Import (C, xcb_glx_wait_x, "xcb_glx_wait_x");
pragma Import
(C, xcb_glx_copy_context_checked, "xcb_glx_copy_context_checked");
pragma Import (C, xcb_glx_copy_context, "xcb_glx_copy_context");
pragma Import
(C, xcb_glx_swap_buffers_checked, "xcb_glx_swap_buffers_checked");
pragma Import (C, xcb_glx_swap_buffers, "xcb_glx_swap_buffers");
pragma Import (C, xcb_glx_use_x_font_checked, "xcb_glx_use_x_font_checked");
pragma Import (C, xcb_glx_use_x_font, "xcb_glx_use_x_font");
pragma Import
(C,
xcb_glx_create_glx_pixmap_checked,
"xcb_glx_create_glx_pixmap_checked");
pragma Import (C, xcb_glx_create_glx_pixmap, "xcb_glx_create_glx_pixmap");
pragma Import
(C,
xcb_glx_get_visual_configs_sizeof,
"xcb_glx_get_visual_configs_sizeof");
pragma Import (C, xcb_glx_get_visual_configs, "xcb_glx_get_visual_configs");
pragma Import
(C,
xcb_glx_get_visual_configs_unchecked,
"xcb_glx_get_visual_configs_unchecked");
pragma Import
(C,
xcb_glx_get_visual_configs_property_list,
"xcb_glx_get_visual_configs_property_list");
pragma Import
(C,
xcb_glx_get_visual_configs_property_list_length,
"xcb_glx_get_visual_configs_property_list_length");
pragma Import
(C,
xcb_glx_get_visual_configs_property_list_end,
"xcb_glx_get_visual_configs_property_list_end");
pragma Import
(C, xcb_glx_get_visual_configs_reply, "xcb_glx_get_visual_configs_reply");
pragma Import
(C,
xcb_glx_destroy_glx_pixmap_checked,
"xcb_glx_destroy_glx_pixmap_checked");
pragma Import (C, xcb_glx_destroy_glx_pixmap, "xcb_glx_destroy_glx_pixmap");
pragma Import
(C, xcb_glx_vendor_private_sizeof, "xcb_glx_vendor_private_sizeof");
pragma Import
(C, xcb_glx_vendor_private_checked, "xcb_glx_vendor_private_checked");
pragma Import (C, xcb_glx_vendor_private, "xcb_glx_vendor_private");
pragma Import
(C, xcb_glx_vendor_private_data, "xcb_glx_vendor_private_data");
pragma Import
(C,
xcb_glx_vendor_private_data_length,
"xcb_glx_vendor_private_data_length");
pragma Import
(C, xcb_glx_vendor_private_data_end, "xcb_glx_vendor_private_data_end");
pragma Import
(C,
xcb_glx_vendor_private_with_reply_sizeof,
"xcb_glx_vendor_private_with_reply_sizeof");
pragma Import
(C,
xcb_glx_vendor_private_with_reply,
"xcb_glx_vendor_private_with_reply");
pragma Import
(C,
xcb_glx_vendor_private_with_reply_unchecked,
"xcb_glx_vendor_private_with_reply_unchecked");
pragma Import
(C,
xcb_glx_vendor_private_with_reply_data_2,
"xcb_glx_vendor_private_with_reply_data_2");
pragma Import
(C,
xcb_glx_vendor_private_with_reply_data_2_length,
"xcb_glx_vendor_private_with_reply_data_2_length");
pragma Import
(C,
xcb_glx_vendor_private_with_reply_data_2_end,
"xcb_glx_vendor_private_with_reply_data_2_end");
pragma Import
(C,
xcb_glx_vendor_private_with_reply_reply,
"xcb_glx_vendor_private_with_reply_reply");
pragma Import
(C, xcb_glx_query_extensions_string, "xcb_glx_query_extensions_string");
pragma Import
(C,
xcb_glx_query_extensions_string_unchecked,
"xcb_glx_query_extensions_string_unchecked");
pragma Import
(C,
xcb_glx_query_extensions_string_reply,
"xcb_glx_query_extensions_string_reply");
pragma Import
(C,
xcb_glx_query_server_string_sizeof,
"xcb_glx_query_server_string_sizeof");
pragma Import
(C, xcb_glx_query_server_string, "xcb_glx_query_server_string");
pragma Import
(C,
xcb_glx_query_server_string_unchecked,
"xcb_glx_query_server_string_unchecked");
pragma Import
(C,
xcb_glx_query_server_string_string,
"xcb_glx_query_server_string_string");
pragma Import
(C,
xcb_glx_query_server_string_string_length,
"xcb_glx_query_server_string_string_length");
pragma Import
(C,
xcb_glx_query_server_string_string_end,
"xcb_glx_query_server_string_string_end");
pragma Import
(C,
xcb_glx_query_server_string_reply,
"xcb_glx_query_server_string_reply");
pragma Import (C, xcb_glx_client_info_sizeof, "xcb_glx_client_info_sizeof");
pragma Import
(C, xcb_glx_client_info_checked, "xcb_glx_client_info_checked");
pragma Import (C, xcb_glx_client_info, "xcb_glx_client_info");
pragma Import (C, xcb_glx_client_info_string, "xcb_glx_client_info_string");
pragma Import
(C,
xcb_glx_client_info_string_length,
"xcb_glx_client_info_string_length");
pragma Import
(C, xcb_glx_client_info_string_end, "xcb_glx_client_info_string_end");
pragma Import
(C, xcb_glx_get_fb_configs_sizeof, "xcb_glx_get_fb_configs_sizeof");
pragma Import (C, xcb_glx_get_fb_configs, "xcb_glx_get_fb_configs");
pragma Import
(C, xcb_glx_get_fb_configs_unchecked, "xcb_glx_get_fb_configs_unchecked");
pragma Import
(C,
xcb_glx_get_fb_configs_property_list,
"xcb_glx_get_fb_configs_property_list");
pragma Import
(C,
xcb_glx_get_fb_configs_property_list_length,
"xcb_glx_get_fb_configs_property_list_length");
pragma Import
(C,
xcb_glx_get_fb_configs_property_list_end,
"xcb_glx_get_fb_configs_property_list_end");
pragma Import
(C, xcb_glx_get_fb_configs_reply, "xcb_glx_get_fb_configs_reply");
pragma Import
(C, xcb_glx_create_pixmap_sizeof, "xcb_glx_create_pixmap_sizeof");
pragma Import
(C, xcb_glx_create_pixmap_checked, "xcb_glx_create_pixmap_checked");
pragma Import (C, xcb_glx_create_pixmap, "xcb_glx_create_pixmap");
pragma Import
(C, xcb_glx_create_pixmap_attribs, "xcb_glx_create_pixmap_attribs");
pragma Import
(C,
xcb_glx_create_pixmap_attribs_length,
"xcb_glx_create_pixmap_attribs_length");
pragma Import
(C,
xcb_glx_create_pixmap_attribs_end,
"xcb_glx_create_pixmap_attribs_end");
pragma Import
(C, xcb_glx_destroy_pixmap_checked, "xcb_glx_destroy_pixmap_checked");
pragma Import (C, xcb_glx_destroy_pixmap, "xcb_glx_destroy_pixmap");
pragma Import
(C,
xcb_glx_create_new_context_checked,
"xcb_glx_create_new_context_checked");
pragma Import (C, xcb_glx_create_new_context, "xcb_glx_create_new_context");
pragma Import
(C, xcb_glx_query_context_sizeof, "xcb_glx_query_context_sizeof");
pragma Import (C, xcb_glx_query_context, "xcb_glx_query_context");
pragma Import
(C, xcb_glx_query_context_unchecked, "xcb_glx_query_context_unchecked");
pragma Import
(C, xcb_glx_query_context_attribs, "xcb_glx_query_context_attribs");
pragma Import
(C,
xcb_glx_query_context_attribs_length,
"xcb_glx_query_context_attribs_length");
pragma Import
(C,
xcb_glx_query_context_attribs_end,
"xcb_glx_query_context_attribs_end");
pragma Import
(C, xcb_glx_query_context_reply, "xcb_glx_query_context_reply");
pragma Import
(C, xcb_glx_make_context_current, "xcb_glx_make_context_current");
pragma Import
(C,
xcb_glx_make_context_current_unchecked,
"xcb_glx_make_context_current_unchecked");
pragma Import
(C,
xcb_glx_make_context_current_reply,
"xcb_glx_make_context_current_reply");
pragma Import
(C, xcb_glx_create_pbuffer_sizeof, "xcb_glx_create_pbuffer_sizeof");
pragma Import
(C, xcb_glx_create_pbuffer_checked, "xcb_glx_create_pbuffer_checked");
pragma Import (C, xcb_glx_create_pbuffer, "xcb_glx_create_pbuffer");
pragma Import
(C, xcb_glx_create_pbuffer_attribs, "xcb_glx_create_pbuffer_attribs");
pragma Import
(C,
xcb_glx_create_pbuffer_attribs_length,
"xcb_glx_create_pbuffer_attribs_length");
pragma Import
(C,
xcb_glx_create_pbuffer_attribs_end,
"xcb_glx_create_pbuffer_attribs_end");
pragma Import
(C, xcb_glx_destroy_pbuffer_checked, "xcb_glx_destroy_pbuffer_checked");
pragma Import (C, xcb_glx_destroy_pbuffer, "xcb_glx_destroy_pbuffer");
pragma Import
(C,
xcb_glx_get_drawable_attributes_sizeof,
"xcb_glx_get_drawable_attributes_sizeof");
pragma Import
(C, xcb_glx_get_drawable_attributes, "xcb_glx_get_drawable_attributes");
pragma Import
(C,
xcb_glx_get_drawable_attributes_unchecked,
"xcb_glx_get_drawable_attributes_unchecked");
pragma Import
(C,
xcb_glx_get_drawable_attributes_attribs,
"xcb_glx_get_drawable_attributes_attribs");
pragma Import
(C,
xcb_glx_get_drawable_attributes_attribs_length,
"xcb_glx_get_drawable_attributes_attribs_length");
pragma Import
(C,
xcb_glx_get_drawable_attributes_attribs_end,
"xcb_glx_get_drawable_attributes_attribs_end");
pragma Import
(C,
xcb_glx_get_drawable_attributes_reply,
"xcb_glx_get_drawable_attributes_reply");
pragma Import
(C,
xcb_glx_change_drawable_attributes_sizeof,
"xcb_glx_change_drawable_attributes_sizeof");
pragma Import
(C,
xcb_glx_change_drawable_attributes_checked,
"xcb_glx_change_drawable_attributes_checked");
pragma Import
(C,
xcb_glx_change_drawable_attributes,
"xcb_glx_change_drawable_attributes");
pragma Import
(C,
xcb_glx_change_drawable_attributes_attribs,
"xcb_glx_change_drawable_attributes_attribs");
pragma Import
(C,
xcb_glx_change_drawable_attributes_attribs_length,
"xcb_glx_change_drawable_attributes_attribs_length");
pragma Import
(C,
xcb_glx_change_drawable_attributes_attribs_end,
"xcb_glx_change_drawable_attributes_attribs_end");
pragma Import
(C, xcb_glx_create_window_sizeof, "xcb_glx_create_window_sizeof");
pragma Import
(C, xcb_glx_create_window_checked, "xcb_glx_create_window_checked");
pragma Import (C, xcb_glx_create_window, "xcb_glx_create_window");
pragma Import
(C, xcb_glx_create_window_attribs, "xcb_glx_create_window_attribs");
pragma Import
(C,
xcb_glx_create_window_attribs_length,
"xcb_glx_create_window_attribs_length");
pragma Import
(C,
xcb_glx_create_window_attribs_end,
"xcb_glx_create_window_attribs_end");
pragma Import
(C, xcb_glx_delete_window_checked, "xcb_glx_delete_window_checked");
pragma Import (C, xcb_glx_delete_window, "xcb_glx_delete_window");
pragma Import
(C,
xcb_glx_set_client_info_arb_sizeof,
"xcb_glx_set_client_info_arb_sizeof");
pragma Import
(C,
xcb_glx_set_client_info_arb_checked,
"xcb_glx_set_client_info_arb_checked");
pragma Import
(C, xcb_glx_set_client_info_arb, "xcb_glx_set_client_info_arb");
pragma Import
(C,
xcb_glx_set_client_info_arb_gl_versions,
"xcb_glx_set_client_info_arb_gl_versions");
pragma Import
(C,
xcb_glx_set_client_info_arb_gl_versions_length,
"xcb_glx_set_client_info_arb_gl_versions_length");
pragma Import
(C,
xcb_glx_set_client_info_arb_gl_versions_end,
"xcb_glx_set_client_info_arb_gl_versions_end");
pragma Import
(C,
xcb_glx_set_client_info_arb_gl_extension_string,
"xcb_glx_set_client_info_arb_gl_extension_string");
pragma Import
(C,
xcb_glx_set_client_info_arb_gl_extension_string_length,
"xcb_glx_set_client_info_arb_gl_extension_string_length");
pragma Import
(C,
xcb_glx_set_client_info_arb_gl_extension_string_end,
"xcb_glx_set_client_info_arb_gl_extension_string_end");
pragma Import
(C,
xcb_glx_set_client_info_arb_glx_extension_string,
"xcb_glx_set_client_info_arb_glx_extension_string");
pragma Import
(C,
xcb_glx_set_client_info_arb_glx_extension_string_length,
"xcb_glx_set_client_info_arb_glx_extension_string_length");
pragma Import
(C,
xcb_glx_set_client_info_arb_glx_extension_string_end,
"xcb_glx_set_client_info_arb_glx_extension_string_end");
pragma Import
(C,
xcb_glx_create_context_attribs_arb_sizeof,
"xcb_glx_create_context_attribs_arb_sizeof");
pragma Import
(C,
xcb_glx_create_context_attribs_arb_checked,
"xcb_glx_create_context_attribs_arb_checked");
pragma Import
(C,
xcb_glx_create_context_attribs_arb,
"xcb_glx_create_context_attribs_arb");
pragma Import
(C,
xcb_glx_create_context_attribs_arb_attribs,
"xcb_glx_create_context_attribs_arb_attribs");
pragma Import
(C,
xcb_glx_create_context_attribs_arb_attribs_length,
"xcb_glx_create_context_attribs_arb_attribs_length");
pragma Import
(C,
xcb_glx_create_context_attribs_arb_attribs_end,
"xcb_glx_create_context_attribs_arb_attribs_end");
pragma Import
(C,
xcb_glx_set_client_info_2arb_sizeof,
"xcb_glx_set_client_info_2arb_sizeof");
pragma Import
(C,
xcb_glx_set_client_info_2arb_checked,
"xcb_glx_set_client_info_2arb_checked");
pragma Import
(C, xcb_glx_set_client_info_2arb, "xcb_glx_set_client_info_2arb");
pragma Import
(C,
xcb_glx_set_client_info_2arb_gl_versions,
"xcb_glx_set_client_info_2arb_gl_versions");
pragma Import
(C,
xcb_glx_set_client_info_2arb_gl_versions_length,
"xcb_glx_set_client_info_2arb_gl_versions_length");
pragma Import
(C,
xcb_glx_set_client_info_2arb_gl_versions_end,
"xcb_glx_set_client_info_2arb_gl_versions_end");
pragma Import
(C,
xcb_glx_set_client_info_2arb_gl_extension_string,
"xcb_glx_set_client_info_2arb_gl_extension_string");
pragma Import
(C,
xcb_glx_set_client_info_2arb_gl_extension_string_length,
"xcb_glx_set_client_info_2arb_gl_extension_string_length");
pragma Import
(C,
xcb_glx_set_client_info_2arb_gl_extension_string_end,
"xcb_glx_set_client_info_2arb_gl_extension_string_end");
pragma Import
(C,
xcb_glx_set_client_info_2arb_glx_extension_string,
"xcb_glx_set_client_info_2arb_glx_extension_string");
pragma Import
(C,
xcb_glx_set_client_info_2arb_glx_extension_string_length,
"xcb_glx_set_client_info_2arb_glx_extension_string_length");
pragma Import
(C,
xcb_glx_set_client_info_2arb_glx_extension_string_end,
"xcb_glx_set_client_info_2arb_glx_extension_string_end");
pragma Import (C, xcb_glx_new_list_checked, "xcb_glx_new_list_checked");
pragma Import (C, xcb_glx_new_list, "xcb_glx_new_list");
pragma Import (C, xcb_glx_end_list_checked, "xcb_glx_end_list_checked");
pragma Import (C, xcb_glx_end_list, "xcb_glx_end_list");
pragma Import
(C, xcb_glx_delete_lists_checked, "xcb_glx_delete_lists_checked");
pragma Import (C, xcb_glx_delete_lists, "xcb_glx_delete_lists");
pragma Import (C, xcb_glx_gen_lists, "xcb_glx_gen_lists");
pragma Import
(C, xcb_glx_gen_lists_unchecked, "xcb_glx_gen_lists_unchecked");
pragma Import (C, xcb_glx_gen_lists_reply, "xcb_glx_gen_lists_reply");
pragma Import
(C, xcb_glx_feedback_buffer_checked, "xcb_glx_feedback_buffer_checked");
pragma Import (C, xcb_glx_feedback_buffer, "xcb_glx_feedback_buffer");
pragma Import
(C, xcb_glx_select_buffer_checked, "xcb_glx_select_buffer_checked");
pragma Import (C, xcb_glx_select_buffer, "xcb_glx_select_buffer");
pragma Import (C, xcb_glx_render_mode_sizeof, "xcb_glx_render_mode_sizeof");
pragma Import (C, xcb_glx_render_mode, "xcb_glx_render_mode");
pragma Import
(C, xcb_glx_render_mode_unchecked, "xcb_glx_render_mode_unchecked");
pragma Import (C, xcb_glx_render_mode_data, "xcb_glx_render_mode_data");
pragma Import
(C, xcb_glx_render_mode_data_length, "xcb_glx_render_mode_data_length");
pragma Import
(C, xcb_glx_render_mode_data_end, "xcb_glx_render_mode_data_end");
pragma Import (C, xcb_glx_render_mode_reply, "xcb_glx_render_mode_reply");
pragma Import (C, xcb_glx_finish, "xcb_glx_finish");
pragma Import (C, xcb_glx_finish_unchecked, "xcb_glx_finish_unchecked");
pragma Import (C, xcb_glx_finish_reply, "xcb_glx_finish_reply");
pragma Import
(C, xcb_glx_pixel_storef_checked, "xcb_glx_pixel_storef_checked");
pragma Import (C, xcb_glx_pixel_storef, "xcb_glx_pixel_storef");
pragma Import
(C, xcb_glx_pixel_storei_checked, "xcb_glx_pixel_storei_checked");
pragma Import (C, xcb_glx_pixel_storei, "xcb_glx_pixel_storei");
pragma Import (C, xcb_glx_read_pixels_sizeof, "xcb_glx_read_pixels_sizeof");
pragma Import (C, xcb_glx_read_pixels, "xcb_glx_read_pixels");
pragma Import
(C, xcb_glx_read_pixels_unchecked, "xcb_glx_read_pixels_unchecked");
pragma Import (C, xcb_glx_read_pixels_data, "xcb_glx_read_pixels_data");
pragma Import
(C, xcb_glx_read_pixels_data_length, "xcb_glx_read_pixels_data_length");
pragma Import
(C, xcb_glx_read_pixels_data_end, "xcb_glx_read_pixels_data_end");
pragma Import (C, xcb_glx_read_pixels_reply, "xcb_glx_read_pixels_reply");
pragma Import
(C, xcb_glx_get_booleanv_sizeof, "xcb_glx_get_booleanv_sizeof");
pragma Import (C, xcb_glx_get_booleanv, "xcb_glx_get_booleanv");
pragma Import
(C, xcb_glx_get_booleanv_unchecked, "xcb_glx_get_booleanv_unchecked");
pragma Import (C, xcb_glx_get_booleanv_data, "xcb_glx_get_booleanv_data");
pragma Import
(C, xcb_glx_get_booleanv_data_length, "xcb_glx_get_booleanv_data_length");
pragma Import
(C, xcb_glx_get_booleanv_data_end, "xcb_glx_get_booleanv_data_end");
pragma Import (C, xcb_glx_get_booleanv_reply, "xcb_glx_get_booleanv_reply");
pragma Import
(C, xcb_glx_get_clip_plane_sizeof, "xcb_glx_get_clip_plane_sizeof");
pragma Import (C, xcb_glx_get_clip_plane, "xcb_glx_get_clip_plane");
pragma Import
(C, xcb_glx_get_clip_plane_unchecked, "xcb_glx_get_clip_plane_unchecked");
pragma Import
(C, xcb_glx_get_clip_plane_data, "xcb_glx_get_clip_plane_data");
pragma Import
(C,
xcb_glx_get_clip_plane_data_length,
"xcb_glx_get_clip_plane_data_length");
pragma Import
(C, xcb_glx_get_clip_plane_data_end, "xcb_glx_get_clip_plane_data_end");
pragma Import
(C, xcb_glx_get_clip_plane_reply, "xcb_glx_get_clip_plane_reply");
pragma Import (C, xcb_glx_get_doublev_sizeof, "xcb_glx_get_doublev_sizeof");
pragma Import (C, xcb_glx_get_doublev, "xcb_glx_get_doublev");
pragma Import
(C, xcb_glx_get_doublev_unchecked, "xcb_glx_get_doublev_unchecked");
pragma Import (C, xcb_glx_get_doublev_data, "xcb_glx_get_doublev_data");
pragma Import
(C, xcb_glx_get_doublev_data_length, "xcb_glx_get_doublev_data_length");
pragma Import
(C, xcb_glx_get_doublev_data_end, "xcb_glx_get_doublev_data_end");
pragma Import (C, xcb_glx_get_doublev_reply, "xcb_glx_get_doublev_reply");
pragma Import (C, xcb_glx_get_error, "xcb_glx_get_error");
pragma Import
(C, xcb_glx_get_error_unchecked, "xcb_glx_get_error_unchecked");
pragma Import (C, xcb_glx_get_error_reply, "xcb_glx_get_error_reply");
pragma Import (C, xcb_glx_get_floatv_sizeof, "xcb_glx_get_floatv_sizeof");
pragma Import (C, xcb_glx_get_floatv, "xcb_glx_get_floatv");
pragma Import
(C, xcb_glx_get_floatv_unchecked, "xcb_glx_get_floatv_unchecked");
pragma Import (C, xcb_glx_get_floatv_data, "xcb_glx_get_floatv_data");
pragma Import
(C, xcb_glx_get_floatv_data_length, "xcb_glx_get_floatv_data_length");
pragma Import
(C, xcb_glx_get_floatv_data_end, "xcb_glx_get_floatv_data_end");
pragma Import (C, xcb_glx_get_floatv_reply, "xcb_glx_get_floatv_reply");
pragma Import
(C, xcb_glx_get_integerv_sizeof, "xcb_glx_get_integerv_sizeof");
pragma Import (C, xcb_glx_get_integerv, "xcb_glx_get_integerv");
pragma Import
(C, xcb_glx_get_integerv_unchecked, "xcb_glx_get_integerv_unchecked");
pragma Import (C, xcb_glx_get_integerv_data, "xcb_glx_get_integerv_data");
pragma Import
(C, xcb_glx_get_integerv_data_length, "xcb_glx_get_integerv_data_length");
pragma Import
(C, xcb_glx_get_integerv_data_end, "xcb_glx_get_integerv_data_end");
pragma Import (C, xcb_glx_get_integerv_reply, "xcb_glx_get_integerv_reply");
pragma Import (C, xcb_glx_get_lightfv_sizeof, "xcb_glx_get_lightfv_sizeof");
pragma Import (C, xcb_glx_get_lightfv, "xcb_glx_get_lightfv");
pragma Import
(C, xcb_glx_get_lightfv_unchecked, "xcb_glx_get_lightfv_unchecked");
pragma Import (C, xcb_glx_get_lightfv_data, "xcb_glx_get_lightfv_data");
pragma Import
(C, xcb_glx_get_lightfv_data_length, "xcb_glx_get_lightfv_data_length");
pragma Import
(C, xcb_glx_get_lightfv_data_end, "xcb_glx_get_lightfv_data_end");
pragma Import (C, xcb_glx_get_lightfv_reply, "xcb_glx_get_lightfv_reply");
pragma Import (C, xcb_glx_get_lightiv_sizeof, "xcb_glx_get_lightiv_sizeof");
pragma Import (C, xcb_glx_get_lightiv, "xcb_glx_get_lightiv");
pragma Import
(C, xcb_glx_get_lightiv_unchecked, "xcb_glx_get_lightiv_unchecked");
pragma Import (C, xcb_glx_get_lightiv_data, "xcb_glx_get_lightiv_data");
pragma Import
(C, xcb_glx_get_lightiv_data_length, "xcb_glx_get_lightiv_data_length");
pragma Import
(C, xcb_glx_get_lightiv_data_end, "xcb_glx_get_lightiv_data_end");
pragma Import (C, xcb_glx_get_lightiv_reply, "xcb_glx_get_lightiv_reply");
pragma Import (C, xcb_glx_get_mapdv_sizeof, "xcb_glx_get_mapdv_sizeof");
pragma Import (C, xcb_glx_get_mapdv, "xcb_glx_get_mapdv");
pragma Import
(C, xcb_glx_get_mapdv_unchecked, "xcb_glx_get_mapdv_unchecked");
pragma Import (C, xcb_glx_get_mapdv_data, "xcb_glx_get_mapdv_data");
pragma Import
(C, xcb_glx_get_mapdv_data_length, "xcb_glx_get_mapdv_data_length");
pragma Import (C, xcb_glx_get_mapdv_data_end, "xcb_glx_get_mapdv_data_end");
pragma Import (C, xcb_glx_get_mapdv_reply, "xcb_glx_get_mapdv_reply");
pragma Import (C, xcb_glx_get_mapfv_sizeof, "xcb_glx_get_mapfv_sizeof");
pragma Import (C, xcb_glx_get_mapfv, "xcb_glx_get_mapfv");
pragma Import
(C, xcb_glx_get_mapfv_unchecked, "xcb_glx_get_mapfv_unchecked");
pragma Import (C, xcb_glx_get_mapfv_data, "xcb_glx_get_mapfv_data");
pragma Import
(C, xcb_glx_get_mapfv_data_length, "xcb_glx_get_mapfv_data_length");
pragma Import (C, xcb_glx_get_mapfv_data_end, "xcb_glx_get_mapfv_data_end");
pragma Import (C, xcb_glx_get_mapfv_reply, "xcb_glx_get_mapfv_reply");
pragma Import (C, xcb_glx_get_mapiv_sizeof, "xcb_glx_get_mapiv_sizeof");
pragma Import (C, xcb_glx_get_mapiv, "xcb_glx_get_mapiv");
pragma Import
(C, xcb_glx_get_mapiv_unchecked, "xcb_glx_get_mapiv_unchecked");
pragma Import (C, xcb_glx_get_mapiv_data, "xcb_glx_get_mapiv_data");
pragma Import
(C, xcb_glx_get_mapiv_data_length, "xcb_glx_get_mapiv_data_length");
pragma Import (C, xcb_glx_get_mapiv_data_end, "xcb_glx_get_mapiv_data_end");
pragma Import (C, xcb_glx_get_mapiv_reply, "xcb_glx_get_mapiv_reply");
pragma Import
(C, xcb_glx_get_materialfv_sizeof, "xcb_glx_get_materialfv_sizeof");
pragma Import (C, xcb_glx_get_materialfv, "xcb_glx_get_materialfv");
pragma Import
(C, xcb_glx_get_materialfv_unchecked, "xcb_glx_get_materialfv_unchecked");
pragma Import
(C, xcb_glx_get_materialfv_data, "xcb_glx_get_materialfv_data");
pragma Import
(C,
xcb_glx_get_materialfv_data_length,
"xcb_glx_get_materialfv_data_length");
pragma Import
(C, xcb_glx_get_materialfv_data_end, "xcb_glx_get_materialfv_data_end");
pragma Import
(C, xcb_glx_get_materialfv_reply, "xcb_glx_get_materialfv_reply");
pragma Import
(C, xcb_glx_get_materialiv_sizeof, "xcb_glx_get_materialiv_sizeof");
pragma Import (C, xcb_glx_get_materialiv, "xcb_glx_get_materialiv");
pragma Import
(C, xcb_glx_get_materialiv_unchecked, "xcb_glx_get_materialiv_unchecked");
pragma Import
(C, xcb_glx_get_materialiv_data, "xcb_glx_get_materialiv_data");
pragma Import
(C,
xcb_glx_get_materialiv_data_length,
"xcb_glx_get_materialiv_data_length");
pragma Import
(C, xcb_glx_get_materialiv_data_end, "xcb_glx_get_materialiv_data_end");
pragma Import
(C, xcb_glx_get_materialiv_reply, "xcb_glx_get_materialiv_reply");
pragma Import
(C, xcb_glx_get_pixel_mapfv_sizeof, "xcb_glx_get_pixel_mapfv_sizeof");
pragma Import (C, xcb_glx_get_pixel_mapfv, "xcb_glx_get_pixel_mapfv");
pragma Import
(C,
xcb_glx_get_pixel_mapfv_unchecked,
"xcb_glx_get_pixel_mapfv_unchecked");
pragma Import
(C, xcb_glx_get_pixel_mapfv_data, "xcb_glx_get_pixel_mapfv_data");
pragma Import
(C,
xcb_glx_get_pixel_mapfv_data_length,
"xcb_glx_get_pixel_mapfv_data_length");
pragma Import
(C, xcb_glx_get_pixel_mapfv_data_end, "xcb_glx_get_pixel_mapfv_data_end");
pragma Import
(C, xcb_glx_get_pixel_mapfv_reply, "xcb_glx_get_pixel_mapfv_reply");
pragma Import
(C, xcb_glx_get_pixel_mapuiv_sizeof, "xcb_glx_get_pixel_mapuiv_sizeof");
pragma Import (C, xcb_glx_get_pixel_mapuiv, "xcb_glx_get_pixel_mapuiv");
pragma Import
(C,
xcb_glx_get_pixel_mapuiv_unchecked,
"xcb_glx_get_pixel_mapuiv_unchecked");
pragma Import
(C, xcb_glx_get_pixel_mapuiv_data, "xcb_glx_get_pixel_mapuiv_data");
pragma Import
(C,
xcb_glx_get_pixel_mapuiv_data_length,
"xcb_glx_get_pixel_mapuiv_data_length");
pragma Import
(C,
xcb_glx_get_pixel_mapuiv_data_end,
"xcb_glx_get_pixel_mapuiv_data_end");
pragma Import
(C, xcb_glx_get_pixel_mapuiv_reply, "xcb_glx_get_pixel_mapuiv_reply");
pragma Import
(C, xcb_glx_get_pixel_mapusv_sizeof, "xcb_glx_get_pixel_mapusv_sizeof");
pragma Import (C, xcb_glx_get_pixel_mapusv, "xcb_glx_get_pixel_mapusv");
pragma Import
(C,
xcb_glx_get_pixel_mapusv_unchecked,
"xcb_glx_get_pixel_mapusv_unchecked");
pragma Import
(C, xcb_glx_get_pixel_mapusv_data, "xcb_glx_get_pixel_mapusv_data");
pragma Import
(C,
xcb_glx_get_pixel_mapusv_data_length,
"xcb_glx_get_pixel_mapusv_data_length");
pragma Import
(C,
xcb_glx_get_pixel_mapusv_data_end,
"xcb_glx_get_pixel_mapusv_data_end");
pragma Import
(C, xcb_glx_get_pixel_mapusv_reply, "xcb_glx_get_pixel_mapusv_reply");
pragma Import
(C,
xcb_glx_get_polygon_stipple_sizeof,
"xcb_glx_get_polygon_stipple_sizeof");
pragma Import
(C, xcb_glx_get_polygon_stipple, "xcb_glx_get_polygon_stipple");
pragma Import
(C,
xcb_glx_get_polygon_stipple_unchecked,
"xcb_glx_get_polygon_stipple_unchecked");
pragma Import
(C, xcb_glx_get_polygon_stipple_data, "xcb_glx_get_polygon_stipple_data");
pragma Import
(C,
xcb_glx_get_polygon_stipple_data_length,
"xcb_glx_get_polygon_stipple_data_length");
pragma Import
(C,
xcb_glx_get_polygon_stipple_data_end,
"xcb_glx_get_polygon_stipple_data_end");
pragma Import
(C,
xcb_glx_get_polygon_stipple_reply,
"xcb_glx_get_polygon_stipple_reply");
pragma Import (C, xcb_glx_get_string_sizeof, "xcb_glx_get_string_sizeof");
pragma Import (C, xcb_glx_get_string, "xcb_glx_get_string");
pragma Import
(C, xcb_glx_get_string_unchecked, "xcb_glx_get_string_unchecked");
pragma Import (C, xcb_glx_get_string_string, "xcb_glx_get_string_string");
pragma Import
(C, xcb_glx_get_string_string_length, "xcb_glx_get_string_string_length");
pragma Import
(C, xcb_glx_get_string_string_end, "xcb_glx_get_string_string_end");
pragma Import (C, xcb_glx_get_string_reply, "xcb_glx_get_string_reply");
pragma Import
(C, xcb_glx_get_tex_envfv_sizeof, "xcb_glx_get_tex_envfv_sizeof");
pragma Import (C, xcb_glx_get_tex_envfv, "xcb_glx_get_tex_envfv");
pragma Import
(C, xcb_glx_get_tex_envfv_unchecked, "xcb_glx_get_tex_envfv_unchecked");
pragma Import (C, xcb_glx_get_tex_envfv_data, "xcb_glx_get_tex_envfv_data");
pragma Import
(C,
xcb_glx_get_tex_envfv_data_length,
"xcb_glx_get_tex_envfv_data_length");
pragma Import
(C, xcb_glx_get_tex_envfv_data_end, "xcb_glx_get_tex_envfv_data_end");
pragma Import
(C, xcb_glx_get_tex_envfv_reply, "xcb_glx_get_tex_envfv_reply");
pragma Import
(C, xcb_glx_get_tex_enviv_sizeof, "xcb_glx_get_tex_enviv_sizeof");
pragma Import (C, xcb_glx_get_tex_enviv, "xcb_glx_get_tex_enviv");
pragma Import
(C, xcb_glx_get_tex_enviv_unchecked, "xcb_glx_get_tex_enviv_unchecked");
pragma Import (C, xcb_glx_get_tex_enviv_data, "xcb_glx_get_tex_enviv_data");
pragma Import
(C,
xcb_glx_get_tex_enviv_data_length,
"xcb_glx_get_tex_enviv_data_length");
pragma Import
(C, xcb_glx_get_tex_enviv_data_end, "xcb_glx_get_tex_enviv_data_end");
pragma Import
(C, xcb_glx_get_tex_enviv_reply, "xcb_glx_get_tex_enviv_reply");
pragma Import
(C, xcb_glx_get_tex_gendv_sizeof, "xcb_glx_get_tex_gendv_sizeof");
pragma Import (C, xcb_glx_get_tex_gendv, "xcb_glx_get_tex_gendv");
pragma Import
(C, xcb_glx_get_tex_gendv_unchecked, "xcb_glx_get_tex_gendv_unchecked");
pragma Import (C, xcb_glx_get_tex_gendv_data, "xcb_glx_get_tex_gendv_data");
pragma Import
(C,
xcb_glx_get_tex_gendv_data_length,
"xcb_glx_get_tex_gendv_data_length");
pragma Import
(C, xcb_glx_get_tex_gendv_data_end, "xcb_glx_get_tex_gendv_data_end");
pragma Import
(C, xcb_glx_get_tex_gendv_reply, "xcb_glx_get_tex_gendv_reply");
pragma Import
(C, xcb_glx_get_tex_genfv_sizeof, "xcb_glx_get_tex_genfv_sizeof");
pragma Import (C, xcb_glx_get_tex_genfv, "xcb_glx_get_tex_genfv");
pragma Import
(C, xcb_glx_get_tex_genfv_unchecked, "xcb_glx_get_tex_genfv_unchecked");
pragma Import (C, xcb_glx_get_tex_genfv_data, "xcb_glx_get_tex_genfv_data");
pragma Import
(C,
xcb_glx_get_tex_genfv_data_length,
"xcb_glx_get_tex_genfv_data_length");
pragma Import
(C, xcb_glx_get_tex_genfv_data_end, "xcb_glx_get_tex_genfv_data_end");
pragma Import
(C, xcb_glx_get_tex_genfv_reply, "xcb_glx_get_tex_genfv_reply");
pragma Import
(C, xcb_glx_get_tex_geniv_sizeof, "xcb_glx_get_tex_geniv_sizeof");
pragma Import (C, xcb_glx_get_tex_geniv, "xcb_glx_get_tex_geniv");
pragma Import
(C, xcb_glx_get_tex_geniv_unchecked, "xcb_glx_get_tex_geniv_unchecked");
pragma Import (C, xcb_glx_get_tex_geniv_data, "xcb_glx_get_tex_geniv_data");
pragma Import
(C,
xcb_glx_get_tex_geniv_data_length,
"xcb_glx_get_tex_geniv_data_length");
pragma Import
(C, xcb_glx_get_tex_geniv_data_end, "xcb_glx_get_tex_geniv_data_end");
pragma Import
(C, xcb_glx_get_tex_geniv_reply, "xcb_glx_get_tex_geniv_reply");
pragma Import
(C, xcb_glx_get_tex_image_sizeof, "xcb_glx_get_tex_image_sizeof");
pragma Import (C, xcb_glx_get_tex_image, "xcb_glx_get_tex_image");
pragma Import
(C, xcb_glx_get_tex_image_unchecked, "xcb_glx_get_tex_image_unchecked");
pragma Import (C, xcb_glx_get_tex_image_data, "xcb_glx_get_tex_image_data");
pragma Import
(C,
xcb_glx_get_tex_image_data_length,
"xcb_glx_get_tex_image_data_length");
pragma Import
(C, xcb_glx_get_tex_image_data_end, "xcb_glx_get_tex_image_data_end");
pragma Import
(C, xcb_glx_get_tex_image_reply, "xcb_glx_get_tex_image_reply");
pragma Import
(C,
xcb_glx_get_tex_parameterfv_sizeof,
"xcb_glx_get_tex_parameterfv_sizeof");
pragma Import
(C, xcb_glx_get_tex_parameterfv, "xcb_glx_get_tex_parameterfv");
pragma Import
(C,
xcb_glx_get_tex_parameterfv_unchecked,
"xcb_glx_get_tex_parameterfv_unchecked");
pragma Import
(C, xcb_glx_get_tex_parameterfv_data, "xcb_glx_get_tex_parameterfv_data");
pragma Import
(C,
xcb_glx_get_tex_parameterfv_data_length,
"xcb_glx_get_tex_parameterfv_data_length");
pragma Import
(C,
xcb_glx_get_tex_parameterfv_data_end,
"xcb_glx_get_tex_parameterfv_data_end");
pragma Import
(C,
xcb_glx_get_tex_parameterfv_reply,
"xcb_glx_get_tex_parameterfv_reply");
pragma Import
(C,
xcb_glx_get_tex_parameteriv_sizeof,
"xcb_glx_get_tex_parameteriv_sizeof");
pragma Import
(C, xcb_glx_get_tex_parameteriv, "xcb_glx_get_tex_parameteriv");
pragma Import
(C,
xcb_glx_get_tex_parameteriv_unchecked,
"xcb_glx_get_tex_parameteriv_unchecked");
pragma Import
(C, xcb_glx_get_tex_parameteriv_data, "xcb_glx_get_tex_parameteriv_data");
pragma Import
(C,
xcb_glx_get_tex_parameteriv_data_length,
"xcb_glx_get_tex_parameteriv_data_length");
pragma Import
(C,
xcb_glx_get_tex_parameteriv_data_end,
"xcb_glx_get_tex_parameteriv_data_end");
pragma Import
(C,
xcb_glx_get_tex_parameteriv_reply,
"xcb_glx_get_tex_parameteriv_reply");
pragma Import
(C,
xcb_glx_get_tex_level_parameterfv_sizeof,
"xcb_glx_get_tex_level_parameterfv_sizeof");
pragma Import
(C,
xcb_glx_get_tex_level_parameterfv,
"xcb_glx_get_tex_level_parameterfv");
pragma Import
(C,
xcb_glx_get_tex_level_parameterfv_unchecked,
"xcb_glx_get_tex_level_parameterfv_unchecked");
pragma Import
(C,
xcb_glx_get_tex_level_parameterfv_data,
"xcb_glx_get_tex_level_parameterfv_data");
pragma Import
(C,
xcb_glx_get_tex_level_parameterfv_data_length,
"xcb_glx_get_tex_level_parameterfv_data_length");
pragma Import
(C,
xcb_glx_get_tex_level_parameterfv_data_end,
"xcb_glx_get_tex_level_parameterfv_data_end");
pragma Import
(C,
xcb_glx_get_tex_level_parameterfv_reply,
"xcb_glx_get_tex_level_parameterfv_reply");
pragma Import
(C,
xcb_glx_get_tex_level_parameteriv_sizeof,
"xcb_glx_get_tex_level_parameteriv_sizeof");
pragma Import
(C,
xcb_glx_get_tex_level_parameteriv,
"xcb_glx_get_tex_level_parameteriv");
pragma Import
(C,
xcb_glx_get_tex_level_parameteriv_unchecked,
"xcb_glx_get_tex_level_parameteriv_unchecked");
pragma Import
(C,
xcb_glx_get_tex_level_parameteriv_data,
"xcb_glx_get_tex_level_parameteriv_data");
pragma Import
(C,
xcb_glx_get_tex_level_parameteriv_data_length,
"xcb_glx_get_tex_level_parameteriv_data_length");
pragma Import
(C,
xcb_glx_get_tex_level_parameteriv_data_end,
"xcb_glx_get_tex_level_parameteriv_data_end");
pragma Import
(C,
xcb_glx_get_tex_level_parameteriv_reply,
"xcb_glx_get_tex_level_parameteriv_reply");
pragma Import (C, xcb_glx_is_enabled, "xcb_glx_is_enabled");
pragma Import
(C, xcb_glx_is_enabled_unchecked, "xcb_glx_is_enabled_unchecked");
pragma Import (C, xcb_glx_is_enabled_reply, "xcb_glx_is_enabled_reply");
pragma Import (C, xcb_glx_is_list, "xcb_glx_is_list");
pragma Import (C, xcb_glx_is_list_unchecked, "xcb_glx_is_list_unchecked");
pragma Import (C, xcb_glx_is_list_reply, "xcb_glx_is_list_reply");
pragma Import (C, xcb_glx_flush_checked, "xcb_glx_flush_checked");
pragma Import (C, xcb_glx_flush, "xcb_glx_flush");
pragma Import
(C,
xcb_glx_are_textures_resident_sizeof,
"xcb_glx_are_textures_resident_sizeof");
pragma Import
(C, xcb_glx_are_textures_resident, "xcb_glx_are_textures_resident");
pragma Import
(C,
xcb_glx_are_textures_resident_unchecked,
"xcb_glx_are_textures_resident_unchecked");
pragma Import
(C,
xcb_glx_are_textures_resident_data,
"xcb_glx_are_textures_resident_data");
pragma Import
(C,
xcb_glx_are_textures_resident_data_length,
"xcb_glx_are_textures_resident_data_length");
pragma Import
(C,
xcb_glx_are_textures_resident_data_end,
"xcb_glx_are_textures_resident_data_end");
pragma Import
(C,
xcb_glx_are_textures_resident_reply,
"xcb_glx_are_textures_resident_reply");
pragma Import
(C, xcb_glx_delete_textures_sizeof, "xcb_glx_delete_textures_sizeof");
pragma Import
(C, xcb_glx_delete_textures_checked, "xcb_glx_delete_textures_checked");
pragma Import (C, xcb_glx_delete_textures, "xcb_glx_delete_textures");
pragma Import
(C, xcb_glx_delete_textures_textures, "xcb_glx_delete_textures_textures");
pragma Import
(C,
xcb_glx_delete_textures_textures_length,
"xcb_glx_delete_textures_textures_length");
pragma Import
(C,
xcb_glx_delete_textures_textures_end,
"xcb_glx_delete_textures_textures_end");
pragma Import
(C, xcb_glx_gen_textures_sizeof, "xcb_glx_gen_textures_sizeof");
pragma Import (C, xcb_glx_gen_textures, "xcb_glx_gen_textures");
pragma Import
(C, xcb_glx_gen_textures_unchecked, "xcb_glx_gen_textures_unchecked");
pragma Import (C, xcb_glx_gen_textures_data, "xcb_glx_gen_textures_data");
pragma Import
(C, xcb_glx_gen_textures_data_length, "xcb_glx_gen_textures_data_length");
pragma Import
(C, xcb_glx_gen_textures_data_end, "xcb_glx_gen_textures_data_end");
pragma Import (C, xcb_glx_gen_textures_reply, "xcb_glx_gen_textures_reply");
pragma Import (C, xcb_glx_is_texture, "xcb_glx_is_texture");
pragma Import
(C, xcb_glx_is_texture_unchecked, "xcb_glx_is_texture_unchecked");
pragma Import (C, xcb_glx_is_texture_reply, "xcb_glx_is_texture_reply");
pragma Import
(C, xcb_glx_get_color_table_sizeof, "xcb_glx_get_color_table_sizeof");
pragma Import (C, xcb_glx_get_color_table, "xcb_glx_get_color_table");
pragma Import
(C,
xcb_glx_get_color_table_unchecked,
"xcb_glx_get_color_table_unchecked");
pragma Import
(C, xcb_glx_get_color_table_data, "xcb_glx_get_color_table_data");
pragma Import
(C,
xcb_glx_get_color_table_data_length,
"xcb_glx_get_color_table_data_length");
pragma Import
(C, xcb_glx_get_color_table_data_end, "xcb_glx_get_color_table_data_end");
pragma Import
(C, xcb_glx_get_color_table_reply, "xcb_glx_get_color_table_reply");
pragma Import
(C,
xcb_glx_get_color_table_parameterfv_sizeof,
"xcb_glx_get_color_table_parameterfv_sizeof");
pragma Import
(C,
xcb_glx_get_color_table_parameterfv,
"xcb_glx_get_color_table_parameterfv");
pragma Import
(C,
xcb_glx_get_color_table_parameterfv_unchecked,
"xcb_glx_get_color_table_parameterfv_unchecked");
pragma Import
(C,
xcb_glx_get_color_table_parameterfv_data,
"xcb_glx_get_color_table_parameterfv_data");
pragma Import
(C,
xcb_glx_get_color_table_parameterfv_data_length,
"xcb_glx_get_color_table_parameterfv_data_length");
pragma Import
(C,
xcb_glx_get_color_table_parameterfv_data_end,
"xcb_glx_get_color_table_parameterfv_data_end");
pragma Import
(C,
xcb_glx_get_color_table_parameterfv_reply,
"xcb_glx_get_color_table_parameterfv_reply");
pragma Import
(C,
xcb_glx_get_color_table_parameteriv_sizeof,
"xcb_glx_get_color_table_parameteriv_sizeof");
pragma Import
(C,
xcb_glx_get_color_table_parameteriv,
"xcb_glx_get_color_table_parameteriv");
pragma Import
(C,
xcb_glx_get_color_table_parameteriv_unchecked,
"xcb_glx_get_color_table_parameteriv_unchecked");
pragma Import
(C,
xcb_glx_get_color_table_parameteriv_data,
"xcb_glx_get_color_table_parameteriv_data");
pragma Import
(C,
xcb_glx_get_color_table_parameteriv_data_length,
"xcb_glx_get_color_table_parameteriv_data_length");
pragma Import
(C,
xcb_glx_get_color_table_parameteriv_data_end,
"xcb_glx_get_color_table_parameteriv_data_end");
pragma Import
(C,
xcb_glx_get_color_table_parameteriv_reply,
"xcb_glx_get_color_table_parameteriv_reply");
pragma Import
(C,
xcb_glx_get_convolution_filter_sizeof,
"xcb_glx_get_convolution_filter_sizeof");
pragma Import
(C, xcb_glx_get_convolution_filter, "xcb_glx_get_convolution_filter");
pragma Import
(C,
xcb_glx_get_convolution_filter_unchecked,
"xcb_glx_get_convolution_filter_unchecked");
pragma Import
(C,
xcb_glx_get_convolution_filter_data,
"xcb_glx_get_convolution_filter_data");
pragma Import
(C,
xcb_glx_get_convolution_filter_data_length,
"xcb_glx_get_convolution_filter_data_length");
pragma Import
(C,
xcb_glx_get_convolution_filter_data_end,
"xcb_glx_get_convolution_filter_data_end");
pragma Import
(C,
xcb_glx_get_convolution_filter_reply,
"xcb_glx_get_convolution_filter_reply");
pragma Import
(C,
xcb_glx_get_convolution_parameterfv_sizeof,
"xcb_glx_get_convolution_parameterfv_sizeof");
pragma Import
(C,
xcb_glx_get_convolution_parameterfv,
"xcb_glx_get_convolution_parameterfv");
pragma Import
(C,
xcb_glx_get_convolution_parameterfv_unchecked,
"xcb_glx_get_convolution_parameterfv_unchecked");
pragma Import
(C,
xcb_glx_get_convolution_parameterfv_data,
"xcb_glx_get_convolution_parameterfv_data");
pragma Import
(C,
xcb_glx_get_convolution_parameterfv_data_length,
"xcb_glx_get_convolution_parameterfv_data_length");
pragma Import
(C,
xcb_glx_get_convolution_parameterfv_data_end,
"xcb_glx_get_convolution_parameterfv_data_end");
pragma Import
(C,
xcb_glx_get_convolution_parameterfv_reply,
"xcb_glx_get_convolution_parameterfv_reply");
pragma Import
(C,
xcb_glx_get_convolution_parameteriv_sizeof,
"xcb_glx_get_convolution_parameteriv_sizeof");
pragma Import
(C,
xcb_glx_get_convolution_parameteriv,
"xcb_glx_get_convolution_parameteriv");
pragma Import
(C,
xcb_glx_get_convolution_parameteriv_unchecked,
"xcb_glx_get_convolution_parameteriv_unchecked");
pragma Import
(C,
xcb_glx_get_convolution_parameteriv_data,
"xcb_glx_get_convolution_parameteriv_data");
pragma Import
(C,
xcb_glx_get_convolution_parameteriv_data_length,
"xcb_glx_get_convolution_parameteriv_data_length");
pragma Import
(C,
xcb_glx_get_convolution_parameteriv_data_end,
"xcb_glx_get_convolution_parameteriv_data_end");
pragma Import
(C,
xcb_glx_get_convolution_parameteriv_reply,
"xcb_glx_get_convolution_parameteriv_reply");
pragma Import
(C,
xcb_glx_get_separable_filter_sizeof,
"xcb_glx_get_separable_filter_sizeof");
pragma Import
(C, xcb_glx_get_separable_filter, "xcb_glx_get_separable_filter");
pragma Import
(C,
xcb_glx_get_separable_filter_unchecked,
"xcb_glx_get_separable_filter_unchecked");
pragma Import
(C,
xcb_glx_get_separable_filter_rows_and_cols,
"xcb_glx_get_separable_filter_rows_and_cols");
pragma Import
(C,
xcb_glx_get_separable_filter_rows_and_cols_length,
"xcb_glx_get_separable_filter_rows_and_cols_length");
pragma Import
(C,
xcb_glx_get_separable_filter_rows_and_cols_end,
"xcb_glx_get_separable_filter_rows_and_cols_end");
pragma Import
(C,
xcb_glx_get_separable_filter_reply,
"xcb_glx_get_separable_filter_reply");
pragma Import
(C, xcb_glx_get_histogram_sizeof, "xcb_glx_get_histogram_sizeof");
pragma Import (C, xcb_glx_get_histogram, "xcb_glx_get_histogram");
pragma Import
(C, xcb_glx_get_histogram_unchecked, "xcb_glx_get_histogram_unchecked");
pragma Import (C, xcb_glx_get_histogram_data, "xcb_glx_get_histogram_data");
pragma Import
(C,
xcb_glx_get_histogram_data_length,
"xcb_glx_get_histogram_data_length");
pragma Import
(C, xcb_glx_get_histogram_data_end, "xcb_glx_get_histogram_data_end");
pragma Import
(C, xcb_glx_get_histogram_reply, "xcb_glx_get_histogram_reply");
pragma Import
(C,
xcb_glx_get_histogram_parameterfv_sizeof,
"xcb_glx_get_histogram_parameterfv_sizeof");
pragma Import
(C,
xcb_glx_get_histogram_parameterfv,
"xcb_glx_get_histogram_parameterfv");
pragma Import
(C,
xcb_glx_get_histogram_parameterfv_unchecked,
"xcb_glx_get_histogram_parameterfv_unchecked");
pragma Import
(C,
xcb_glx_get_histogram_parameterfv_data,
"xcb_glx_get_histogram_parameterfv_data");
pragma Import
(C,
xcb_glx_get_histogram_parameterfv_data_length,
"xcb_glx_get_histogram_parameterfv_data_length");
pragma Import
(C,
xcb_glx_get_histogram_parameterfv_data_end,
"xcb_glx_get_histogram_parameterfv_data_end");
pragma Import
(C,
xcb_glx_get_histogram_parameterfv_reply,
"xcb_glx_get_histogram_parameterfv_reply");
pragma Import
(C,
xcb_glx_get_histogram_parameteriv_sizeof,
"xcb_glx_get_histogram_parameteriv_sizeof");
pragma Import
(C,
xcb_glx_get_histogram_parameteriv,
"xcb_glx_get_histogram_parameteriv");
pragma Import
(C,
xcb_glx_get_histogram_parameteriv_unchecked,
"xcb_glx_get_histogram_parameteriv_unchecked");
pragma Import
(C,
xcb_glx_get_histogram_parameteriv_data,
"xcb_glx_get_histogram_parameteriv_data");
pragma Import
(C,
xcb_glx_get_histogram_parameteriv_data_length,
"xcb_glx_get_histogram_parameteriv_data_length");
pragma Import
(C,
xcb_glx_get_histogram_parameteriv_data_end,
"xcb_glx_get_histogram_parameteriv_data_end");
pragma Import
(C,
xcb_glx_get_histogram_parameteriv_reply,
"xcb_glx_get_histogram_parameteriv_reply");
pragma Import (C, xcb_glx_get_minmax_sizeof, "xcb_glx_get_minmax_sizeof");
pragma Import (C, xcb_glx_get_minmax, "xcb_glx_get_minmax");
pragma Import
(C, xcb_glx_get_minmax_unchecked, "xcb_glx_get_minmax_unchecked");
pragma Import (C, xcb_glx_get_minmax_data, "xcb_glx_get_minmax_data");
pragma Import
(C, xcb_glx_get_minmax_data_length, "xcb_glx_get_minmax_data_length");
pragma Import
(C, xcb_glx_get_minmax_data_end, "xcb_glx_get_minmax_data_end");
pragma Import (C, xcb_glx_get_minmax_reply, "xcb_glx_get_minmax_reply");
pragma Import
(C,
xcb_glx_get_minmax_parameterfv_sizeof,
"xcb_glx_get_minmax_parameterfv_sizeof");
pragma Import
(C, xcb_glx_get_minmax_parameterfv, "xcb_glx_get_minmax_parameterfv");
pragma Import
(C,
xcb_glx_get_minmax_parameterfv_unchecked,
"xcb_glx_get_minmax_parameterfv_unchecked");
pragma Import
(C,
xcb_glx_get_minmax_parameterfv_data,
"xcb_glx_get_minmax_parameterfv_data");
pragma Import
(C,
xcb_glx_get_minmax_parameterfv_data_length,
"xcb_glx_get_minmax_parameterfv_data_length");
pragma Import
(C,
xcb_glx_get_minmax_parameterfv_data_end,
"xcb_glx_get_minmax_parameterfv_data_end");
pragma Import
(C,
xcb_glx_get_minmax_parameterfv_reply,
"xcb_glx_get_minmax_parameterfv_reply");
pragma Import
(C,
xcb_glx_get_minmax_parameteriv_sizeof,
"xcb_glx_get_minmax_parameteriv_sizeof");
pragma Import
(C, xcb_glx_get_minmax_parameteriv, "xcb_glx_get_minmax_parameteriv");
pragma Import
(C,
xcb_glx_get_minmax_parameteriv_unchecked,
"xcb_glx_get_minmax_parameteriv_unchecked");
pragma Import
(C,
xcb_glx_get_minmax_parameteriv_data,
"xcb_glx_get_minmax_parameteriv_data");
pragma Import
(C,
xcb_glx_get_minmax_parameteriv_data_length,
"xcb_glx_get_minmax_parameteriv_data_length");
pragma Import
(C,
xcb_glx_get_minmax_parameteriv_data_end,
"xcb_glx_get_minmax_parameteriv_data_end");
pragma Import
(C,
xcb_glx_get_minmax_parameteriv_reply,
"xcb_glx_get_minmax_parameteriv_reply");
pragma Import
(C,
xcb_glx_get_compressed_tex_image_arb_sizeof,
"xcb_glx_get_compressed_tex_image_arb_sizeof");
pragma Import
(C,
xcb_glx_get_compressed_tex_image_arb,
"xcb_glx_get_compressed_tex_image_arb");
pragma Import
(C,
xcb_glx_get_compressed_tex_image_arb_unchecked,
"xcb_glx_get_compressed_tex_image_arb_unchecked");
pragma Import
(C,
xcb_glx_get_compressed_tex_image_arb_data,
"xcb_glx_get_compressed_tex_image_arb_data");
pragma Import
(C,
xcb_glx_get_compressed_tex_image_arb_data_length,
"xcb_glx_get_compressed_tex_image_arb_data_length");
pragma Import
(C,
xcb_glx_get_compressed_tex_image_arb_data_end,
"xcb_glx_get_compressed_tex_image_arb_data_end");
pragma Import
(C,
xcb_glx_get_compressed_tex_image_arb_reply,
"xcb_glx_get_compressed_tex_image_arb_reply");
pragma Import
(C,
xcb_glx_delete_queries_arb_sizeof,
"xcb_glx_delete_queries_arb_sizeof");
pragma Import
(C,
xcb_glx_delete_queries_arb_checked,
"xcb_glx_delete_queries_arb_checked");
pragma Import (C, xcb_glx_delete_queries_arb, "xcb_glx_delete_queries_arb");
pragma Import
(C, xcb_glx_delete_queries_arb_ids, "xcb_glx_delete_queries_arb_ids");
pragma Import
(C,
xcb_glx_delete_queries_arb_ids_length,
"xcb_glx_delete_queries_arb_ids_length");
pragma Import
(C,
xcb_glx_delete_queries_arb_ids_end,
"xcb_glx_delete_queries_arb_ids_end");
pragma Import
(C, xcb_glx_gen_queries_arb_sizeof, "xcb_glx_gen_queries_arb_sizeof");
pragma Import (C, xcb_glx_gen_queries_arb, "xcb_glx_gen_queries_arb");
pragma Import
(C,
xcb_glx_gen_queries_arb_unchecked,
"xcb_glx_gen_queries_arb_unchecked");
pragma Import
(C, xcb_glx_gen_queries_arb_data, "xcb_glx_gen_queries_arb_data");
pragma Import
(C,
xcb_glx_gen_queries_arb_data_length,
"xcb_glx_gen_queries_arb_data_length");
pragma Import
(C, xcb_glx_gen_queries_arb_data_end, "xcb_glx_gen_queries_arb_data_end");
pragma Import
(C, xcb_glx_gen_queries_arb_reply, "xcb_glx_gen_queries_arb_reply");
pragma Import (C, xcb_glx_is_query_arb, "xcb_glx_is_query_arb");
pragma Import
(C, xcb_glx_is_query_arb_unchecked, "xcb_glx_is_query_arb_unchecked");
pragma Import (C, xcb_glx_is_query_arb_reply, "xcb_glx_is_query_arb_reply");
pragma Import
(C, xcb_glx_get_queryiv_arb_sizeof, "xcb_glx_get_queryiv_arb_sizeof");
pragma Import (C, xcb_glx_get_queryiv_arb, "xcb_glx_get_queryiv_arb");
pragma Import
(C,
xcb_glx_get_queryiv_arb_unchecked,
"xcb_glx_get_queryiv_arb_unchecked");
pragma Import
(C, xcb_glx_get_queryiv_arb_data, "xcb_glx_get_queryiv_arb_data");
pragma Import
(C,
xcb_glx_get_queryiv_arb_data_length,
"xcb_glx_get_queryiv_arb_data_length");
pragma Import
(C, xcb_glx_get_queryiv_arb_data_end, "xcb_glx_get_queryiv_arb_data_end");
pragma Import
(C, xcb_glx_get_queryiv_arb_reply, "xcb_glx_get_queryiv_arb_reply");
pragma Import
(C,
xcb_glx_get_query_objectiv_arb_sizeof,
"xcb_glx_get_query_objectiv_arb_sizeof");
pragma Import
(C, xcb_glx_get_query_objectiv_arb, "xcb_glx_get_query_objectiv_arb");
pragma Import
(C,
xcb_glx_get_query_objectiv_arb_unchecked,
"xcb_glx_get_query_objectiv_arb_unchecked");
pragma Import
(C,
xcb_glx_get_query_objectiv_arb_data,
"xcb_glx_get_query_objectiv_arb_data");
pragma Import
(C,
xcb_glx_get_query_objectiv_arb_data_length,
"xcb_glx_get_query_objectiv_arb_data_length");
pragma Import
(C,
xcb_glx_get_query_objectiv_arb_data_end,
"xcb_glx_get_query_objectiv_arb_data_end");
pragma Import
(C,
xcb_glx_get_query_objectiv_arb_reply,
"xcb_glx_get_query_objectiv_arb_reply");
pragma Import
(C,
xcb_glx_get_query_objectuiv_arb_sizeof,
"xcb_glx_get_query_objectuiv_arb_sizeof");
pragma Import
(C, xcb_glx_get_query_objectuiv_arb, "xcb_glx_get_query_objectuiv_arb");
pragma Import
(C,
xcb_glx_get_query_objectuiv_arb_unchecked,
"xcb_glx_get_query_objectuiv_arb_unchecked");
pragma Import
(C,
xcb_glx_get_query_objectuiv_arb_data,
"xcb_glx_get_query_objectuiv_arb_data");
pragma Import
(C,
xcb_glx_get_query_objectuiv_arb_data_length,
"xcb_glx_get_query_objectuiv_arb_data_length");
pragma Import
(C,
xcb_glx_get_query_objectuiv_arb_data_end,
"xcb_glx_get_query_objectuiv_arb_data_end");
pragma Import
(C,
xcb_glx_get_query_objectuiv_arb_reply,
"xcb_glx_get_query_objectuiv_arb_reply");
pragma Import (C, x11_XOpenDisplay, "x11_XOpenDisplay");
pragma Import (C, x11_DefaultScreen, "x11_DefaultScreen");
pragma Import (C, x11_XGetXCBConnection, "x11_XGetXCBConnection");
pragma Import (C, x11_XSetEventQueueOwner, "x11_XSetEventQueueOwner");
end xcb.Binding;
|
WITH GMP.Rationals, GMP.Integers, Ada.Text_IO, Ada.Strings.Fixed, Ada.Strings;
USE GMP.Rationals, GMP.Integers, Ada.Text_IO, Ada.Strings.Fixed, Ada.Strings;
PROCEDURE Main IS
FUNCTION Bernoulli_Number (N : Natural) RETURN Unbounded_Fraction IS
FUNCTION "/" (Left, Right : Natural) RETURN Unbounded_Fraction IS
(To_Unbounded_Integer (Left) / To_Unbounded_Integer (Right));
A : ARRAY (0 .. N) OF Unbounded_Fraction;
BEGIN
FOR M IN 0 .. N LOOP
A (M) := 1 / (M + 1);
FOR J IN REVERSE 1 .. M LOOP
A (J - 1) := (J / 1 ) * (A (J - 1) - A (J));
END LOOP;
END LOOP;
RETURN A (0);
END Bernoulli_Number;
BEGIN
FOR I IN 0 .. 60 LOOP
IF I MOD 2 = 0 OR I = 1 THEN
DECLARE
B : Unbounded_Fraction := Bernoulli_Number (I);
S : String := Image (GMP.Rationals.Numerator (B));
BEGIN
Put_Line ("B (" & (IF I < 10 THEN " " ELSE "") & Trim (I'Img, Left)
& ")=" & (44 - S'Length) * " " & Image (B));
END;
END IF;
END LOOP;
END Main;
|
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2020, AdaCore --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- 1. Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- 2. Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in --
-- the documentation and/or other materials provided with the --
-- distribution. --
-- 3. Neither the name of the copyright holder nor the names of its --
-- contributors may be used to endorse or promote products derived --
-- from this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT --
-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, --
-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY --
-- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT --
-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE --
-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
with System;
with HAL; use HAL;
with Cortex_M_SVD.Debug; use Cortex_M_SVD.Debug;
with NRF_SVD.CLOCK; use NRF_SVD.CLOCK;
with NRF_SVD.FICR; use NRF_SVD.FICR;
with NRF_SVD.POWER; use NRF_SVD.POWER;
with NRF_SVD.TEMP; use NRF_SVD.TEMP;
package body nRF.Device is
Undocumented_Reg_FE0 : UInt32
with Address => System'To_Address (16#F0000FE0#);
Undocumented_Reg_FE4 : UInt32
with Address => System'To_Address (16#F0000FE4#);
Undocumented_Reg_FE8 : UInt32
with Address => System'To_Address (16#F0000FE8#);
FE0_Is_Six : constant Boolean := (Undocumented_Reg_FE0 and 16#FF#) = 6;
FE4_Is_Zero : constant Boolean := (Undocumented_Reg_FE0 and 16#0F#) = 0;
function Errata_12 return Boolean;
function Errata_16 return Boolean;
function Errata_31 return Boolean;
function Errata_32 return Boolean;
function Errata_36 return Boolean;
function Errata_37 return Boolean;
function Errata_57 return Boolean;
function Errata_66 return Boolean;
function Errata_136 return Boolean;
function Errata_182 return Boolean;
function Errata_108 return Boolean;
---------------
-- Errata_12 --
---------------
function Errata_12 return Boolean is
begin
if FE0_Is_Six and FE4_Is_Zero then
case Undocumented_Reg_FE8 and 16#F0# is
when 16#30# => return True;
when 16#40# => return True;
when 16#50# => return True;
when others => return False;
end case;
end if;
return False;
end Errata_12;
E12_Undocumented_COMP_Reg_540 : UInt32
with Address => System'To_Address (16#40013540#);
E12_Undocumented_FICR_Reg_324 : UInt32
with Address => System'To_Address (16#10000324#);
---------------
-- Errata_16 --
---------------
function Errata_16 return Boolean is
begin
if FE0_Is_Six and FE4_Is_Zero and Undocumented_Reg_FE8 = 16#30# then
return True;
end if;
return False;
end Errata_16;
E16_Undocumented_Reg_074 : UInt32
with Address => System'To_Address (16#4007C074#);
---------------
-- Errata_31 --
---------------
function Errata_31 return Boolean is
begin
return Errata_12;
end Errata_31;
E31_Undocumented_CLOCK_Reg_53C : UInt32 with
Address => System'To_Address (16#4000053C#);
E31_Undocumented_FICR_Reg_244 : UInt32 with
Address => System'To_Address (16#10000244#);
---------------
-- Errata_32 --
---------------
function Errata_32 return Boolean is
begin
return Errata_16;
end Errata_32;
---------------
-- Errata_36 --
---------------
function Errata_36 return Boolean is
begin
return Errata_12;
end Errata_36;
---------------
-- Errata_37 --
---------------
function Errata_37 return Boolean is
begin
return Errata_16;
end Errata_37;
E37_Undocumented_Reg_5A0 : UInt32 with
Address => System'To_Address (16#400005A0#);
---------------
-- Errata_57 --
---------------
function Errata_57 return Boolean is
begin
return Errata_16;
end Errata_57;
E57_Undocumented_NFCT_Reg_610 : UInt32 with
Address => System'To_Address (16#40005610#);
E57_Undocumented_NFCT_Reg_614 : UInt32 with
Address => System'To_Address (16#40005614#);
E57_Undocumented_NFCT_Reg_618 : UInt32 with
Address => System'To_Address (16#40005618#);
E57_Undocumented_NFCT_Reg_688 : UInt32 with
Address => System'To_Address (16#40005688#);
---------------
-- Errata_66 --
---------------
function Errata_66 return Boolean is
begin
if FE0_Is_Six and FE4_Is_Zero and Undocumented_Reg_FE8 = 16#50# then
return True;
end if;
return False;
end Errata_66;
----------------
-- Errata_108 --
----------------
function Errata_108 return Boolean is
begin
return Errata_12;
end Errata_108;
E108_Undocumented_Reg_EE4 : UInt32 with
Address => System'To_Address (16#40000EE4#);
E108_Undocumented_FICR_Reg_258 : UInt32 with
Address => System'To_Address (16#10000258#);
----------------
-- Errata_136 --
----------------
function Errata_136 return Boolean is
begin
return Errata_12;
end Errata_136;
----------------
-- Errata_182 --
----------------
function Errata_182 return Boolean is
Undocumented_FICR_Reg_130 : UInt32
with Address => System'To_Address (16#10000130#);
Undocumented_FICR_Reg_134 : UInt32
with Address => System'To_Address (16#10000130#);
begin
return Undocumented_FICR_Reg_130 = 6 and Undocumented_FICR_Reg_134 = 6;
end Errata_182;
E182_Undocumented_Reg_73C : UInt32 with
Address => System'To_Address (16#4000173C#);
begin
if Errata_12 then
-- Workaround for Errata 12 "COMP: Reference ladder not correctly
-- calibrated"
E12_Undocumented_COMP_Reg_540 :=
Shift_Right (E12_Undocumented_FICR_Reg_324 and 16#1F00#, 8);
end if;
if Errata_16 then
-- Workaround for Errata 16 "System: RAM may be corrupt on wakeup from CPU
-- IDLE"
E16_Undocumented_Reg_074 := 3131961357;
end if;
if Errata_31 then
-- Workaround for Errata 31 "CLOCK: Calibration values are not correctly
-- loaded from FICR at reset"
E31_Undocumented_CLOCK_Reg_53C :=
Shift_Right (E31_Undocumented_FICR_Reg_244 and 16#E000#, 13);
end if;
if Errata_32 then
-- Workaround for Errata 32 "DIF: Debug session automatically enables
-- TracePort pins"
Debug_Periph.DEMCR.TRCENA := False;
end if;
if Errata_36 then
-- Workaround for Errata 36 "CLOCK: Some registers are not reset when
-- expected"
CLOCK_Periph.EVENTS_DONE := 0;
CLOCK_Periph.EVENTS_CTTO := 0;
CLOCK_Periph.CTIV.CTIV := 0;
end if;
if Errata_37 then
-- Workaround for Errata 37 "RADIO: Encryption engine is slow by default"
E37_Undocumented_Reg_5A0 := 3;
end if;
if Errata_57 then
-- Workaround for Errata 57 "NFCT: NFC Modulation amplitude"
E57_Undocumented_NFCT_Reg_610 := 5;
E57_Undocumented_NFCT_Reg_688 := 1;
E57_Undocumented_NFCT_Reg_618 := 0;
E57_Undocumented_NFCT_Reg_614 := 16#3F#;
end if;
if Errata_66 then
-- Workaround for Errata 66 "TEMP: Linearity specification not met with
-- default settings"
TEMP_Periph.A0.A0 := FICR_Periph.TEMP.A0.A;
TEMP_Periph.A1.A1 := FICR_Periph.TEMP.A1.A;
TEMP_Periph.A2.A2 := FICR_Periph.TEMP.A2.A;
TEMP_Periph.A3.A3 := FICR_Periph.TEMP.A3.A;
TEMP_Periph.A4.A4 := FICR_Periph.TEMP.A4.A;
TEMP_Periph.A5.A5 := FICR_Periph.TEMP.A5.A;
TEMP_Periph.B0.B0 := FICR_Periph.TEMP.B0.B;
TEMP_Periph.B1.B1 := FICR_Periph.TEMP.B1.B;
TEMP_Periph.B2.B2 := FICR_Periph.TEMP.B2.B;
TEMP_Periph.B3.B3 := FICR_Periph.TEMP.B3.B;
TEMP_Periph.B4.B4 := FICR_Periph.TEMP.B4.B;
TEMP_Periph.B5.B5 := FICR_Periph.TEMP.B5.B;
TEMP_Periph.T0.T0 := FICR_Periph.TEMP.T0.T;
TEMP_Periph.T1.T1 := FICR_Periph.TEMP.T1.T;
TEMP_Periph.T2.T2 := FICR_Periph.TEMP.T2.T;
TEMP_Periph.T3.T3 := FICR_Periph.TEMP.T3.T;
TEMP_Periph.T4.T4 := FICR_Periph.TEMP.T4.T;
end if;
if Errata_108 then
-- Workaround for Errata 108 "RAM: RAM content cannot be trusted upon
-- waking up from System ON Idle or System OFF mode"
E108_Undocumented_Reg_EE4 := E108_Undocumented_FICR_Reg_258 and 16#4F#;
end if;
if Errata_136 then
-- Workaround for Errata 136 "System: Bits in RESETREAS are set when they
-- should not be"
if POWER_Periph.RESETREAS.RESETPIN = Detected then
POWER_Periph.RESETREAS.RESETPIN := Notdetected;
end if;
end if;
if Errata_182 then
-- Workaround for Errata 182 "RADIO: Fixes for anomalies #102, #106, and
-- #107 do not take effect"
E182_Undocumented_Reg_73C :=
E182_Undocumented_Reg_73C or Shift_Left (1, 10);
end if;
end nRF.Device;
|
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O G A . S E R V E R . D A T A B A S E --
-- --
-- S p e c --
-- --
-- --
-- Copyright (C) 2014 David Botton --
-- --
-- This library is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
-- Free Software Foundation; either version 3, or (at your option) any --
-- later version. This library is distributed in the hope that it will be --
-- useful, but WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are --
-- granted additional permissions described in the GCC Runtime Library --
-- Exception, version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- For more information please go to http://www.gnoga.com --
------------------------------------------------------------------------------
-- Abstract class for database access. Use one of the specific implementations
-- for MySQL, SQLLite, etc.
with Ada.Strings.Unbounded;
with Ada.Containers.Indefinite_Vectors;
package Ada_GUI.Gnoga.Server.Database is
type Connection is limited interface;
type Connection_Access is access all Connection'Class;
procedure Disconnect (C : in out Connection) is abstract;
-- Disconnect from server
procedure Execute_Query (C : in out Connection; SQL : String) is abstract;
-- Execute an SQL Query with no result set
function Execute_Update (C : in out Connection; SQL : String)
return Natural is abstract;
-- Executes and SQL Query and returns the number of affected rows
function Affected_Rows (C : Connection) return Natural is abstract;
-- Returns the number of rows affected by an Execute_Query
function Insert_ID (C : Connection) return Natural is abstract;
-- Returns the last value assigned to an auto increment field upon insert
function Error_Message (C : Connection) return String is abstract;
-- Returns the last error message that has occurred on this connection
function List_Of_Tables (C : Connection)
return Gnoga.Data_Array_Type is abstract;
-- Return an array of table names
function List_Fields_Of_Table
(C : Connection;
Table_Name : String)
return Gnoga.Data_Array_Type is abstract;
-- Return an array of field names for table
type Field_Description is record
Column_Name : Ada.Strings.Unbounded.Unbounded_String;
Data_Type : Ada.Strings.Unbounded.Unbounded_String;
Can_Be_Null : Boolean;
Default_Value : Ada.Strings.Unbounded.Unbounded_String;
end record;
package Field_Description_Arrays is
new Ada.Containers.Indefinite_Vectors (Natural, Field_Description);
subtype Field_Description_Array_Type is Field_Description_Arrays.Vector;
function Field_Descriptions
(C : Connection; Table_Name : String)
return Field_Description_Array_Type is abstract;
-- Return an array of Field_Description records describe the fields of
-- a table
function Field_Type (Field : Field_Description) return String;
-- Returns the field type portion of a data type, for example:
-- If the Field.Data_Type = Varchar(80) then will return Varchar
function Field_Size (Field : Field_Description) return Natural;
-- Returns the field size portion of a data type, for example:
-- If the Field.Data_Type = varchar(80) then will return 80
-- If the Data_Type does not have a size portion will return 0
-- If the Data_Type is a numeric with decimals, e.g. decimal(10,2)
-- then it will return the non-decimal portion.
function Field_Decimals (Field : Field_Description) return Natural;
-- Returns the decimal portion of a field size if it exists or 0
-- for example: if the Data_Type = float(10,2) it will return 2
function Field_Options (Field : Field_Description) return String;
-- Returns the field options portion of a data type, for example:
-- If the Field.Data_Type = enum('N','Y') then will return 'N','Y'
-- as this is described in the database in the same way as field
-- size, this may be used for a string representation of the size
-- as well. For example varchar(80) will return the string 80
-- This is also used for descriptions like decimal(10,2), etc.
function ID_Field_String (C : Connection) return String is abstract;
-- Returns the propper type format for the ID field that should be part
-- of every table used by GRAW.
-- e.g. for SQLlite = "id INTEGER PRIMARY KEY AUTOINCREMENT"
-- for MySQL = "id INTEGER PRIMARY KEY AUTO_INCREMENT"
type Recordset is interface;
type Recordset_Access is access all Recordset'Class;
function Query (C : Connection; SQL : String)
return Recordset'Class
is abstract;
-- Execute query that returns Recordset
procedure Close (RS : in out Recordset) is abstract;
-- Close current recordset and free resources
procedure Next (RS : in out Recordset) is abstract;
-- Go to next row
function Next (RS : in out Recordset) return Boolean is abstract;
-- Go to next row and return true if not End of Recordset
procedure Iterate
(C : in out Connection;
SQL : in String;
Process : not null access procedure (RS : Recordset'Class))
is abstract;
-- Iterate through all rows in the result set of the query
procedure Iterate
(RS : in out Recordset;
Process : not null access procedure (RS : Recordset'Class))
is abstract;
-- Iterate through all rows in the recordset
procedure Iterate
(C : in out Connection;
SQL : String;
Process : not null access procedure (Row : Gnoga.Data_Map_Type))
is abstract;
-- Iterate through all rows in the result set of the query
procedure Iterate
(RS : in out Recordset;
Process : not null access procedure (Row : Gnoga.Data_Map_Type))
is abstract;
-- Iterate through all rows in the recordset
function Number_Of_Rows (RS : Recordset) return Natural is abstract;
-- Return number of rows in recordset
-- This function is not available in many implementations, check the
-- database specific package before considering use.
function Number_Of_Fields (RS : Recordset) return Natural is abstract;
-- Return number of fields in recordset
function Field_Name (RS : Recordset; Field_Number : Natural) return String
is abstract;
-- Return name of field
function Is_Null (RS : Recordset; Field_Number : Natural) return Boolean
is abstract;
function Is_Null (RS : Recordset; Field_Name : String) return Boolean
is abstract;
-- return True if value of field is null
function Field_Value (RS : Recordset;
Field_Number : Natural;
Handle_Nulls : Boolean := True)
return String
is abstract;
function Field_Value (RS : Recordset;
Field_Name : String;
Handle_Nulls : Boolean := True)
return String
is abstract;
-- return value of field, if Handle_Nulls is true, Null values will
-- return as empty Strings
function Field_Values (RS : Recordset) return Gnoga.Data_Map_Type
is abstract;
-- return map of all values for current row, NULL values are set to
-- an empty String
function Escape_String (C : Connection; S : String) return String
is abstract;
-- prepares a string for safe storage in a query
Connection_Error : exception;
-- Unable to connect to MYSQL Server or Not connected to Server
Database_Error : exception;
-- Unable to switch to specified Database
Table_Error : exception;
-- Unable to locate table or table has no fields
Query_Error : exception;
-- Unable to execute query
Empty_Recordset_Error : exception;
-- The recordset is currently empty
Empty_Row_Error : exception;
-- Attempt to read value from Row before calling Next
End_Of_Recordset : exception;
-- Attempt to go pass the last row in recordset
No_Such_Field : exception;
-- The value for a field name was requested that does not exits
Null_Field : exception;
-- The value for a Null field was requested
Not_Implemented : exception;
-- If a database method is called that is not implemented by the specific
-- database engined used this exception will be raised.
end Ada_GUI.Gnoga.Server.Database;
|
---------------------------------------
--Zubrych E.S.
--Labwork 1
--MA = MB * MC + a * ( MK + MT)
---------------------------------------
with Ada
.Text_IO, Ada
.Integer_Text_IO, DataOperations, Ada
.Synchronous_Task_Control, System
.Multiprocessors;
use
Ada.Text_IO,
Ada.Integer_Text_IO,
Ada.Synchronous_Task_Control,
System.Multiprocessors;
procedure Lab1 is
--CPU
cpu1 : CPU_Range := 1;
cpu2 : CPU_Range := 1;
N : Integer := 200;
P : Integer := 2;
H : Integer := N / P;
--Semaphors
S1, S2, S3, Scs1, Scs2 : Suspension_Object;
package Operations is new DataOperations (N);
use Operations;
MB, MK, MT : Matrix;
--Common resources
a : Integer;
MC : Matrix;
--Result
MA : Matrix;
--Tasks
procedure Tasks is
task T1 is
pragma Priority (3);
pragma Storage_Size (300_000_000);
pragma CPU (cpu1);
end T1;
task T2 is
pragma Priority (3);
pragma Storage_Size (300_000_000);
pragma CPU (cpu2);
end T2;
task body T1 is
a1 : Integer;
MC1 : Matrix;
begin
Put_Line ("T1 started");
--input a, MK, MC
FillWithOne (a);
FillWithOne (MK);
FillWithOne (MC);
--signal the completion of the input a, MK, MC
Set_True (S1);
--wait for data input in task T2
Suspend_Until_True (S2);
--critical section 1
Suspend_Until_True (Scs1);
a1 := a;
Set_True (Scs1);
--critical section 2
Suspend_Until_True (Scs2);
MC1 := MC;
Set_True (Scs2);
--calculating
MA (1 .. H) :=
Amount
(Multiple (MB, MC1, 1, H),
Multiple (a, Amount (MK, MT, 1, H), 1, H),
1,
H)
(1 .. H);
Set_True (S3);
Put_Line ("T1 finished");
end T1;
task body T2 is
a2 : Integer;
MC2 : Matrix;
begin
Put_Line ("T2 started");
--input MB, MT
FillWithOne (MB);
FillWithOne (MT);
--signal the completion of the input MB, MT
Set_True (S2);
--wait for data input in task T1
Suspend_Until_True (S1);
--critical section 1
Suspend_Until_True (Scs1);
a2 := a;
Set_True (Scs1);
--critical section 2
Suspend_Until_True (Scs2);
MC2 := MC;
Set_True (Scs2);
--calculating
MA (H + 1 .. N) :=
Amount
(Multiple (MB, MC2, H + 1, N),
Multiple (a, Amount (MK, MT, H + 1, N), H + 1, N),
H + 1,
N)
(H + 1 .. N);
Suspend_Until_True (S3);
Output (MA);
Put_Line ("T2 finished");
end T2;
begin
null;
end Tasks;
begin
Put_Line ("Program started");
Set_True (Scs1);
Set_True (Scs2);
Tasks;
Put_Line ("Program finished");
end Lab1;
|
with AAA.Strings;
with GNAT.OS_Lib; use GNAT.OS_Lib;
package body FSmaker.Source is
------------
-- Create --
------------
function Create (Src : String) return Instance is
Res : Instance;
begin
-- if AAA.Strings.Has_Prefix (Src, "http") then
-- declare
-- Proc : Spawn.Processes.Process;
-- Args : Spawn.String_Vectors.UTF_8_String_Vector;
-- begin
-- Proc.Set_Program ("wget");
-- Args.Append (Src);
-- Proc.Set_Arguments (Args);
-- Proc.Start;
--
-- loop
-- exit when Proc.Status = Not_Running;
-- end loop;
-- end;
-- end if;
Res.FD := Open_Read (Src, Binary);
if Res.FD = Invalid_FD then
raise Program_Error with "Cannot open source '" & Src & "'";
end if;
return Res;
end Create;
----------
-- Read --
----------
function Read (This : in out Instance;
Addr : System.Address;
Len : Natural)
return Natural
is
Res : Integer := Read (This.FD, Addr, Len);
begin
if Res < 0 then
raise Program_Error
with "Source read error: " & GNAT.OS_Lib.Errno_Message;
end if;
return Res;
end Read;
-----------
-- Close --
-----------
procedure Close (This : in out Instance) is
begin
if This.FD /= Invalid_FD then
Close (This.FD);
end if;
end Close;
end FSmaker.Source;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- XML Processor --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2010, Vadim Godunko <vgodunko@gmail.com> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
-- This package provides symbol table to store frequently used strings,
-- allocate identifier for them and reduce number of memory allocations by
-- reusing shared strings.
------------------------------------------------------------------------------
with League.Strings;
with Matreshka.Internals.Strings;
with Matreshka.Internals.Utf16;
package Matreshka.Internals.XML.Symbol_Tables is
pragma Preelaborate;
type Qualified_Name_Errors is
(Valid,
Colon_At_Start,
Colon_At_End,
Multiple_Colons,
First_Character_Is_Not_NS_Name_Start_Char);
type Symbol_Table is limited private;
procedure Insert
(Self : in out Symbol_Table;
String : not null Matreshka.Internals.Strings.Shared_String_Access;
First : Matreshka.Internals.Utf16.Utf16_String_Index;
Size : Matreshka.Internals.Utf16.Utf16_String_Index;
Length : Natural;
Namespaces : Boolean;
Qname_Error : out Qualified_Name_Errors;
Identifier : out Symbol_Identifier);
-- Lookup symbol table for name and returns its identifier if present,
-- otherwise add new name and returns allocated identifier.
procedure Insert
(Self : in out Symbol_Table;
String : not null Matreshka.Internals.Strings.Shared_String_Access;
Identifier : out Symbol_Identifier);
-- Lookup symbol table for name and returns its identifier if present,
-- otherwise add new name and returns allocated identifier.
function Name
(Self : Symbol_Table;
Identifier : Symbol_Identifier)
return not null Matreshka.Internals.Strings.Shared_String_Access;
-- Returns name of the identifier. Reference counter is not incremented.
function Name
(Self : Symbol_Table;
Identifier : Symbol_Identifier) return League.Strings.Universal_String;
-- Returns name of the identifier.
function Local_Name
(Self : Symbol_Table;
Identifier : Symbol_Identifier) return Symbol_Identifier;
-- Returns local name component of the identifier.
function Local_Name
(Self : Symbol_Table;
Identifier : Symbol_Identifier)
return not null Matreshka.Internals.Strings.Shared_String_Access;
-- Returns local name component of the identifier. Reference counter is not
-- incremented.
function Prefix_Name
(Self : Symbol_Table;
Identifier : Symbol_Identifier) return Symbol_Identifier;
-- Returns prefix name component of the identifier.
function Parameter_Entity
(Self : Symbol_Table;
Identifier : Symbol_Identifier) return Entity_Identifier;
-- Returns parameter entity associated with the name.
procedure Set_Parameter_Entity
(Self : in out Symbol_Table;
Identifier : Symbol_Identifier;
Entity : Entity_Identifier);
-- Associates parameter entity with the name.
function General_Entity
(Self : Symbol_Table;
Identifier : Symbol_Identifier) return Entity_Identifier;
-- Returns general entity associated with the name.
procedure Set_General_Entity
(Self : in out Symbol_Table;
Identifier : Symbol_Identifier;
Entity : Entity_Identifier);
-- Associates general entity with the name.
function Element
(Self : Symbol_Table;
Identifier : Symbol_Identifier) return Element_Identifier;
-- Returns element declaration associated with the name.
procedure Set_Element
(Self : in out Symbol_Table;
Identifier : Symbol_Identifier;
Element : Element_Identifier);
-- Associates element declaration with the name.
function Notation
(Self : Symbol_Table;
Identifier : Symbol_Identifier) return Notation_Identifier;
-- Returns notation declaration associated with the name.
procedure Set_Notation
(Self : in out Symbol_Table;
Identifier : Symbol_Identifier;
Notation : Notation_Identifier);
-- Associates notation declaration with the name.
procedure Initialize (Self : in out Symbol_Table);
-- Initialize internal structures and register predefined general entities.
procedure Finalize (Self : in out Symbol_Table);
-- Finalize internal structures.
procedure Reset (Self : in out Symbol_Table);
-- Resets internal structures to initial state.
private
type Symbol_Record is record
String : Matreshka.Internals.Strings.Shared_String_Access;
-- Name of the symbol.
Namespace_Processed : Boolean;
Prefix_Name : Symbol_Identifier;
Local_Name : Symbol_Identifier;
Element : Element_Identifier;
Notation : Notation_Identifier;
Parameter_Entity : Entity_Identifier;
General_Entity : Entity_Identifier;
end record;
type Symbol_Record_Array is
array (Symbol_Identifier range <>) of Symbol_Record;
type Symbol_Record_Array_Access is access all Symbol_Record_Array;
type Symbol_Table is record
Table : Symbol_Record_Array_Access;
Last : Symbol_Identifier;
end record;
pragma Inline (Element);
pragma Inline (General_Entity);
pragma Inline (Local_Name);
pragma Inline (Name);
pragma Inline (Notation);
pragma Inline (Parameter_Entity);
pragma Inline (Prefix_Name);
pragma Inline (Set_Element);
pragma Inline (Set_General_Entity);
pragma Inline (Set_Notation);
pragma Inline (Set_Parameter_Entity);
end Matreshka.Internals.XML.Symbol_Tables;
|
-- A87B59A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
-- this public release, the Government intends to confer upon all
-- recipients unlimited rights equal to those held by the Government.
-- These rights include rights to use, duplicate, release or disclose the
-- released technical data and computer software in whole or in part, in
-- any manner and for any purpose whatsoever, and to have or permit others
-- to do so.
--
-- DISCLAIMER
--
-- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
-- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
-- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
-- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
-- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
-- PARTICULAR PURPOSE OF SAID MATERIAL.
--*
-- CHECK THAT BECAUSE A GENERIC ACTUAL PROGRAM PARAMETER MUST BE A
-- SUBPROGRAM, AN ENUMERATION LITERAL, OR AN ENTRY WITH THE SAME
-- PARAMETER AND RESULT TYPE PROFILE AS THE FORMAL PARAMETER, AN
-- OVERLOADED NAME APPEARING AS AN ACTUAL PARAMETER CAN BE RESOLVED.
-- R.WILLIAMS 9/24/86
WITH REPORT; USE REPORT;
PROCEDURE A87B59A IS
BEGIN
TEST ( "A87B59A", "CHECK THAT BECAUSE A GENERIC ACTUAL PROGRAM " &
"PARAMETER MUST BE A SUBPROGRAM, AN " &
"ENUMERATION LITERAL, OR AN ENTRY WITH THE " &
"SAME PARAMETER AND RESULT TYPE PROFILE AS " &
"THE FORMAL PARAMETER, AN OVERLOADED NAME " &
"APPEARING AS AN ACTUAL PARAMETER CAN BE " &
"RESOLVED" );
DECLARE -- A.
FUNCTION F1 RETURN INTEGER IS
BEGIN
RETURN IDENT_INT (0);
END F1;
FUNCTION F1 RETURN BOOLEAN IS
BEGIN
RETURN IDENT_BOOL (TRUE);
END F1;
GENERIC
TYPE T IS (<>);
WITH FUNCTION F RETURN T;
PROCEDURE P;
PROCEDURE P IS
BEGIN
NULL;
END P;
PROCEDURE P1 IS NEW P (INTEGER, F1);
PROCEDURE P2 IS NEW P (BOOLEAN, F1);
BEGIN
P1;
P2;
END; -- A.
DECLARE -- B.
FUNCTION F1 (X : INTEGER; B : BOOLEAN) RETURN INTEGER IS
BEGIN
RETURN IDENT_INT (X);
END F1;
FUNCTION F1 (X : INTEGER; B : BOOLEAN) RETURN BOOLEAN IS
BEGIN
RETURN IDENT_BOOL (B);
END F1;
FUNCTION F1 (B : BOOLEAN; X : INTEGER) RETURN BOOLEAN IS
BEGIN
RETURN IDENT_BOOL (B);
END F1;
GENERIC
TYPE T1 IS (<>);
TYPE T2 IS (<>);
WITH FUNCTION F (A : T1; B : T2) RETURN T1;
PROCEDURE P1;
PROCEDURE P1 IS
BEGIN
NULL;
END P1;
GENERIC
TYPE T1 IS (<>);
TYPE T2 IS (<>);
WITH FUNCTION F (A : T1; B : T2) RETURN T2;
PROCEDURE P2;
PROCEDURE P2 IS
BEGIN
NULL;
END P2;
PROCEDURE PROC1 IS NEW P1 (INTEGER, BOOLEAN, F1);
PROCEDURE PROC2 IS NEW P1 (BOOLEAN, INTEGER, F1);
PROCEDURE PROC3 IS NEW P2 (INTEGER, BOOLEAN, F1);
BEGIN
PROC1;
PROC2;
END; -- B.
DECLARE -- C.
TYPE COLOR IS (RED, YELLOW, BLUE);
C : COLOR;
TYPE LIGHT IS (RED, YELLOW, GREEN);
L : LIGHT;
GENERIC
TYPE T IS (<>);
WITH FUNCTION F RETURN T;
FUNCTION GF RETURN T;
FUNCTION GF RETURN T IS
BEGIN
RETURN T'VAL (IDENT_INT (T'POS (F)));
END GF;
FUNCTION F1 IS NEW GF (COLOR, RED);
FUNCTION F2 IS NEW GF (LIGHT, YELLOW);
BEGIN
C := F1;
L := F2;
END; -- C.
DECLARE -- D.
TASK TK IS
ENTRY E (X : INTEGER);
ENTRY E (X : BOOLEAN);
ENTRY E (X : INTEGER; Y : BOOLEAN);
ENTRY E (X : BOOLEAN; Y : INTEGER);
END TK;
TASK BODY TK IS
BEGIN
LOOP
SELECT
ACCEPT E (X : INTEGER);
OR
ACCEPT E (X : BOOLEAN);
OR
ACCEPT E (X : INTEGER; Y : BOOLEAN);
OR
ACCEPT E (X : BOOLEAN; Y : INTEGER);
OR
TERMINATE;
END SELECT;
END LOOP;
END TK;
GENERIC
TYPE T1 IS (<>);
TYPE T2 IS (<>);
WITH PROCEDURE P1 (X : T1);
WITH PROCEDURE P2 (X : T1; Y : T2);
PACKAGE PKG IS
PROCEDURE P;
END PKG;
PACKAGE BODY PKG IS
PROCEDURE P IS
BEGIN
IF EQUAL (3, 3) THEN
P1 (T1'VAL (1));
P2 (T1'VAL (0), T2'VAL (1));
END IF;
END P;
END PKG;
PACKAGE PK1 IS NEW PKG (INTEGER, BOOLEAN, TK.E, TK.E);
PACKAGE PK2 IS NEW PKG (BOOLEAN, INTEGER, TK.E, TK.E);
BEGIN
PK1.P;
PK2.P;
END; -- D.
DECLARE -- E.
FUNCTION "+" (X, Y : BOOLEAN) RETURN BOOLEAN IS
BEGIN
RETURN IDENT_BOOL (X OR Y);
END "+";
GENERIC
TYPE T IS (<>);
WITH FUNCTION "+" (X, Y : T) RETURN T;
PROCEDURE P;
PROCEDURE P IS
S : T;
BEGIN
S := "+" (T'VAL (0), T'VAL (1));
END P;
PROCEDURE P1 IS NEW P (BOOLEAN, "+");
PROCEDURE P2 IS NEW P (INTEGER, "+");
BEGIN
P1;
P2;
END; -- E.
DECLARE -- F.
TYPE ADD_OPS IS ('+', '-', '&');
GENERIC
TYPE T1 IS (<>);
TYPE T2 IS (<>);
TYPE T3 IS ARRAY (POSITIVE RANGE <> ) OF T2;
X2 : T2;
X3 : T3;
WITH FUNCTION F1 RETURN T1;
WITH FUNCTION F2 (X : T2; Y : T3) RETURN T3;
PROCEDURE P;
PROCEDURE P IS
A : T1;
S : T3 (IDENT_INT (1) .. IDENT_INT (2));
BEGIN
A := F1;
S := F2 (X2, X3);
END P;
PROCEDURE P1 IS NEW P (ADD_OPS, CHARACTER, STRING,
'&', "&", '&', "&");
BEGIN
P1;
END; -- F.
RESULT;
END A87B59A;
|
package body Discr36_Pkg is
function Func return T is
Ret : T;
pragma Warnings (Off, Ret);
begin
return Ret;
end;
end Discr36_Pkg;
|
with impact.d2.Broadphase,
impact.d2.Contact,
impact.d2.world_Callbacks;
package impact.d2.contact.Manager
--
--
--
is
-- Delegate of b2World.
--
type b2ContactManager is tagged
record
m_broadPhase : aliased Broadphase.b2BroadPhase := broadphase.to_b2BroadPhase;
m_contactList : access Contact.b2Contact;
m_contactCount : int32;
m_contactFilter : access world_callbacks.b2ContactFilter'Class;
m_contactListener : access world_callbacks.b2ContactListener'Class;
-- b2BlockAllocator* m_allocator;
end record;
function to_b2ContactManager return b2ContactManager;
-- Broad-phase callback.
--
procedure addPair (Self : access b2ContactManager; userDataA, userDataB : access Any'Class);
procedure FindNewContacts (Self : in out b2ContactManager);
procedure Destroy (Self : in out b2ContactManager; c : in out impact.d2.Contact.view);
procedure Collide (Self : in out b2ContactManager);
end impact.d2.contact.Manager;
|
with System.Address_To_Named_Access_Conversions;
with System.Storage_Elements;
with C.string;
with C.winnls;
package body System.Zero_Terminated_WStrings is
pragma Suppress (All_Checks);
use type Storage_Elements.Storage_Offset;
package LPSTR_Conv is
new Address_To_Named_Access_Conversions (C.char, C.winnt.LPSTR);
-- implementation
function Value (Item : not null access constant C.winnt.WCHAR)
return String is
begin
return Value (Item, C.string.wcslen (Item));
end Value;
function Value (
Item : not null access constant C.winnt.WCHAR;
Length : C.size_t)
return String
is
Result : String (1 .. Natural (Length) * 2);
Result_Length : C.signed_int;
begin
Result_Length :=
C.winnls.WideCharToMultiByte (
C.winnls.CP_UTF8,
0,
Item,
C.signed_int (Length),
LPSTR_Conv.To_Pointer (Result'Address),
Result'Length,
null,
null);
return Result (1 .. Natural (Result_Length));
end Value;
procedure To_C (Source : String; Result : not null access C.winnt.WCHAR) is
Dummy : C.size_t;
begin
To_C (Source, Result, Dummy);
end To_C;
procedure To_C (
Source : String;
Result : not null access C.winnt.WCHAR;
Result_Length : out C.size_t)
is
type LPWSTR is access all C.winnt.WCHAR -- local type
with Convention => C;
for LPWSTR'Storage_Size use 0;
package LPWSTR_Conv is
new Address_To_Named_Access_Conversions (C.winnt.WCHAR, LPWSTR);
Source_Length : constant Natural := Source'Length;
Raw_Result_Length : C.signed_int;
Result_End : LPWSTR;
begin
Raw_Result_Length :=
C.winnls.MultiByteToWideChar (
C.winnls.CP_UTF8,
0,
LPSTR_Conv.To_Pointer (Source'Address),
C.signed_int (Source_Length),
Result,
C.signed_int (Source_Length)); -- assuming Result has enough size
Result_End :=
LPWSTR_Conv.To_Pointer (
LPWSTR_Conv.To_Address (LPWSTR (Result))
+ Storage_Elements.Storage_Offset (Raw_Result_Length)
* (C.winnt.WCHAR'Size / Standard'Storage_Unit));
Result_End.all := C.winnt.WCHAR'Val (0);
Result_Length := C.size_t (Raw_Result_Length);
end To_C;
end System.Zero_Terminated_WStrings;
|
with Ada.Command_Line;
with Ada.Text_IO;
with GNAT.Command_Line;
with GNAT.OS_Lib;
with GNAT.Strings;
with Asis_Tool_2.Tool;
procedure Run_Asis_Tool_2 is
package ACL renames Ada.Command_Line;
package GCL renames GNAT.Command_Line;
type Options_Record is record -- Initialized
Config : GCL.Command_Line_Configuration; -- Initialized
Debug : aliased Boolean := False;
File_Name : aliased GNAT.Strings.String_Access; -- Initialized
GNAT_Home : aliased GNAT.Strings.String_Access; -- Initialized
Output_Dir : aliased GNAT.Strings.String_Access; -- Initialized
end record;
Options : aliased Options_Record; -- Initialized
Tool : Asis_Tool_2.Tool.Class; -- Initialized
procedure Log (Message : in String) is
begin
Ada.Text_Io.Put_Line ("Run_Asis_Tool_2: " & Message);
end;
procedure Get_Options is
begin
GCL.Define_Switch (Options.Config, Options.Debug'Access,
"-d", Long_Switch => "--debug",
Help => "Output debug information");
GCL.Define_Switch (Options.Config, Options.File_Name'Access,
"-f:", Long_Switch => "--file=",
Help => "File to process");
GCL.Define_Switch (Options.Config, Options.Gnat_Home'Access,
"-g:", Long_Switch => "--gnat_home=",
Help => "GNAT home directory");
GCL.Define_Switch (Options.Config, Options.Output_Dir'Access,
"-o:", Long_Switch => "--output_dir=",
Help => "Output directory");
GCL.Getopt (Options.Config);
exception
when X : GNAT.Command_Line.Exit_From_Command_Line =>
Log ("*** GCL raised Exit_From_Command_Line. Program will exit now.");
raise;
end Get_Options;
procedure dot_asisinit;
pragma Import (C, dot_asisinit);
procedure dot_asisfinal;
pragma Import (C, dot_asisfinal);
begin
Get_Options;
Log ("BEGIN");
dot_asisinit;
Tool.Process
(File_Name => Options.File_Name.all,
Output_Dir => Options.Output_Dir.all,
GNAT_Home => Options.GNAT_Home.all,
Debug => Options.Debug);
dot_asisfinal;
Log ("END");
end Run_Asis_Tool_2;
|
pragma Ada_2012;
package body Yeison_Multi is
------------
-- To_Int --
------------
function To_Int (Img : String) return Scalar is
begin
return raise Program_Error with "Unimplemented function To_Int";
end To_Int;
------------
-- To_Str --
------------
function To_Str (Img : Wide_Wide_String) return Scalar is
begin
return raise Program_Error with "Unimplemented function To_Str";
end To_Str;
-----------
-- Empty --
-----------
function Empty return Map is
begin
return raise Program_Error with "Unimplemented function Empty";
end Empty;
------------
-- Insert --
------------
procedure Insert (This : in out Map; Key : String; Val : Any'Class) is
begin
raise Program_Error with "Unimplemented procedure Insert";
end Insert;
------------
-- Insert --
------------
procedure Insert (This : in out Map; Key : String; Val : Scalar'Class) is
begin
raise Program_Error with "Unimplemented procedure Insert";
end Insert;
------------
-- Insert --
------------
procedure Insert (This : in out Map; Key : String; Val : Map) is
begin
raise Program_Error with "Unimplemented procedure Insert";
end Insert;
end Yeison_Multi;
|
-- -----------------------------------------------------------------------------
-- smk, the smart make (http://lionel.draghi.free.fr/smk/)
-- © 2018, 2019 Lionel Draghi <lionel.draghi@free.fr>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
-- http://www.apache.org/licenses/LICENSE-2.0
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-- -----------------------------------------------------------------------------
with File_Utilities;
with Smk.IO;
with Smk.Settings;
with Ada.Calendar; use Ada.Calendar;
with Ada.Directories;
with Ada.Strings.Fixed;
package body Smk.Files is
-- --------------------------------------------------------------------------
function "+" (Name : File_Name) return String is
(To_String (Name));
function "+" (Name : String) return File_Name is
(File_Name'(To_Unbounded_String (Name)));
-- --------------------------------------------------------------------------
function Shorten (Name : String) return String is
(if Settings.Shorten_File_Names
then File_Utilities.Short_Path (From_Dir => Settings.Initial_Directory,
To_File => Name)
else Name);
function Shorten (Name : File_Name) return String is
(Shorten (+Name));
-- --------------------------------------------------------------------------
function Modification_Time (File_Name : String) return Time is
use Ada.Directories;
begin
if Exists (File_Name) and then Kind (File_Name) /= Special_File
-- Trying to get Modification_Time of /dev/urandom
-- raise Name_Error
then
return Ada.Directories.Modification_Time (File_Name);
else
return Clock;
end if;
end Modification_Time;
-- --------------------------------------------------------------------------
function Create (File : File_Name;
Role : File_Role) return File_Type is
((Time_Tag => Modification_Time (+File),
Is_Dir => Is_Dir (+File),
Is_System => Settings.Is_System (+File),
Is_Source => Role = Source,
Is_Target => Role = Target,
Status => New_File));
-- --------------------------------------------------------------------------
function Time_Tag (File : File_Type) return Time is (File.Time_Tag);
function Is_Dir (File : File_Type) return Boolean is (File.Is_Dir);
function Is_System (File : File_Type) return Boolean is (File.Is_System);
function Role (File : File_Type) return File_Role is
(if Is_Source (File) then Source
else (if Is_Target (File) then Target
else Unused));
function Status (File : File_Type) return File_Status is (File.Status);
function Is_Source (File : File_Type) return Boolean is (File.Is_Source);
function Is_Target (File : File_Type) return Boolean is (File.Is_Target);
-- -----------------------------------------------------------------------
function Has_Target (Name : File_Name;
Target : String) return Boolean is
begin
if Target = "" then
return False;
elsif Ada.Strings.Fixed.Tail (+Name, Target'Length) = Target then
IO.Put_Line ("File " & (+Name) & " match Target "
& Target & ".", Level => IO.Verbose);
return True;
else
return False;
end if;
end Has_Target;
-- --------------------------------------------------------------------------
function File_Image (Name : File_Name;
File : File_Type;
Prefix : String := "") return String is
Left : constant String :=
(if Settings.Long_Listing_Format
then Prefix
& (if Is_Dir (File) then "[Dir] " else "[Fil] ")
& (if Is_System (File) then "[System] " else "[Normal] ")
& "[" & Role_Image (Role (File)) & "] "
& "[" & Status_Image (File.Status) & "] "
& "[" & IO.Image (File.Time_Tag) & "] "
else Prefix);
begin
return Left & Shorten (Name);
end File_Image;
-- --------------------------------------------------------------------------
function Is_Dir (File_Name : in String) return Boolean is
use Ada.Directories;
begin
return Exists (File_Name) and then Kind (File_Name) = Directory;
end Is_Dir;
-- --------------------------------------------------------------------------
procedure Update_File_Status (Name : in File_Name;
File : in out File_Type;
Previous_Status : out File_Status;
Current_Status : out File_Status)
is
Fl_Name : constant String := +Name;
use Ada.Directories;
begin
Previous_Status := File.Status;
if not Exists (Fl_Name) then
File.Status := Missing;
elsif Modification_Time (Fl_Name) > File.Time_Tag then
File.Status := Updated;
else
File.Status := Identical;
end if;
Current_Status := File.Status;
IO.Put_Line (Item => "[" & Short_Status_Image (Previous_Status) & " -> "
& Short_Status_Image (Current_Status) & "] "
& (+Name),
Level => IO.Debug);
end Update_File_Status;
end Smk.Files;
|
-- This spec has been automatically generated from STM32WL5x_CM0P.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.HSEM is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype HSEM_R_PROCID_Field is HAL.UInt8;
subtype HSEM_R_COREID_Field is HAL.UInt4;
-- HSEM register HSEM_R0 HSEM_R31
type HSEM_R_Register is record
-- Semaphore ProcessID
PROCID : HSEM_R_PROCID_Field := 16#0#;
-- COREID
COREID : HSEM_R_COREID_Field := 16#0#;
-- unspecified
Reserved_12_30 : HAL.UInt19 := 16#0#;
-- Lock indication
LOCK : Boolean := False;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for HSEM_R_Register use record
PROCID at 0 range 0 .. 7;
COREID at 0 range 8 .. 11;
Reserved_12_30 at 0 range 12 .. 30;
LOCK at 0 range 31 .. 31;
end record;
subtype HSEM_RLR_PROCID_Field is HAL.UInt8;
subtype HSEM_RLR_COREID_Field is HAL.UInt4;
-- HSEM Read lock register
type HSEM_RLR_Register is record
-- Read-only. Semaphore ProcessID
PROCID : HSEM_RLR_PROCID_Field;
-- Read-only. COREID
COREID : HSEM_RLR_COREID_Field;
-- unspecified
Reserved_12_30 : HAL.UInt19;
-- Read-only. Lock indication
LOCK : Boolean;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for HSEM_RLR_Register use record
PROCID at 0 range 0 .. 7;
COREID at 0 range 8 .. 11;
Reserved_12_30 at 0 range 12 .. 30;
LOCK at 0 range 31 .. 31;
end record;
-- HSEM_C1IER_ISE array
type HSEM_C1IER_ISE_Field_Array is array (0 .. 15) of Boolean
with Component_Size => 1, Size => 16;
-- Type definition for HSEM_C1IER_ISE
type HSEM_C1IER_ISE_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- ISE as a value
Val : HAL.UInt16;
when True =>
-- ISE as an array
Arr : HSEM_C1IER_ISE_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for HSEM_C1IER_ISE_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- HSEM Interrupt enable register
type HSEM_C1IER_Register is record
-- Interrupt semaphore n enable bit
ISE : HSEM_C1IER_ISE_Field :=
(As_Array => False, Val => 16#0#);
-- unspecified
Reserved_16_31 : HAL.UInt16 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for HSEM_C1IER_Register use record
ISE at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- HSEM_C1ICR_ISC array
type HSEM_C1ICR_ISC_Field_Array is array (0 .. 15) of Boolean
with Component_Size => 1, Size => 16;
-- Type definition for HSEM_C1ICR_ISC
type HSEM_C1ICR_ISC_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- ISC as a value
Val : HAL.UInt16;
when True =>
-- ISC as an array
Arr : HSEM_C1ICR_ISC_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for HSEM_C1ICR_ISC_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- HSEM Interrupt clear register
type HSEM_C1ICR_Register is record
-- Interrupt(N) semaphore n clear bit
ISC : HSEM_C1ICR_ISC_Field :=
(As_Array => False, Val => 16#0#);
-- unspecified
Reserved_16_31 : HAL.UInt16 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for HSEM_C1ICR_Register use record
ISC at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- HSEM_C1ISR_ISF array
type HSEM_C1ISR_ISF_Field_Array is array (0 .. 15) of Boolean
with Component_Size => 1, Size => 16;
-- Type definition for HSEM_C1ISR_ISF
type HSEM_C1ISR_ISF_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- ISF as a value
Val : HAL.UInt16;
when True =>
-- ISF as an array
Arr : HSEM_C1ISR_ISF_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for HSEM_C1ISR_ISF_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- HSEM Interrupt status register
type HSEM_C1ISR_Register is record
-- Read-only. Interrupt(N) semaphore n status bit before enable (mask)
ISF : HSEM_C1ISR_ISF_Field;
-- unspecified
Reserved_16_31 : HAL.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for HSEM_C1ISR_Register use record
ISF at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- HSEM_C1MISR_MISF array
type HSEM_C1MISR_MISF_Field_Array is array (0 .. 15) of Boolean
with Component_Size => 1, Size => 16;
-- Type definition for HSEM_C1MISR_MISF
type HSEM_C1MISR_MISF_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- MISF as a value
Val : HAL.UInt16;
when True =>
-- MISF as an array
Arr : HSEM_C1MISR_MISF_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for HSEM_C1MISR_MISF_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- HSEM Masked interrupt status register
type HSEM_C1MISR_Register is record
-- Read-only. masked interrupt(N) semaphore n status bit after enable
-- (mask)
MISF : HSEM_C1MISR_MISF_Field;
-- unspecified
Reserved_16_31 : HAL.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for HSEM_C1MISR_Register use record
MISF at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- HSEM_C2IER_ISE array
type HSEM_C2IER_ISE_Field_Array is array (0 .. 15) of Boolean
with Component_Size => 1, Size => 16;
-- Type definition for HSEM_C2IER_ISE
type HSEM_C2IER_ISE_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- ISE as a value
Val : HAL.UInt16;
when True =>
-- ISE as an array
Arr : HSEM_C2IER_ISE_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for HSEM_C2IER_ISE_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- HSEM Interrupt enable register
type HSEM_C2IER_Register is record
-- Interrupt semaphore n enable bit
ISE : HSEM_C2IER_ISE_Field :=
(As_Array => False, Val => 16#0#);
-- unspecified
Reserved_16_31 : HAL.UInt16 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for HSEM_C2IER_Register use record
ISE at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- HSEM_C2ICR_ISC array
type HSEM_C2ICR_ISC_Field_Array is array (0 .. 15) of Boolean
with Component_Size => 1, Size => 16;
-- Type definition for HSEM_C2ICR_ISC
type HSEM_C2ICR_ISC_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- ISC as a value
Val : HAL.UInt16;
when True =>
-- ISC as an array
Arr : HSEM_C2ICR_ISC_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for HSEM_C2ICR_ISC_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- HSEM Interrupt clear register
type HSEM_C2ICR_Register is record
-- Read-only. Interrupt(N) semaphore n clear bit
ISC : HSEM_C2ICR_ISC_Field;
-- unspecified
Reserved_16_31 : HAL.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for HSEM_C2ICR_Register use record
ISC at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- HSEM_C2ISR_ISF array
type HSEM_C2ISR_ISF_Field_Array is array (0 .. 15) of Boolean
with Component_Size => 1, Size => 16;
-- Type definition for HSEM_C2ISR_ISF
type HSEM_C2ISR_ISF_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- ISF as a value
Val : HAL.UInt16;
when True =>
-- ISF as an array
Arr : HSEM_C2ISR_ISF_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for HSEM_C2ISR_ISF_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- HSEM Interrupt status register
type HSEM_C2ISR_Register is record
-- Read-only. Interrupt(N) semaphore n status bit before enable (mask)
ISF : HSEM_C2ISR_ISF_Field;
-- unspecified
Reserved_16_31 : HAL.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for HSEM_C2ISR_Register use record
ISF at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- HSEM_C2MISR_MISF array
type HSEM_C2MISR_MISF_Field_Array is array (0 .. 15) of Boolean
with Component_Size => 1, Size => 16;
-- Type definition for HSEM_C2MISR_MISF
type HSEM_C2MISR_MISF_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- MISF as a value
Val : HAL.UInt16;
when True =>
-- MISF as an array
Arr : HSEM_C2MISR_MISF_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for HSEM_C2MISR_MISF_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- HSEM Masked interrupt status register
type HSEM_C2MISR_Register is record
-- Read-only. masked interrupt(N) semaphore n status bit after enable
-- (mask)
MISF : HSEM_C2MISR_MISF_Field;
-- unspecified
Reserved_16_31 : HAL.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for HSEM_C2MISR_Register use record
MISF at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
subtype HSEM_CR_COREID_Field is HAL.UInt4;
subtype HSEM_CR_KEY_Field is HAL.UInt16;
-- HSEM Clear register
type HSEM_CR_Register is record
-- unspecified
Reserved_0_7 : HAL.UInt8 := 16#0#;
-- Write-only. COREID
COREID : HSEM_CR_COREID_Field := 16#0#;
-- unspecified
Reserved_12_15 : HAL.UInt4 := 16#0#;
-- Write-only. Semaphore clear Key
KEY : HSEM_CR_KEY_Field := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for HSEM_CR_Register use record
Reserved_0_7 at 0 range 0 .. 7;
COREID at 0 range 8 .. 11;
Reserved_12_15 at 0 range 12 .. 15;
KEY at 0 range 16 .. 31;
end record;
subtype HSEM_KEYR_KEY_Field is HAL.UInt16;
-- HSEM Interrupt clear register
type HSEM_KEYR_Register is record
-- unspecified
Reserved_0_15 : HAL.UInt16 := 16#0#;
-- Semaphore Clear Key
KEY : HSEM_KEYR_KEY_Field := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for HSEM_KEYR_Register use record
Reserved_0_15 at 0 range 0 .. 15;
KEY at 0 range 16 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Hardware semaphore
type HSEM_Peripheral is record
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R0 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R1 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R2 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R3 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R4 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R5 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R6 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R7 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R8 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R9 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R10 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R11 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R12 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R13 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R14 : aliased HSEM_R_Register;
-- HSEM register HSEM_R0 HSEM_R31
HSEM_R15 : aliased HSEM_R_Register;
-- HSEM Read lock register
HSEM_RLR0 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR1 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR2 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR3 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR4 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR5 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR6 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR7 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR8 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR9 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR10 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR11 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR12 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR13 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR14 : aliased HSEM_RLR_Register;
-- HSEM Read lock register
HSEM_RLR15 : aliased HSEM_RLR_Register;
-- HSEM Interrupt enable register
HSEM_C1IER : aliased HSEM_C1IER_Register;
-- HSEM Interrupt clear register
HSEM_C1ICR : aliased HSEM_C1ICR_Register;
-- HSEM Interrupt status register
HSEM_C1ISR : aliased HSEM_C1ISR_Register;
-- HSEM Masked interrupt status register
HSEM_C1MISR : aliased HSEM_C1MISR_Register;
-- HSEM Interrupt enable register
HSEM_C2IER : aliased HSEM_C2IER_Register;
-- HSEM Interrupt clear register
HSEM_C2ICR : aliased HSEM_C2ICR_Register;
-- HSEM Interrupt status register
HSEM_C2ISR : aliased HSEM_C2ISR_Register;
-- HSEM Masked interrupt status register
HSEM_C2MISR : aliased HSEM_C2MISR_Register;
-- HSEM Clear register
HSEM_CR : aliased HSEM_CR_Register;
-- HSEM Interrupt clear register
HSEM_KEYR : aliased HSEM_KEYR_Register;
end record
with Volatile;
for HSEM_Peripheral use record
HSEM_R0 at 16#0# range 0 .. 31;
HSEM_R1 at 16#4# range 0 .. 31;
HSEM_R2 at 16#8# range 0 .. 31;
HSEM_R3 at 16#C# range 0 .. 31;
HSEM_R4 at 16#10# range 0 .. 31;
HSEM_R5 at 16#14# range 0 .. 31;
HSEM_R6 at 16#18# range 0 .. 31;
HSEM_R7 at 16#1C# range 0 .. 31;
HSEM_R8 at 16#20# range 0 .. 31;
HSEM_R9 at 16#24# range 0 .. 31;
HSEM_R10 at 16#28# range 0 .. 31;
HSEM_R11 at 16#2C# range 0 .. 31;
HSEM_R12 at 16#30# range 0 .. 31;
HSEM_R13 at 16#34# range 0 .. 31;
HSEM_R14 at 16#38# range 0 .. 31;
HSEM_R15 at 16#3C# range 0 .. 31;
HSEM_RLR0 at 16#80# range 0 .. 31;
HSEM_RLR1 at 16#84# range 0 .. 31;
HSEM_RLR2 at 16#88# range 0 .. 31;
HSEM_RLR3 at 16#8C# range 0 .. 31;
HSEM_RLR4 at 16#90# range 0 .. 31;
HSEM_RLR5 at 16#94# range 0 .. 31;
HSEM_RLR6 at 16#98# range 0 .. 31;
HSEM_RLR7 at 16#9C# range 0 .. 31;
HSEM_RLR8 at 16#A0# range 0 .. 31;
HSEM_RLR9 at 16#A4# range 0 .. 31;
HSEM_RLR10 at 16#A8# range 0 .. 31;
HSEM_RLR11 at 16#AC# range 0 .. 31;
HSEM_RLR12 at 16#B0# range 0 .. 31;
HSEM_RLR13 at 16#B4# range 0 .. 31;
HSEM_RLR14 at 16#B8# range 0 .. 31;
HSEM_RLR15 at 16#BC# range 0 .. 31;
HSEM_C1IER at 16#100# range 0 .. 31;
HSEM_C1ICR at 16#104# range 0 .. 31;
HSEM_C1ISR at 16#108# range 0 .. 31;
HSEM_C1MISR at 16#10C# range 0 .. 31;
HSEM_C2IER at 16#110# range 0 .. 31;
HSEM_C2ICR at 16#114# range 0 .. 31;
HSEM_C2ISR at 16#118# range 0 .. 31;
HSEM_C2MISR at 16#11C# range 0 .. 31;
HSEM_CR at 16#140# range 0 .. 31;
HSEM_KEYR at 16#144# range 0 .. 31;
end record;
-- Hardware semaphore
HSEM_Periph : aliased HSEM_Peripheral
with Import, Address => HSEM_Base;
end STM32_SVD.HSEM;
|
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2019, AdaCore --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- 1. Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- 2. Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in --
-- the documentation and/or other materials provided with the --
-- distribution. --
-- 3. Neither the name of the copyright holder nor the names of its --
-- contributors may be used to endorse or promote products derived --
-- from this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT --
-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, --
-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY --
-- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT --
-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE --
-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
package body IS31FL3731 is
subtype Dispatch is Device'Class;
-- Dev_Address : constant UInt10 := 16#E8#;
Control_Bank : constant UInt8 := 16#0B#;
Enable_Offset : constant := 16#00#;
Blink_Offset : constant := 16#12#;
Bright_Offset : constant := 16#24#;
procedure Select_Bank (This : in out Device;
Bank : UInt8);
procedure Write (This : in out Device;
Data : UInt8_Array);
procedure Read (This : in out Device;
Reg : UInt8;
Data : out UInt8)
with Unreferenced;
function Dev_Address (This : Device) return I2C_Address
is (I2C_Address ((16#74# or UInt10 (This.AD)) * 2));
-----------
-- Write --
-----------
procedure Write (This : in out Device;
Data : UInt8_Array)
is
Status : I2C_Status;
begin
This.Port.Master_Transmit (This.Dev_Address, Data, Status);
if Status /= Ok then
raise Program_Error;
end if;
end Write;
----------
-- Read --
----------
procedure Read (This : in out Device;
Reg : UInt8;
Data : out UInt8)
is
Status : I2C_Status;
Tmp : UInt8_Array (0 .. 0);
begin
This.Write ((0 => Reg));
This.Port.Master_Receive (This.Dev_Address, Tmp, Status);
if Status /= Ok then
raise Program_Error;
end if;
Data := Tmp (Tmp'First);
end Read;
-----------------This.
-- Select_Bank --
-----------------
procedure Select_Bank (This : in out Device;
Bank : UInt8)
is
begin
This.Write ((0 => 16#FD#, 1 => Bank));
end Select_Bank;
----------------
-- Initialize --
----------------
procedure Initialize (This : in out Device) is
begin
This.Select_Bank (Control_Bank);
-- Disable Shutdown
This.Write ((0 => 16#0A#, 1 => 16#01#));
-- Picture mode
This.Write ((0 => 16#00#, 1 => 16#00#));
-- Blink mode
This.Write ((0 => 16#05#, 1 => 16#00#));
for Frame in Frame_Id loop
This.Select_Bank (UInt8 (Frame));
This.Clear;
end loop;
This.Select_Bank (UInt8 (This.Frame_Sel));
end Initialize;
-------------------
-- Display_Frame --
-------------------
procedure Display_Frame (This : in out Device;
Frame : Frame_Id)
is
begin
This.Select_Bank (Control_Bank);
This.Write ((0 => 16#01#, 1 => UInt8 (Frame)));
This.Select_Bank (UInt8 (This.Frame_Sel));
end Display_Frame;
------------------
-- Select_Frame --
------------------
procedure Select_Frame (This : in out Device;
Frame : Frame_Id)
is
begin
This.Frame_Sel := Frame;
This.Select_Bank (UInt8 (This.Frame_Sel));
end Select_Frame;
----------
-- Fill --
----------
procedure Fill (This : in out Device;
Brightness : UInt8;
Blink : Boolean := False)
is
begin
-- Enable all LEDs
This.Write ((0 => Enable_Offset,
1 .. 18 => 16#FF#));
This.Enable_Bitmask (This.Frame_Sel) := (others => 16#FF#);
-- Set all blink
This.Write ((0 => Blink_Offset,
1 .. 18 => (if Blink then 16#FF# else 16#00#)));
This.Blink_Bitmask (This.Frame_Sel) :=
(others => (if Blink then 16#FF# else 16#00#));
-- Set all brighness
This.Write ((0 => Bright_Offset,
1 .. 144 => Brightness));
end Fill;
-----------
-- Clear --
-----------
procedure Clear (This : in out Device) is
begin
-- Disable all LEDs
This.Write ((0 => Enable_Offset,
1 .. 18 => 0));
This.Enable_Bitmask (This.Frame_Sel) := (others => 0);
-- Disable all blink
This.Write ((0 => Blink_Offset,
1 .. 18 => 0));
This.Blink_Bitmask (This.Frame_Sel) := (others => 0);
-- Set all brighness to zero
This.Write ((0 => Bright_Offset,
1 .. 144 => 0));
end Clear;
------------
-- Enable --
------------
procedure Enable (This : in out Device;
X : X_Coord;
Y : Y_Coord)
is
LED : constant LED_Id := Dispatch (This).LED_Address (X, Y);
Reg_Offset : constant UInt8 := UInt8 (LED) / 8;
Bit : constant UInt8 := Shift_Left (UInt8 (1), Integer (LED) mod 8);
Mask : UInt8 renames This.Enable_Bitmask
(This.Frame_Sel) (LED_Bitmask_Index (Reg_Offset));
begin
Mask := Mask or Bit;
This.Write ((0 => Enable_Offset + Reg_Offset, 1 => Mask));
end Enable;
-------------
-- Disable --
-------------
procedure Disable (This : in out Device;
X : X_Coord;
Y : Y_Coord)
is
LED : constant LED_Id := Dispatch (This).LED_Address (X, Y);
Reg_Offset : constant UInt8 := UInt8 (LED) / 8;
Bit : constant UInt8 := Shift_Left (UInt8 (1), Integer (LED) mod 8);
Mask : UInt8 renames This.Enable_Bitmask
(This.Frame_Sel) (LED_Bitmask_Index (Reg_Offset));
begin
Mask := Mask and not Bit;
This.Write ((0 => Enable_Offset + Reg_Offset, 1 => Mask));
end Disable;
--------------------
-- Set_Brightness --
--------------------
procedure Set_Brightness (This : in out Device;
X : X_Coord;
Y : Y_Coord;
Brightness : UInt8)
is
LED : constant LED_Id := Dispatch (This).LED_Address (X, Y);
begin
This.Write ((0 => Bright_Offset + UInt8 (LED),
1 => Brightness));
end Set_Brightness;
------------------
-- Enable_Blink --
------------------
procedure Enable_Blink (This : in out Device;
X : X_Coord;
Y : Y_Coord)
is
LED : constant LED_Id := Dispatch (This).LED_Address (X, Y);
Reg_Offset : constant UInt8 := UInt8 (LED) / 8;
Bit : constant UInt8 := Shift_Left (UInt8 (1), Integer (LED) mod 8);
Mask : UInt8 renames This.Blink_Bitmask
(This.Frame_Sel) (LED_Bitmask_Index (Reg_Offset));
begin
Mask := Mask or Bit;
This.Write ((0 => Blink_Offset + Reg_Offset, 1 => Mask));
end Enable_Blink;
-------------------
-- Disable_Blink --
-------------------
procedure Disable_Blink (This : in out Device;
X : X_Coord;
Y : Y_Coord)
is
LED : constant LED_Id := Dispatch (This).LED_Address (X, Y);
Reg_Offset : constant UInt8 := UInt8 (LED) / 8;
Bit : constant UInt8 := Shift_Left (UInt8 (1), Integer (LED) mod 8);
Mask : UInt8 renames This.Blink_Bitmask
(This.Frame_Sel) (LED_Bitmask_Index (Reg_Offset));
begin
Mask := Mask or Bit;
This.Write ((0 => Blink_Offset + Reg_Offset, 1 => Mask));
end Disable_Blink;
--------------------
-- Set_Blink_Rate --
--------------------
procedure Set_Blink_Rate (This : in out Device;
A : UInt3)
is
begin
This.Select_Bank (Control_Bank);
if A = 0 then
This.Write ((0 => 16#05#,
1 => 2#0000_0000#));
else
This.Write ((0 => 16#05#,
1 => 2#0000_1000# or UInt8 (A)));
end if;
This.Select_Bank (UInt8 (This.Frame_Sel));
end Set_Blink_Rate;
end IS31FL3731;
|
package body Lists is
function Has_Element (Position : Cursor) return Boolean is
begin
return Position /= No_Element;
end Has_Element;
end Lists;
|
with Ada.Strings.Maps.Constants; use Ada.Strings.Maps;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Readable_Sequences.Generic_Sequences;
with Protypo.Tokens;
private package Protypo.Scanning is
Id_Charset : constant Character_Set := Constants.Alphanumeric_Set or To_Set ("_@");
Begin_Id_Set : constant Character_Set := Constants.Letter_Set or To_Set ("@");
function Is_Valid_Id (ID : String) return Boolean
is (ID /= "" and then
(Is_In (ID (ID'First), Begin_Id_Set)) and then
(for all C of ID => Is_In (C, Id_Charset)));
subtype ID is String
with Dynamic_Predicate => Is_Valid_Id (ID);
subtype Unbounded_ID is Unbounded_String
with Dynamic_Predicate => Is_Valid_Id (To_String (Unbounded_ID));
type Token_Array is array (Positive range<>) of Tokens.Token;
package Token_Sequences is
new Readable_Sequences.Generic_Sequences (Element_Type => Tokens.Token,
Element_Array => Token_Array);
subtype Token_List is Token_Sequences.Sequence;
function Tokenize (Template : String;
Base_Dir : String) return Token_List;
procedure Dump (Item : Token_List);
-- Print to stdout the content of Item. Useful for debugging
Scanning_Error : exception;
Consume_With_Escape_Procedure_Name : constant ID := "@@";
Consume_Procedure_Name : constant ID := "@";
end Protypo.Scanning;
|
pragma License (GPL);
------------------------------------------------------------------------------
-- EMAIL: <darkestkhan@gmail.com> --
-- License: GNU GPLv3 or any later as published by Free Software Foundation --
-- (see COPYING file) --
-- --
-- Copyright © 2015 darkestkhan --
------------------------------------------------------------------------------
-- This Program is Free Software: You can redistribute it and/or modify --
-- it under the terms of The GNU General Public License as published by --
-- the Free Software Foundation, either version 3 of the license, or --
-- (at Your option) any later version. --
-- --
-- This Program is distributed in the hope that it will be useful, --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS for A PARTICULAR PURPOSE. See the --
-- GNU General Public License for more details. --
-- --
-- You should have received a copy of the GNU General Public License --
-- along with this program. If not, see <http://www.gnu.org/licenses/>. --
------------------------------------------------------------------------------
with Ada.Command_Line;
with Ada.Text_IO;
with CBAP;
procedure CBAP_Inputs_Detection is
---------------------------------------------------------------------------
-- Dummy callback.
procedure Help (Argument : in String) is null;
---------------------------------------------------------------------------
Input_Args : constant array (Positive range <>) of access String :=
( new String'("doing"), new String'("----"), new String'("--"),
new String'("help"), new String'("done")
);
---------------------------------------------------------------------------
Error_Count : Natural := 0;
Detected_Inputs : Natural := 0;
procedure Check_Args (Position : in CBAP.Argument_Lists.Cursor)
is
---------------------------------------------------------------------------
function Is_Correct_Input_Arg (Arg : in String) return Boolean
is
begin
for K in Input_Args'Range loop
if Input_Args (K).all = Arg then
return True;
end if;
end loop;
Ada.Text_IO.Put_Line ("Detected wrong argument: " & Arg);
return False;
end Is_Correct_Input_Arg;
---------------------------------------------------------------------------
begin
if not Is_Correct_Input_Arg (CBAP.Argument_Lists.Element (Position)) then
Error_Count := Error_Count + 1;
else
Detected_Inputs := Detected_Inputs + 1;
end if;
end Check_Args;
---------------------------------------------------------------------------
begin
CBAP.Register (Help'Unrestricted_Access, "help");
CBAP.Process_Arguments;
CBAP.Input_Arguments.Iterate (Check_Args'Unrestricted_Access);
if Detected_Inputs /= Input_Args'Length then
Error_Count := Error_Count + 1;
end if;
if Error_Count > 0 then
Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Failure);
else
Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Success);
end if;
end CBAP_Inputs_Detection;
|
with Ada.Containers.Formal_Hashed_Maps;
with Ada.Containers.Formal_Hashed_Sets;
with TLSF.Block.Types;
package body TLSF.Block.Proof with SPARK_Mode is
package body Formal_Model is
------------------
-- Find_Address --
------------------
function Find_Address
(V : Va.Sequence;
Addr : Address) return Count_Type
is
begin
for I in 1 .. Va.Length (V) loop
if Addr = Va.Get (V, I) then
return I;
end if;
end loop;
return 0;
end Find_Address;
end Formal_Model;
function Block_Present_At_Address(Addr : Valid_Address) return Boolean is
(Block_Map.Contains(Proof_State.Blocks, Addr));
function Block_At_Address (Addr : Valid_Address) return Block_Header is
(Block_Map.Element(Proof_State.Blocks, Addr));
function Specific_Block_Present_At_Address
(Addr : Valid_Address;
Block : Block_Header)
return Boolean
is
(Block_Present_At_Address(Addr) and then
Block_At_Address(Addr) = Block);
procedure Put_Block_At_Address
(Addr : Valid_Address;
Block : Block_Header)
is
use type Ada.Containers.Count_Type;
Blocks : Block_Map.Map renames Proof_State.Blocks;
begin
-- NB: change Capacity accordingly, if needed
pragma Assume(Block_Map.Length(Blocks) < Blocks.Capacity);
Block_Map.Insert(Blocks, Addr, Block);
end;
procedure Remove_Block_At_Address (Addr : Valid_Address) is
begin
Block_Map.Delete(Proof_State.Blocks, Addr);
end;
-- Free Lists
function Is_Block_In_Free_List_For_Size
(Sz : Size;
Addr : Valid_Address)
return BooleanAll_Blocks_Are_Valid(M)All_Blocks_Are_Valid(M)
is
Indices : constant Level_Index :=
Calculate_Levels_Indices (Size_Bits(Sz));
Free_List : Set renames
Proof_State.Free_Lists(Indices.First_Level, Indices.Second_Level);
begin
return Free_Blocks_Set.Contains (Free_List, Addr);
end Is_Block_In_Free_List_For_Size;
function Is_Block_Present_In_Free_Lists
(Addr : Valid_Address)
return Boolean
is
begin
for FL_Idx in First_Level_Index'Range loop
for SL_Idx in Second_Level_Index'Range loop
if Free_Blocks_Set.Contains(Proof_State.Free_Lists(FL_Idx, SL_Idx), Addr) then
return True;
end if;
end loop;
end loop;
return False;
end Is_Block_Present_In_Free_Lists;
function Is_Block_Present_In_Exactly_One_Free_List_For_Size
(Sz : Size;
Addr : Valid_Address)
return Boolean
is
Indices : constant Level_Index :=
Calculate_Levels_Indices (Size_Bits(Sz));
Free_List : Set renames
Proof_State.Free_Lists(Indices.First_Level, Indices.Second_Level);
begin
if not Free_Blocks_Set.Contains (Free_List, Addr) then
return False;
end if;
for FL_Idx in First_Level_Index'Range loop
for SL_Idx in Second_Level_Index'Range loop
if FL_Idx /= Indices.First_Level or else
SL_Idx /= Indices.Second_Level then
if Free_Blocks_Set.Contains(Proof_State.Free_Lists(FL_Idx, SL_Idx), Addr) then
return False;
end if;
end if;
end loop;
end loop;
return True;
end Is_Block_Present_In_Exactly_One_Free_List_For_Size;
procedure Remove_Block_From_Free_List_For_Size
(Sz : Size;
Addr : Valid_Address)
is
Indices : constant Level_Index :=
Calculate_Levels_Indices (Size_Bits(Sz));
begin
Free_Blocks_Set.Delete
(Proof_State.Free_Lists(Indices.First_Level, Indices.Second_Level), Addr);
end Remove_Block_From_Free_List_For_Size;
procedure Put_Block_In_Free_List_For_Size
(Sz : Size;
Addr : Valid_Address)
is
use type Ada.Containers.Count_Type;
Indices : constant Level_Index :=
Calculate_Levels_Indices (Size_Bits(Sz));
Free_List : Set renames
Proof_State.Free_Lists(Indices.First_Level, Indices.Second_Level);
begin
-- NB: if needed then change Capacity acordingly
pragma Assume (Free_Blocks_Set.Length(Free_List) < Free_List.Capacity);
Free_Blocks_Set.Include(Free_List, Addr);
end Put_Block_In_Free_List_For_Size;
end TLSF.Block.Proof;
|
with Protypo.Api.Interpreters;
with Protypo.Api.Consumers.File_Writer;
with Protypo.Api.Engine_Values.Handlers;
with Callbacks;
procedure Simple_Example is
use Protypo.Api;
use Protypo.Api.Consumers;
Engine : Interpreters.Interpreter_Type;
Program : constant Interpreters.Template_Type :=
"#{ [sin(1.5)=#sin(1.5)#, 42=#the_answer#] }#";
Consumer : constant Consumer_Access :=
File_Writer.Open (File_Writer.Standard_Error_Special_Name);
Z : constant Interpreters.Compiled_Code := Interpreters.Compile (Program);
begin
Interpreters.Dump (Z);
Engine.Define (Name => "the_answer",
Value => Engine_Values.Create (42));
Engine.Define (Name => "sin",
Value => Engine_Values.Handlers.Create (Callbacks.Sin'Access));
Engine.Run (Program, Consumer);
end Simple_Example;
|
package Vect17 is
type Sarray is array (1 .. 4) of Long_Float;
for Sarray'Alignment use 16;
procedure Add (X, Y : aliased Sarray; R : aliased out Sarray);
end Vect17;
|
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Text_IO; use Ada.Text_IO;
with Math; use Math;
with STL; use STL;
procedure test_unitaire is
-- Helper génération SVG
procedure Sauve_SVG(Segments : Liste_Points.Liste) is
Fichier : File_Type;
Nom_Fichier : String := "test_unitaire.svg";
-- Affiche du code svg pour un point
procedure Display_Point(P : in out Point2D) is
begin
Put(Fichier, Float'Image(P(P'First)));
Put(Fichier, ",");
Put(Fichier, Float'Image(P(P'Last)));
Put(Fichier, " ");
end;
-- Affiche du code svg pour tout les points
procedure Display_SVG is new Liste_Points.Parcourir(Traiter => Display_Point);
begin
begin
Open (Fichier, Out_File, Nom_Fichier);
exception
when Name_Error =>
-- Si le fichier n'existe pas
Create (Fichier, Out_File, Nom_Fichier);
end;
Put(Fichier, "<svg>");
New_Line(Fichier);
Put(Fichier, "<path d=""M 0 0 L ");
Display_SVG(Segments);
Put(Fichier, " Z"" />");
Put(Fichier, "</svg>");
end;
procedure test_cercle is
Segments : Liste_Points.Liste;
Facettes : Liste_Facettes.Liste;
begin
Liste_Points.Insertion_Queue(Segments, (1.0,0.0));
Liste_Points.Insertion_Queue(Segments, (1.0,1.0));
--on convertit en facettes par rotation
Creation(Segments, Facettes);
--on sauvegarde le modele obtenu
Sauvegarder(Argument(2), Facettes);
end;
procedure Chapiteau is
Segments : Liste_Points.Liste;
Facettes : Liste_Facettes.Liste;
begin
Liste_Points.Insertion_Queue(Segments, (1.0,0.0));
Liste_Points.Insertion_Queue(Segments, (1.0,1.0));
Liste_Points.Insertion_Queue(Segments, (0.0,2.0));
--on convertit en facettes par rotation
Creation(Segments, Facettes);
--on sauvegarde le modele obtenu
Sauvegarder(Argument(2), Facettes);
end;
procedure Test_Bezier_Cub is
Segments : Liste_Points.Liste;
Facettes : Liste_Facettes.Liste;
begin
Bezier((0.0, 0.0),
(200.0, 180.0),
(200.0, 200.0),
(0.0, 200.0),
Nombre_Points_Bezier, Segments);
--on convertit en facettes par rotation
Creation(Segments, Facettes);
--on sauvegarde le modele obtenu
Sauvegarder(Argument(2), Facettes);
-- Sauvegarde en svg pour debug
Sauve_SVG(Segments);
end;
procedure Test_Bezier_Quad is
Segments : Liste_Points.Liste;
Facettes : Liste_Facettes.Liste;
begin
Bezier((0.0, 0.0),
(200.0, 100.0),
(0.0, 200.0),
Nombre_Points_Bezier, Segments);
--on convertit en facettes par rotation
Creation(Segments, Facettes);
--on sauvegarde le modele obtenu
Sauvegarder(Argument(2), Facettes);
-- Sauvegarde en svg pour debug
Sauve_SVG(Segments);
end;
procedure Test_Fusion is
Segments : Liste_Points.Liste;
Segments_2 : Liste_Points.Liste;
Facettes : Liste_Facettes.Liste;
begin
Bezier((0.0, 0.0),
(200.0, 100.0),
(100.0, 200.0),
Nombre_Points_Bezier, Segments);
Bezier((100.0, 200.0),
(200.0, 380.0),
(200.0, 400.0),
(0.0, 400.0),
Nombre_Points_Bezier, Segments_2);
Liste_Points.Fusion(Segments, Segments_2);
--on convertit en facettes par rotation
Creation(Segments, Facettes);
--on sauvegarde le modele obtenu
Sauvegarder(Argument(2), Facettes);
-- Sauvegarde en svg pour debug
Sauve_SVG(Segments);
end;
-- Test pour savoir si le parser bugge
procedure Toupie is
Segments : Liste_Points.Liste;
Segments_2 : Liste_Points.Liste;
Facettes : Liste_Facettes.Liste;
P : Point2D := (68.690373,289.69701);
begin
Liste_Points.Insertion_Queue(Segments, P);
P := (P(1) + 321.228507, P(2) + 7.07107);
Liste_Points.Insertion_Queue(Segments, P);
Bezier(P,
P,
(P(1) - 15.15229, P(2) + 127.27922),
(P(1) - 15.15229 + 23.23351, P(2) + 127.27922 + 157.5838),
Nombre_Points_Bezier, Segments);
P := (P(1) -15.15229 + 23.23351, P(2) + 127.27922 + 157.5838);
Bezier(P,
(P(1) + 38.3858,P(2) + 30.30457),
(P(1) + 38.3858 + 171.72593,P(2) + 30.30457 - 155.5635),
(P(1) + 38.3858 + 171.72593 * 2.0,P(2) + 30.30457 - 155.5635 * 2.0),
Nombre_Points_Bezier, Segments_2);
Liste_Points.Fusion(Segments, Segments_2);
--on convertit en facettes par rotation
Creation(Segments, Facettes);
--on sauvegarde le modele obtenu
Sauvegarder(Argument(2), Facettes);
-- Sauvegarde en svg pour debug
Sauve_SVG(Segments);
end;
begin
Toupie;
end;
|
pragma SPARK_Mode;
with Types; use Types;
-- @summary
-- Interface for reading infrared sensors
--
-- @description
-- This package exposes the interface used to read values from the IR sensors
--
package Zumo_QTR is
-- Represents the maximum and minimum values found by a sensor during
-- a calibration sequence
-- @field Min the minimum value found during a calibration sequence
-- @field Max the maximum value found during a calibration sequence
type Calibration is record
Min : Sensor_Value := Sensor_Value'Last;
Max : Sensor_Value := Sensor_Value'First;
end record;
type Calibration_Array is array (1 .. 6) of Calibration;
-- The list of calibrationm values with the IR leds on
Cal_Vals_On : Calibration_Array;
-- The list of calibration values with the IR leds off
Cal_Vals_Off : Calibration_Array;
-- True if a calibration was performed with the IR Leds on
Calibrated_On : Boolean := False;
-- True if a calibration was performed with the IR Leds off
Calibrated_Off : Boolean := False;
-- True if the init was called
Initd : Boolean := False;
-- Inits the package by muxing pins and whatnot
procedure Init
with Pre => not Initd,
Post => Initd;
-- Reads values from the sensors
-- @param Sensor_Values the array of values read from sensors
-- @param ReadMode the mode to read the sensors in (LEDs on or off)
procedure Read_Sensors (Sensor_Values : out Sensor_Array;
ReadMode : Sensor_Read_Mode)
with Pre => Initd;
-- Turns the IR leds on or off
-- @param On True to turn on the IR leds, False to turn off
procedure ChangeEmitters (On : Boolean)
with Global => null;
-- Performs a calibration routine with the sensors
-- @param ReadMode emitters on or off during calibration
procedure Calibrate (ReadMode : Sensor_Read_Mode := Emitters_On)
with Global => (Proof_In => Initd,
In_Out => (Cal_Vals_On,
Cal_Vals_Off),
Output => (Calibrated_On,
Calibrated_Off)),
Pre => Initd;
-- Resets the stored calibration data
-- @param ReadMode which calibration data to reset
procedure ResetCalibration (ReadMode : Sensor_Read_Mode);
-- Reads the sensors and offsets using the calibrated values
-- @param Sensor_Values values read from sensors are returned here
-- @param ReadMode whether to read with emitters on or off
procedure ReadCalibrated (Sensor_Values : out Sensor_Array;
ReadMode : Sensor_Read_Mode)
with Pre => Initd;
private
-- The actual read work is done here
-- @param Sensor_Values the sensor values are returned here
procedure Read_Private (Sensor_Values : out Sensor_Array)
with Pre => Initd;
-- The actual calibration work is done here
-- @param Cal_Vals the calibration array to modify
-- @param ReadMode calibrate with emitters on or off
procedure Calibrate_Private (Cal_Vals : in out Calibration_Array;
ReadMode : Sensor_Read_Mode)
with Global => (Proof_In => Initd),
Pre => Initd;
end Zumo_QTR;
|
with Ada.Text_IO;
with Nestable_Lists;
procedure Flatten_A_List is
package Int_List is new Nestable_Lists
(Element_Type => Integer,
To_String => Integer'Image);
List : Int_List.List := null;
begin
Int_List.Append (List, Int_List.New_List (1));
Int_List.Append (List, 2);
Int_List.Append (List, Int_List.New_List (Int_List.New_List (3)));
Int_List.Append (List.Next.Next.Sublist.Sublist, 4);
Int_List.Append (List.Next.Next.Sublist, 5);
Int_List.Append (List, Int_List.New_List (Int_List.New_List (null)));
Int_List.Append (List, Int_List.New_List (Int_List.New_List
(Int_List.New_List (6))));
Int_List.Append (List, 7);
Int_List.Append (List, 8);
Int_List.Append (List, null);
declare
Flattened : constant Int_List.List := Int_List.Flatten (List);
begin
Ada.Text_IO.Put_Line (Int_List.To_String (List));
Ada.Text_IO.Put_Line (Int_List.To_String (Flattened));
end;
end Flatten_A_List;
|
-- Copyright (C) 2020 Glen Cornell <glen.m.cornell@gmail.com>
--
-- This program is free software: you can redistribute it and/or
-- modify it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 3 of the
-- License, or (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see
-- <http://www.gnu.org/licenses/>.
with Ada.Dynamic_Priorities;
with Ada.Task_Identification;
with Ada.Containers.Ordered_Maps;
with Ada.Unchecked_Conversion;
package body Aof.Core.Threads is
use type System.Address;
-- All this because ada.task_identification.task_id doesn't define "<"
function To_Address is
new Ada.Unchecked_Conversion
(Ada.Task_Identification.Task_Id, System.Address);
package Thread_Containers is new Ada.Containers.Ordered_Maps
(Element_Type => Access_Thread,
Key_Type => System.Address);
-- Singleton to manage all threads
All_Threads : Thread_Containers.Map;
procedure Initialize
(This : in out Thread) is
begin
This.Thread.Initialize(This'Unchecked_access);
All_Threads.Insert(To_Address(This.Thread'Identity), This'Unchecked_access);
end Initialize;
procedure Start
(This : in out Thread;
Priority : in System.Any_Priority) is
begin
This.Priority := Priority;
This.Thread.Start(Priority);
end Start;
procedure Terminate_Thread
(This : in out Thread) is
begin
All_Threads.Delete (To_Address(This.Thread'Identity));
Ada.Task_Identification.Abort_Task (This.Thread'Identity);
end Terminate_Thread;
procedure Run
(This : in out Thread) is
begin
-- TODO: call exec
null;
end Run;
function Current_Thread return Access_Thread is
begin
return Thread_Containers.Element (All_Threads.Find
(To_Address (Ada.Task_Identification.Current_Task)));
end Current_Thread;
function Is_Finished
(This : in Thread) return Boolean is
begin
return This.Finished.Get;
end Is_Finished;
function Is_Running
(This : in Thread) return Boolean is
begin
return This.Started.Get and not This.Finished.Get;
end Is_Running;
function Priority
(This : in Thread) return System.Any_Priority is
begin
return This.Priority;
end Priority;
procedure Set_Priority
(This : in out Thread;
Priority : in System.Any_Priority) is
begin
Ada.Dynamic_Priorities.Set_Priority
(Priority, This.Thread'Identity);
This.Priority := Priority;
end Set_Priority;
task body Task_Type is
This : Access_Thread;
Priority : System.Any_Priority;
begin
accept Initialize
(The_Thread : in Access_Thread) do
This := The_Thread;
end Initialize;
This.Started.Set(False);
This.Finished.Set(False);
loop
accept Start
(The_Priority : in System.Any_Priority) do
Priority := The_Priority;
end Start;
Ada.Dynamic_Priorities.Set_Priority
(Priority, Ada.Task_Identification.Current_Task);
-- Notify any listeners that the task has started:
This.Started.Set(True);
-- Run the event loop:
This.Run;
-- Notify any listeners that the task has finished:
This.Finished.Set(False);
end loop;
end Task_Type;
end Aof.Core.Threads;
|
-- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ skills vector container implementation --
-- |___/_|\_\_|_|____| by: Dennis Przytarski, Timm Felden --
-- --
pragma Ada_2012;
with Ada.Unchecked_Deallocation;
package body Skill.Containers.Arrays is
function Next (This : access Iterator_T) return Skill.Types.Box is
Result : Skill.Types.Box := Cast (This.This.Element (This.Cursor));
begin
This.Cursor := This.Cursor + 1;
return Result;
end Next;
procedure Free (This : access Array_T) is
type T is access all Array_T;
X : T := T (This);
procedure Delete is new Ada.Unchecked_Deallocation (Array_T, T);
begin
Delete (X);
end Free;
procedure Free (This : access Iterator_T) is
type T is access all Iterator_T;
X : T := T (This);
procedure Delete is new Ada.Unchecked_Deallocation (Iterator_T, T);
begin
Delete (X);
end Free;
procedure Append (This : access Array_T; V : Box) is
begin
This.This.Append (Cast (V));
end Append;
procedure Add (This : access Array_T; V : Box) is
begin
This.This.Append (Cast (V));
end Add;
procedure Append_All(This : access Array_T; That : Ref) is
begin
This.This.Append_All (That.This);
end Append_All;
procedure Prepend_All(This : access Array_T; That : Ref) is
begin
This.This.Prepend_All (That.This);
end Prepend_All;
procedure Update (This : access Array_T; I : Natural; V : Box) is
begin
This.This.Replace_Element (I, Cast (V));
end Update;
procedure Ensure_Size (This : access Array_T; I : Natural) is
begin
This.This.Ensure_Index (I);
end Ensure_Size;
function Make return Ref is
begin
return new Array_T'(This => Vec.Empty_Vector);
end Make;
end Skill.Containers.Arrays;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2012, Vadim Godunko <vgodunko@gmail.com> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
-- XMI_Reader is primary component to handle loading of related XMI documents
-- and to resolve cross-document references.
------------------------------------------------------------------------------
with Ada.Containers.Hashed_Maps;
private with Ada.Containers.Hashed_Sets;
private with Ada.Containers.Vectors;
with League.Strings.Hash;
with AMF.CMOF.Properties;
with AMF.Elements;
private with AMF.Internals.XMI_Document_Resolvers;
private with AMF.Internals.XMI_Error_Handlers;
private with AMF.XMI.Document_Resolvers;
with AMF.XMI.Error_Handlers;
with AMF.URI_Stores;
package AMF.Internals.XMI_Readers is
type XMI_Reader is tagged limited private;
function Load
(Self : in out XMI_Reader'Class;
Document_URI : League.Strings.Universal_String)
return AMF.URI_Stores.URI_Store_Access;
-- Loads specified document.
procedure Postpone_Cross_Document_Link
(Self : in out XMI_Reader'Class;
Element : AMF.Elements.Element_Access;
Attribute : AMF.CMOF.Properties.CMOF_Property_Access;
Extent : AMF.URI_Stores.URI_Store_Access;
Document_URI : League.Strings.Universal_String;
Element_Id : League.Strings.Universal_String;
Public_Id : League.Strings.Universal_String;
System_Id : League.Strings.Universal_String;
Line : Natural;
Column : Natural);
-- Postpone establishment of cross-document link.
function Error_Handler
(Self : XMI_Reader'Class)
return AMF.XMI.Error_Handlers.XMI_Error_Handler_Access;
-- Returns registered XMI error handler.
procedure Establish_Link
(Extent : not null AMF.URI_Stores.URI_Store_Access;
Attribute : not null AMF.CMOF.Properties.CMOF_Property_Access;
One_Element : not null AMF.Elements.Element_Access;
Other_Element : not null AMF.Elements.Element_Access);
-- Creates link between specified elements, but prevents to create
-- duplicate links. Duplicate links are created for association which
-- is not composition association, because opposite element referered
-- on both ends.
package Universal_String_Extent_Maps is
new Ada.Containers.Hashed_Maps
(League.Strings.Universal_String,
AMF.URI_Stores.URI_Store_Access,
League.Strings.Hash,
League.Strings."=",
AMF.URI_Stores."=");
Documents : Universal_String_Extent_Maps.Map;
-- Map file name of document to extent.
private
package Universal_String_Sets is
new Ada.Containers.Hashed_Sets
(League.Strings.Universal_String,
League.Strings.Hash,
League.Strings."=",
League.Strings."=");
type Cross_Document_Link is record
Element : AMF.Elements.Element_Access;
Attribute : AMF.CMOF.Properties.CMOF_Property_Access;
Extent : AMF.URI_Stores.URI_Store_Access;
Document_URI : League.Strings.Universal_String;
Element_Id : League.Strings.Universal_String;
-- Location information for error reporting.
Public_Id : League.Strings.Universal_String;
System_Id : League.Strings.Universal_String;
Line : Natural;
Column : Natural;
end record;
package Cross_Document_Link_Vectors is
new Ada.Containers.Vectors (Positive, Cross_Document_Link);
Default_Document_Resolver : aliased
AMF.Internals.XMI_Document_Resolvers.Default_Document_Resolver;
-- Default XMI document resolver.
Default_Error_Handler : aliased
AMF.Internals.XMI_Error_Handlers.Default_Error_Handler;
-- Default XMI error handler.
type XMI_Reader is tagged limited record
Resolver : AMF.XMI.Document_Resolvers.XMI_Document_Resolver_Access
:= Default_Document_Resolver'Access;
-- Resolver of XMI documents.
Error_Handler : AMF.XMI.Error_Handlers.XMI_Error_Handler_Access
:= Default_Error_Handler'Access;
-- Error handler.
URI_Queue : Universal_String_Sets.Set;
-- List of URIs to be loaded.
Cross_Links : Cross_Document_Link_Vectors.Vector;
end record;
end AMF.Internals.XMI_Readers;
|
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Identifiers;
with Program.Elements.Parameter_Associations;
package Program.Elements.Pragmas is
pragma Pure (Program.Elements.Pragmas);
type Pragma_Element is limited interface and Program.Elements.Element;
type Pragma_Access is access all Pragma_Element'Class
with Storage_Size => 0;
not overriding function Name
(Self : Pragma_Element)
return not null Program.Elements.Identifiers.Identifier_Access
is abstract;
not overriding function Arguments
(Self : Pragma_Element)
return Program.Elements.Parameter_Associations
.Parameter_Association_Vector_Access is abstract;
type Pragma_Text is limited interface;
type Pragma_Text_Access is access all Pragma_Text'Class
with Storage_Size => 0;
not overriding function To_Pragma_Text
(Self : in out Pragma_Element)
return Pragma_Text_Access is abstract;
not overriding function Pragma_Token
(Self : Pragma_Text)
return not null Program.Lexical_Elements.Lexical_Element_Access
is abstract;
not overriding function Left_Bracket_Token
(Self : Pragma_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function Right_Bracket_Token
(Self : Pragma_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function Semicolon_Token
(Self : Pragma_Text)
return not null Program.Lexical_Elements.Lexical_Element_Access
is abstract;
end Program.Elements.Pragmas;
|
package LZW is
MAX_CODE : constant := 4095;
type Codes is new Natural range 0 .. MAX_CODE;
type Compressed_Data is array (Positive range <>) of Codes;
function Compress (Cleartext : in String) return Compressed_Data;
function Decompress (Data : in Compressed_Data) return String;
end LZW;
|
package Sync_Iface_Test is
type Iface is limited interface;
function First (Obj : Iface) return Natural is abstract;
protected type Buffer is new Iface with
procedure Dummy;
end;
overriding function First (Obj : Buffer) return Natural;
procedure Do_Test (Dummy : Natural; Item : Buffer);
end;
|
-- Motherlode
-- Copyright (c) 2020 Fabien Chouteau
with GESTE;
with GESTE.Physics;
with HAL;
with Parameters;
with World;
package Player is
procedure Spawn;
procedure Move (Pt : GESTE.Pix_Point);
function Position return GESTE.Pix_Point;
function Quantity (Kind : World.Valuable_Cell) return Natural;
procedure Drop (Kind : World.Valuable_Cell);
function Level (Kind : Parameters.Equipment)
return Parameters.Equipment_Level;
procedure Upgrade (Kind : Parameters.Equipment);
function Money return Natural;
procedure Update;
procedure Draw_Hud (FB : in out HAL.UInt16_Array);
procedure Move_Up;
procedure Move_Down;
procedure Move_Left;
procedure Move_Right;
procedure Drill;
private
type Cargo_Array is array (World.Valuable_Cell) of Natural;
type Equip_Array is array (Parameters.Equipment) of Parameters.Equipment_Level;
type Player_Type
is limited new GESTE.Physics.Object with record
Money : Natural := 0;
Fuel : Float := 5.0;
Cargo : Cargo_Array := (others => 0);
Cargo_Sum : Natural := 0;
Equip_Level : Equip_Array := (others => 1);
Cash_In : Integer := 0;
Cash_In_TTL : Natural := 0;
end record;
procedure Put_In_Cargo (This : in out Player_Type;
Kind : World.Valuable_Cell);
procedure Empty_Cargo (This : in out Player_Type);
procedure Refuel (This : in out Player_Type);
end Player;
|
-- -----------------------------------------------------------------------------
-- smk, the smart make
-- © 2018 Lionel Draghi <lionel.draghi@free.fr>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
-- http://www.apache.org/licenses/LICENSE-2.0
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
-- Package: Smk.Run_Files specification
--
-- Purpose:
-- This package defines a "Run File" and it's storage.
--
-- Effects:
--
-- Performance:
--
-- -----------------------------------------------------------------------------
with Ada.Calendar;
with Ada.Containers.Ordered_Maps;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
private package Smk.Run_Files is
-- --------------------------------------------------------------------------
type Section_Names is new Unbounded_String;
type Command_Lines is new Unbounded_String;
function "+" (Section : Section_Names) return String is
(To_String (Section));
function "+" (Command : Command_Lines) return String is
(To_String (Command));
function "+" (Section : String) return Section_Names is
(To_Unbounded_String (Section));
function "+" (Command : String) return Command_Lines is
(To_Unbounded_String (Command));
Default_Section : constant Section_Names
:= Section_Names (Null_Unbounded_String);
-- --------------------------------------------------------------------------
type File_Name is new Unbounded_String;
function "+" (Name : File_Name) return String;
function "+" (Name : String) return File_Name;
function "+" (Name : File_Name) return Unbounded_String;
-- --------------------------------------------------------------------------
-- type File_Type is record
-- Time_Tag : Ada.Calendar.Time;
-- end record;
use type Ada.Calendar.Time;
package File_Lists is
new Ada.Containers.Ordered_Maps (Key_Type => File_Name,
Element_Type => Ada.Calendar.Time);
-- --------------------------------------------------------------------------
procedure Dump (File_List : in File_Lists.Map;
Filter_Sytem_Files : in Boolean);
-- Dump files in a one per line bulleted way
-- if Filter_System_Files, then ignore /lib /usr /etc /opt files
-- --------------------------------------------------------------------------
procedure Update_Time_Tag (File_List : in out File_Lists.Map);
-- updates time_tag of each file according to the current file system state
-- --------------------------------------------------------------------------
type Run is record
Section : Section_Names := Default_Section;
Run_Time : Ada.Calendar.Time;
Sources : File_Lists.Map := File_Lists.Empty_Map;
Targets : File_Lists.Map := File_Lists.Empty_Map;
end record;
package Run_Lists is
new Ada.Containers.Ordered_Maps (Key_Type => Command_Lines,
Element_Type => Run);
-- --------------------------------------------------------------------------
procedure Insert_Or_Update (The_Command : in Command_Lines;
The_Run : in Run;
In_Run_List : in out Run_Lists.Map);
-- --------------------------------------------------------------------------
procedure Dump (Run_List : in Run_Lists.Map;
Filter_Sytem_Files : in Boolean);
-- Dump each run with the format :
--
-- Time_Tag Command
-- Sources:
-- Time_Tag file1
-- Time_Tag file2
-- ...
-- Targets:
-- Time_Tag file1
-- Time_Tag file2
-- ...
-- --------------------------------------------------------------------------
-- Run storage management
-- --------------------------------------------------------------------------
function Saved_Run_Found return Boolean;
function Get_Saved_Run return Run_Lists.Map;
procedure Save_Run (The_Run : in Run_Lists.Map);
end Smk.Run_Files;
|
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- - - - - - - - - - - - - - - - --
-- Read copyright and license at the end of this file --
------------------------------------------------------------------------------
-- $Revision: 209 $ $Date: 2013-11-30 21:03:24 +0200 (Сб., 30 нояб. 2013) $
-- Purpose:
-- Represent information about a type and operations to classify it.
package Asis.Gela.Classes is
type Type_Info is private;
function Type_From_Declaration
(Tipe : Asis.Declaration;
Place : Asis.Element) return Type_Info;
-- Return information about a type given by type_declaration.
-- Place element is used to provide "point of view", because
-- type could be private from one point, but concrete from
-- another.
-- If Place is null, return last completion in the same enclosing
-- declaration
function Type_From_Subtype_Mark
(Mark : Asis.Expression;
Place : Asis.Element) return Type_Info;
-- Return information about a type given by subtype_mark
function Type_From_Indication
(Ind : Asis.Definition;
Place : Asis.Element) return Type_Info;
-- Return information about a type given by subtype_indication
-- Ind should be subtype_indication
-- (or access_definition from parameter_and_result_profile)
function Type_From_Discrete_Def
(Def : Asis.Definition;
Place : Asis.Element) return Type_Info;
-- Return information about a type given by discrete_definition
function Type_Of_Declaration
(Decl : Asis.Declaration;
Place : Asis.Element) return Type_Info;
-- Return information about a type used in object declaration
function Type_Of_Name
(Name : Asis.Defining_Name;
Place : Asis.Element) return Type_Info;
-- Return information about a type given by defining_name
function Type_Of_Range
(Lower, Upper : Asis.Expression) return Type_Info;
function Type_Of_Range
(Lower, Upper : Type_Info) return Type_Info;
procedure Set_Class_Wide (Info : in out Type_Info);
-- Turn type into class-wide
function Drop_Class (Info : Type_Info) return Type_Info;
-- Remove 'Class from Type_Info
procedure Set_Access (Info : in out Type_Info; Value : Boolean);
-- Turn type into anonymouse access
-- Clasification requests
function Is_Not_Type (Info : Type_Info) return Boolean;
function Is_Declaration (Info : Type_Info) return Boolean;
function Is_Definition (Info : Type_Info) return Boolean;
function Is_Class_Wide (Info : Type_Info) return Boolean;
function Is_Anonymous_Access (Info : Type_Info) return Boolean;
function Is_Limited (Info : Type_Info) return Boolean;
function Is_Elementary (Info : Type_Info) return Boolean;
function Is_Scalar (Info : Type_Info) return Boolean;
function Is_Discrete (Info : Type_Info) return Boolean;
function Is_Enumeration (Info : Type_Info) return Boolean;
function Is_Character (Info : Type_Info) return Boolean;
function Is_Boolean (Info : Type_Info) return Boolean;
function Is_Signed_Integer (Info : Type_Info) return Boolean;
function Is_Modular_Integer (Info : Type_Info) return Boolean;
function Is_Float_Point (Info : Type_Info) return Boolean;
function Is_Ordinary_Fixed_Point (Info : Type_Info) return Boolean;
function Is_Decimal_Fixed_Point (Info : Type_Info) return Boolean;
function Is_Constant_Access (Info : Type_Info) return Boolean;
function Is_Variable_Access (Info : Type_Info) return Boolean;
function Is_Object_Access (Info : Type_Info) return Boolean;
function Is_General_Access (Info : Type_Info) return Boolean;
function Is_Procedure_Access (Info : Type_Info) return Boolean;
function Is_Function_Access (Info : Type_Info) return Boolean;
function Is_Subprogram_Access (Info : Type_Info) return Boolean;
function Is_String (Info : Type_Info) return Boolean;
function Is_Array (Info : Type_Info) return Boolean;
function Is_Boolean_Array (Info : Type_Info) return Boolean;
function Is_Discrete_Array (Info : Type_Info) return Boolean;
function Is_Untagged_Record (Info : Type_Info) return Boolean;
function Is_Tagged (Info : Type_Info) return Boolean;
function Is_Task (Info : Type_Info) return Boolean;
function Is_Protected (Info : Type_Info) return Boolean;
function Is_Integer (Info : Type_Info) return Boolean;
function Is_Real (Info : Type_Info) return Boolean;
function Is_Fixed_Point (Info : Type_Info) return Boolean;
function Is_Numeric (Info : Type_Info) return Boolean;
function Is_Access (Info : Type_Info) return Boolean;
function Is_Composite (Info : Type_Info) return Boolean;
function Is_Universal (Info : Type_Info) return Boolean;
function Is_Incomplete (Info : Type_Info) return Boolean;
function Is_Array
(Tipe : Type_Info;
Length : Asis.List_Index) return Boolean;
function Get_Subtype (Info : Type_Info) return Asis.Declaration;
-- Misc functions
function Is_Equal (Left, Right : Type_Info) return Boolean;
function Is_Equal_Class (Left, Right : Type_Info) return Boolean;
function Hash (Info : Type_Info) return Asis.ASIS_Integer;
function Is_Covered
(Specific : Type_Info;
Class_Wide : Type_Info) return Boolean;
function Is_Expected_Type
(Specific : Type_Info;
Expected : Type_Info) return Boolean;
function Is_Subtype_Mark (Mark : Asis.Expression) return Boolean;
function Is_Type_Declaration (Decl : Asis.Declaration) return Boolean;
function Debug_Image (Info : Type_Info) return Wide_String;
function Destination_Type (Tipe : Type_Info) return Type_Info;
function Get_Array_Element_Type
(Tipe : Type_Info) return Type_Info;
function Get_Array_Index_Type
(Tipe : Type_Info;
Index : Asis.List_Index := 1) return Type_Info;
function Parent_Type (Tipe : Type_Info) return Type_Info;
function Top_Parent_Type (Tipe : Type_Info) return Type_Info;
function Function_Result_Type (Tipe : Type_Info) return Type_Info;
function Subprogram_Parameters
(Tipe : Type_Info) return Asis.Parameter_Specification_List;
function Conform_Access_Type
(Decl : Asis.Declaration;
Tipe : Type_Info) return Boolean;
function Destinated_Are_Type_Conformant
(Left, Right : Type_Info) return Boolean;
-- Left, Right should be Is_Subprogram_Access and Is_Anonymous_Access
function Find_Component
(Tipe : Type_Info;
Name : Asis.Program_Text) return Asis.Declaration;
function Get_Declaration (Info : Type_Info) return Asis.Declaration;
function Get_Type_View (Info : Type_Info) return Asis.Declaration;
function Get_Place (Info : Type_Info) return Asis.Element;
function Get_Type_Def (Tipe : Type_Info) return Asis.Definition;
function Is_Child_Of (Child, Parent : Type_Info) return Boolean;
Not_A_Type : constant Type_Info;
private
type Class_Kinds is
(An_Incomplete,
A_Character,
A_Boolean,
An_Other_Enum,
An_Universal_Integer,
A_Signed_Integer,
A_Modular_Integer,
An_Universal_Real,
A_Float_Point,
An_Universal_Fixed,
A_Ordinary_Fixed_Point,
A_Decimal_Fixed_Point,
A_Constant_Access,
A_Variable_Access,
A_Pool_Access,
A_Procedure_Access,
A_Function_Access,
A_Universal_Access,
A_String,
A_Boolean_Array,
A_Other_Discrete_Array,
An_Other_Array,
A_Untagged_Record,
A_Tagged,
A_Task,
A_Protected,
A_Private);
subtype An_Elementary is Class_Kinds
range A_Character .. A_Universal_Access;
subtype A_Scalar is Class_Kinds
range A_Character .. A_Decimal_Fixed_Point;
subtype A_Discrete is Class_Kinds
range A_Character .. A_Modular_Integer;
subtype An_Enumeration is Class_Kinds
range A_Character .. An_Other_Enum;
subtype An_Integer is Class_Kinds
range An_Universal_Integer .. A_Modular_Integer;
subtype A_Real is Class_Kinds
range An_Universal_Real .. A_Decimal_Fixed_Point;
subtype A_Fixed_Point is Class_Kinds
range An_Universal_Fixed .. A_Decimal_Fixed_Point;
subtype A_Numeric is Class_Kinds
range An_Universal_Integer .. A_Decimal_Fixed_Point;
subtype An_Access is Class_Kinds
range A_Constant_Access .. A_Universal_Access;
subtype A_Subprogram_Access is Class_Kinds
range A_Procedure_Access .. A_Function_Access;
subtype An_Object_Access is Class_Kinds
range A_Constant_Access .. A_Pool_Access;
subtype A_General_Access is Class_Kinds
range A_Constant_Access .. A_Variable_Access;
subtype A_Composite is Class_Kinds
range A_String .. A_Private;
subtype An_Array is Class_Kinds
range A_String .. An_Other_Array;
subtype A_Discrete_Array is Class_Kinds
range A_String .. A_Other_Discrete_Array;
type Info_Kinds is
(Declaration_Info, -- Ordinary type declaration
Defining_Name_Info, -- Anonymous type other then in return
Return_Info); -- Anonymous type in function return
type Type_Info (Kind : Info_Kinds := Declaration_Info) is record
Class_Kind : Class_Kinds;
Is_Class_Wide : Boolean := False;
Is_Access : Boolean := False;
Is_Limited : Boolean := False;
Place : Asis.Element; -- type viewed from Place
case Kind is
when Declaration_Info =>
Base_Type : Asis.Declaration;
Type_View : Asis.Declaration;
Subtipe : Asis.Declaration;
when Defining_Name_Info =>
Object_Name : Asis.Defining_Name; -- name of object of anon type
when Return_Info =>
Access_Definition : Asis.Definition;
end case;
end record;
Not_A_Type : constant Type_Info :=
(Declaration_Info, Class_Kinds'First, False, False, False,
others => Asis.Nil_Element);
end Asis.Gela.Classes;
------------------------------------------------------------------------------
-- Copyright (c) 2006-2013, Maxim Reznik
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice,
-- this list of conditions and the following disclaimer.
-- * Redistributions in binary form must reproduce the above copyright
-- notice, this list of conditions and the following disclaimer in the
-- documentation and/or other materials provided with the distribution.
-- * Neither the name of the Maxim Reznik, IE nor the names of its
-- contributors may be used to endorse or promote products derived from
-- this software without specific prior written permission.
--
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-- POSSIBILITY OF SUCH DAMAGE.
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- S I N F O --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2014, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
pragma Style_Checks (All_Checks);
-- No subprogram ordering check, due to logical grouping
with Atree; use Atree;
package body Sinfo is
use Atree.Unchecked_Access;
-- This package is one of the few packages which is allowed to make direct
-- references to tree nodes (since it is in the business of providing a
-- higher level of tree access which other clients are expected to use and
-- which implements checks).
use Atree_Private_Part;
-- The only reason that we ask for direct access to the private part of
-- the tree package is so that we can directly reference the Nkind field
-- of nodes table entries. We do this since it helps the efficiency of
-- the Sinfo debugging checks considerably (note that when we are checking
-- Nkind values, we don't need to check for a valid node reference, because
-- we will check that anyway when we reference the field).
NT : Nodes.Table_Ptr renames Nodes.Table;
-- A short hand abbreviation, useful for the debugging checks
----------------------------
-- Field Access Functions --
----------------------------
function ABE_Is_Certain
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Package_Declaration
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Package_Instantiation
or else NT (N).Nkind = N_Procedure_Call_Statement
or else NT (N).Nkind = N_Procedure_Instantiation);
return Flag18 (N);
end ABE_Is_Certain;
function Abort_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Requeue_Statement);
return Flag15 (N);
end Abort_Present;
function Abortable_Part
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Asynchronous_Select);
return Node2 (N);
end Abortable_Part;
function Abstract_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Private_Type_Definition
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Private_Type_Declaration
or else NT (N).Nkind = N_Record_Definition);
return Flag4 (N);
end Abstract_Present;
function Accept_Handler_Records
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Alternative);
return List5 (N);
end Accept_Handler_Records;
function Accept_Statement
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Alternative);
return Node2 (N);
end Accept_Statement;
function Access_Definition
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Definition
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Object_Renaming_Declaration);
return Node3 (N);
end Access_Definition;
function Access_To_Subprogram_Definition
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Definition);
return Node3 (N);
end Access_To_Subprogram_Definition;
function Access_Types_To_Process
(N : Node_Id) return Elist_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Freeze_Entity);
return Elist2 (N);
end Access_Types_To_Process;
function Actions
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_And_Then
or else NT (N).Nkind = N_Case_Expression_Alternative
or else NT (N).Nkind = N_Compilation_Unit_Aux
or else NT (N).Nkind = N_Compound_Statement
or else NT (N).Nkind = N_Expression_With_Actions
or else NT (N).Nkind = N_Freeze_Entity
or else NT (N).Nkind = N_Or_Else);
return List1 (N);
end Actions;
function Activation_Chain_Entity
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Entry_Body
or else NT (N).Nkind = N_Generic_Package_Declaration
or else NT (N).Nkind = N_Package_Declaration
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Task_Body);
return Node3 (N);
end Activation_Chain_Entity;
function Acts_As_Spec
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit
or else NT (N).Nkind = N_Subprogram_Body);
return Flag4 (N);
end Acts_As_Spec;
function Actual_Designated_Subtype
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Explicit_Dereference
or else NT (N).Nkind = N_Free_Statement);
return Node4 (N);
end Actual_Designated_Subtype;
function Address_Warning_Posted
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Definition_Clause);
return Flag18 (N);
end Address_Warning_Posted;
function Aggregate_Bounds
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate);
return Node3 (N);
end Aggregate_Bounds;
function Aliased_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Definition
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification);
return Flag4 (N);
end Aliased_Present;
function All_Others
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Others_Choice);
return Flag11 (N);
end All_Others;
function All_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Definition
or else NT (N).Nkind = N_Access_To_Object_Definition
or else NT (N).Nkind = N_Quantified_Expression
or else NT (N).Nkind = N_Use_Type_Clause);
return Flag15 (N);
end All_Present;
function Alternatives
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Case_Expression
or else NT (N).Nkind = N_Case_Statement
or else NT (N).Nkind = N_In
or else NT (N).Nkind = N_Not_In);
return List4 (N);
end Alternatives;
function Ancestor_Part
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Extension_Aggregate);
return Node3 (N);
end Ancestor_Part;
function Atomic_Sync_Required
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Expanded_Name
or else NT (N).Nkind = N_Explicit_Dereference
or else NT (N).Nkind = N_Identifier
or else NT (N).Nkind = N_Indexed_Component
or else NT (N).Nkind = N_Selected_Component);
return Flag14 (N);
end Atomic_Sync_Required;
function Array_Aggregate
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Enumeration_Representation_Clause);
return Node3 (N);
end Array_Aggregate;
function Aspect_Rep_Item
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification);
return Node2 (N);
end Aspect_Rep_Item;
function Assignment_OK
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind in N_Subexpr);
return Flag15 (N);
end Assignment_OK;
function Associated_Node
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind in N_Has_Entity
or else NT (N).Nkind = N_Aggregate
or else NT (N).Nkind = N_Extension_Aggregate
or else NT (N).Nkind = N_Selected_Component);
return Node4 (N);
end Associated_Node;
function At_End_Proc
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
return Node1 (N);
end At_End_Proc;
function Attribute_Name
(N : Node_Id) return Name_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Reference);
return Name2 (N);
end Attribute_Name;
function Aux_Decls_Node
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
return Node5 (N);
end Aux_Decls_Node;
function Backwards_OK
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement);
return Flag6 (N);
end Backwards_OK;
function Bad_Is_Detected
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Body);
return Flag15 (N);
end Bad_Is_Detected;
function Body_Required
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
return Flag13 (N);
end Body_Required;
function Body_To_Inline
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Declaration);
return Node3 (N);
end Body_To_Inline;
function Box_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Association
or else NT (N).Nkind = N_Formal_Abstract_Subprogram_Declaration
or else NT (N).Nkind = N_Formal_Concrete_Subprogram_Declaration
or else NT (N).Nkind = N_Formal_Package_Declaration
or else NT (N).Nkind = N_Generic_Association);
return Flag15 (N);
end Box_Present;
function By_Ref
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Extended_Return_Statement
or else NT (N).Nkind = N_Simple_Return_Statement);
return Flag5 (N);
end By_Ref;
function Char_Literal_Value
(N : Node_Id) return Uint is
begin
pragma Assert (False
or else NT (N).Nkind = N_Character_Literal);
return Uint2 (N);
end Char_Literal_Value;
function Chars
(N : Node_Id) return Name_Id is
begin
pragma Assert (False
or else NT (N).Nkind in N_Has_Chars);
return Name1 (N);
end Chars;
function Check_Address_Alignment
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Definition_Clause);
return Flag11 (N);
end Check_Address_Alignment;
function Choice_Parameter
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Handler);
return Node2 (N);
end Choice_Parameter;
function Choices
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Association);
return List1 (N);
end Choices;
function Class_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Pragma);
return Flag6 (N);
end Class_Present;
function Classifications
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Contract);
return Node3 (N);
end Classifications;
function Cleanup_Actions
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement);
return List5 (N);
end Cleanup_Actions;
function Comes_From_Extended_Return_Statement
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Simple_Return_Statement);
return Flag18 (N);
end Comes_From_Extended_Return_Statement;
function Compile_Time_Known_Aggregate
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate);
return Flag18 (N);
end Compile_Time_Known_Aggregate;
function Component_Associations
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate
or else NT (N).Nkind = N_Extension_Aggregate);
return List2 (N);
end Component_Associations;
function Component_Clauses
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Record_Representation_Clause);
return List3 (N);
end Component_Clauses;
function Component_Definition
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Declaration
or else NT (N).Nkind = N_Constrained_Array_Definition
or else NT (N).Nkind = N_Unconstrained_Array_Definition);
return Node4 (N);
end Component_Definition;
function Component_Items
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_List);
return List3 (N);
end Component_Items;
function Component_List
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Record_Definition
or else NT (N).Nkind = N_Variant);
return Node1 (N);
end Component_List;
function Component_Name
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Clause);
return Node1 (N);
end Component_Name;
function Componentwise_Assignment
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement);
return Flag14 (N);
end Componentwise_Assignment;
function Condition
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Alternative
or else NT (N).Nkind = N_Delay_Alternative
or else NT (N).Nkind = N_Elsif_Part
or else NT (N).Nkind = N_Entry_Body_Formal_Part
or else NT (N).Nkind = N_Exit_Statement
or else NT (N).Nkind = N_If_Statement
or else NT (N).Nkind = N_Iteration_Scheme
or else NT (N).Nkind = N_Quantified_Expression
or else NT (N).Nkind = N_Raise_Constraint_Error
or else NT (N).Nkind = N_Raise_Program_Error
or else NT (N).Nkind = N_Raise_Storage_Error
or else NT (N).Nkind = N_Terminate_Alternative);
return Node1 (N);
end Condition;
function Condition_Actions
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Elsif_Part
or else NT (N).Nkind = N_Iteration_Scheme);
return List3 (N);
end Condition_Actions;
function Config_Pragmas
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit_Aux);
return List4 (N);
end Config_Pragmas;
function Constant_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Definition
or else NT (N).Nkind = N_Access_To_Object_Definition
or else NT (N).Nkind = N_Object_Declaration);
return Flag17 (N);
end Constant_Present;
function Constraint
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subtype_Indication);
return Node3 (N);
end Constraint;
function Constraints
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Index_Or_Discriminant_Constraint);
return List1 (N);
end Constraints;
function Context_Installed
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
return Flag13 (N);
end Context_Installed;
function Context_Items
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
return List1 (N);
end Context_Items;
function Context_Pending
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
return Flag16 (N);
end Context_Pending;
function Contract_Test_Cases
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Contract);
return Node2 (N);
end Contract_Test_Cases;
function Controlling_Argument
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Procedure_Call_Statement);
return Node1 (N);
end Controlling_Argument;
function Conversion_OK
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Type_Conversion);
return Flag14 (N);
end Conversion_OK;
function Convert_To_Return_False
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Raise_Expression);
return Flag13 (N);
end Convert_To_Return_False;
function Corresponding_Aspect
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
return Node3 (N);
end Corresponding_Aspect;
function Corresponding_Body
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Declaration
or else NT (N).Nkind = N_Generic_Package_Declaration
or else NT (N).Nkind = N_Generic_Subprogram_Declaration
or else NT (N).Nkind = N_Package_Body_Stub
or else NT (N).Nkind = N_Package_Declaration
or else NT (N).Nkind = N_Protected_Body_Stub
or else NT (N).Nkind = N_Protected_Type_Declaration
or else NT (N).Nkind = N_Subprogram_Body_Stub
or else NT (N).Nkind = N_Subprogram_Declaration
or else NT (N).Nkind = N_Task_Body_Stub
or else NT (N).Nkind = N_Task_Type_Declaration);
return Node5 (N);
end Corresponding_Body;
function Corresponding_Formal_Spec
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
return Node3 (N);
end Corresponding_Formal_Spec;
function Corresponding_Generic_Association
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Object_Renaming_Declaration);
return Node5 (N);
end Corresponding_Generic_Association;
function Corresponding_Integer_Value
(N : Node_Id) return Uint is
begin
pragma Assert (False
or else NT (N).Nkind = N_Real_Literal);
return Uint4 (N);
end Corresponding_Integer_Value;
function Corresponding_Spec
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Expression_Function
or else NT (N).Nkind = N_Package_Body
or else NT (N).Nkind = N_Protected_Body
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Subprogram_Renaming_Declaration
or else NT (N).Nkind = N_Task_Body
or else NT (N).Nkind = N_With_Clause);
return Node5 (N);
end Corresponding_Spec;
function Corresponding_Spec_Of_Stub
(N : Node_Id) return Entity_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Package_Body_Stub
or else NT (N).Nkind = N_Protected_Body_Stub
or else NT (N).Nkind = N_Subprogram_Body_Stub
or else NT (N).Nkind = N_Task_Body_Stub);
return Node2 (N);
end Corresponding_Spec_Of_Stub;
function Corresponding_Stub
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subunit);
return Node3 (N);
end Corresponding_Stub;
function Dcheck_Function
(N : Node_Id) return Entity_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Variant);
return Node5 (N);
end Dcheck_Function;
function Declarations
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Statement
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Compilation_Unit_Aux
or else NT (N).Nkind = N_Entry_Body
or else NT (N).Nkind = N_Package_Body
or else NT (N).Nkind = N_Protected_Body
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Task_Body);
return List2 (N);
end Declarations;
function Default_Expression
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification);
return Node5 (N);
end Default_Expression;
function Default_Storage_Pool
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit_Aux);
return Node3 (N);
end Default_Storage_Pool;
function Default_Name
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Abstract_Subprogram_Declaration
or else NT (N).Nkind = N_Formal_Concrete_Subprogram_Declaration);
return Node2 (N);
end Default_Name;
function Defining_Identifier
(N : Node_Id) return Entity_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Declaration
or else NT (N).Nkind = N_Defining_Program_Unit_Name
or else NT (N).Nkind = N_Discriminant_Specification
or else NT (N).Nkind = N_Entry_Body
or else NT (N).Nkind = N_Entry_Declaration
or else NT (N).Nkind = N_Entry_Index_Specification
or else NT (N).Nkind = N_Exception_Declaration
or else NT (N).Nkind = N_Exception_Renaming_Declaration
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Formal_Package_Declaration
or else NT (N).Nkind = N_Formal_Type_Declaration
or else NT (N).Nkind = N_Full_Type_Declaration
or else NT (N).Nkind = N_Implicit_Label_Declaration
or else NT (N).Nkind = N_Incomplete_Type_Declaration
or else NT (N).Nkind = N_Iterator_Specification
or else NT (N).Nkind = N_Loop_Parameter_Specification
or else NT (N).Nkind = N_Number_Declaration
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Object_Renaming_Declaration
or else NT (N).Nkind = N_Package_Body_Stub
or else NT (N).Nkind = N_Parameter_Specification
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Private_Type_Declaration
or else NT (N).Nkind = N_Protected_Body
or else NT (N).Nkind = N_Protected_Body_Stub
or else NT (N).Nkind = N_Protected_Type_Declaration
or else NT (N).Nkind = N_Single_Protected_Declaration
or else NT (N).Nkind = N_Single_Task_Declaration
or else NT (N).Nkind = N_Subtype_Declaration
or else NT (N).Nkind = N_Task_Body
or else NT (N).Nkind = N_Task_Body_Stub
or else NT (N).Nkind = N_Task_Type_Declaration);
return Node1 (N);
end Defining_Identifier;
function Defining_Unit_Name
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Function_Specification
or else NT (N).Nkind = N_Generic_Function_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Package_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Procedure_Renaming_Declaration
or else NT (N).Nkind = N_Package_Body
or else NT (N).Nkind = N_Package_Instantiation
or else NT (N).Nkind = N_Package_Renaming_Declaration
or else NT (N).Nkind = N_Package_Specification
or else NT (N).Nkind = N_Procedure_Instantiation
or else NT (N).Nkind = N_Procedure_Specification);
return Node1 (N);
end Defining_Unit_Name;
function Delay_Alternative
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Timed_Entry_Call);
return Node4 (N);
end Delay_Alternative;
function Delay_Statement
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Delay_Alternative);
return Node2 (N);
end Delay_Statement;
function Delta_Expression
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Decimal_Fixed_Point_Definition
or else NT (N).Nkind = N_Delta_Constraint
or else NT (N).Nkind = N_Ordinary_Fixed_Point_Definition);
return Node3 (N);
end Delta_Expression;
function Digits_Expression
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Decimal_Fixed_Point_Definition
or else NT (N).Nkind = N_Digits_Constraint
or else NT (N).Nkind = N_Floating_Point_Definition);
return Node2 (N);
end Digits_Expression;
function Discr_Check_Funcs_Built
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Full_Type_Declaration);
return Flag11 (N);
end Discr_Check_Funcs_Built;
function Discrete_Choices
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Case_Expression_Alternative
or else NT (N).Nkind = N_Case_Statement_Alternative
or else NT (N).Nkind = N_Variant);
return List4 (N);
end Discrete_Choices;
function Discrete_Range
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Slice);
return Node4 (N);
end Discrete_Range;
function Discrete_Subtype_Definition
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Declaration
or else NT (N).Nkind = N_Entry_Index_Specification
or else NT (N).Nkind = N_Loop_Parameter_Specification);
return Node4 (N);
end Discrete_Subtype_Definition;
function Discrete_Subtype_Definitions
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Constrained_Array_Definition);
return List2 (N);
end Discrete_Subtype_Definitions;
function Discriminant_Specifications
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Type_Declaration
or else NT (N).Nkind = N_Full_Type_Declaration
or else NT (N).Nkind = N_Incomplete_Type_Declaration
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Private_Type_Declaration
or else NT (N).Nkind = N_Protected_Type_Declaration
or else NT (N).Nkind = N_Task_Type_Declaration);
return List4 (N);
end Discriminant_Specifications;
function Discriminant_Type
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Discriminant_Specification);
return Node5 (N);
end Discriminant_Type;
function Do_Accessibility_Check
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Parameter_Specification);
return Flag13 (N);
end Do_Accessibility_Check;
function Do_Discriminant_Check
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement
or else NT (N).Nkind = N_Selected_Component
or else NT (N).Nkind = N_Type_Conversion);
return Flag1 (N);
end Do_Discriminant_Check;
function Do_Division_Check
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Divide
or else NT (N).Nkind = N_Op_Mod
or else NT (N).Nkind = N_Op_Rem);
return Flag13 (N);
end Do_Division_Check;
function Do_Length_Check
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement
or else NT (N).Nkind = N_Op_And
or else NT (N).Nkind = N_Op_Or
or else NT (N).Nkind = N_Op_Xor
or else NT (N).Nkind = N_Type_Conversion);
return Flag4 (N);
end Do_Length_Check;
function Do_Overflow_Check
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind in N_Op
or else NT (N).Nkind = N_Attribute_Reference
or else NT (N).Nkind = N_Case_Expression
or else NT (N).Nkind = N_If_Expression
or else NT (N).Nkind = N_Type_Conversion);
return Flag17 (N);
end Do_Overflow_Check;
function Do_Range_Check
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind in N_Subexpr);
return Flag9 (N);
end Do_Range_Check;
function Do_Storage_Check
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator
or else NT (N).Nkind = N_Subprogram_Body);
return Flag17 (N);
end Do_Storage_Check;
function Do_Tag_Check
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement
or else NT (N).Nkind = N_Extended_Return_Statement
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Procedure_Call_Statement
or else NT (N).Nkind = N_Simple_Return_Statement
or else NT (N).Nkind = N_Type_Conversion);
return Flag13 (N);
end Do_Tag_Check;
function Elaborate_All_Desirable
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
return Flag9 (N);
end Elaborate_All_Desirable;
function Elaborate_All_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
return Flag14 (N);
end Elaborate_All_Present;
function Elaborate_Desirable
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
return Flag11 (N);
end Elaborate_Desirable;
function Elaborate_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
return Flag4 (N);
end Elaborate_Present;
function Else_Actions
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_If_Expression);
return List3 (N);
end Else_Actions;
function Else_Statements
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Conditional_Entry_Call
or else NT (N).Nkind = N_If_Statement
or else NT (N).Nkind = N_Selective_Accept);
return List4 (N);
end Else_Statements;
function Elsif_Parts
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_If_Statement);
return List3 (N);
end Elsif_Parts;
function Enclosing_Variant
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Variant);
return Node2 (N);
end Enclosing_Variant;
function End_Label
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Enumeration_Type_Definition
or else NT (N).Nkind = N_Handled_Sequence_Of_Statements
or else NT (N).Nkind = N_Loop_Statement
or else NT (N).Nkind = N_Package_Specification
or else NT (N).Nkind = N_Protected_Body
or else NT (N).Nkind = N_Protected_Definition
or else NT (N).Nkind = N_Record_Definition
or else NT (N).Nkind = N_Task_Definition);
return Node4 (N);
end End_Label;
function End_Span
(N : Node_Id) return Uint is
begin
pragma Assert (False
or else NT (N).Nkind = N_Case_Statement
or else NT (N).Nkind = N_If_Statement);
return Uint5 (N);
end End_Span;
function Entity
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind in N_Has_Entity
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Attribute_Definition_Clause
or else NT (N).Nkind = N_Freeze_Entity
or else NT (N).Nkind = N_Freeze_Generic_Entity);
return Node4 (N);
end Entity;
function Entity_Or_Associated_Node
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind in N_Has_Entity
or else NT (N).Nkind = N_Freeze_Entity);
return Node4 (N);
end Entity_Or_Associated_Node;
function Entry_Body_Formal_Part
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Body);
return Node5 (N);
end Entry_Body_Formal_Part;
function Entry_Call_Alternative
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Conditional_Entry_Call
or else NT (N).Nkind = N_Timed_Entry_Call);
return Node1 (N);
end Entry_Call_Alternative;
function Entry_Call_Statement
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Call_Alternative);
return Node1 (N);
end Entry_Call_Statement;
function Entry_Direct_Name
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Statement);
return Node1 (N);
end Entry_Direct_Name;
function Entry_Index
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Statement);
return Node5 (N);
end Entry_Index;
function Entry_Index_Specification
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Body_Formal_Part);
return Node4 (N);
end Entry_Index_Specification;
function Etype
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind in N_Has_Etype);
return Node5 (N);
end Etype;
function Exception_Choices
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Handler);
return List4 (N);
end Exception_Choices;
function Exception_Handlers
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
return List5 (N);
end Exception_Handlers;
function Exception_Junk
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Goto_Statement
or else NT (N).Nkind = N_Label
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Subtype_Declaration);
return Flag8 (N);
end Exception_Junk;
function Exception_Label
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Handler
or else NT (N).Nkind = N_Push_Constraint_Error_Label
or else NT (N).Nkind = N_Push_Program_Error_Label
or else NT (N).Nkind = N_Push_Storage_Error_Label);
return Node5 (N);
end Exception_Label;
function Expansion_Delayed
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate
or else NT (N).Nkind = N_Extension_Aggregate);
return Flag11 (N);
end Expansion_Delayed;
function Explicit_Actual_Parameter
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Parameter_Association);
return Node3 (N);
end Explicit_Actual_Parameter;
function Explicit_Generic_Actual_Parameter
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Generic_Association);
return Node1 (N);
end Explicit_Generic_Actual_Parameter;
function Expression
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Assignment_Statement
or else NT (N).Nkind = N_At_Clause
or else NT (N).Nkind = N_Attribute_Definition_Clause
or else NT (N).Nkind = N_Case_Expression
or else NT (N).Nkind = N_Case_Expression_Alternative
or else NT (N).Nkind = N_Case_Statement
or else NT (N).Nkind = N_Code_Statement
or else NT (N).Nkind = N_Component_Association
or else NT (N).Nkind = N_Component_Declaration
or else NT (N).Nkind = N_Delay_Relative_Statement
or else NT (N).Nkind = N_Delay_Until_Statement
or else NT (N).Nkind = N_Discriminant_Association
or else NT (N).Nkind = N_Discriminant_Specification
or else NT (N).Nkind = N_Exception_Declaration
or else NT (N).Nkind = N_Expression_Function
or else NT (N).Nkind = N_Expression_With_Actions
or else NT (N).Nkind = N_Free_Statement
or else NT (N).Nkind = N_Mod_Clause
or else NT (N).Nkind = N_Modular_Type_Definition
or else NT (N).Nkind = N_Number_Declaration
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification
or else NT (N).Nkind = N_Pragma_Argument_Association
or else NT (N).Nkind = N_Qualified_Expression
or else NT (N).Nkind = N_Raise_Expression
or else NT (N).Nkind = N_Raise_Statement
or else NT (N).Nkind = N_Simple_Return_Statement
or else NT (N).Nkind = N_Type_Conversion
or else NT (N).Nkind = N_Unchecked_Expression
or else NT (N).Nkind = N_Unchecked_Type_Conversion);
return Node3 (N);
end Expression;
function Expressions
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate
or else NT (N).Nkind = N_Attribute_Reference
or else NT (N).Nkind = N_Extension_Aggregate
or else NT (N).Nkind = N_If_Expression
or else NT (N).Nkind = N_Indexed_Component);
return List1 (N);
end Expressions;
function First_Bit
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Clause);
return Node3 (N);
end First_Bit;
function First_Inlined_Subprogram
(N : Node_Id) return Entity_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
return Node3 (N);
end First_Inlined_Subprogram;
function First_Name
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
return Flag5 (N);
end First_Name;
function First_Named_Actual
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Call_Statement
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Procedure_Call_Statement);
return Node4 (N);
end First_Named_Actual;
function First_Real_Statement
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
return Node2 (N);
end First_Real_Statement;
function First_Subtype_Link
(N : Node_Id) return Entity_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Freeze_Entity);
return Node5 (N);
end First_Subtype_Link;
function Float_Truncate
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Type_Conversion);
return Flag11 (N);
end Float_Truncate;
function Formal_Type_Definition
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Type_Declaration);
return Node3 (N);
end Formal_Type_Definition;
function Forwards_OK
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement);
return Flag5 (N);
end Forwards_OK;
function From_Aspect_Specification
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Definition_Clause
or else NT (N).Nkind = N_Pragma);
return Flag13 (N);
end From_Aspect_Specification;
function From_At_End
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Raise_Statement);
return Flag4 (N);
end From_At_End;
function From_At_Mod
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Definition_Clause);
return Flag4 (N);
end From_At_Mod;
function From_Conditional_Expression
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Case_Statement
or else NT (N).Nkind = N_If_Statement);
return Flag1 (N);
end From_Conditional_Expression;
function From_Default
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
return Flag6 (N);
end From_Default;
function Generalized_Indexing
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Indexed_Component);
return Node4 (N);
end Generalized_Indexing;
function Generic_Associations
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Package_Declaration
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Package_Instantiation
or else NT (N).Nkind = N_Procedure_Instantiation);
return List3 (N);
end Generic_Associations;
function Generic_Formal_Declarations
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Generic_Package_Declaration
or else NT (N).Nkind = N_Generic_Subprogram_Declaration);
return List2 (N);
end Generic_Formal_Declarations;
function Generic_Parent
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Function_Specification
or else NT (N).Nkind = N_Package_Specification
or else NT (N).Nkind = N_Procedure_Specification);
return Node5 (N);
end Generic_Parent;
function Generic_Parent_Type
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subtype_Declaration);
return Node4 (N);
end Generic_Parent_Type;
function Handled_Statement_Sequence
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Statement
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Entry_Body
or else NT (N).Nkind = N_Extended_Return_Statement
or else NT (N).Nkind = N_Package_Body
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Task_Body);
return Node4 (N);
end Handled_Statement_Sequence;
function Handler_List_Entry
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Object_Declaration);
return Node2 (N);
end Handler_List_Entry;
function Has_Created_Identifier
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Loop_Statement);
return Flag15 (N);
end Has_Created_Identifier;
function Has_Dereference_Action
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Explicit_Dereference);
return Flag13 (N);
end Has_Dereference_Action;
function Has_Dynamic_Length_Check
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind in N_Subexpr);
return Flag10 (N);
end Has_Dynamic_Length_Check;
function Has_Dynamic_Range_Check
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subtype_Declaration
or else NT (N).Nkind in N_Subexpr);
return Flag12 (N);
end Has_Dynamic_Range_Check;
function Has_Init_Expression
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Object_Declaration);
return Flag14 (N);
end Has_Init_Expression;
function Has_Local_Raise
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Handler);
return Flag8 (N);
end Has_Local_Raise;
function Has_No_Elaboration_Code
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
return Flag17 (N);
end Has_No_Elaboration_Code;
function Has_Pragma_Suppress_All
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
return Flag14 (N);
end Has_Pragma_Suppress_All;
function Has_Private_View
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind in N_Op
or else NT (N).Nkind = N_Character_Literal
or else NT (N).Nkind = N_Expanded_Name
or else NT (N).Nkind = N_Identifier
or else NT (N).Nkind = N_Operator_Symbol);
return Flag11 (N);
end Has_Private_View;
function Has_Relative_Deadline_Pragma
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Task_Definition);
return Flag9 (N);
end Has_Relative_Deadline_Pragma;
function Has_Self_Reference
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate
or else NT (N).Nkind = N_Extension_Aggregate);
return Flag13 (N);
end Has_Self_Reference;
function Has_SP_Choice
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Case_Expression_Alternative
or else NT (N).Nkind = N_Case_Statement_Alternative
or else NT (N).Nkind = N_Variant);
return Flag15 (N);
end Has_SP_Choice;
function Has_Storage_Size_Pragma
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Task_Definition);
return Flag5 (N);
end Has_Storage_Size_Pragma;
function Has_Wide_Character
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_String_Literal);
return Flag11 (N);
end Has_Wide_Character;
function Has_Wide_Wide_Character
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_String_Literal);
return Flag13 (N);
end Has_Wide_Wide_Character;
function Header_Size_Added
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Reference);
return Flag11 (N);
end Header_Size_Added;
function Hidden_By_Use_Clause
(N : Node_Id) return Elist_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Use_Package_Clause
or else NT (N).Nkind = N_Use_Type_Clause);
return Elist4 (N);
end Hidden_By_Use_Clause;
function High_Bound
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Range
or else NT (N).Nkind = N_Real_Range_Specification
or else NT (N).Nkind = N_Signed_Integer_Type_Definition);
return Node2 (N);
end High_Bound;
function Identifier
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_At_Clause
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Designator
or else NT (N).Nkind = N_Enumeration_Representation_Clause
or else NT (N).Nkind = N_Label
or else NT (N).Nkind = N_Loop_Statement
or else NT (N).Nkind = N_Record_Representation_Clause);
return Node1 (N);
end Identifier;
function Implicit_With
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
return Flag16 (N);
end Implicit_With;
function Implicit_With_From_Instantiation
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
return Flag12 (N);
end Implicit_With_From_Instantiation;
function Interface_List
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Derived_Type_Definition
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Protected_Type_Declaration
or else NT (N).Nkind = N_Record_Definition
or else NT (N).Nkind = N_Single_Protected_Declaration
or else NT (N).Nkind = N_Single_Task_Declaration
or else NT (N).Nkind = N_Task_Type_Declaration);
return List2 (N);
end Interface_List;
function Interface_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Record_Definition);
return Flag16 (N);
end Interface_Present;
function Import_Interface_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
return Flag16 (N);
end Import_Interface_Present;
function In_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification);
return Flag15 (N);
end In_Present;
function Includes_Infinities
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Range);
return Flag11 (N);
end Includes_Infinities;
function Incomplete_View
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Full_Type_Declaration);
return Node2 (N);
end Incomplete_View;
function Inherited_Discriminant
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Association);
return Flag13 (N);
end Inherited_Discriminant;
function Instance_Spec
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Package_Declaration
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Package_Instantiation
or else NT (N).Nkind = N_Procedure_Instantiation);
return Node5 (N);
end Instance_Spec;
function Intval
(N : Node_Id) return Uint is
begin
pragma Assert (False
or else NT (N).Nkind = N_Integer_Literal);
return Uint3 (N);
end Intval;
function Is_Accessibility_Actual
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Parameter_Association);
return Flag13 (N);
end Is_Accessibility_Actual;
function Is_Asynchronous_Call_Block
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement);
return Flag7 (N);
end Is_Asynchronous_Call_Block;
function Is_Boolean_Aspect
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification);
return Flag16 (N);
end Is_Boolean_Aspect;
function Is_Checked
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Pragma);
return Flag11 (N);
end Is_Checked;
function Is_Component_Left_Opnd
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Concat);
return Flag13 (N);
end Is_Component_Left_Opnd;
function Is_Component_Right_Opnd
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Concat);
return Flag14 (N);
end Is_Component_Right_Opnd;
function Is_Controlling_Actual
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind in N_Subexpr);
return Flag16 (N);
end Is_Controlling_Actual;
function Is_Disabled
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Pragma);
return Flag15 (N);
end Is_Disabled;
function Is_Delayed_Aspect
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Attribute_Definition_Clause
or else NT (N).Nkind = N_Pragma);
return Flag14 (N);
end Is_Delayed_Aspect;
function Is_Dynamic_Coextension
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator);
return Flag18 (N);
end Is_Dynamic_Coextension;
function Is_Elsif
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_If_Expression);
return Flag13 (N);
end Is_Elsif;
function Is_Entry_Barrier_Function
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Body);
return Flag8 (N);
end Is_Entry_Barrier_Function;
function Is_Expanded_Build_In_Place_Call
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Function_Call);
return Flag11 (N);
end Is_Expanded_Build_In_Place_Call;
function Is_Finalization_Wrapper
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement);
return Flag9 (N);
end Is_Finalization_Wrapper;
function Is_Folded_In_Parser
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_String_Literal);
return Flag4 (N);
end Is_Folded_In_Parser;
function Is_Ignored
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Pragma);
return Flag9 (N);
end Is_Ignored;
function Is_In_Discriminant_Check
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Selected_Component);
return Flag11 (N);
end Is_In_Discriminant_Check;
function Is_Inherited
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
return Flag4 (N);
end Is_Inherited;
function Is_Machine_Number
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Real_Literal);
return Flag11 (N);
end Is_Machine_Number;
function Is_Null_Loop
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Loop_Statement);
return Flag16 (N);
end Is_Null_Loop;
function Is_Overloaded
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind in N_Subexpr);
return Flag5 (N);
end Is_Overloaded;
function Is_Power_Of_2_For_Shift
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Expon);
return Flag13 (N);
end Is_Power_Of_2_For_Shift;
function Is_Prefixed_Call
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Selected_Component);
return Flag17 (N);
end Is_Prefixed_Call;
function Is_Protected_Subprogram_Body
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Body);
return Flag7 (N);
end Is_Protected_Subprogram_Body;
function Is_Static_Coextension
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator);
return Flag14 (N);
end Is_Static_Coextension;
function Is_Static_Expression
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind in N_Subexpr);
return Flag6 (N);
end Is_Static_Expression;
function Is_Subprogram_Descriptor
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Object_Declaration);
return Flag16 (N);
end Is_Subprogram_Descriptor;
function Is_Task_Allocation_Block
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement);
return Flag6 (N);
end Is_Task_Allocation_Block;
function Is_Task_Master
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Task_Body);
return Flag5 (N);
end Is_Task_Master;
function Iteration_Scheme
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Loop_Statement);
return Node2 (N);
end Iteration_Scheme;
function Iterator_Specification
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Iteration_Scheme
or else NT (N).Nkind = N_Quantified_Expression);
return Node2 (N);
end Iterator_Specification;
function Itype
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Itype_Reference);
return Node1 (N);
end Itype;
function Kill_Range_Check
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Unchecked_Type_Conversion);
return Flag11 (N);
end Kill_Range_Check;
function Label_Construct
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Implicit_Label_Declaration);
return Node2 (N);
end Label_Construct;
function Last_Bit
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Clause);
return Node4 (N);
end Last_Bit;
function Last_Name
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
return Flag6 (N);
end Last_Name;
function Left_Opnd
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_And_Then
or else NT (N).Nkind = N_In
or else NT (N).Nkind = N_Not_In
or else NT (N).Nkind = N_Or_Else
or else NT (N).Nkind in N_Binary_Op);
return Node2 (N);
end Left_Opnd;
function Library_Unit
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit
or else NT (N).Nkind = N_Package_Body_Stub
or else NT (N).Nkind = N_Protected_Body_Stub
or else NT (N).Nkind = N_Subprogram_Body_Stub
or else NT (N).Nkind = N_Task_Body_Stub
or else NT (N).Nkind = N_With_Clause);
return Node4 (N);
end Library_Unit;
function Limited_View_Installed
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Package_Specification
or else NT (N).Nkind = N_With_Clause);
return Flag18 (N);
end Limited_View_Installed;
function Limited_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Private_Type_Definition
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Private_Type_Declaration
or else NT (N).Nkind = N_Record_Definition
or else NT (N).Nkind = N_With_Clause);
return Flag17 (N);
end Limited_Present;
function Literals
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Enumeration_Type_Definition);
return List1 (N);
end Literals;
function Local_Raise_Not_OK
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Handler);
return Flag7 (N);
end Local_Raise_Not_OK;
function Local_Raise_Statements
(N : Node_Id) return Elist_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Handler);
return Elist1 (N);
end Local_Raise_Statements;
function Loop_Actions
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Association);
return List2 (N);
end Loop_Actions;
function Loop_Parameter_Specification
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Iteration_Scheme
or else NT (N).Nkind = N_Quantified_Expression);
return Node4 (N);
end Loop_Parameter_Specification;
function Low_Bound
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Range
or else NT (N).Nkind = N_Real_Range_Specification
or else NT (N).Nkind = N_Signed_Integer_Type_Definition);
return Node1 (N);
end Low_Bound;
function Mod_Clause
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Record_Representation_Clause);
return Node2 (N);
end Mod_Clause;
function More_Ids
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Declaration
or else NT (N).Nkind = N_Discriminant_Specification
or else NT (N).Nkind = N_Exception_Declaration
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Number_Declaration
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification);
return Flag5 (N);
end More_Ids;
function Must_Be_Byte_Aligned
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Reference);
return Flag14 (N);
end Must_Be_Byte_Aligned;
function Must_Not_Freeze
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subtype_Indication
or else NT (N).Nkind in N_Subexpr);
return Flag8 (N);
end Must_Not_Freeze;
function Must_Not_Override
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Declaration
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Function_Specification
or else NT (N).Nkind = N_Procedure_Instantiation
or else NT (N).Nkind = N_Procedure_Specification);
return Flag15 (N);
end Must_Not_Override;
function Must_Override
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Declaration
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Function_Specification
or else NT (N).Nkind = N_Procedure_Instantiation
or else NT (N).Nkind = N_Procedure_Specification);
return Flag14 (N);
end Must_Override;
function Name
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement
or else NT (N).Nkind = N_Attribute_Definition_Clause
or else NT (N).Nkind = N_Defining_Program_Unit_Name
or else NT (N).Nkind = N_Designator
or else NT (N).Nkind = N_Entry_Call_Statement
or else NT (N).Nkind = N_Exception_Renaming_Declaration
or else NT (N).Nkind = N_Exit_Statement
or else NT (N).Nkind = N_Formal_Package_Declaration
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Generic_Function_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Package_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Procedure_Renaming_Declaration
or else NT (N).Nkind = N_Goto_Statement
or else NT (N).Nkind = N_Iterator_Specification
or else NT (N).Nkind = N_Object_Renaming_Declaration
or else NT (N).Nkind = N_Package_Instantiation
or else NT (N).Nkind = N_Package_Renaming_Declaration
or else NT (N).Nkind = N_Procedure_Call_Statement
or else NT (N).Nkind = N_Procedure_Instantiation
or else NT (N).Nkind = N_Raise_Expression
or else NT (N).Nkind = N_Raise_Statement
or else NT (N).Nkind = N_Requeue_Statement
or else NT (N).Nkind = N_Subprogram_Renaming_Declaration
or else NT (N).Nkind = N_Subunit
or else NT (N).Nkind = N_Variant_Part
or else NT (N).Nkind = N_With_Clause);
return Node2 (N);
end Name;
function Names
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Abort_Statement
or else NT (N).Nkind = N_Use_Package_Clause);
return List2 (N);
end Names;
function Next_Entity
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Defining_Character_Literal
or else NT (N).Nkind = N_Defining_Identifier
or else NT (N).Nkind = N_Defining_Operator_Symbol);
return Node2 (N);
end Next_Entity;
function Next_Exit_Statement
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exit_Statement);
return Node3 (N);
end Next_Exit_Statement;
function Next_Implicit_With
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
return Node3 (N);
end Next_Implicit_With;
function Next_Named_Actual
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Parameter_Association);
return Node4 (N);
end Next_Named_Actual;
function Next_Pragma
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
return Node1 (N);
end Next_Pragma;
function Next_Rep_Item
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Attribute_Definition_Clause
or else NT (N).Nkind = N_Enumeration_Representation_Clause
or else NT (N).Nkind = N_Pragma
or else NT (N).Nkind = N_Record_Representation_Clause);
return Node5 (N);
end Next_Rep_Item;
function Next_Use_Clause
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Use_Package_Clause
or else NT (N).Nkind = N_Use_Type_Clause);
return Node3 (N);
end Next_Use_Clause;
function No_Ctrl_Actions
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement);
return Flag7 (N);
end No_Ctrl_Actions;
function No_Elaboration_Check
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Procedure_Call_Statement);
return Flag14 (N);
end No_Elaboration_Check;
function No_Entities_Ref_In_Spec
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
return Flag8 (N);
end No_Entities_Ref_In_Spec;
function No_Initialization
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator
or else NT (N).Nkind = N_Object_Declaration);
return Flag13 (N);
end No_Initialization;
function No_Minimize_Eliminate
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_In
or else NT (N).Nkind = N_Not_In);
return Flag17 (N);
end No_Minimize_Eliminate;
function No_Truncation
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Unchecked_Type_Conversion);
return Flag17 (N);
end No_Truncation;
function Non_Aliased_Prefix
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Reference);
return Flag18 (N);
end Non_Aliased_Prefix;
function Null_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_List
or else NT (N).Nkind = N_Procedure_Specification
or else NT (N).Nkind = N_Record_Definition);
return Flag13 (N);
end Null_Present;
function Null_Excluding_Subtype
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_To_Object_Definition);
return Flag16 (N);
end Null_Excluding_Subtype;
function Null_Exclusion_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Definition
or else NT (N).Nkind = N_Access_Function_Definition
or else NT (N).Nkind = N_Access_Procedure_Definition
or else NT (N).Nkind = N_Access_To_Object_Definition
or else NT (N).Nkind = N_Allocator
or else NT (N).Nkind = N_Component_Definition
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Discriminant_Specification
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Function_Specification
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Object_Renaming_Declaration
or else NT (N).Nkind = N_Parameter_Specification
or else NT (N).Nkind = N_Subtype_Declaration);
return Flag11 (N);
end Null_Exclusion_Present;
function Null_Exclusion_In_Return_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Function_Definition);
return Flag14 (N);
end Null_Exclusion_In_Return_Present;
function Null_Record_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate
or else NT (N).Nkind = N_Extension_Aggregate);
return Flag17 (N);
end Null_Record_Present;
function Object_Definition
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Object_Declaration);
return Node4 (N);
end Object_Definition;
function Of_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Iterator_Specification);
return Flag16 (N);
end Of_Present;
function Original_Discriminant
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Identifier);
return Node2 (N);
end Original_Discriminant;
function Original_Entity
(N : Node_Id) return Entity_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Integer_Literal
or else NT (N).Nkind = N_Real_Literal);
return Node2 (N);
end Original_Entity;
function Others_Discrete_Choices
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Others_Choice);
return List1 (N);
end Others_Discrete_Choices;
function Out_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification);
return Flag17 (N);
end Out_Present;
function Parameter_Associations
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Call_Statement
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Procedure_Call_Statement);
return List3 (N);
end Parameter_Associations;
function Parameter_Specifications
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Statement
or else NT (N).Nkind = N_Access_Function_Definition
or else NT (N).Nkind = N_Access_Procedure_Definition
or else NT (N).Nkind = N_Entry_Body_Formal_Part
or else NT (N).Nkind = N_Entry_Declaration
or else NT (N).Nkind = N_Function_Specification
or else NT (N).Nkind = N_Procedure_Specification);
return List3 (N);
end Parameter_Specifications;
function Parameter_Type
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Parameter_Specification);
return Node2 (N);
end Parameter_Type;
function Parent_Spec
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Generic_Function_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Package_Declaration
or else NT (N).Nkind = N_Generic_Package_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Procedure_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Subprogram_Declaration
or else NT (N).Nkind = N_Package_Declaration
or else NT (N).Nkind = N_Package_Instantiation
or else NT (N).Nkind = N_Package_Renaming_Declaration
or else NT (N).Nkind = N_Procedure_Instantiation
or else NT (N).Nkind = N_Subprogram_Declaration
or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
return Node4 (N);
end Parent_Spec;
function Position
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Clause);
return Node2 (N);
end Position;
function Pragma_Argument_Associations
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
return List2 (N);
end Pragma_Argument_Associations;
function Pragma_Identifier
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
return Node4 (N);
end Pragma_Identifier;
function Pragmas_After
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit_Aux
or else NT (N).Nkind = N_Terminate_Alternative);
return List5 (N);
end Pragmas_After;
function Pragmas_Before
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Alternative
or else NT (N).Nkind = N_Delay_Alternative
or else NT (N).Nkind = N_Entry_Call_Alternative
or else NT (N).Nkind = N_Mod_Clause
or else NT (N).Nkind = N_Terminate_Alternative
or else NT (N).Nkind = N_Triggering_Alternative);
return List4 (N);
end Pragmas_Before;
function Pre_Post_Conditions
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Contract);
return Node1 (N);
end Pre_Post_Conditions;
function Prefix
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Reference
or else NT (N).Nkind = N_Expanded_Name
or else NT (N).Nkind = N_Explicit_Dereference
or else NT (N).Nkind = N_Indexed_Component
or else NT (N).Nkind = N_Reference
or else NT (N).Nkind = N_Selected_Component
or else NT (N).Nkind = N_Slice);
return Node3 (N);
end Prefix;
function Premature_Use
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Incomplete_Type_Declaration);
return Node5 (N);
end Premature_Use;
function Present_Expr
(N : Node_Id) return Uint is
begin
pragma Assert (False
or else NT (N).Nkind = N_Variant);
return Uint3 (N);
end Present_Expr;
function Prev_Ids
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Declaration
or else NT (N).Nkind = N_Discriminant_Specification
or else NT (N).Nkind = N_Exception_Declaration
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Number_Declaration
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification);
return Flag6 (N);
end Prev_Ids;
function Print_In_Hex
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Integer_Literal);
return Flag13 (N);
end Print_In_Hex;
function Private_Declarations
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Package_Specification
or else NT (N).Nkind = N_Protected_Definition
or else NT (N).Nkind = N_Task_Definition);
return List3 (N);
end Private_Declarations;
function Private_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit
or else NT (N).Nkind = N_Formal_Derived_Type_Definition
or else NT (N).Nkind = N_With_Clause);
return Flag15 (N);
end Private_Present;
function Procedure_To_Call
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator
or else NT (N).Nkind = N_Extended_Return_Statement
or else NT (N).Nkind = N_Free_Statement
or else NT (N).Nkind = N_Simple_Return_Statement);
return Node2 (N);
end Procedure_To_Call;
function Proper_Body
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subunit);
return Node1 (N);
end Proper_Body;
function Protected_Definition
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Protected_Type_Declaration
or else NT (N).Nkind = N_Single_Protected_Declaration);
return Node3 (N);
end Protected_Definition;
function Protected_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Function_Definition
or else NT (N).Nkind = N_Access_Procedure_Definition
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Record_Definition);
return Flag6 (N);
end Protected_Present;
function Raises_Constraint_Error
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind in N_Subexpr);
return Flag7 (N);
end Raises_Constraint_Error;
function Range_Constraint
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Delta_Constraint
or else NT (N).Nkind = N_Digits_Constraint);
return Node4 (N);
end Range_Constraint;
function Range_Expression
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Range_Constraint);
return Node4 (N);
end Range_Expression;
function Real_Range_Specification
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Decimal_Fixed_Point_Definition
or else NT (N).Nkind = N_Floating_Point_Definition
or else NT (N).Nkind = N_Ordinary_Fixed_Point_Definition);
return Node4 (N);
end Real_Range_Specification;
function Realval
(N : Node_Id) return Ureal is
begin
pragma Assert (False
or else NT (N).Nkind = N_Real_Literal);
return Ureal3 (N);
end Realval;
function Reason
(N : Node_Id) return Uint is
begin
pragma Assert (False
or else NT (N).Nkind = N_Raise_Constraint_Error
or else NT (N).Nkind = N_Raise_Program_Error
or else NT (N).Nkind = N_Raise_Storage_Error);
return Uint3 (N);
end Reason;
function Record_Extension_Part
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition);
return Node3 (N);
end Record_Extension_Part;
function Redundant_Use
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Reference
or else NT (N).Nkind = N_Expanded_Name
or else NT (N).Nkind = N_Identifier);
return Flag13 (N);
end Redundant_Use;
function Renaming_Exception
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Declaration);
return Node2 (N);
end Renaming_Exception;
function Result_Definition
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Function_Definition
or else NT (N).Nkind = N_Function_Specification);
return Node4 (N);
end Result_Definition;
function Return_Object_Declarations
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Extended_Return_Statement);
return List3 (N);
end Return_Object_Declarations;
function Return_Statement_Entity
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Extended_Return_Statement
or else NT (N).Nkind = N_Simple_Return_Statement);
return Node5 (N);
end Return_Statement_Entity;
function Reverse_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Iterator_Specification
or else NT (N).Nkind = N_Loop_Parameter_Specification);
return Flag15 (N);
end Reverse_Present;
function Right_Opnd
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind in N_Op
or else NT (N).Nkind = N_And_Then
or else NT (N).Nkind = N_In
or else NT (N).Nkind = N_Not_In
or else NT (N).Nkind = N_Or_Else);
return Node3 (N);
end Right_Opnd;
function Rounded_Result
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Divide
or else NT (N).Nkind = N_Op_Multiply
or else NT (N).Nkind = N_Type_Conversion);
return Flag18 (N);
end Rounded_Result;
function SCIL_Controlling_Tag
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_SCIL_Dispatching_Call);
return Node5 (N);
end SCIL_Controlling_Tag;
function SCIL_Entity
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_SCIL_Dispatch_Table_Tag_Init
or else NT (N).Nkind = N_SCIL_Dispatching_Call
or else NT (N).Nkind = N_SCIL_Membership_Test);
return Node4 (N);
end SCIL_Entity;
function SCIL_Tag_Value
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_SCIL_Membership_Test);
return Node5 (N);
end SCIL_Tag_Value;
function SCIL_Target_Prim
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_SCIL_Dispatching_Call);
return Node2 (N);
end SCIL_Target_Prim;
function Scope
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Defining_Character_Literal
or else NT (N).Nkind = N_Defining_Identifier
or else NT (N).Nkind = N_Defining_Operator_Symbol);
return Node3 (N);
end Scope;
function Select_Alternatives
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Selective_Accept);
return List1 (N);
end Select_Alternatives;
function Selector_Name
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Expanded_Name
or else NT (N).Nkind = N_Generic_Association
or else NT (N).Nkind = N_Parameter_Association
or else NT (N).Nkind = N_Selected_Component);
return Node2 (N);
end Selector_Name;
function Selector_Names
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Discriminant_Association);
return List1 (N);
end Selector_Names;
function Shift_Count_OK
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Rotate_Left
or else NT (N).Nkind = N_Op_Rotate_Right
or else NT (N).Nkind = N_Op_Shift_Left
or else NT (N).Nkind = N_Op_Shift_Right
or else NT (N).Nkind = N_Op_Shift_Right_Arithmetic);
return Flag4 (N);
end Shift_Count_OK;
function Source_Type
(N : Node_Id) return Entity_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Validate_Unchecked_Conversion);
return Node1 (N);
end Source_Type;
function Specification
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Abstract_Subprogram_Declaration
or else NT (N).Nkind = N_Expression_Function
or else NT (N).Nkind = N_Formal_Abstract_Subprogram_Declaration
or else NT (N).Nkind = N_Formal_Concrete_Subprogram_Declaration
or else NT (N).Nkind = N_Generic_Package_Declaration
or else NT (N).Nkind = N_Generic_Subprogram_Declaration
or else NT (N).Nkind = N_Package_Declaration
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Subprogram_Body_Stub
or else NT (N).Nkind = N_Subprogram_Declaration
or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
return Node1 (N);
end Specification;
function Split_PPC
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Pragma);
return Flag17 (N);
end Split_PPC;
function Statements
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Abortable_Part
or else NT (N).Nkind = N_Accept_Alternative
or else NT (N).Nkind = N_Case_Statement_Alternative
or else NT (N).Nkind = N_Delay_Alternative
or else NT (N).Nkind = N_Entry_Call_Alternative
or else NT (N).Nkind = N_Exception_Handler
or else NT (N).Nkind = N_Handled_Sequence_Of_Statements
or else NT (N).Nkind = N_Loop_Statement
or else NT (N).Nkind = N_Triggering_Alternative);
return List3 (N);
end Statements;
function Storage_Pool
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator
or else NT (N).Nkind = N_Extended_Return_Statement
or else NT (N).Nkind = N_Free_Statement
or else NT (N).Nkind = N_Simple_Return_Statement);
return Node1 (N);
end Storage_Pool;
function Subpool_Handle_Name
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator);
return Node4 (N);
end Subpool_Handle_Name;
function Strval
(N : Node_Id) return String_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Operator_Symbol
or else NT (N).Nkind = N_String_Literal);
return Str3 (N);
end Strval;
function Subtype_Indication
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_To_Object_Definition
or else NT (N).Nkind = N_Component_Definition
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Iterator_Specification
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Subtype_Declaration);
return Node5 (N);
end Subtype_Indication;
function Suppress_Assignment_Checks
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement
or else NT (N).Nkind = N_Object_Declaration);
return Flag18 (N);
end Suppress_Assignment_Checks;
function Suppress_Loop_Warnings
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Loop_Statement);
return Flag17 (N);
end Suppress_Loop_Warnings;
function Subtype_Mark
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Definition
or else NT (N).Nkind = N_Formal_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Object_Renaming_Declaration
or else NT (N).Nkind = N_Qualified_Expression
or else NT (N).Nkind = N_Subtype_Indication
or else NT (N).Nkind = N_Type_Conversion
or else NT (N).Nkind = N_Unchecked_Type_Conversion);
return Node4 (N);
end Subtype_Mark;
function Subtype_Marks
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Unconstrained_Array_Definition
or else NT (N).Nkind = N_Use_Type_Clause);
return List2 (N);
end Subtype_Marks;
function Synchronized_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Derived_Type_Definition
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Record_Definition);
return Flag7 (N);
end Synchronized_Present;
function Tagged_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Incomplete_Type_Definition
or else NT (N).Nkind = N_Formal_Private_Type_Definition
or else NT (N).Nkind = N_Incomplete_Type_Declaration
or else NT (N).Nkind = N_Private_Type_Declaration
or else NT (N).Nkind = N_Record_Definition);
return Flag15 (N);
end Tagged_Present;
function Target_Type
(N : Node_Id) return Entity_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Validate_Unchecked_Conversion);
return Node2 (N);
end Target_Type;
function Task_Definition
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Single_Task_Declaration
or else NT (N).Nkind = N_Task_Type_Declaration);
return Node3 (N);
end Task_Definition;
function Task_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Record_Definition);
return Flag5 (N);
end Task_Present;
function Then_Actions
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_If_Expression);
return List2 (N);
end Then_Actions;
function Then_Statements
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Elsif_Part
or else NT (N).Nkind = N_If_Statement);
return List2 (N);
end Then_Statements;
function Treat_Fixed_As_Integer
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Divide
or else NT (N).Nkind = N_Op_Mod
or else NT (N).Nkind = N_Op_Multiply
or else NT (N).Nkind = N_Op_Rem);
return Flag14 (N);
end Treat_Fixed_As_Integer;
function Triggering_Alternative
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Asynchronous_Select);
return Node1 (N);
end Triggering_Alternative;
function Triggering_Statement
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Triggering_Alternative);
return Node1 (N);
end Triggering_Statement;
function TSS_Elist
(N : Node_Id) return Elist_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Freeze_Entity);
return Elist3 (N);
end TSS_Elist;
function Type_Definition
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Full_Type_Declaration);
return Node3 (N);
end Type_Definition;
function Uneval_Old_Accept
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
return Flag7 (N);
end Uneval_Old_Accept;
function Uneval_Old_Warn
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
return Flag18 (N);
end Uneval_Old_Warn;
function Unit
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
return Node2 (N);
end Unit;
function Unknown_Discriminants_Present
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Type_Declaration
or else NT (N).Nkind = N_Incomplete_Type_Declaration
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Private_Type_Declaration);
return Flag13 (N);
end Unknown_Discriminants_Present;
function Unreferenced_In_Spec
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
return Flag7 (N);
end Unreferenced_In_Spec;
function Variant_Part
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_List);
return Node4 (N);
end Variant_Part;
function Variants
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Variant_Part);
return List1 (N);
end Variants;
function Visible_Declarations
(N : Node_Id) return List_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Package_Specification
or else NT (N).Nkind = N_Protected_Definition
or else NT (N).Nkind = N_Task_Definition);
return List2 (N);
end Visible_Declarations;
function Uninitialized_Variable
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Private_Type_Definition
or else NT (N).Nkind = N_Private_Extension_Declaration);
return Node3 (N);
end Uninitialized_Variable;
function Used_Operations
(N : Node_Id) return Elist_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_Use_Type_Clause);
return Elist5 (N);
end Used_Operations;
function Was_Originally_Stub
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Package_Body
or else NT (N).Nkind = N_Protected_Body
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Task_Body);
return Flag13 (N);
end Was_Originally_Stub;
function Withed_Body
(N : Node_Id) return Node_Id is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
return Node1 (N);
end Withed_Body;
--------------------------
-- Field Set Procedures --
--------------------------
procedure Set_ABE_Is_Certain
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Package_Declaration
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Package_Instantiation
or else NT (N).Nkind = N_Procedure_Call_Statement
or else NT (N).Nkind = N_Procedure_Instantiation);
Set_Flag18 (N, Val);
end Set_ABE_Is_Certain;
procedure Set_Abort_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Requeue_Statement);
Set_Flag15 (N, Val);
end Set_Abort_Present;
procedure Set_Abortable_Part
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Asynchronous_Select);
Set_Node2_With_Parent (N, Val);
end Set_Abortable_Part;
procedure Set_Abstract_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Private_Type_Definition
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Private_Type_Declaration
or else NT (N).Nkind = N_Record_Definition);
Set_Flag4 (N, Val);
end Set_Abstract_Present;
procedure Set_Accept_Handler_Records
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Alternative);
Set_List5 (N, Val); -- semantic field, no parent set
end Set_Accept_Handler_Records;
procedure Set_Accept_Statement
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Alternative);
Set_Node2_With_Parent (N, Val);
end Set_Accept_Statement;
procedure Set_Access_Definition
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Definition
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Object_Renaming_Declaration);
Set_Node3_With_Parent (N, Val);
end Set_Access_Definition;
procedure Set_Access_To_Subprogram_Definition
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Definition);
Set_Node3_With_Parent (N, Val);
end Set_Access_To_Subprogram_Definition;
procedure Set_Access_Types_To_Process
(N : Node_Id; Val : Elist_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Freeze_Entity);
Set_Elist2 (N, Val); -- semantic field, no parent set
end Set_Access_Types_To_Process;
procedure Set_Actions
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_And_Then
or else NT (N).Nkind = N_Case_Expression_Alternative
or else NT (N).Nkind = N_Compilation_Unit_Aux
or else NT (N).Nkind = N_Compound_Statement
or else NT (N).Nkind = N_Expression_With_Actions
or else NT (N).Nkind = N_Freeze_Entity
or else NT (N).Nkind = N_Or_Else);
Set_List1_With_Parent (N, Val);
end Set_Actions;
procedure Set_Activation_Chain_Entity
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Entry_Body
or else NT (N).Nkind = N_Generic_Package_Declaration
or else NT (N).Nkind = N_Package_Declaration
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Task_Body);
Set_Node3 (N, Val); -- semantic field, no parent set
end Set_Activation_Chain_Entity;
procedure Set_Acts_As_Spec
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit
or else NT (N).Nkind = N_Subprogram_Body);
Set_Flag4 (N, Val);
end Set_Acts_As_Spec;
procedure Set_Actual_Designated_Subtype
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Explicit_Dereference
or else NT (N).Nkind = N_Free_Statement);
Set_Node4 (N, Val);
end Set_Actual_Designated_Subtype;
procedure Set_Address_Warning_Posted
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Definition_Clause);
Set_Flag18 (N, Val);
end Set_Address_Warning_Posted;
procedure Set_Aggregate_Bounds
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate);
Set_Node3 (N, Val); -- semantic field, no parent set
end Set_Aggregate_Bounds;
procedure Set_Aliased_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Definition
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification);
Set_Flag4 (N, Val);
end Set_Aliased_Present;
procedure Set_All_Others
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Others_Choice);
Set_Flag11 (N, Val);
end Set_All_Others;
procedure Set_All_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Definition
or else NT (N).Nkind = N_Access_To_Object_Definition
or else NT (N).Nkind = N_Quantified_Expression
or else NT (N).Nkind = N_Use_Type_Clause);
Set_Flag15 (N, Val);
end Set_All_Present;
procedure Set_Alternatives
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Case_Expression
or else NT (N).Nkind = N_Case_Statement
or else NT (N).Nkind = N_In
or else NT (N).Nkind = N_Not_In);
Set_List4_With_Parent (N, Val);
end Set_Alternatives;
procedure Set_Ancestor_Part
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Extension_Aggregate);
Set_Node3_With_Parent (N, Val);
end Set_Ancestor_Part;
procedure Set_Atomic_Sync_Required
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Expanded_Name
or else NT (N).Nkind = N_Explicit_Dereference
or else NT (N).Nkind = N_Identifier
or else NT (N).Nkind = N_Indexed_Component
or else NT (N).Nkind = N_Selected_Component);
Set_Flag14 (N, Val);
end Set_Atomic_Sync_Required;
procedure Set_Array_Aggregate
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Enumeration_Representation_Clause);
Set_Node3_With_Parent (N, Val);
end Set_Array_Aggregate;
procedure Set_Aspect_Rep_Item
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification);
Set_Node2 (N, Val);
end Set_Aspect_Rep_Item;
procedure Set_Assignment_OK
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind in N_Subexpr);
Set_Flag15 (N, Val);
end Set_Assignment_OK;
procedure Set_Associated_Node
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind in N_Has_Entity
or else NT (N).Nkind = N_Aggregate
or else NT (N).Nkind = N_Extension_Aggregate
or else NT (N).Nkind = N_Selected_Component);
Set_Node4 (N, Val); -- semantic field, no parent set
end Set_Associated_Node;
procedure Set_At_End_Proc
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
Set_Node1 (N, Val);
end Set_At_End_Proc;
procedure Set_Attribute_Name
(N : Node_Id; Val : Name_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Reference);
Set_Name2 (N, Val);
end Set_Attribute_Name;
procedure Set_Aux_Decls_Node
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
Set_Node5_With_Parent (N, Val);
end Set_Aux_Decls_Node;
procedure Set_Backwards_OK
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement);
Set_Flag6 (N, Val);
end Set_Backwards_OK;
procedure Set_Bad_Is_Detected
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Body);
Set_Flag15 (N, Val);
end Set_Bad_Is_Detected;
procedure Set_Body_Required
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
Set_Flag13 (N, Val);
end Set_Body_Required;
procedure Set_Body_To_Inline
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Declaration);
Set_Node3 (N, Val);
end Set_Body_To_Inline;
procedure Set_Box_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Association
or else NT (N).Nkind = N_Formal_Abstract_Subprogram_Declaration
or else NT (N).Nkind = N_Formal_Concrete_Subprogram_Declaration
or else NT (N).Nkind = N_Formal_Package_Declaration
or else NT (N).Nkind = N_Generic_Association);
Set_Flag15 (N, Val);
end Set_Box_Present;
procedure Set_By_Ref
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Extended_Return_Statement
or else NT (N).Nkind = N_Simple_Return_Statement);
Set_Flag5 (N, Val);
end Set_By_Ref;
procedure Set_Char_Literal_Value
(N : Node_Id; Val : Uint) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Character_Literal);
Set_Uint2 (N, Val);
end Set_Char_Literal_Value;
procedure Set_Chars
(N : Node_Id; Val : Name_Id) is
begin
pragma Assert (False
or else NT (N).Nkind in N_Has_Chars);
Set_Name1 (N, Val);
end Set_Chars;
procedure Set_Check_Address_Alignment
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Definition_Clause);
Set_Flag11 (N, Val);
end Set_Check_Address_Alignment;
procedure Set_Choice_Parameter
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Handler);
Set_Node2_With_Parent (N, Val);
end Set_Choice_Parameter;
procedure Set_Choices
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Association);
Set_List1_With_Parent (N, Val);
end Set_Choices;
procedure Set_Class_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Pragma);
Set_Flag6 (N, Val);
end Set_Class_Present;
procedure Set_Classifications
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Contract);
Set_Node3 (N, Val); -- semantic field, no parent set
end Set_Classifications;
procedure Set_Cleanup_Actions
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement);
Set_List5 (N, Val); -- semantic field, no parent set
end Set_Cleanup_Actions;
procedure Set_Comes_From_Extended_Return_Statement
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Simple_Return_Statement);
Set_Flag18 (N, Val);
end Set_Comes_From_Extended_Return_Statement;
procedure Set_Compile_Time_Known_Aggregate
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate);
Set_Flag18 (N, Val);
end Set_Compile_Time_Known_Aggregate;
procedure Set_Component_Associations
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate
or else NT (N).Nkind = N_Extension_Aggregate);
Set_List2_With_Parent (N, Val);
end Set_Component_Associations;
procedure Set_Component_Clauses
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Record_Representation_Clause);
Set_List3_With_Parent (N, Val);
end Set_Component_Clauses;
procedure Set_Component_Definition
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Declaration
or else NT (N).Nkind = N_Constrained_Array_Definition
or else NT (N).Nkind = N_Unconstrained_Array_Definition);
Set_Node4_With_Parent (N, Val);
end Set_Component_Definition;
procedure Set_Component_Items
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_List);
Set_List3_With_Parent (N, Val);
end Set_Component_Items;
procedure Set_Component_List
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Record_Definition
or else NT (N).Nkind = N_Variant);
Set_Node1_With_Parent (N, Val);
end Set_Component_List;
procedure Set_Component_Name
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Clause);
Set_Node1_With_Parent (N, Val);
end Set_Component_Name;
procedure Set_Componentwise_Assignment
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement);
Set_Flag14 (N, Val);
end Set_Componentwise_Assignment;
procedure Set_Condition
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Alternative
or else NT (N).Nkind = N_Delay_Alternative
or else NT (N).Nkind = N_Elsif_Part
or else NT (N).Nkind = N_Entry_Body_Formal_Part
or else NT (N).Nkind = N_Exit_Statement
or else NT (N).Nkind = N_If_Statement
or else NT (N).Nkind = N_Iteration_Scheme
or else NT (N).Nkind = N_Quantified_Expression
or else NT (N).Nkind = N_Raise_Constraint_Error
or else NT (N).Nkind = N_Raise_Program_Error
or else NT (N).Nkind = N_Raise_Storage_Error
or else NT (N).Nkind = N_Terminate_Alternative);
Set_Node1_With_Parent (N, Val);
end Set_Condition;
procedure Set_Condition_Actions
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Elsif_Part
or else NT (N).Nkind = N_Iteration_Scheme);
Set_List3 (N, Val); -- semantic field, no parent set
end Set_Condition_Actions;
procedure Set_Config_Pragmas
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit_Aux);
Set_List4_With_Parent (N, Val);
end Set_Config_Pragmas;
procedure Set_Constant_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Definition
or else NT (N).Nkind = N_Access_To_Object_Definition
or else NT (N).Nkind = N_Object_Declaration);
Set_Flag17 (N, Val);
end Set_Constant_Present;
procedure Set_Constraint
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subtype_Indication);
Set_Node3_With_Parent (N, Val);
end Set_Constraint;
procedure Set_Constraints
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Index_Or_Discriminant_Constraint);
Set_List1_With_Parent (N, Val);
end Set_Constraints;
procedure Set_Context_Installed
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
Set_Flag13 (N, Val);
end Set_Context_Installed;
procedure Set_Context_Items
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
Set_List1_With_Parent (N, Val);
end Set_Context_Items;
procedure Set_Context_Pending
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
Set_Flag16 (N, Val);
end Set_Context_Pending;
procedure Set_Contract_Test_Cases
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Contract);
Set_Node2 (N, Val); -- semantic field, no parent set
end Set_Contract_Test_Cases;
procedure Set_Controlling_Argument
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Procedure_Call_Statement);
Set_Node1 (N, Val); -- semantic field, no parent set
end Set_Controlling_Argument;
procedure Set_Conversion_OK
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Type_Conversion);
Set_Flag14 (N, Val);
end Set_Conversion_OK;
procedure Set_Convert_To_Return_False
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Raise_Expression);
Set_Flag13 (N, Val);
end Set_Convert_To_Return_False;
procedure Set_Corresponding_Aspect
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
Set_Node3 (N, Val);
end Set_Corresponding_Aspect;
procedure Set_Corresponding_Body
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Declaration
or else NT (N).Nkind = N_Generic_Package_Declaration
or else NT (N).Nkind = N_Generic_Subprogram_Declaration
or else NT (N).Nkind = N_Package_Body_Stub
or else NT (N).Nkind = N_Package_Declaration
or else NT (N).Nkind = N_Protected_Body_Stub
or else NT (N).Nkind = N_Protected_Type_Declaration
or else NT (N).Nkind = N_Subprogram_Body_Stub
or else NT (N).Nkind = N_Subprogram_Declaration
or else NT (N).Nkind = N_Task_Body_Stub
or else NT (N).Nkind = N_Task_Type_Declaration);
Set_Node5 (N, Val); -- semantic field, no parent set
end Set_Corresponding_Body;
procedure Set_Corresponding_Formal_Spec
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
Set_Node3 (N, Val); -- semantic field, no parent set
end Set_Corresponding_Formal_Spec;
procedure Set_Corresponding_Generic_Association
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Object_Renaming_Declaration);
Set_Node5 (N, Val); -- semantic field, no parent set
end Set_Corresponding_Generic_Association;
procedure Set_Corresponding_Integer_Value
(N : Node_Id; Val : Uint) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Real_Literal);
Set_Uint4 (N, Val); -- semantic field, no parent set
end Set_Corresponding_Integer_Value;
procedure Set_Corresponding_Spec
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Expression_Function
or else NT (N).Nkind = N_Package_Body
or else NT (N).Nkind = N_Protected_Body
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Subprogram_Renaming_Declaration
or else NT (N).Nkind = N_Task_Body
or else NT (N).Nkind = N_With_Clause);
Set_Node5 (N, Val); -- semantic field, no parent set
end Set_Corresponding_Spec;
procedure Set_Corresponding_Spec_Of_Stub
(N : Node_Id; Val : Entity_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Package_Body_Stub
or else NT (N).Nkind = N_Protected_Body_Stub
or else NT (N).Nkind = N_Subprogram_Body_Stub
or else NT (N).Nkind = N_Task_Body_Stub);
Set_Node2 (N, Val); -- semantic field, no parent set
end Set_Corresponding_Spec_Of_Stub;
procedure Set_Corresponding_Stub
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subunit);
Set_Node3 (N, Val);
end Set_Corresponding_Stub;
procedure Set_Dcheck_Function
(N : Node_Id; Val : Entity_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Variant);
Set_Node5 (N, Val); -- semantic field, no parent set
end Set_Dcheck_Function;
procedure Set_Declarations
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Statement
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Compilation_Unit_Aux
or else NT (N).Nkind = N_Entry_Body
or else NT (N).Nkind = N_Package_Body
or else NT (N).Nkind = N_Protected_Body
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Task_Body);
Set_List2_With_Parent (N, Val);
end Set_Declarations;
procedure Set_Default_Expression
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification);
Set_Node5 (N, Val); -- semantic field, no parent set
end Set_Default_Expression;
procedure Set_Default_Storage_Pool
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit_Aux);
Set_Node3 (N, Val); -- semantic field, no parent set
end Set_Default_Storage_Pool;
procedure Set_Default_Name
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Abstract_Subprogram_Declaration
or else NT (N).Nkind = N_Formal_Concrete_Subprogram_Declaration);
Set_Node2_With_Parent (N, Val);
end Set_Default_Name;
procedure Set_Defining_Identifier
(N : Node_Id; Val : Entity_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Declaration
or else NT (N).Nkind = N_Defining_Program_Unit_Name
or else NT (N).Nkind = N_Discriminant_Specification
or else NT (N).Nkind = N_Entry_Body
or else NT (N).Nkind = N_Entry_Declaration
or else NT (N).Nkind = N_Entry_Index_Specification
or else NT (N).Nkind = N_Exception_Declaration
or else NT (N).Nkind = N_Exception_Renaming_Declaration
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Formal_Package_Declaration
or else NT (N).Nkind = N_Formal_Type_Declaration
or else NT (N).Nkind = N_Full_Type_Declaration
or else NT (N).Nkind = N_Implicit_Label_Declaration
or else NT (N).Nkind = N_Incomplete_Type_Declaration
or else NT (N).Nkind = N_Iterator_Specification
or else NT (N).Nkind = N_Loop_Parameter_Specification
or else NT (N).Nkind = N_Number_Declaration
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Object_Renaming_Declaration
or else NT (N).Nkind = N_Package_Body_Stub
or else NT (N).Nkind = N_Parameter_Specification
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Private_Type_Declaration
or else NT (N).Nkind = N_Protected_Body
or else NT (N).Nkind = N_Protected_Body_Stub
or else NT (N).Nkind = N_Protected_Type_Declaration
or else NT (N).Nkind = N_Single_Protected_Declaration
or else NT (N).Nkind = N_Single_Task_Declaration
or else NT (N).Nkind = N_Subtype_Declaration
or else NT (N).Nkind = N_Task_Body
or else NT (N).Nkind = N_Task_Body_Stub
or else NT (N).Nkind = N_Task_Type_Declaration);
Set_Node1_With_Parent (N, Val);
end Set_Defining_Identifier;
procedure Set_Defining_Unit_Name
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Function_Specification
or else NT (N).Nkind = N_Generic_Function_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Package_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Procedure_Renaming_Declaration
or else NT (N).Nkind = N_Package_Body
or else NT (N).Nkind = N_Package_Instantiation
or else NT (N).Nkind = N_Package_Renaming_Declaration
or else NT (N).Nkind = N_Package_Specification
or else NT (N).Nkind = N_Procedure_Instantiation
or else NT (N).Nkind = N_Procedure_Specification);
Set_Node1_With_Parent (N, Val);
end Set_Defining_Unit_Name;
procedure Set_Delay_Alternative
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Timed_Entry_Call);
Set_Node4_With_Parent (N, Val);
end Set_Delay_Alternative;
procedure Set_Delay_Statement
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Delay_Alternative);
Set_Node2_With_Parent (N, Val);
end Set_Delay_Statement;
procedure Set_Delta_Expression
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Decimal_Fixed_Point_Definition
or else NT (N).Nkind = N_Delta_Constraint
or else NT (N).Nkind = N_Ordinary_Fixed_Point_Definition);
Set_Node3_With_Parent (N, Val);
end Set_Delta_Expression;
procedure Set_Digits_Expression
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Decimal_Fixed_Point_Definition
or else NT (N).Nkind = N_Digits_Constraint
or else NT (N).Nkind = N_Floating_Point_Definition);
Set_Node2_With_Parent (N, Val);
end Set_Digits_Expression;
procedure Set_Discr_Check_Funcs_Built
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Full_Type_Declaration);
Set_Flag11 (N, Val);
end Set_Discr_Check_Funcs_Built;
procedure Set_Discrete_Choices
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Case_Expression_Alternative
or else NT (N).Nkind = N_Case_Statement_Alternative
or else NT (N).Nkind = N_Variant);
Set_List4_With_Parent (N, Val);
end Set_Discrete_Choices;
procedure Set_Discrete_Range
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Slice);
Set_Node4_With_Parent (N, Val);
end Set_Discrete_Range;
procedure Set_Discrete_Subtype_Definition
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Declaration
or else NT (N).Nkind = N_Entry_Index_Specification
or else NT (N).Nkind = N_Loop_Parameter_Specification);
Set_Node4_With_Parent (N, Val);
end Set_Discrete_Subtype_Definition;
procedure Set_Discrete_Subtype_Definitions
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Constrained_Array_Definition);
Set_List2_With_Parent (N, Val);
end Set_Discrete_Subtype_Definitions;
procedure Set_Discriminant_Specifications
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Type_Declaration
or else NT (N).Nkind = N_Full_Type_Declaration
or else NT (N).Nkind = N_Incomplete_Type_Declaration
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Private_Type_Declaration
or else NT (N).Nkind = N_Protected_Type_Declaration
or else NT (N).Nkind = N_Task_Type_Declaration);
Set_List4_With_Parent (N, Val);
end Set_Discriminant_Specifications;
procedure Set_Discriminant_Type
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Discriminant_Specification);
Set_Node5_With_Parent (N, Val);
end Set_Discriminant_Type;
procedure Set_Do_Accessibility_Check
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Parameter_Specification);
Set_Flag13 (N, Val);
end Set_Do_Accessibility_Check;
procedure Set_Do_Discriminant_Check
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement
or else NT (N).Nkind = N_Selected_Component
or else NT (N).Nkind = N_Type_Conversion);
Set_Flag1 (N, Val);
end Set_Do_Discriminant_Check;
procedure Set_Do_Division_Check
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Divide
or else NT (N).Nkind = N_Op_Mod
or else NT (N).Nkind = N_Op_Rem);
Set_Flag13 (N, Val);
end Set_Do_Division_Check;
procedure Set_Do_Length_Check
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement
or else NT (N).Nkind = N_Op_And
or else NT (N).Nkind = N_Op_Or
or else NT (N).Nkind = N_Op_Xor
or else NT (N).Nkind = N_Type_Conversion);
Set_Flag4 (N, Val);
end Set_Do_Length_Check;
procedure Set_Do_Overflow_Check
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind in N_Op
or else NT (N).Nkind = N_Attribute_Reference
or else NT (N).Nkind = N_Case_Expression
or else NT (N).Nkind = N_If_Expression
or else NT (N).Nkind = N_Type_Conversion);
Set_Flag17 (N, Val);
end Set_Do_Overflow_Check;
procedure Set_Do_Range_Check
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind in N_Subexpr);
Set_Flag9 (N, Val);
end Set_Do_Range_Check;
procedure Set_Do_Storage_Check
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator
or else NT (N).Nkind = N_Subprogram_Body);
Set_Flag17 (N, Val);
end Set_Do_Storage_Check;
procedure Set_Do_Tag_Check
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement
or else NT (N).Nkind = N_Extended_Return_Statement
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Procedure_Call_Statement
or else NT (N).Nkind = N_Simple_Return_Statement
or else NT (N).Nkind = N_Type_Conversion);
Set_Flag13 (N, Val);
end Set_Do_Tag_Check;
procedure Set_Elaborate_All_Desirable
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
Set_Flag9 (N, Val);
end Set_Elaborate_All_Desirable;
procedure Set_Elaborate_All_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
Set_Flag14 (N, Val);
end Set_Elaborate_All_Present;
procedure Set_Elaborate_Desirable
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
Set_Flag11 (N, Val);
end Set_Elaborate_Desirable;
procedure Set_Elaborate_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
Set_Flag4 (N, Val);
end Set_Elaborate_Present;
procedure Set_Else_Actions
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_If_Expression);
Set_List3_With_Parent (N, Val); -- semantic field, but needs parents
end Set_Else_Actions;
procedure Set_Else_Statements
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Conditional_Entry_Call
or else NT (N).Nkind = N_If_Statement
or else NT (N).Nkind = N_Selective_Accept);
Set_List4_With_Parent (N, Val);
end Set_Else_Statements;
procedure Set_Elsif_Parts
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_If_Statement);
Set_List3_With_Parent (N, Val);
end Set_Elsif_Parts;
procedure Set_Enclosing_Variant
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Variant);
Set_Node2 (N, Val); -- semantic field, no parent set
end Set_Enclosing_Variant;
procedure Set_End_Label
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Enumeration_Type_Definition
or else NT (N).Nkind = N_Handled_Sequence_Of_Statements
or else NT (N).Nkind = N_Loop_Statement
or else NT (N).Nkind = N_Package_Specification
or else NT (N).Nkind = N_Protected_Body
or else NT (N).Nkind = N_Protected_Definition
or else NT (N).Nkind = N_Record_Definition
or else NT (N).Nkind = N_Task_Definition);
Set_Node4_With_Parent (N, Val);
end Set_End_Label;
procedure Set_End_Span
(N : Node_Id; Val : Uint) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Case_Statement
or else NT (N).Nkind = N_If_Statement);
Set_Uint5 (N, Val);
end Set_End_Span;
procedure Set_Entity
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind in N_Has_Entity
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Attribute_Definition_Clause
or else NT (N).Nkind = N_Freeze_Entity
or else NT (N).Nkind = N_Freeze_Generic_Entity);
Set_Node4 (N, Val); -- semantic field, no parent set
end Set_Entity;
procedure Set_Entry_Body_Formal_Part
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Body);
Set_Node5_With_Parent (N, Val);
end Set_Entry_Body_Formal_Part;
procedure Set_Entry_Call_Alternative
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Conditional_Entry_Call
or else NT (N).Nkind = N_Timed_Entry_Call);
Set_Node1_With_Parent (N, Val);
end Set_Entry_Call_Alternative;
procedure Set_Entry_Call_Statement
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Call_Alternative);
Set_Node1_With_Parent (N, Val);
end Set_Entry_Call_Statement;
procedure Set_Entry_Direct_Name
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Statement);
Set_Node1_With_Parent (N, Val);
end Set_Entry_Direct_Name;
procedure Set_Entry_Index
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Statement);
Set_Node5_With_Parent (N, Val);
end Set_Entry_Index;
procedure Set_Entry_Index_Specification
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Body_Formal_Part);
Set_Node4_With_Parent (N, Val);
end Set_Entry_Index_Specification;
procedure Set_Etype
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind in N_Has_Etype);
Set_Node5 (N, Val); -- semantic field, no parent set
end Set_Etype;
procedure Set_Exception_Choices
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Handler);
Set_List4_With_Parent (N, Val);
end Set_Exception_Choices;
procedure Set_Exception_Handlers
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
Set_List5_With_Parent (N, Val);
end Set_Exception_Handlers;
procedure Set_Exception_Junk
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Goto_Statement
or else NT (N).Nkind = N_Label
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Subtype_Declaration);
Set_Flag8 (N, Val);
end Set_Exception_Junk;
procedure Set_Exception_Label
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Handler
or else NT (N).Nkind = N_Push_Constraint_Error_Label
or else NT (N).Nkind = N_Push_Program_Error_Label
or else NT (N).Nkind = N_Push_Storage_Error_Label);
Set_Node5 (N, Val); -- semantic field, no parent set
end Set_Exception_Label;
procedure Set_Expansion_Delayed
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate
or else NT (N).Nkind = N_Extension_Aggregate);
Set_Flag11 (N, Val);
end Set_Expansion_Delayed;
procedure Set_Explicit_Actual_Parameter
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Parameter_Association);
Set_Node3_With_Parent (N, Val);
end Set_Explicit_Actual_Parameter;
procedure Set_Explicit_Generic_Actual_Parameter
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Generic_Association);
Set_Node1_With_Parent (N, Val);
end Set_Explicit_Generic_Actual_Parameter;
procedure Set_Expression
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Assignment_Statement
or else NT (N).Nkind = N_At_Clause
or else NT (N).Nkind = N_Attribute_Definition_Clause
or else NT (N).Nkind = N_Case_Expression
or else NT (N).Nkind = N_Case_Expression_Alternative
or else NT (N).Nkind = N_Case_Statement
or else NT (N).Nkind = N_Code_Statement
or else NT (N).Nkind = N_Component_Association
or else NT (N).Nkind = N_Component_Declaration
or else NT (N).Nkind = N_Delay_Relative_Statement
or else NT (N).Nkind = N_Delay_Until_Statement
or else NT (N).Nkind = N_Discriminant_Association
or else NT (N).Nkind = N_Discriminant_Specification
or else NT (N).Nkind = N_Exception_Declaration
or else NT (N).Nkind = N_Expression_Function
or else NT (N).Nkind = N_Expression_With_Actions
or else NT (N).Nkind = N_Free_Statement
or else NT (N).Nkind = N_Mod_Clause
or else NT (N).Nkind = N_Modular_Type_Definition
or else NT (N).Nkind = N_Number_Declaration
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification
or else NT (N).Nkind = N_Pragma_Argument_Association
or else NT (N).Nkind = N_Qualified_Expression
or else NT (N).Nkind = N_Raise_Expression
or else NT (N).Nkind = N_Raise_Statement
or else NT (N).Nkind = N_Simple_Return_Statement
or else NT (N).Nkind = N_Type_Conversion
or else NT (N).Nkind = N_Unchecked_Expression
or else NT (N).Nkind = N_Unchecked_Type_Conversion);
Set_Node3_With_Parent (N, Val);
end Set_Expression;
procedure Set_Expressions
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate
or else NT (N).Nkind = N_Attribute_Reference
or else NT (N).Nkind = N_Extension_Aggregate
or else NT (N).Nkind = N_If_Expression
or else NT (N).Nkind = N_Indexed_Component);
Set_List1_With_Parent (N, Val);
end Set_Expressions;
procedure Set_First_Bit
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Clause);
Set_Node3_With_Parent (N, Val);
end Set_First_Bit;
procedure Set_First_Inlined_Subprogram
(N : Node_Id; Val : Entity_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
Set_Node3 (N, Val); -- semantic field, no parent set
end Set_First_Inlined_Subprogram;
procedure Set_First_Name
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
Set_Flag5 (N, Val);
end Set_First_Name;
procedure Set_First_Named_Actual
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Call_Statement
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Procedure_Call_Statement);
Set_Node4 (N, Val); -- semantic field, no parent set
end Set_First_Named_Actual;
procedure Set_First_Real_Statement
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
Set_Node2 (N, Val); -- semantic field, no parent set
end Set_First_Real_Statement;
procedure Set_First_Subtype_Link
(N : Node_Id; Val : Entity_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Freeze_Entity);
Set_Node5 (N, Val); -- semantic field, no parent set
end Set_First_Subtype_Link;
procedure Set_Float_Truncate
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Type_Conversion);
Set_Flag11 (N, Val);
end Set_Float_Truncate;
procedure Set_Formal_Type_Definition
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Type_Declaration);
Set_Node3_With_Parent (N, Val);
end Set_Formal_Type_Definition;
procedure Set_Forwards_OK
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement);
Set_Flag5 (N, Val);
end Set_Forwards_OK;
procedure Set_From_Aspect_Specification
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Definition_Clause
or else NT (N).Nkind = N_Pragma);
Set_Flag13 (N, Val);
end Set_From_Aspect_Specification;
procedure Set_From_At_End
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Raise_Statement);
Set_Flag4 (N, Val);
end Set_From_At_End;
procedure Set_From_At_Mod
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Definition_Clause);
Set_Flag4 (N, Val);
end Set_From_At_Mod;
procedure Set_From_Conditional_Expression
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Case_Statement
or else NT (N).Nkind = N_If_Statement);
Set_Flag1 (N, Val);
end Set_From_Conditional_Expression;
procedure Set_From_Default
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
Set_Flag6 (N, Val);
end Set_From_Default;
procedure Set_Generalized_Indexing
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Indexed_Component);
Set_Node4 (N, Val);
end Set_Generalized_Indexing;
procedure Set_Generic_Associations
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Package_Declaration
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Package_Instantiation
or else NT (N).Nkind = N_Procedure_Instantiation);
Set_List3_With_Parent (N, Val);
end Set_Generic_Associations;
procedure Set_Generic_Formal_Declarations
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Generic_Package_Declaration
or else NT (N).Nkind = N_Generic_Subprogram_Declaration);
Set_List2_With_Parent (N, Val);
end Set_Generic_Formal_Declarations;
procedure Set_Generic_Parent
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Function_Specification
or else NT (N).Nkind = N_Package_Specification
or else NT (N).Nkind = N_Procedure_Specification);
Set_Node5 (N, Val);
end Set_Generic_Parent;
procedure Set_Generic_Parent_Type
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subtype_Declaration);
Set_Node4 (N, Val);
end Set_Generic_Parent_Type;
procedure Set_Handled_Statement_Sequence
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Statement
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Entry_Body
or else NT (N).Nkind = N_Extended_Return_Statement
or else NT (N).Nkind = N_Package_Body
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Task_Body);
Set_Node4_With_Parent (N, Val);
end Set_Handled_Statement_Sequence;
procedure Set_Handler_List_Entry
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Object_Declaration);
Set_Node2 (N, Val);
end Set_Handler_List_Entry;
procedure Set_Has_Created_Identifier
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Loop_Statement);
Set_Flag15 (N, Val);
end Set_Has_Created_Identifier;
procedure Set_Has_Dereference_Action
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Explicit_Dereference);
Set_Flag13 (N, Val);
end Set_Has_Dereference_Action;
procedure Set_Has_Dynamic_Length_Check
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind in N_Subexpr);
Set_Flag10 (N, Val);
end Set_Has_Dynamic_Length_Check;
procedure Set_Has_Dynamic_Range_Check
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subtype_Declaration
or else NT (N).Nkind in N_Subexpr);
Set_Flag12 (N, Val);
end Set_Has_Dynamic_Range_Check;
procedure Set_Has_Init_Expression
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Object_Declaration);
Set_Flag14 (N, Val);
end Set_Has_Init_Expression;
procedure Set_Has_Local_Raise
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Handler);
Set_Flag8 (N, Val);
end Set_Has_Local_Raise;
procedure Set_Has_No_Elaboration_Code
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
Set_Flag17 (N, Val);
end Set_Has_No_Elaboration_Code;
procedure Set_Has_Pragma_Suppress_All
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
Set_Flag14 (N, Val);
end Set_Has_Pragma_Suppress_All;
procedure Set_Has_Private_View
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind in N_Op
or else NT (N).Nkind = N_Character_Literal
or else NT (N).Nkind = N_Expanded_Name
or else NT (N).Nkind = N_Identifier
or else NT (N).Nkind = N_Operator_Symbol);
Set_Flag11 (N, Val);
end Set_Has_Private_View;
procedure Set_Has_Relative_Deadline_Pragma
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Task_Definition);
Set_Flag9 (N, Val);
end Set_Has_Relative_Deadline_Pragma;
procedure Set_Has_Self_Reference
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate
or else NT (N).Nkind = N_Extension_Aggregate);
Set_Flag13 (N, Val);
end Set_Has_Self_Reference;
procedure Set_Has_SP_Choice
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Case_Expression_Alternative
or else NT (N).Nkind = N_Case_Statement_Alternative
or else NT (N).Nkind = N_Variant);
Set_Flag15 (N, Val);
end Set_Has_SP_Choice;
procedure Set_Has_Storage_Size_Pragma
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Task_Definition);
Set_Flag5 (N, Val);
end Set_Has_Storage_Size_Pragma;
procedure Set_Has_Wide_Character
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_String_Literal);
Set_Flag11 (N, Val);
end Set_Has_Wide_Character;
procedure Set_Has_Wide_Wide_Character
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_String_Literal);
Set_Flag13 (N, Val);
end Set_Has_Wide_Wide_Character;
procedure Set_Header_Size_Added
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Reference);
Set_Flag11 (N, Val);
end Set_Header_Size_Added;
procedure Set_Hidden_By_Use_Clause
(N : Node_Id; Val : Elist_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Use_Package_Clause
or else NT (N).Nkind = N_Use_Type_Clause);
Set_Elist4 (N, Val);
end Set_Hidden_By_Use_Clause;
procedure Set_High_Bound
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Range
or else NT (N).Nkind = N_Real_Range_Specification
or else NT (N).Nkind = N_Signed_Integer_Type_Definition);
Set_Node2_With_Parent (N, Val);
end Set_High_Bound;
procedure Set_Identifier
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_At_Clause
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Designator
or else NT (N).Nkind = N_Enumeration_Representation_Clause
or else NT (N).Nkind = N_Label
or else NT (N).Nkind = N_Loop_Statement
or else NT (N).Nkind = N_Record_Representation_Clause);
Set_Node1_With_Parent (N, Val);
end Set_Identifier;
procedure Set_Implicit_With
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
Set_Flag16 (N, Val);
end Set_Implicit_With;
procedure Set_Implicit_With_From_Instantiation
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
Set_Flag12 (N, Val);
end Set_Implicit_With_From_Instantiation;
procedure Set_Interface_List
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Derived_Type_Definition
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Protected_Type_Declaration
or else NT (N).Nkind = N_Record_Definition
or else NT (N).Nkind = N_Single_Protected_Declaration
or else NT (N).Nkind = N_Single_Task_Declaration
or else NT (N).Nkind = N_Task_Type_Declaration);
Set_List2_With_Parent (N, Val);
end Set_Interface_List;
procedure Set_Interface_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Record_Definition);
Set_Flag16 (N, Val);
end Set_Interface_Present;
procedure Set_Import_Interface_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
Set_Flag16 (N, Val);
end Set_Import_Interface_Present;
procedure Set_In_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification);
Set_Flag15 (N, Val);
end Set_In_Present;
procedure Set_Includes_Infinities
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Range);
Set_Flag11 (N, Val);
end Set_Includes_Infinities;
procedure Set_Incomplete_View
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Full_Type_Declaration);
Set_Node2 (N, Val); -- semantic field, no Parent set
end Set_Incomplete_View;
procedure Set_Inherited_Discriminant
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Association);
Set_Flag13 (N, Val);
end Set_Inherited_Discriminant;
procedure Set_Instance_Spec
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Package_Declaration
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Package_Instantiation
or else NT (N).Nkind = N_Procedure_Instantiation);
Set_Node5 (N, Val); -- semantic field, no Parent set
end Set_Instance_Spec;
procedure Set_Intval
(N : Node_Id; Val : Uint) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Integer_Literal);
Set_Uint3 (N, Val);
end Set_Intval;
procedure Set_Is_Accessibility_Actual
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Parameter_Association);
Set_Flag13 (N, Val);
end Set_Is_Accessibility_Actual;
procedure Set_Is_Asynchronous_Call_Block
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement);
Set_Flag7 (N, Val);
end Set_Is_Asynchronous_Call_Block;
procedure Set_Is_Boolean_Aspect
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification);
Set_Flag16 (N, Val);
end Set_Is_Boolean_Aspect;
procedure Set_Is_Checked
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Pragma);
Set_Flag11 (N, Val);
end Set_Is_Checked;
procedure Set_Is_Component_Left_Opnd
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Concat);
Set_Flag13 (N, Val);
end Set_Is_Component_Left_Opnd;
procedure Set_Is_Component_Right_Opnd
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Concat);
Set_Flag14 (N, Val);
end Set_Is_Component_Right_Opnd;
procedure Set_Is_Controlling_Actual
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind in N_Subexpr);
Set_Flag16 (N, Val);
end Set_Is_Controlling_Actual;
procedure Set_Is_Delayed_Aspect
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Attribute_Definition_Clause
or else NT (N).Nkind = N_Pragma);
Set_Flag14 (N, Val);
end Set_Is_Delayed_Aspect;
procedure Set_Is_Disabled
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Pragma);
Set_Flag15 (N, Val);
end Set_Is_Disabled;
procedure Set_Is_Dynamic_Coextension
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator);
Set_Flag18 (N, Val);
end Set_Is_Dynamic_Coextension;
procedure Set_Is_Elsif
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_If_Expression);
Set_Flag13 (N, Val);
end Set_Is_Elsif;
procedure Set_Is_Entry_Barrier_Function
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Body);
Set_Flag8 (N, Val);
end Set_Is_Entry_Barrier_Function;
procedure Set_Is_Expanded_Build_In_Place_Call
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Function_Call);
Set_Flag11 (N, Val);
end Set_Is_Expanded_Build_In_Place_Call;
procedure Set_Is_Finalization_Wrapper
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement);
Set_Flag9 (N, Val);
end Set_Is_Finalization_Wrapper;
procedure Set_Is_Folded_In_Parser
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_String_Literal);
Set_Flag4 (N, Val);
end Set_Is_Folded_In_Parser;
procedure Set_Is_Ignored
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Pragma);
Set_Flag9 (N, Val);
end Set_Is_Ignored;
procedure Set_Is_In_Discriminant_Check
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Selected_Component);
Set_Flag11 (N, Val);
end Set_Is_In_Discriminant_Check;
procedure Set_Is_Inherited
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
Set_Flag4 (N, Val);
end Set_Is_Inherited;
procedure Set_Is_Machine_Number
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Real_Literal);
Set_Flag11 (N, Val);
end Set_Is_Machine_Number;
procedure Set_Is_Null_Loop
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Loop_Statement);
Set_Flag16 (N, Val);
end Set_Is_Null_Loop;
procedure Set_Is_Overloaded
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind in N_Subexpr);
Set_Flag5 (N, Val);
end Set_Is_Overloaded;
procedure Set_Is_Power_Of_2_For_Shift
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Expon);
Set_Flag13 (N, Val);
end Set_Is_Power_Of_2_For_Shift;
procedure Set_Is_Prefixed_Call
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Selected_Component);
Set_Flag17 (N, Val);
end Set_Is_Prefixed_Call;
procedure Set_Is_Protected_Subprogram_Body
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subprogram_Body);
Set_Flag7 (N, Val);
end Set_Is_Protected_Subprogram_Body;
procedure Set_Is_Static_Coextension
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator);
Set_Flag14 (N, Val);
end Set_Is_Static_Coextension;
procedure Set_Is_Static_Expression
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind in N_Subexpr);
Set_Flag6 (N, Val);
end Set_Is_Static_Expression;
procedure Set_Is_Subprogram_Descriptor
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Object_Declaration);
Set_Flag16 (N, Val);
end Set_Is_Subprogram_Descriptor;
procedure Set_Is_Task_Allocation_Block
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement);
Set_Flag6 (N, Val);
end Set_Is_Task_Allocation_Block;
procedure Set_Is_Task_Master
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Block_Statement
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Task_Body);
Set_Flag5 (N, Val);
end Set_Is_Task_Master;
procedure Set_Iteration_Scheme
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Loop_Statement);
Set_Node2_With_Parent (N, Val);
end Set_Iteration_Scheme;
procedure Set_Iterator_Specification
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Iteration_Scheme
or else NT (N).Nkind = N_Quantified_Expression);
Set_Node2_With_Parent (N, Val);
end Set_Iterator_Specification;
procedure Set_Itype
(N : Node_Id; Val : Entity_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Itype_Reference);
Set_Node1 (N, Val); -- no parent, semantic field
end Set_Itype;
procedure Set_Kill_Range_Check
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Unchecked_Type_Conversion);
Set_Flag11 (N, Val);
end Set_Kill_Range_Check;
procedure Set_Label_Construct
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Implicit_Label_Declaration);
Set_Node2 (N, Val); -- semantic field, no parent set
end Set_Label_Construct;
procedure Set_Last_Bit
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Clause);
Set_Node4_With_Parent (N, Val);
end Set_Last_Bit;
procedure Set_Last_Name
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
Set_Flag6 (N, Val);
end Set_Last_Name;
procedure Set_Left_Opnd
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_And_Then
or else NT (N).Nkind = N_In
or else NT (N).Nkind = N_Not_In
or else NT (N).Nkind = N_Or_Else
or else NT (N).Nkind in N_Binary_Op);
Set_Node2_With_Parent (N, Val);
end Set_Left_Opnd;
procedure Set_Library_Unit
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit
or else NT (N).Nkind = N_Package_Body_Stub
or else NT (N).Nkind = N_Protected_Body_Stub
or else NT (N).Nkind = N_Subprogram_Body_Stub
or else NT (N).Nkind = N_Task_Body_Stub
or else NT (N).Nkind = N_With_Clause);
Set_Node4 (N, Val); -- semantic field, no parent set
end Set_Library_Unit;
procedure Set_Limited_View_Installed
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Package_Specification
or else NT (N).Nkind = N_With_Clause);
Set_Flag18 (N, Val);
end Set_Limited_View_Installed;
procedure Set_Limited_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Private_Type_Definition
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Private_Type_Declaration
or else NT (N).Nkind = N_Record_Definition
or else NT (N).Nkind = N_With_Clause);
Set_Flag17 (N, Val);
end Set_Limited_Present;
procedure Set_Literals
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Enumeration_Type_Definition);
Set_List1_With_Parent (N, Val);
end Set_Literals;
procedure Set_Local_Raise_Not_OK
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Handler);
Set_Flag7 (N, Val);
end Set_Local_Raise_Not_OK;
procedure Set_Local_Raise_Statements
(N : Node_Id; Val : Elist_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Handler);
Set_Elist1 (N, Val);
end Set_Local_Raise_Statements;
procedure Set_Loop_Actions
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Association);
Set_List2 (N, Val); -- semantic field, no parent set
end Set_Loop_Actions;
procedure Set_Loop_Parameter_Specification
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Iteration_Scheme
or else NT (N).Nkind = N_Quantified_Expression);
Set_Node4_With_Parent (N, Val);
end Set_Loop_Parameter_Specification;
procedure Set_Low_Bound
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Range
or else NT (N).Nkind = N_Real_Range_Specification
or else NT (N).Nkind = N_Signed_Integer_Type_Definition);
Set_Node1_With_Parent (N, Val);
end Set_Low_Bound;
procedure Set_Mod_Clause
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Record_Representation_Clause);
Set_Node2_With_Parent (N, Val);
end Set_Mod_Clause;
procedure Set_More_Ids
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Declaration
or else NT (N).Nkind = N_Discriminant_Specification
or else NT (N).Nkind = N_Exception_Declaration
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Number_Declaration
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification);
Set_Flag5 (N, Val);
end Set_More_Ids;
procedure Set_Must_Be_Byte_Aligned
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Reference);
Set_Flag14 (N, Val);
end Set_Must_Be_Byte_Aligned;
procedure Set_Must_Not_Freeze
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subtype_Indication
or else NT (N).Nkind in N_Subexpr);
Set_Flag8 (N, Val);
end Set_Must_Not_Freeze;
procedure Set_Must_Not_Override
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Declaration
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Function_Specification
or else NT (N).Nkind = N_Procedure_Instantiation
or else NT (N).Nkind = N_Procedure_Specification);
Set_Flag15 (N, Val);
end Set_Must_Not_Override;
procedure Set_Must_Override
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Declaration
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Function_Specification
or else NT (N).Nkind = N_Procedure_Instantiation
or else NT (N).Nkind = N_Procedure_Specification);
Set_Flag14 (N, Val);
end Set_Must_Override;
procedure Set_Name
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement
or else NT (N).Nkind = N_Attribute_Definition_Clause
or else NT (N).Nkind = N_Defining_Program_Unit_Name
or else NT (N).Nkind = N_Designator
or else NT (N).Nkind = N_Entry_Call_Statement
or else NT (N).Nkind = N_Exception_Renaming_Declaration
or else NT (N).Nkind = N_Exit_Statement
or else NT (N).Nkind = N_Formal_Package_Declaration
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Generic_Function_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Package_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Procedure_Renaming_Declaration
or else NT (N).Nkind = N_Goto_Statement
or else NT (N).Nkind = N_Iterator_Specification
or else NT (N).Nkind = N_Object_Renaming_Declaration
or else NT (N).Nkind = N_Package_Instantiation
or else NT (N).Nkind = N_Package_Renaming_Declaration
or else NT (N).Nkind = N_Procedure_Call_Statement
or else NT (N).Nkind = N_Procedure_Instantiation
or else NT (N).Nkind = N_Raise_Expression
or else NT (N).Nkind = N_Raise_Statement
or else NT (N).Nkind = N_Requeue_Statement
or else NT (N).Nkind = N_Subprogram_Renaming_Declaration
or else NT (N).Nkind = N_Subunit
or else NT (N).Nkind = N_Variant_Part
or else NT (N).Nkind = N_With_Clause);
Set_Node2_With_Parent (N, Val);
end Set_Name;
procedure Set_Names
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Abort_Statement
or else NT (N).Nkind = N_Use_Package_Clause);
Set_List2_With_Parent (N, Val);
end Set_Names;
procedure Set_Next_Entity
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Defining_Character_Literal
or else NT (N).Nkind = N_Defining_Identifier
or else NT (N).Nkind = N_Defining_Operator_Symbol);
Set_Node2 (N, Val); -- semantic field, no parent set
end Set_Next_Entity;
procedure Set_Next_Exit_Statement
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exit_Statement);
Set_Node3 (N, Val); -- semantic field, no parent set
end Set_Next_Exit_Statement;
procedure Set_Next_Implicit_With
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
Set_Node3 (N, Val); -- semantic field, no parent set
end Set_Next_Implicit_With;
procedure Set_Next_Named_Actual
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Parameter_Association);
Set_Node4 (N, Val); -- semantic field, no parent set
end Set_Next_Named_Actual;
procedure Set_Next_Pragma
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
Set_Node1 (N, Val); -- semantic field, no parent set
end Set_Next_Pragma;
procedure Set_Next_Rep_Item
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Attribute_Definition_Clause
or else NT (N).Nkind = N_Enumeration_Representation_Clause
or else NT (N).Nkind = N_Pragma
or else NT (N).Nkind = N_Record_Representation_Clause);
Set_Node5 (N, Val); -- semantic field, no parent set
end Set_Next_Rep_Item;
procedure Set_Next_Use_Clause
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Use_Package_Clause
or else NT (N).Nkind = N_Use_Type_Clause);
Set_Node3 (N, Val); -- semantic field, no parent set
end Set_Next_Use_Clause;
procedure Set_No_Ctrl_Actions
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement);
Set_Flag7 (N, Val);
end Set_No_Ctrl_Actions;
procedure Set_No_Elaboration_Check
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Procedure_Call_Statement);
Set_Flag14 (N, Val);
end Set_No_Elaboration_Check;
procedure Set_No_Entities_Ref_In_Spec
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
Set_Flag8 (N, Val);
end Set_No_Entities_Ref_In_Spec;
procedure Set_No_Initialization
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator
or else NT (N).Nkind = N_Object_Declaration);
Set_Flag13 (N, Val);
end Set_No_Initialization;
procedure Set_No_Minimize_Eliminate
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_In
or else NT (N).Nkind = N_Not_In);
Set_Flag17 (N, Val);
end Set_No_Minimize_Eliminate;
procedure Set_No_Truncation
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Unchecked_Type_Conversion);
Set_Flag17 (N, Val);
end Set_No_Truncation;
procedure Set_Non_Aliased_Prefix
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Reference);
Set_Flag18 (N, Val);
end Set_Non_Aliased_Prefix;
procedure Set_Null_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_List
or else NT (N).Nkind = N_Procedure_Specification
or else NT (N).Nkind = N_Record_Definition);
Set_Flag13 (N, Val);
end Set_Null_Present;
procedure Set_Null_Excluding_Subtype
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_To_Object_Definition);
Set_Flag16 (N, Val);
end Set_Null_Excluding_Subtype;
procedure Set_Null_Exclusion_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Definition
or else NT (N).Nkind = N_Access_Function_Definition
or else NT (N).Nkind = N_Access_Procedure_Definition
or else NT (N).Nkind = N_Access_To_Object_Definition
or else NT (N).Nkind = N_Allocator
or else NT (N).Nkind = N_Component_Definition
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Discriminant_Specification
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Function_Specification
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Object_Renaming_Declaration
or else NT (N).Nkind = N_Parameter_Specification
or else NT (N).Nkind = N_Subtype_Declaration);
Set_Flag11 (N, Val);
end Set_Null_Exclusion_Present;
procedure Set_Null_Exclusion_In_Return_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Function_Definition);
Set_Flag14 (N, Val);
end Set_Null_Exclusion_In_Return_Present;
procedure Set_Null_Record_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aggregate
or else NT (N).Nkind = N_Extension_Aggregate);
Set_Flag17 (N, Val);
end Set_Null_Record_Present;
procedure Set_Object_Definition
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Object_Declaration);
Set_Node4_With_Parent (N, Val);
end Set_Object_Definition;
procedure Set_Of_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Iterator_Specification);
Set_Flag16 (N, Val);
end Set_Of_Present;
procedure Set_Original_Discriminant
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Identifier);
Set_Node2 (N, Val); -- semantic field, no parent set
end Set_Original_Discriminant;
procedure Set_Original_Entity
(N : Node_Id; Val : Entity_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Integer_Literal
or else NT (N).Nkind = N_Real_Literal);
Set_Node2 (N, Val); -- semantic field, no parent set
end Set_Original_Entity;
procedure Set_Others_Discrete_Choices
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Others_Choice);
Set_List1_With_Parent (N, Val);
end Set_Others_Discrete_Choices;
procedure Set_Out_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification);
Set_Flag17 (N, Val);
end Set_Out_Present;
procedure Set_Parameter_Associations
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Entry_Call_Statement
or else NT (N).Nkind = N_Function_Call
or else NT (N).Nkind = N_Procedure_Call_Statement);
Set_List3_With_Parent (N, Val);
end Set_Parameter_Associations;
procedure Set_Parameter_Specifications
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Statement
or else NT (N).Nkind = N_Access_Function_Definition
or else NT (N).Nkind = N_Access_Procedure_Definition
or else NT (N).Nkind = N_Entry_Body_Formal_Part
or else NT (N).Nkind = N_Entry_Declaration
or else NT (N).Nkind = N_Function_Specification
or else NT (N).Nkind = N_Procedure_Specification);
Set_List3_With_Parent (N, Val);
end Set_Parameter_Specifications;
procedure Set_Parameter_Type
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Parameter_Specification);
Set_Node2_With_Parent (N, Val);
end Set_Parameter_Type;
procedure Set_Parent_Spec
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Function_Instantiation
or else NT (N).Nkind = N_Generic_Function_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Package_Declaration
or else NT (N).Nkind = N_Generic_Package_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Procedure_Renaming_Declaration
or else NT (N).Nkind = N_Generic_Subprogram_Declaration
or else NT (N).Nkind = N_Package_Declaration
or else NT (N).Nkind = N_Package_Instantiation
or else NT (N).Nkind = N_Package_Renaming_Declaration
or else NT (N).Nkind = N_Procedure_Instantiation
or else NT (N).Nkind = N_Subprogram_Declaration
or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
Set_Node4 (N, Val); -- semantic field, no parent set
end Set_Parent_Spec;
procedure Set_Position
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Clause);
Set_Node2_With_Parent (N, Val);
end Set_Position;
procedure Set_Pragma_Argument_Associations
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
Set_List2_With_Parent (N, Val);
end Set_Pragma_Argument_Associations;
procedure Set_Pragma_Identifier
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
Set_Node4_With_Parent (N, Val);
end Set_Pragma_Identifier;
procedure Set_Pragmas_After
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit_Aux
or else NT (N).Nkind = N_Terminate_Alternative);
Set_List5_With_Parent (N, Val);
end Set_Pragmas_After;
procedure Set_Pragmas_Before
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Accept_Alternative
or else NT (N).Nkind = N_Delay_Alternative
or else NT (N).Nkind = N_Entry_Call_Alternative
or else NT (N).Nkind = N_Mod_Clause
or else NT (N).Nkind = N_Terminate_Alternative
or else NT (N).Nkind = N_Triggering_Alternative);
Set_List4_With_Parent (N, Val);
end Set_Pragmas_Before;
procedure Set_Pre_Post_Conditions
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Contract);
Set_Node1 (N, Val); -- semantic field, no parent set
end Set_Pre_Post_Conditions;
procedure Set_Prefix
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Reference
or else NT (N).Nkind = N_Expanded_Name
or else NT (N).Nkind = N_Explicit_Dereference
or else NT (N).Nkind = N_Indexed_Component
or else NT (N).Nkind = N_Reference
or else NT (N).Nkind = N_Selected_Component
or else NT (N).Nkind = N_Slice);
Set_Node3_With_Parent (N, Val);
end Set_Prefix;
procedure Set_Premature_Use
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Incomplete_Type_Declaration);
Set_Node5 (N, Val);
end Set_Premature_Use;
procedure Set_Present_Expr
(N : Node_Id; Val : Uint) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Variant);
Set_Uint3 (N, Val);
end Set_Present_Expr;
procedure Set_Prev_Ids
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_Declaration
or else NT (N).Nkind = N_Discriminant_Specification
or else NT (N).Nkind = N_Exception_Declaration
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Number_Declaration
or else NT (N).Nkind = N_Object_Declaration
or else NT (N).Nkind = N_Parameter_Specification);
Set_Flag6 (N, Val);
end Set_Prev_Ids;
procedure Set_Print_In_Hex
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Integer_Literal);
Set_Flag13 (N, Val);
end Set_Print_In_Hex;
procedure Set_Private_Declarations
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Package_Specification
or else NT (N).Nkind = N_Protected_Definition
or else NT (N).Nkind = N_Task_Definition);
Set_List3_With_Parent (N, Val);
end Set_Private_Declarations;
procedure Set_Private_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit
or else NT (N).Nkind = N_Formal_Derived_Type_Definition
or else NT (N).Nkind = N_With_Clause);
Set_Flag15 (N, Val);
end Set_Private_Present;
procedure Set_Procedure_To_Call
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator
or else NT (N).Nkind = N_Extended_Return_Statement
or else NT (N).Nkind = N_Free_Statement
or else NT (N).Nkind = N_Simple_Return_Statement);
Set_Node2 (N, Val); -- semantic field, no parent set
end Set_Procedure_To_Call;
procedure Set_Proper_Body
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Subunit);
Set_Node1_With_Parent (N, Val);
end Set_Proper_Body;
procedure Set_Protected_Definition
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Protected_Type_Declaration
or else NT (N).Nkind = N_Single_Protected_Declaration);
Set_Node3_With_Parent (N, Val);
end Set_Protected_Definition;
procedure Set_Protected_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Function_Definition
or else NT (N).Nkind = N_Access_Procedure_Definition
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Record_Definition);
Set_Flag6 (N, Val);
end Set_Protected_Present;
procedure Set_Raises_Constraint_Error
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind in N_Subexpr);
Set_Flag7 (N, Val);
end Set_Raises_Constraint_Error;
procedure Set_Range_Constraint
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Delta_Constraint
or else NT (N).Nkind = N_Digits_Constraint);
Set_Node4_With_Parent (N, Val);
end Set_Range_Constraint;
procedure Set_Range_Expression
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Range_Constraint);
Set_Node4_With_Parent (N, Val);
end Set_Range_Expression;
procedure Set_Real_Range_Specification
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Decimal_Fixed_Point_Definition
or else NT (N).Nkind = N_Floating_Point_Definition
or else NT (N).Nkind = N_Ordinary_Fixed_Point_Definition);
Set_Node4_With_Parent (N, Val);
end Set_Real_Range_Specification;
procedure Set_Realval
(N : Node_Id; Val : Ureal) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Real_Literal);
Set_Ureal3 (N, Val);
end Set_Realval;
procedure Set_Reason
(N : Node_Id; Val : Uint) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Raise_Constraint_Error
or else NT (N).Nkind = N_Raise_Program_Error
or else NT (N).Nkind = N_Raise_Storage_Error);
Set_Uint3 (N, Val);
end Set_Reason;
procedure Set_Record_Extension_Part
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition);
Set_Node3_With_Parent (N, Val);
end Set_Record_Extension_Part;
procedure Set_Redundant_Use
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Attribute_Reference
or else NT (N).Nkind = N_Expanded_Name
or else NT (N).Nkind = N_Identifier);
Set_Flag13 (N, Val);
end Set_Redundant_Use;
procedure Set_Renaming_Exception
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Exception_Declaration);
Set_Node2 (N, Val);
end Set_Renaming_Exception;
procedure Set_Result_Definition
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Function_Definition
or else NT (N).Nkind = N_Function_Specification);
Set_Node4_With_Parent (N, Val);
end Set_Result_Definition;
procedure Set_Return_Object_Declarations
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Extended_Return_Statement);
Set_List3_With_Parent (N, Val);
end Set_Return_Object_Declarations;
procedure Set_Return_Statement_Entity
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Extended_Return_Statement
or else NT (N).Nkind = N_Simple_Return_Statement);
Set_Node5 (N, Val); -- semantic field, no parent set
end Set_Return_Statement_Entity;
procedure Set_Reverse_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Iterator_Specification
or else NT (N).Nkind = N_Loop_Parameter_Specification);
Set_Flag15 (N, Val);
end Set_Reverse_Present;
procedure Set_Right_Opnd
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind in N_Op
or else NT (N).Nkind = N_And_Then
or else NT (N).Nkind = N_In
or else NT (N).Nkind = N_Not_In
or else NT (N).Nkind = N_Or_Else);
Set_Node3_With_Parent (N, Val);
end Set_Right_Opnd;
procedure Set_Rounded_Result
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Divide
or else NT (N).Nkind = N_Op_Multiply
or else NT (N).Nkind = N_Type_Conversion);
Set_Flag18 (N, Val);
end Set_Rounded_Result;
procedure Set_SCIL_Controlling_Tag
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_SCIL_Dispatching_Call);
Set_Node5 (N, Val); -- semantic field, no parent set
end Set_SCIL_Controlling_Tag;
procedure Set_SCIL_Entity
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_SCIL_Dispatch_Table_Tag_Init
or else NT (N).Nkind = N_SCIL_Dispatching_Call
or else NT (N).Nkind = N_SCIL_Membership_Test);
Set_Node4 (N, Val); -- semantic field, no parent set
end Set_SCIL_Entity;
procedure Set_SCIL_Tag_Value
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_SCIL_Membership_Test);
Set_Node5 (N, Val); -- semantic field, no parent set
end Set_SCIL_Tag_Value;
procedure Set_SCIL_Target_Prim
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_SCIL_Dispatching_Call);
Set_Node2 (N, Val); -- semantic field, no parent set
end Set_SCIL_Target_Prim;
procedure Set_Scope
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Defining_Character_Literal
or else NT (N).Nkind = N_Defining_Identifier
or else NT (N).Nkind = N_Defining_Operator_Symbol);
Set_Node3 (N, Val); -- semantic field, no parent set
end Set_Scope;
procedure Set_Select_Alternatives
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Selective_Accept);
Set_List1_With_Parent (N, Val);
end Set_Select_Alternatives;
procedure Set_Selector_Name
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Expanded_Name
or else NT (N).Nkind = N_Generic_Association
or else NT (N).Nkind = N_Parameter_Association
or else NT (N).Nkind = N_Selected_Component);
Set_Node2_With_Parent (N, Val);
end Set_Selector_Name;
procedure Set_Selector_Names
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Discriminant_Association);
Set_List1_With_Parent (N, Val);
end Set_Selector_Names;
procedure Set_Shift_Count_OK
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Rotate_Left
or else NT (N).Nkind = N_Op_Rotate_Right
or else NT (N).Nkind = N_Op_Shift_Left
or else NT (N).Nkind = N_Op_Shift_Right
or else NT (N).Nkind = N_Op_Shift_Right_Arithmetic);
Set_Flag4 (N, Val);
end Set_Shift_Count_OK;
procedure Set_Source_Type
(N : Node_Id; Val : Entity_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Validate_Unchecked_Conversion);
Set_Node1 (N, Val); -- semantic field, no parent set
end Set_Source_Type;
procedure Set_Specification
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Abstract_Subprogram_Declaration
or else NT (N).Nkind = N_Expression_Function
or else NT (N).Nkind = N_Formal_Abstract_Subprogram_Declaration
or else NT (N).Nkind = N_Formal_Concrete_Subprogram_Declaration
or else NT (N).Nkind = N_Generic_Package_Declaration
or else NT (N).Nkind = N_Generic_Subprogram_Declaration
or else NT (N).Nkind = N_Package_Declaration
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Subprogram_Body_Stub
or else NT (N).Nkind = N_Subprogram_Declaration
or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
Set_Node1_With_Parent (N, Val);
end Set_Specification;
procedure Set_Split_PPC
(N : Node_Id; Val : Boolean) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Aspect_Specification
or else NT (N).Nkind = N_Pragma);
Set_Flag17 (N, Val);
end Set_Split_PPC;
procedure Set_Statements
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Abortable_Part
or else NT (N).Nkind = N_Accept_Alternative
or else NT (N).Nkind = N_Case_Statement_Alternative
or else NT (N).Nkind = N_Delay_Alternative
or else NT (N).Nkind = N_Entry_Call_Alternative
or else NT (N).Nkind = N_Exception_Handler
or else NT (N).Nkind = N_Handled_Sequence_Of_Statements
or else NT (N).Nkind = N_Loop_Statement
or else NT (N).Nkind = N_Triggering_Alternative);
Set_List3_With_Parent (N, Val);
end Set_Statements;
procedure Set_Storage_Pool
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator
or else NT (N).Nkind = N_Extended_Return_Statement
or else NT (N).Nkind = N_Free_Statement
or else NT (N).Nkind = N_Simple_Return_Statement);
Set_Node1 (N, Val); -- semantic field, no parent set
end Set_Storage_Pool;
procedure Set_Subpool_Handle_Name
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Allocator);
Set_Node4_With_Parent (N, Val);
end Set_Subpool_Handle_Name;
procedure Set_Strval
(N : Node_Id; Val : String_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Operator_Symbol
or else NT (N).Nkind = N_String_Literal);
Set_Str3 (N, Val);
end Set_Strval;
procedure Set_Subtype_Indication
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_To_Object_Definition
or else NT (N).Nkind = N_Component_Definition
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Iterator_Specification
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Subtype_Declaration);
Set_Node5_With_Parent (N, Val);
end Set_Subtype_Indication;
procedure Set_Subtype_Mark
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Access_Definition
or else NT (N).Nkind = N_Formal_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Object_Declaration
or else NT (N).Nkind = N_Object_Renaming_Declaration
or else NT (N).Nkind = N_Qualified_Expression
or else NT (N).Nkind = N_Subtype_Indication
or else NT (N).Nkind = N_Type_Conversion
or else NT (N).Nkind = N_Unchecked_Type_Conversion);
Set_Node4_With_Parent (N, Val);
end Set_Subtype_Mark;
procedure Set_Subtype_Marks
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Unconstrained_Array_Definition
or else NT (N).Nkind = N_Use_Type_Clause);
Set_List2_With_Parent (N, Val);
end Set_Subtype_Marks;
procedure Set_Suppress_Assignment_Checks
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Assignment_Statement
or else NT (N).Nkind = N_Object_Declaration);
Set_Flag18 (N, Val);
end Set_Suppress_Assignment_Checks;
procedure Set_Suppress_Loop_Warnings
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Loop_Statement);
Set_Flag17 (N, Val);
end Set_Suppress_Loop_Warnings;
procedure Set_Synchronized_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Formal_Derived_Type_Definition
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Record_Definition);
Set_Flag7 (N, Val);
end Set_Synchronized_Present;
procedure Set_Tagged_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Incomplete_Type_Definition
or else NT (N).Nkind = N_Formal_Private_Type_Definition
or else NT (N).Nkind = N_Incomplete_Type_Declaration
or else NT (N).Nkind = N_Private_Type_Declaration
or else NT (N).Nkind = N_Record_Definition);
Set_Flag15 (N, Val);
end Set_Tagged_Present;
procedure Set_Target_Type
(N : Node_Id; Val : Entity_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Validate_Unchecked_Conversion);
Set_Node2 (N, Val); -- semantic field, no parent set
end Set_Target_Type;
procedure Set_Task_Definition
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Single_Task_Declaration
or else NT (N).Nkind = N_Task_Type_Declaration);
Set_Node3_With_Parent (N, Val);
end Set_Task_Definition;
procedure Set_Task_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Derived_Type_Definition
or else NT (N).Nkind = N_Record_Definition);
Set_Flag5 (N, Val);
end Set_Task_Present;
procedure Set_Then_Actions
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_If_Expression);
Set_List2_With_Parent (N, Val); -- semantic field, but needs parents
end Set_Then_Actions;
procedure Set_Then_Statements
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Elsif_Part
or else NT (N).Nkind = N_If_Statement);
Set_List2_With_Parent (N, Val);
end Set_Then_Statements;
procedure Set_Treat_Fixed_As_Integer
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Op_Divide
or else NT (N).Nkind = N_Op_Mod
or else NT (N).Nkind = N_Op_Multiply
or else NT (N).Nkind = N_Op_Rem);
Set_Flag14 (N, Val);
end Set_Treat_Fixed_As_Integer;
procedure Set_Triggering_Alternative
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Asynchronous_Select);
Set_Node1_With_Parent (N, Val);
end Set_Triggering_Alternative;
procedure Set_Triggering_Statement
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Triggering_Alternative);
Set_Node1_With_Parent (N, Val);
end Set_Triggering_Statement;
procedure Set_TSS_Elist
(N : Node_Id; Val : Elist_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Freeze_Entity);
Set_Elist3 (N, Val); -- semantic field, no parent set
end Set_TSS_Elist;
procedure Set_Uneval_Old_Accept
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
Set_Flag7 (N, Val);
end Set_Uneval_Old_Accept;
procedure Set_Uneval_Old_Warn
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Pragma);
Set_Flag18 (N, Val);
end Set_Uneval_Old_Warn;
procedure Set_Type_Definition
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Full_Type_Declaration);
Set_Node3_With_Parent (N, Val);
end Set_Type_Definition;
procedure Set_Unit
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
Set_Node2_With_Parent (N, Val);
end Set_Unit;
procedure Set_Unknown_Discriminants_Present
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Type_Declaration
or else NT (N).Nkind = N_Incomplete_Type_Declaration
or else NT (N).Nkind = N_Private_Extension_Declaration
or else NT (N).Nkind = N_Private_Type_Declaration);
Set_Flag13 (N, Val);
end Set_Unknown_Discriminants_Present;
procedure Set_Unreferenced_In_Spec
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
Set_Flag7 (N, Val);
end Set_Unreferenced_In_Spec;
procedure Set_Variant_Part
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Component_List);
Set_Node4_With_Parent (N, Val);
end Set_Variant_Part;
procedure Set_Variants
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Variant_Part);
Set_List1_With_Parent (N, Val);
end Set_Variants;
procedure Set_Visible_Declarations
(N : Node_Id; Val : List_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Package_Specification
or else NT (N).Nkind = N_Protected_Definition
or else NT (N).Nkind = N_Task_Definition);
Set_List2_With_Parent (N, Val);
end Set_Visible_Declarations;
procedure Set_Uninitialized_Variable
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Formal_Private_Type_Definition
or else NT (N).Nkind = N_Private_Extension_Declaration);
Set_Node3 (N, Val);
end Set_Uninitialized_Variable;
procedure Set_Used_Operations
(N : Node_Id; Val : Elist_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Use_Type_Clause);
Set_Elist5 (N, Val);
end Set_Used_Operations;
procedure Set_Was_Originally_Stub
(N : Node_Id; Val : Boolean := True) is
begin
pragma Assert (False
or else NT (N).Nkind = N_Package_Body
or else NT (N).Nkind = N_Protected_Body
or else NT (N).Nkind = N_Subprogram_Body
or else NT (N).Nkind = N_Task_Body);
Set_Flag13 (N, Val);
end Set_Was_Originally_Stub;
procedure Set_Withed_Body
(N : Node_Id; Val : Node_Id) is
begin
pragma Assert (False
or else NT (N).Nkind = N_With_Clause);
Set_Node1 (N, Val);
end Set_Withed_Body;
-------------------------
-- Iterator Procedures --
-------------------------
procedure Next_Entity (N : in out Node_Id) is
begin
N := Next_Entity (N);
end Next_Entity;
procedure Next_Named_Actual (N : in out Node_Id) is
begin
N := Next_Named_Actual (N);
end Next_Named_Actual;
procedure Next_Rep_Item (N : in out Node_Id) is
begin
N := Next_Rep_Item (N);
end Next_Rep_Item;
procedure Next_Use_Clause (N : in out Node_Id) is
begin
N := Next_Use_Clause (N);
end Next_Use_Clause;
------------------
-- End_Location --
------------------
function End_Location (N : Node_Id) return Source_Ptr is
L : constant Uint := End_Span (N);
begin
if L = No_Uint then
return No_Location;
else
return Source_Ptr (Int (Sloc (N)) + UI_To_Int (L));
end if;
end End_Location;
--------------------
-- Get_Pragma_Arg --
--------------------
function Get_Pragma_Arg (Arg : Node_Id) return Node_Id is
begin
if Nkind (Arg) = N_Pragma_Argument_Association then
return Expression (Arg);
else
return Arg;
end if;
end Get_Pragma_Arg;
----------------------
-- Set_End_Location --
----------------------
procedure Set_End_Location (N : Node_Id; S : Source_Ptr) is
begin
Set_End_Span (N,
UI_From_Int (Int (S) - Int (Sloc (N))));
end Set_End_Location;
--------------
-- Nkind_In --
--------------
function Nkind_In
(T : Node_Kind;
V1 : Node_Kind;
V2 : Node_Kind) return Boolean
is
begin
return T = V1 or else
T = V2;
end Nkind_In;
function Nkind_In
(T : Node_Kind;
V1 : Node_Kind;
V2 : Node_Kind;
V3 : Node_Kind) return Boolean
is
begin
return T = V1 or else
T = V2 or else
T = V3;
end Nkind_In;
function Nkind_In
(T : Node_Kind;
V1 : Node_Kind;
V2 : Node_Kind;
V3 : Node_Kind;
V4 : Node_Kind) return Boolean
is
begin
return T = V1 or else
T = V2 or else
T = V3 or else
T = V4;
end Nkind_In;
function Nkind_In
(T : Node_Kind;
V1 : Node_Kind;
V2 : Node_Kind;
V3 : Node_Kind;
V4 : Node_Kind;
V5 : Node_Kind) return Boolean
is
begin
return T = V1 or else
T = V2 or else
T = V3 or else
T = V4 or else
T = V5;
end Nkind_In;
function Nkind_In
(T : Node_Kind;
V1 : Node_Kind;
V2 : Node_Kind;
V3 : Node_Kind;
V4 : Node_Kind;
V5 : Node_Kind;
V6 : Node_Kind) return Boolean
is
begin
return T = V1 or else
T = V2 or else
T = V3 or else
T = V4 or else
T = V5 or else
T = V6;
end Nkind_In;
function Nkind_In
(T : Node_Kind;
V1 : Node_Kind;
V2 : Node_Kind;
V3 : Node_Kind;
V4 : Node_Kind;
V5 : Node_Kind;
V6 : Node_Kind;
V7 : Node_Kind) return Boolean
is
begin
return T = V1 or else
T = V2 or else
T = V3 or else
T = V4 or else
T = V5 or else
T = V6 or else
T = V7;
end Nkind_In;
function Nkind_In
(T : Node_Kind;
V1 : Node_Kind;
V2 : Node_Kind;
V3 : Node_Kind;
V4 : Node_Kind;
V5 : Node_Kind;
V6 : Node_Kind;
V7 : Node_Kind;
V8 : Node_Kind) return Boolean
is
begin
return T = V1 or else
T = V2 or else
T = V3 or else
T = V4 or else
T = V5 or else
T = V6 or else
T = V7 or else
T = V8;
end Nkind_In;
function Nkind_In
(T : Node_Kind;
V1 : Node_Kind;
V2 : Node_Kind;
V3 : Node_Kind;
V4 : Node_Kind;
V5 : Node_Kind;
V6 : Node_Kind;
V7 : Node_Kind;
V8 : Node_Kind;
V9 : Node_Kind) return Boolean
is
begin
return T = V1 or else
T = V2 or else
T = V3 or else
T = V4 or else
T = V5 or else
T = V6 or else
T = V7 or else
T = V8 or else
T = V9;
end Nkind_In;
-----------------
-- Pragma_Name --
-----------------
function Pragma_Name (N : Node_Id) return Name_Id is
begin
return Chars (Pragma_Identifier (N));
end Pragma_Name;
end Sinfo;
|
generic
type Element is mod <>;
type Index is range <>;
type Element_Array is array (Index range <>) of Element;
Hash_Length : Index;
type Hash_Context is private;
with function Hash_Initialize (Input : Element_Array) return Hash_Context;
with procedure Hash_Update
(Ctx : in out Hash_Context; Input : Element_Array);
with function Hash_Finalize (Ctx : Hash_Context) return Element_Array;
package PBKDF2_Generic with
Pure,
Preelaborate
is
pragma Compile_Time_Error
(Element'Modulus /= 256,
"'Element' type must be mod 2**8, i.e. represent a byte");
function PBKDF2
(Password : String; Salt : String; Iterations : Positive;
Derived_Key_Length : Index) return Element_Array;
function PBKDF2
(Password : Element_Array; Salt : Element_Array; Iterations : Positive;
Derived_Key_Length : Index) return Element_Array;
private
function Write_Big_Endian (Input : Index) return Element_Array;
procedure XOR_In_Place (L : in out Element_Array; R : Element_Array);
end PBKDF2_Generic;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- G N A T . T A B L E --
-- --
-- S p e c --
-- --
-- Copyright (C) 1998-2010, AdaCore --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- --
-- --
-- --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- Resizable one dimensional array support
-- This package provides an implementation of dynamically resizable one
-- dimensional arrays. The idea is to mimic the normal Ada semantics for
-- arrays as closely as possible with the one additional capability of
-- dynamically modifying the value of the Last attribute.
-- This package provides a facility similar to that of GNAT.Dynamic_Tables,
-- except that this package declares a single instance of the table type,
-- while an instantiation of GNAT.Dynamic_Tables creates a type that can be
-- used to define dynamic instances of the table.
-- Note that this interface should remain synchronized with those in
-- GNAT.Dynamic_Tables and the GNAT compiler source unit Table to keep
-- as much coherency as possible between these three related units.
generic
type Table_Component_Type is private;
type Table_Index_Type is range <>;
Table_Low_Bound : Table_Index_Type;
Table_Initial : Positive;
Table_Increment : Natural;
package GNAT.Table is
pragma Elaborate_Body;
-- Table_Component_Type and Table_Index_Type specify the type of the
-- array, Table_Low_Bound is the lower bound. Index_type must be an
-- integer type. The effect is roughly to declare:
-- Table : array (Table_Index_Type range Table_Low_Bound .. <>)
-- of Table_Component_Type;
-- Note: since the upper bound can be one less than the lower
-- bound for an empty array, the table index type must be able
-- to cover this range, e.g. if the lower bound is 1, then the
-- Table_Index_Type should be Natural rather than Positive.
-- Table_Component_Type may be any Ada type, except that controlled
-- types are not supported. Note however that default initialization
-- will NOT occur for array components.
-- The Table_Initial values controls the allocation of the table when
-- it is first allocated, either by default, or by an explicit Init call.
-- The Table_Increment value controls the amount of increase, if the
-- table has to be increased in size. The value given is a percentage
-- value (e.g. 100 = increase table size by 100%, i.e. double it).
-- The Last and Set_Last subprograms provide control over the current
-- logical allocation. They are quite efficient, so they can be used
-- freely (expensive reallocation occurs only at major granularity
-- chunks controlled by the allocation parameters).
-- Note: we do not make the table components aliased, since this would
-- restrict the use of table for discriminated types. If it is necessary
-- to take the access of a table element, use Unrestricted_Access.
-- WARNING: On HPPA, the virtual addressing approach used in this unit
-- is incompatible with the indexing instructions on the HPPA. So when
-- using this unit, compile your application with -mdisable-indexing.
-- WARNING: If the table is reallocated, then the address of all its
-- components will change. So do not capture the address of an element
-- and then use the address later after the table may be reallocated.
-- One tricky case of this is passing an element of the table to a
-- subprogram by reference where the table gets reallocated during
-- the execution of the subprogram. The best rule to follow is never
-- to pass a table element as a parameter except for the case of IN
-- mode parameters with scalar values.
type Table_Type is
array (Table_Index_Type range <>) of Table_Component_Type;
subtype Big_Table_Type is
Table_Type (Table_Low_Bound .. Table_Index_Type'Last);
-- We work with pointers to a bogus array type that is constrained
-- with the maximum possible range bound. This means that the pointer
-- is a thin pointer, which is more efficient. Since subscript checks
-- in any case must be on the logical, rather than physical bounds,
-- safety is not compromised by this approach. These types should never
-- be used by the client.
type Table_Ptr is access all Big_Table_Type;
for Table_Ptr'Storage_Size use 0;
-- The table is actually represented as a pointer to allow reallocation.
-- This type should never be used by the client.
Table : aliased Table_Ptr := null;
-- The table itself. The lower bound is the value of Low_Bound.
-- Logically the upper bound is the current value of Last (although
-- the actual size of the allocated table may be larger than this).
-- The program may only access and modify Table entries in the range
-- First .. Last.
Locked : Boolean := False;
-- Table expansion is permitted only if this switch is set to False. A
-- client may set Locked to True, in which case any attempt to expand
-- the table will cause an assertion failure. Note that while a table
-- is locked, its address in memory remains fixed and unchanging.
procedure Init;
-- This procedure allocates a new table of size Initial (freeing any
-- previously allocated larger table). It is not necessary to call
-- Init when a table is first instantiated (since the instantiation does
-- the same initialization steps). However, it is harmless to do so, and
-- Init is convenient in reestablishing a table for new use.
function Last return Table_Index_Type;
pragma Inline (Last);
-- Returns the current value of the last used entry in the table, which
-- can then be used as a subscript for Table. Note that the only way to
-- modify Last is to call the Set_Last procedure. Last must always be
-- used to determine the logically last entry.
procedure Release;
-- Storage is allocated in chunks according to the values given in the
-- Initial and Increment parameters. A call to Release releases all
-- storage that is allocated, but is not logically part of the current
-- array value. Current array values are not affected by this call.
procedure Free;
-- Free all allocated memory for the table. A call to Init is required
-- before any use of this table after calling Free.
First : constant Table_Index_Type := Table_Low_Bound;
-- Export First as synonym for Low_Bound (parallel with use of Last)
procedure Set_Last (New_Val : Table_Index_Type);
pragma Inline (Set_Last);
-- This procedure sets Last to the indicated value. If necessary the
-- table is reallocated to accommodate the new value (i.e. on return
-- the allocated table has an upper bound of at least Last). If Set_Last
-- reduces the size of the table, then logically entries are removed
-- from the table. If Set_Last increases the size of the table, then
-- new entries are logically added to the table.
procedure Increment_Last;
pragma Inline (Increment_Last);
-- Adds 1 to Last (same as Set_Last (Last + 1)
procedure Decrement_Last;
pragma Inline (Decrement_Last);
-- Subtracts 1 from Last (same as Set_Last (Last - 1)
procedure Append (New_Val : Table_Component_Type);
pragma Inline (Append);
-- Equivalent to:
-- x.Increment_Last;
-- x.Table (x.Last) := New_Val;
-- i.e. the table size is increased by one, and the given new item
-- stored in the newly created table element.
procedure Append_All (New_Vals : Table_Type);
-- Appends all components of New_Vals
procedure Set_Item
(Index : Table_Index_Type;
Item : Table_Component_Type);
pragma Inline (Set_Item);
-- Put Item in the table at position Index. The table is expanded if the
-- current table length is less than Index and in that case Last is set to
-- Index. Item will replace any value already present in the table at this
-- position.
function Allocate (Num : Integer := 1) return Table_Index_Type;
pragma Inline (Allocate);
-- Adds Num to Last, and returns the old value of Last + 1. Note that
-- this function has the possible side effect of reallocating the table.
-- This means that a reference X.Table (X.Allocate) is incorrect, since
-- the call to X.Allocate may modify the results of calling X.Table.
end GNAT.Table;
|
-----------------------------------------------------------------------
-- hestia-ports -- Heat port control
-- Copyright (C) 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with STM32;
with STM32.GPIO;
with STM32.Device;
with Hestia.Config;
package Hestia.Ports is
type Zone_Type is new Natural range 1 .. Hestia.Config.MAX_ZONES;
type Control_Type is (H_CONFORT, H_ECO, H_HORS_GEL, H_STOPPED, H_CONFORT_M1, H_CONFORT_M2);
subtype Heat_Control_Point is STM32.GPIO.GPIO_Point;
-- Heat control ports are connected to the available PWM outputs.
Zone1_Control : Heat_Control_Point renames STM32.Device.PB4;
Zone2_Control : Heat_Control_Point renames STM32.Device.PA8;
Zone3_Control : Heat_Control_Point renames STM32.Device.PH6;
Zone4_Control : Heat_Control_Point renames STM32.Device.PA15;
Zone5_Control : Heat_Control_Point renames STM32.Device.PI0;
Zone6_Control : Heat_Control_Point renames STM32.Device.PB15;
-- Set the zone.
procedure Set_Zone (Zone : in Zone_Type;
Mode : in Control_Type);
-- Initialize the heat control ports.
procedure Initialize;
private
type Zone_Control_Type is limited record
Mode : Control_Type;
Pos_Control : Heat_Control_Point;
Neg_Control : Heat_Control_Point;
end record;
type Zone_Control_Array is array (Zone_Type) of Zone_Control_Type;
end Hestia.Ports;
|
--===========================================================================
--
-- This package represents the definitions for
-- all ports
-- all standard definitions
-- for the ItstyBitsy board
--
--===========================================================================
--
-- Copyright 2021 (C) Holger Rodriguez
--
-- SPDX-License-Identifier: BSD-3-Clause
--
with RP.GPIO;
with RP.I2C_Master;
with RP.Device;
with RP.Clock;
with RP.UART;
with RP.SPI;
package ItsyBitsy is
------------------------------------------------------
-- Just the list of all GPIO pins for the RP2040 chip
-- The commented lines do not have a board connection
------------------------------------------------------
GP0 : aliased RP.GPIO.GPIO_Point := (Pin => 0);
GP1 : aliased RP.GPIO.GPIO_Point := (Pin => 1);
GP2 : aliased RP.GPIO.GPIO_Point := (Pin => 2);
GP3 : aliased RP.GPIO.GPIO_Point := (Pin => 3);
GP4 : aliased RP.GPIO.GPIO_Point := (Pin => 4);
GP5 : aliased RP.GPIO.GPIO_Point := (Pin => 5);
GP6 : aliased RP.GPIO.GPIO_Point := (Pin => 6);
GP7 : aliased RP.GPIO.GPIO_Point := (Pin => 7);
GP8 : aliased RP.GPIO.GPIO_Point := (Pin => 8);
GP9 : aliased RP.GPIO.GPIO_Point := (Pin => 9);
GP10 : aliased RP.GPIO.GPIO_Point := (Pin => 10);
GP11 : aliased RP.GPIO.GPIO_Point := (Pin => 11);
GP12 : aliased RP.GPIO.GPIO_Point := (Pin => 12);
GP13 : aliased RP.GPIO.GPIO_Point := (Pin => 13);
GP14 : aliased RP.GPIO.GPIO_Point := (Pin => 14);
-- GP15 : aliased RP.GPIO.GPIO_Point := (Pin => 15);
GP16 : aliased RP.GPIO.GPIO_Point := (Pin => 16);
GP17 : aliased RP.GPIO.GPIO_Point := (Pin => 17);
GP18 : aliased RP.GPIO.GPIO_Point := (Pin => 18);
GP19 : aliased RP.GPIO.GPIO_Point := (Pin => 19);
GP20 : aliased RP.GPIO.GPIO_Point := (Pin => 20);
-- GP21 : aliased RP.GPIO.GPIO_Point := (Pin => 21);
-- GP22 : aliased RP.GPIO.GPIO_Point := (Pin => 22);
-- GP23 : aliased RP.GPIO.GPIO_Point := (Pin => 23);
GP24 : aliased RP.GPIO.GPIO_Point := (Pin => 24);
GP25 : aliased RP.GPIO.GPIO_Point := (Pin => 25);
GP26 : aliased RP.GPIO.GPIO_Point := (Pin => 26);
GP27 : aliased RP.GPIO.GPIO_Point := (Pin => 27);
GP28 : aliased RP.GPIO.GPIO_Point := (Pin => 28);
GP29 : aliased RP.GPIO.GPIO_Point := (Pin => 29);
-----------------------------------------------
-- Order is counter clockwise around the chip,
-- if you look at it holding the USB port top
-- the identifiers are the ones on the board
-----------------------------------------------
--------------------
-- Left row of pins
--------------------
A0 : aliased RP.GPIO.GPIO_Point := GP26;
A1 : aliased RP.GPIO.GPIO_Point := GP27;
A2 : aliased RP.GPIO.GPIO_Point := GP28;
A3 : aliased RP.GPIO.GPIO_Point := GP29;
D24 : aliased RP.GPIO.GPIO_Point := GP24;
D25 : aliased RP.GPIO.GPIO_Point := GP25;
SCK : aliased RP.GPIO.GPIO_Point := GP18;
MOSI : aliased RP.GPIO.GPIO_Point := GP19;
MISO : aliased RP.GPIO.GPIO_Point := GP20;
D2 : aliased RP.GPIO.GPIO_Point := GP12;
----------------------
-- Bottom row of pins
----------------------
D4 : aliased RP.GPIO.GPIO_Point := GP4;
D3 : aliased RP.GPIO.GPIO_Point := GP5;
---------------------
-- Right row of pins
---------------------
RX : aliased RP.GPIO.GPIO_Point := GP1;
TX : aliased RP.GPIO.GPIO_Point := GP0;
SDA : aliased RP.GPIO.GPIO_Point := GP2;
SCL : aliased RP.GPIO.GPIO_Point := GP3;
D5 : aliased RP.GPIO.GPIO_Point := GP14;
D7 : aliased RP.GPIO.GPIO_Point := GP6;
D9 : aliased RP.GPIO.GPIO_Point := GP7;
D10 : aliased RP.GPIO.GPIO_Point := GP8;
D11 : aliased RP.GPIO.GPIO_Point := GP9;
D12 : aliased RP.GPIO.GPIO_Point := GP10;
D13 : aliased RP.GPIO.GPIO_Point := GP11;
NEOPIXEL : aliased RP.GPIO.GPIO_Point := GP16;
XOSC_Frequency : RP.Clock.XOSC_Hertz := 12_000_000;
LED : RP.GPIO.GPIO_Point renames D13;
SPI : RP.SPI.SPI_Port renames RP.Device.SPI_0;
I2C : RP.I2C_Master.I2C_Master_Port renames RP.Device.I2C_1;
UART : RP.UART.UART_Port renames RP.Device.UART_0;
end ItsyBitsy;
|
with Ada.Calendar; use Ada.Calendar;
package body Lto16_Pkg is
function F return Float is
F1 : Float := Float (Seconds (Clock));
F2 : Float := Float (Seconds (Clock));
F : Float;
begin
if F1 > F2 then
F := (F2 - F1) / 2.0;
else
F := (F1 - F2) / 2.0;
end if;
return F;
end;
end Lto16_Pkg;
|
package FLTK.Widgets.Valuators.Sliders.Scrollbars is
type Scrollbar is new Slider with private;
type Scrollbar_Reference (Data : not null access Scrollbar'Class) is
limited null record with Implicit_Dereference => Data;
package Forge is
function Create
(X, Y, W, H : in Integer;
Text : in String)
return Scrollbar;
end Forge;
function Get_Line_Size
(This : in Scrollbar)
return Natural;
procedure Set_Line_Size
(This : in out Scrollbar;
To : in Natural);
function Get_Position
(This : in Scrollbar)
return Natural;
procedure Set_Position
(This : in out Scrollbar;
To : in Natural);
procedure Set_All
(This : in out Scrollbar;
Position : in Natural;
Win_Size : in Natural;
First_Line : in Natural;
Total_Lines : in Natural);
procedure Draw
(This : in out Scrollbar);
function Handle
(This : in out Scrollbar;
Event : in Event_Kind)
return Event_Outcome;
private
type Scrollbar is new Slider with null record;
overriding procedure Finalize
(This : in out Scrollbar);
pragma Inline (Get_Line_Size);
pragma Inline (Set_Line_Size);
pragma Inline (Get_Position);
pragma Inline (Set_Position);
pragma Inline (Set_All);
pragma Inline (Draw);
pragma Inline (Handle);
end FLTK.Widgets.Valuators.Sliders.Scrollbars;
|
------------------------------------------------------------------------------
-- Copyright (c) 2014, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose with or without fee is hereby granted, provided that the above --
-- copyright notice and this permission notice appear in all copies. --
-- --
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --
-- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF --
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR --
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES --
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN --
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF --
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --
------------------------------------------------------------------------------
------------------------------------------------------------------------------
-- Natools.S_Expressions.Atom_Buffers implements an unbounded Atom designed --
-- to be used as an input buffer, accumulating data and extracting it as a --
-- single Atom object. --
-- It also provides an individual Octet accessor, used in parser internal --
-- recursive buffer. --
------------------------------------------------------------------------------
with Natools.S_Expressions.Atom_Refs;
package Natools.S_Expressions.Atom_Buffers is
pragma Preelaborate (Atom_Buffers);
type Atom_Buffer is new Ada.Streams.Root_Stream_Type with private;
pragma Preelaborable_Initialization (Atom_Buffer);
overriding procedure Write
(Buffer : in out Atom_Buffer;
Item : in Ada.Streams.Stream_Element_Array);
overriding procedure Read
(Buffer : in out Atom_Buffer;
Item : out Ada.Streams.Stream_Element_Array;
Last : out Ada.Streams.Stream_Element_Offset);
procedure Preallocate (Buffer : in out Atom_Buffer; Length : in Count);
-- Preallocate enough memory to append Length octets without
-- any further allocation.
procedure Append (Buffer : in out Atom_Buffer; Data : in Atom);
procedure Append (Buffer : in out Atom_Buffer; Data : in Octet);
-- Append Data after the end of Buffer
procedure Append_Reverse (Buffer : in out Atom_Buffer; Data : in Atom);
-- Append bytes from Atom from last to first
procedure Invert (Buffer : in out Atom_Buffer);
-- Invert the order of bytes (first becomes last, etc)
function Length (Buffer : Atom_Buffer) return Count;
function Capacity (Buffer : Atom_Buffer) return Count;
function Data (Buffer : Atom_Buffer) return Atom;
procedure Query
(Buffer : in Atom_Buffer;
Process : not null access procedure (Data : in Atom));
procedure Peek
(Buffer : in Atom_Buffer;
Data : out Atom;
Length : out Count);
function Element (Buffer : Atom_Buffer; Position : Count) return Octet;
-- Accessors to the whole buffer as an Atom
procedure Pop (Buffer : in out Atom_Buffer; Data : out Octet);
-- Remove last octet from Buffer and store it in Data
function Raw_Query (Buffer : Atom_Buffer) return Atom_Refs.Accessor;
-- Accessor to the whole allocated memory
procedure Hard_Reset (Buffer : in out Atom_Buffer);
-- Clear buffer and release internal memory
procedure Soft_Reset (Buffer : in out Atom_Buffer);
-- Clear buffer keeping internal memory
private
type Atom_Buffer is new Ada.Streams.Root_Stream_Type with record
Ref : Atom_Refs.Reference;
Available, Used : Count := 0;
end record;
end Natools.S_Expressions.Atom_Buffers;
|
-- CZ1103A.ADA
--
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
-- this public release, the Government intends to confer upon all
-- recipients unlimited rights equal to those held by the Government.
-- These rights include rights to use, duplicate, release or disclose the
-- released technical data and computer software in whole or in part, in
-- any manner and for any purpose whatsoever, and to have or permit others
-- to do so.
--
-- DISCLAIMER
--
-- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
-- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
-- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
-- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
-- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
-- PARTICULAR PURPOSE OF SAID MATERIAL.
--*
--
-- OBJECTIVE:
-- CHECK THAT THE PROCEDURE CHECK_FILE WORKS CORRECTLY, IN
-- PARTICULAR, THAT IT WILL REPORT INCORRECT FILE CONTENTS
-- AS TEST FAILURES.
-- THIS TEST INTENTIONALLY CONTAINS MISMATCHES BETWEEN FILE
-- CONTENTS AND THE 'CONTENTS' STRING PARAMETER OF PROCEDURE
-- CHECK_FILE.
-- PASS/FAIL CRITERIA:
-- IF AN IMPLEMENTATION SUPPORTS EXTERNAL FILES, IT PASSES THIS TEST
-- IF TEST EXECUTION REPORTS THE FOLLOWING FOUR FAILURES, REPORTS AN
-- INTERMEDIATE "FAILED" RESULT, REPORTS A FINAL "TENTATIVELY PASSED"
-- RESULT, AND REPORTS NO OTHER FAILURES.
-- * CZ1103A FROM CHECK_FILE: END OF LINE EXPECTED - E
-- ENCOUNTERED.
-- * CZ1103A FROM CHECK_FILE: END_OF_PAGE NOT WHERE EXPECTED.
-- * CZ1103A FROM CHECK_FILE: END_OF_FILE NOT WHERE EXPECTED.
-- * CZ1103A FROM CHECK_FILE: FILE DOES NOT CONTAIN CORRECT
-- OUTPUT - EXPECTED C - GOT I.
--
-- IF AN IMPLEMENTATION DOES NOT SUPPORT EXTERNAL FILES, IT PASSES THIS
-- TEST IF TEST EXECUTION REPORTS NINE FAILURES FOR INCOMPLETE SUBTESTS
-- SIMILAR TO THE SAMPLE BELOW, REPORTS AN INTERMEDIATE "FAILED" RESULT,
-- REPORTS A FINAL "TENTATIVELY PASSED" RESULT, AND REPORTS NO OTHER
-- FAILURES.
-- * CZ1103A TEST WITH EMPTY FILE INCOMPLETE.
-- HISTORY:
-- SPS 12/09/82 CREATED ORIGINAL TEST.
-- JRK 11/18/85 ADDED COMMENTS ABOUT PASS/FAIL CRITERIA.
-- JET 01/13/88 UPDATED HEADER FORMAT, ADDED FINAL CALL TO
-- SPECIAL_ACTION.
-- PWB 06/24/88 CORRECTED PASS/FAIL CRITERIA TO INDICATE THE
-- EXPECTED RESULT (TENTATIVELY PASSED).
-- RLB 03/20/00 CORRECTED PASS/FAIL CRITERIA TO REFLECT PROPER RESULT
-- FOR AN IMPLEMENTATION THAT DOES NOT SUPPORT EXTERNAL FILES.
WITH REPORT; USE REPORT;
WITH TEXT_IO; USE TEXT_IO;
WITH CHECK_FILE;
PROCEDURE CZ1103A IS
NULL_FILE : FILE_TYPE;
FILE_WITH_BLANK_LINES : FILE_TYPE;
FILE_WITH_BLANK_PAGES : FILE_TYPE;
FILE_WITH_TRAILING_BLANKS : FILE_TYPE;
FILE_WITHOUT_TRAILING_BLANKS : FILE_TYPE;
FILE_WITH_END_OF_LINE_ERROR : FILE_TYPE;
FILE_WITH_END_OF_PAGE_ERROR : FILE_TYPE;
FILE_WITH_END_OF_FILE_ERROR : FILE_TYPE;
FILE_WITH_DATA_ERROR : FILE_TYPE;
BEGIN
TEST ("CZ1103A", "CHECK THAT PROCEDURE CHECK_FILE WORKS");
-- THIS SECTION TESTS CHECK_FILE WITH AN EMPTY FILE.
BEGIN
COMMENT ("BEGIN TEST WITH AN EMPTY FILE");
CREATE (NULL_FILE, OUT_FILE);
CHECK_FILE (NULL_FILE, "#@%");
CLOSE (NULL_FILE);
EXCEPTION
WHEN OTHERS =>
FAILED ("TEST WITH EMPTY FILE INCOMPLETE");
END;
-- THIS SECTION TESTS CHECK_FILE WITH A FILE WITH BLANK LINES.
BEGIN
COMMENT ("BEGIN TEST WITH A FILE WITH BLANK LINES");
CREATE (FILE_WITH_BLANK_LINES, OUT_FILE);
NEW_LINE (FILE_WITH_BLANK_LINES, 20);
CHECK_FILE (FILE_WITH_BLANK_LINES, "####################@%");
CLOSE (FILE_WITH_BLANK_LINES);
EXCEPTION
WHEN OTHERS =>
FAILED ("TEST WITH FILE WITH BLANK LINES INCOMPLETE");
END;
-- THIS SECTION TESTS CHECK_FILE WITH A FILE WITH BLANK LINES AND PAGES.
BEGIN
COMMENT ("BEGIN TEST WITH A FILE WITH BLANK LINES " &
"AND PAGES");
CREATE (FILE_WITH_BLANK_PAGES, OUT_FILE);
NEW_LINE (FILE_WITH_BLANK_PAGES, 3);
NEW_PAGE (FILE_WITH_BLANK_PAGES);
NEW_LINE (FILE_WITH_BLANK_PAGES, 2);
NEW_PAGE (FILE_WITH_BLANK_PAGES);
NEW_PAGE (FILE_WITH_BLANK_PAGES);
CHECK_FILE (FILE_WITH_BLANK_PAGES, "###@##@#@%");
CLOSE (FILE_WITH_BLANK_PAGES);
EXCEPTION
WHEN OTHERS =>
FAILED ("TEST WITH FILE WITH BLANK PAGES INCOMPLETE");
END;
-- THIS SECTION TESTS CHECK_FILE WITH A FILE WITH TRAILING BLANKS.
BEGIN
COMMENT ("BEGIN TEST WITH A FILE WITH TRAILING BLANKS");
CREATE (FILE_WITH_TRAILING_BLANKS, OUT_FILE);
FOR I IN 1 .. 3 LOOP
PUT_LINE (FILE_WITH_TRAILING_BLANKS,
"LINE WITH TRAILING BLANKS ");
END LOOP;
CHECK_FILE(FILE_WITH_TRAILING_BLANKS, "LINE WITH TRAILING" &
" BLANKS#LINE WITH TRAILING BLANKS#LINE" &
" WITH TRAILING BLANKS#@%");
CLOSE (FILE_WITH_TRAILING_BLANKS);
EXCEPTION
WHEN OTHERS =>
FAILED ("TEST WITH FILE WITH TRAILING BLANKS " &
"INCOMPLETE");
END;
-- THIS SECTION TESTS CHECK_FILE WITH A FILE WITHOUT TRAILING BLANKS.
BEGIN
COMMENT ("BEGIN TEST WITH A FILE WITHOUT TRAILING BLANKS");
CREATE (FILE_WITHOUT_TRAILING_BLANKS, OUT_FILE);
FOR I IN 1 .. 3 LOOP
PUT_LINE (FILE_WITHOUT_TRAILING_BLANKS,
"LINE WITHOUT TRAILING BLANKS");
END LOOP;
CHECK_FILE(FILE_WITHOUT_TRAILING_BLANKS, "LINE WITHOUT " &
"TRAILING BLANKS#LINE WITHOUT TRAILING BLANKS#" &
"LINE WITHOUT TRAILING BLANKS#@%");
CLOSE (FILE_WITHOUT_TRAILING_BLANKS);
EXCEPTION
WHEN OTHERS =>
FAILED ("TEST WITH FILE WITHOUT TRAILING BLANKS " &
"INCOMPLETE");
END;
-- THIS SECTION TESTS CHECK_FILE WITH A FILE WITH AN END OF LINE ERROR.
BEGIN
COMMENT ("BEGIN TEST WITH A FILE WITH AN END OF LINE ERROR");
CREATE (FILE_WITH_END_OF_LINE_ERROR, OUT_FILE);
PUT_LINE (FILE_WITH_END_OF_LINE_ERROR, "THIS LINE WILL " &
"CONTAIN AN END OF LINE IN THE WRONG PLACE");
CHECK_FILE (FILE_WITH_END_OF_LINE_ERROR, "THIS LINE WILL " &
"CONTAIN AN # IN THE WRONG PLACE#@%");
CLOSE (FILE_WITH_END_OF_LINE_ERROR);
EXCEPTION
WHEN OTHERS =>
FAILED ("TEST WITH END_OF_LINE ERROR INCOMPLETE");
END;
-- THIS SECTION TESTS CHECK_FILE WITH A FILE WITH AN END OF PAGE ERROR.
BEGIN
COMMENT ("BEGIN TEST WITH FILE WITH END OF PAGE ERROR");
CREATE (FILE_WITH_END_OF_PAGE_ERROR, OUT_FILE);
PUT_LINE (FILE_WITH_END_OF_PAGE_ERROR, "THIS LINE WILL " &
"CONTAIN AN END OF PAGE IN THE WRONG PLACE");
CHECK_FILE (FILE_WITH_END_OF_PAGE_ERROR, "THIS LINE WILL " &
"CONTAIN AN @ IN THE WRONG PLACE#@%");
CLOSE (FILE_WITH_END_OF_PAGE_ERROR);
EXCEPTION
WHEN OTHERS =>
FAILED ("TEST WITH END_OF_PAGE ERROR INCOMPLETE");
END;
-- THIS SECTION TESTS CHECK_FILE WITH A FILE WITH AN END OF FILE ERROR.
BEGIN
COMMENT ("BEGIN TEST WITH FILE WITH END OF FILE ERROR");
CREATE (FILE_WITH_END_OF_FILE_ERROR, OUT_FILE);
PUT_LINE (FILE_WITH_END_OF_FILE_ERROR, "THIS LINE WILL " &
"CONTAIN AN END OF FILE IN THE WRONG PLACE");
CHECK_FILE (FILE_WITH_END_OF_FILE_ERROR, "THIS LINE WILL " &
"CONTAIN AN % IN THE WRONG PLACE#@%");
CLOSE (FILE_WITH_END_OF_FILE_ERROR);
EXCEPTION
WHEN OTHERS =>
FAILED ("TEST WITH END_OF_FILE ERROR INCOMPLETE");
END;
-- THIS SECTION TESTS CHECK_FILE WITH A FILE WITH INCORRECT DATA.
BEGIN
COMMENT ("BEGIN TEST WITH FILE WITH INCORRECT DATA");
CREATE (FILE_WITH_DATA_ERROR, OUT_FILE);
PUT_LINE (FILE_WITH_DATA_ERROR, "LINE WITH INCORRECT " &
"DATA");
CHECK_FILE (FILE_WITH_DATA_ERROR, "LINE WITH CORRECT " &
"DATA#@%");
CLOSE (FILE_WITH_DATA_ERROR);
EXCEPTION
WHEN OTHERS =>
FAILED ("TEST WITH INCORRECT DATA INCOMPLETE");
END;
RESULT;
TEST ("CZ1103A", "THE LINE ABOVE SHOULD REPORT FAILURE");
SPECIAL_ACTION ("COMPARE THIS OUTPUT TO THE EXPECTED RESULT");
RESULT;
END CZ1103A;
|
--------------------------------------------------------------------------
-- ASnip Source Code Decorator
-- Copyright (C) 2006, Georg Bauhaus
--
-- 1. Permission is hereby granted to use, copy, modify and/or distribute
-- this package, provided that:
-- * copyright notices are retained unchanged,
-- * any distribution of this package, whether modified or not,
-- includes this license text.
-- 2. Permission is hereby also granted to distribute binary programs which
-- depend on this package. If the binary program depends on a modified
-- version of this package, you are encouraged to publicly release the
-- modified version of this package.
--
-- THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT WARRANTY. ANY EXPRESS OR
-- IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-- DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE TO ANY PARTY FOR
-- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-- DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THIS PACKAGE.
--------------------------------------------------------------------------
-- eMail: bauhaus@arcor.de
with binary_search;
with Ada.Text_IO;
with Ada.Calendar;
procedure test_binsearch is
use Ada;
--subtype IDX is INTEGER range 10 .. 15;
--type CHARVEC is array(IDX range <>) of CHARACTER;
subtype IDX is INTEGER range 32 .. 1024;
type CHARVEC is array(IDX range <>) of WIDE_CHARACTER;
values: CHARVEC(IDX);
function has is new binary_search
(ELEMENT => WIDE_CHARACTER,
INDEX => IDX,
SORTED_LIST => CHARVEC);
t1, t2: Calendar.TIME;
use type Calendar.TIME;
begin
-- initialize values
for k in values'range loop
values(k) := WIDE_CHARACTER'val(k);
end loop;
-- make duplicate entries
values(WIDE_CHARACTER'pos('a') - 1) := 'a';
values(WIDE_CHARACTER'pos('f') + 1) := 'f';
t1 := Calendar.clock;
for k in 1 .. 1_500_000 loop
if has(values, WIDE_CHARACTER'val(10)) then
raise Program_Error;
end if;
if not (has(values, 'a')
and has(values, 'b')
and has(values, 'c')
and has(values, 'd')
and has(values, 'e')
and has(values, 'f')) then
raise Program_Error;
end if;
end loop;
t2 := Calendar.clock;
--Text_IO.put_line("about" & NATURAL'image(NATURAL(t2 - t1)) & " seconds");
Text_IO.put_line("about" & DURATION'image(t2 - t1) & " seconds");
end test_binsearch;
|
--
-- Copyright (C) 2019, AdaCore
--
-- This spec has been automatically generated from FE310.svd
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package Interfaces.FE310.PLIC is
pragma Preelaborate;
pragma No_Elaboration_Code_All;
---------------
-- Registers --
---------------
subtype PRIORITY_PRIORITY_Field is Interfaces.FE310.UInt3;
-- PLIC Interrupt Priority Register.
type PRIORITY_Register is record
PRIORITY : PRIORITY_PRIORITY_Field := 16#0#;
-- unspecified
Reserved_3_31 : Interfaces.FE310.UInt29 := 16#0#;
end record
with Volatile, Size => 32,
Bit_Order => System.Low_Order_First;
for PRIORITY_Register use record
PRIORITY at 0 range 0 .. 2;
Reserved_3_31 at 0 range 3 .. 31;
end record;
-- PLIC Interrupt Priority Register.
type PRIORITY_Registers is array (0 .. 51) of PRIORITY_Register;
-- PENDING_INT array
type PENDING_INT_Field_Array is array (0 .. 31) of Boolean
with Component_Size => 1, Size => 32;
-- PLIC Interrupt Pending Register.
type PENDING_Register
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- INT as a value
Val : Interfaces.FE310.UInt32;
when True =>
-- INT as an array
Arr : PENDING_INT_Field_Array;
end case;
end record
with Unchecked_Union, Size => 32, Volatile,
Bit_Order => System.Low_Order_First;
for PENDING_Register use record
Val at 0 range 0 .. 31;
Arr at 0 range 0 .. 31;
end record;
-- PLIC Interrupt Pending Register.
type PENDING_Registers is array (0 .. 1) of PENDING_Register;
---------------------------------------
-- TARGET_ENABLE cluster's Registers --
---------------------------------------
-- ENABLE_TARGET_ENABLE_INT array
type ENABLE_TARGET_ENABLE_INT_Field_Array is array (0 .. 31) of Boolean
with Component_Size => 1, Size => 32;
-- PLIC Interrupt Enable Register.
type ENABLE_TARGET_ENABLE_Register
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- INT as a value
Val : Interfaces.FE310.UInt32;
when True =>
-- INT as an array
Arr : ENABLE_TARGET_ENABLE_INT_Field_Array;
end case;
end record
with Unchecked_Union, Size => 32, Volatile,
Bit_Order => System.Low_Order_First;
for ENABLE_TARGET_ENABLE_Register use record
Val at 0 range 0 .. 31;
Arr at 0 range 0 .. 31;
end record;
-- PLIC Interrupt Enable Register.
type ENABLE_TARGET_ENABLE_Registers is array (0 .. 1)
of ENABLE_TARGET_ENABLE_Register;
type TARGET_ENABLE_Cluster is record
-- PLIC Interrupt Enable Register.
ENABLE : aliased ENABLE_TARGET_ENABLE_Registers;
end record
with Size => 64;
for TARGET_ENABLE_Cluster use record
ENABLE at 0 range 0 .. 63;
end record;
--------------------------------
-- TARGET cluster's Registers --
--------------------------------
subtype THRESHOLD_TARGET_THRESHOLD_Field is Interfaces.FE310.UInt3;
-- PLIC Interrupt Priority Threshold Register.
type THRESHOLD_TARGET_Register is record
THRESHOLD : THRESHOLD_TARGET_THRESHOLD_Field := 16#0#;
-- unspecified
Reserved_3_31 : Interfaces.FE310.UInt29 := 16#0#;
end record
with Volatile, Size => 32,
Bit_Order => System.Low_Order_First;
for THRESHOLD_TARGET_Register use record
THRESHOLD at 0 range 0 .. 2;
Reserved_3_31 at 0 range 3 .. 31;
end record;
type TARGET_Disc is
(Laim,
Omplete);
type TARGET_Cluster
(Discriminent : TARGET_Disc := Laim)
is record
-- PLIC Interrupt Priority Threshold Register.
THRESHOLD : aliased THRESHOLD_TARGET_Register;
case Discriminent is
when Laim =>
-- PLIC Claim Register.
CLAIM : aliased Interfaces.FE310.UInt32;
when Omplete =>
-- PLIC Complete Register.
COMPLETE : aliased Interfaces.FE310.UInt32;
end case;
end record
with Unchecked_Union, Size => 64;
for TARGET_Cluster use record
THRESHOLD at 16#0# range 0 .. 31;
CLAIM at 16#4# range 0 .. 31;
COMPLETE at 16#4# range 0 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Platform-Level Interrupt Controller.
type PLIC_Peripheral is record
-- PLIC Interrupt Priority Register.
PRIORITY : aliased PRIORITY_Registers;
-- PLIC Interrupt Pending Register.
PENDING : aliased PENDING_Registers;
TARGET_ENABLE : aliased TARGET_ENABLE_Cluster;
TARGET : aliased TARGET_Cluster;
end record
with Volatile;
for PLIC_Peripheral use record
PRIORITY at 16#0# range 0 .. 1663;
PENDING at 16#1000# range 0 .. 63;
TARGET_ENABLE at 16#2080# range 0 .. 63;
TARGET at 16#201000# range 0 .. 63;
end record;
-- Platform-Level Interrupt Controller.
PLIC_Periph : aliased PLIC_Peripheral
with Import, Address => PLIC_Base;
end Interfaces.FE310.PLIC;
|
WITH TileADT, Text_IO;
PACKAGE BODY Input_Line IS
--
-- IMPLEMENTATION of Input_Line ADT
--
-- Maintenance Note
-- To add or modify commands, you'll need to change:
-- Case statement in Get_Command
-- enumerated type Command in specification
-- Legal_Commands constant in specification
TYPE Move is RECORD -- an abstraction for a MOVE
Col1: TileADT.Col;
Row1: TileADT.Row;
Col2: TileADT.Col;
Row2: TileADT.Row;
END RECORD;
The_Line : STRING (1..80); -- The user's input stored here by Get
Line_Length : NATURAL; -- Number of characters read
FUNCTION Char_to_Int (Letter: CHARACTER) RETURN INTEGER IS
-- Purpose: Local function to convert a digit to an integer
-- Assumes: Letter is in range '0' to '9'
-- Returns: Integer equivalent of digit.
BEGIN
RETURN CHARACTER'POS(Letter) - CHARACTER'POS('0');
END Char_to_Int;
FUNCTION Convert_to_Move RETURN Move IS
-- Purpose: Local function to convert the user input into a move.
-- Assumes: IsMove is true.
-- Returns: a move.
BEGIN
RETURN ( The_Line(1),
Char_to_Int(The_Line(2)),
The_Line(3),
Char_to_Int(The_Line(4)) );
END Convert_to_Move;
-------------------------------------------------------------------------------
PROCEDURE Get IS
-- Purpose: A line of user's input (terminated by Enter) is read from keyboard.
-- Assumes: At least one character must be typed.
-- Exception: Constraint Error is raised if length > 80.
BEGIN
Text_IO.Get_Line ( The_Line, Line_Length);
END Get;
FUNCTION IsCommand RETURN BOOLEAN IS
-- Purpose: Determine if the user's input was a legal command.
-- Assumes: Get has been completed.
-- Returns: TRUE if only a single character was entered and it's a legal command
-- (More than one character will be assumed to be a move, not a command.)
BEGIN
RETURN Line_Length = 1;
END IsCommand;
FUNCTION IsMove RETURN BOOLEAN IS
-- Purpose: Determine if the user's input was a move (2 board locations).
-- E.g., D3H8
-- Assumes: Get has been completed.
-- Returns: TRUE if user input is syntactically correct for a move.
-- Returns FALSE if
-- a) columns are not valid COL type
-- b) rows are not valid ROW type
-- c) length of user input /= 4
BEGIN
RETURN Line_Length = 4;
END IsMove;
FUNCTION Get_Command RETURN Command IS
-- Purpose: Converts the user input into a value of command type.
-- Assumes: Get has been completed, and Is_Command is TRUE.
-- Returns: the command type value corresponding to user's input.
-- This implementation assumes the letters in Legal_Commands are in same order
-- as corresponding values in Commands enumerated type.
BEGIN
IF The_Line(1) = 'Q' THEN
RETURN Quit;
ELSE
RETURN Load;
END IF;
END Get_Command;
FUNCTION Validate_Move RETURN BOOLEAN IS
-- Purpose: Determine if the users_input is really a valid move. I.e., the
-- tiles are matching and removable.
-- Assumes: Get has been completed, and Is_Move is true.
-- Return: TRUE if it is a valid move.
-- Otherwise, display error and return FALSE.
-- USED BY: Take_Turn
-- Note: Valid move means
-- 1) both locations really contain a tile
-- 2) both tiles can match and can be removed
-- 3) the tiles are in two different locations (they aren't
-- the same tile).
BEGIN
RETURN TRUE;
END Validate_Move;
-------------------------------------------------------------------------------
PROCEDURE Make_Move IS
-- Purpose: Process the player's move, remove the tiles from the board.
-- Take the two matching tiles off the board and update the screen
-- Assumes: Validate_Move is TRUE.
-- Returns: nothing. The Board and screen are updated.
-- USED BY: Take_Turn
-- PSEUDOCODE:
-- Reset hints.
-- Remove the matching tiles from the board.
-- display the updated board.
-- Decrement tiles remaining.
-- add tiles to move history.
-- If no tiles left, display win message.
BEGIN
null;
END Make_Move;
--------------------------------------------------------------------------------
PROCEDURE Undo_Move IS
-- PURPOSE: Restore a pair of tiles to the board that were just removed.
-- Pop a move off the stack and return those two tiles to the board.
-- Update the display and # tiles remaining.
-- Assumes: nothing.
-- Returns: nothing. The most recent move is "undone" and the board
-- and screen restored to their previous state.
-- Note: Undo can be invoked multiple times, backing up until the
-- board is in it's original state.
--
-- USED BY: Dispatch_Command
--
BEGIN
null;
END Undo_Move;
END Input_Line;
|
-- Standard Ada library specification
-- Copyright (c) 2003-2018 Maxim Reznik <reznikmm@gmail.com>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
-- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaReferenceManual
---------------------------------------------------------------------------
package Interfaces is
pragma Pure(Interfaces);
type Integer_8 is range -2**(8-1) .. 2**(8-1) - 1;
type Unsigned_8 is mod 2**8;
function Shift_Left (Value : Unsigned_8; Amount : Natural)
return Unsigned_8;
function Shift_Right (Value : Unsigned_8; Amount : Natural)
return Unsigned_8;
function Shift_Right_Arithmetic (Value : Unsigned_8; Amount : Natural)
return Unsigned_8;
function Rotate_Left (Value : Unsigned_8; Amount : Natural)
return Unsigned_8;
function Rotate_Right (Value : Unsigned_8; Amount : Natural)
return Unsigned_8;
type Integer_16 is range -2**(16-1) .. 2**(16-1) - 1;
type Unsigned_16 is mod 2**16;
function Shift_Left (Value : Unsigned_16; Amount : Natural)
return Unsigned_16;
function Shift_Right (Value : Unsigned_16; Amount : Natural)
return Unsigned_16;
function Shift_Right_Arithmetic (Value : Unsigned_16; Amount : Natural)
return Unsigned_16;
function Rotate_Left (Value : Unsigned_16; Amount : Natural)
return Unsigned_16;
function Rotate_Right (Value : Unsigned_16; Amount : Natural)
return Unsigned_16;
type Integer_32 is range -2**(32-1) .. 2**(32-1) - 1;
type Unsigned_32 is mod 2**32;
function Shift_Left (Value : Unsigned_32; Amount : Natural)
return Unsigned_32;
function Shift_Right (Value : Unsigned_32; Amount : Natural)
return Unsigned_32;
function Shift_Right_Arithmetic (Value : Unsigned_32; Amount : Natural)
return Unsigned_32;
function Rotate_Left (Value : Unsigned_32; Amount : Natural)
return Unsigned_32;
function Rotate_Right (Value : Unsigned_32; Amount : Natural)
return Unsigned_32;
type Integer_64 is range -2**(64-1) .. 2**(64-1) - 1;
type Unsigned_64 is mod 2**64;
function Shift_Left (Value : Unsigned_64; Amount : Natural)
return Unsigned_64;
function Shift_Right (Value : Unsigned_64; Amount : Natural)
return Unsigned_64;
function Shift_Right_Arithmetic (Value : Unsigned_64; Amount : Natural)
return Unsigned_64;
function Rotate_Left (Value : Unsigned_64; Amount : Natural)
return Unsigned_64;
function Rotate_Right (Value : Unsigned_64; Amount : Natural)
return Unsigned_64;
end Interfaces;
|
with Ada.Text_IO; use Ada.Text_io;
with Console; use Console;
procedure Demo is
begin
Put_Line("Text attributes :");
New_Line;
Put_Line(" Normal");
Put(" ");
Set_Bold;
Put_Line("bold");
Reset;
Put(" ");
Set_Italic;
Put_Line("italic");
Reset;
Put(" ");
Set_Underline;
Put_Line("underline");
Reset;
Put(" ");
Set_Blink;
Put_Line("blink");
Reset;
Put(" ");
Set_Reverse;
Put_Line("reverse");
Reset;
Put(" ");
Set_Strike;
Put_Line("strike");
Reset;
New_Line;
Put_Line("Foreground colors :");
New_Line;
for C in Color'Range loop
Set_Foreground(C);
Put(" ");
Put_Line(Color'Image(C));
Reset;
end loop;
New_Line;
Put_Line("Background colors :");
New_Line;
for C in Color'Range loop
Put(" ");
Set_Background(C);
Put(Color'Image(C));
Reset;
New_Line;
end loop;
New_Line;
end Demo;
|
------------------------------------------------------------------------------
-- --
-- JSON Parser/Constructor --
-- --
-- ------------------------------------------------------------------------ --
-- --
-- Copyright (C) 2021, ANNEXI-STRAYLINE Trans-Human Ltd. --
-- All rights reserved. --
-- --
-- Original Contributors: --
-- * Richard Wai (ANNEXI-STRAYLINE) --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in --
-- the documentation and/or other materials provided with the --
-- distribution. --
-- --
-- * Neither the name of the copyright holder nor the names of its --
-- contributors may be used to endorse or promote products derived --
-- from this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A --
-- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT --
-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, --
-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY --
-- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT --
-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE --
-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
with Interfaces;
with Ada.Strings.Wide_Wide_Fixed;
with AURA.JSON;
with Modular_Hashing.xxHash32;
with Modular_Hashing.xxHash64;
separate (JSON.Unbounded_Codecs)
package body Node_Hash_Maps is
--
-- Structural Components
--
package Config renames AURA.JSON.Configuration;
use all type Config.Hash_Algorithm;
type Hash_Container (Kind: Config.Hash_Algorithm) is
record
case Kind is
when xxHash32 => XXH32: Modular_Hashing.xxHash32.XXH32_Hash;
when xxHash64 => XXH64: Modular_Hashing.xxHash64.XXH64_Hash;
end case;
end record;
type Hash_Engine_Container (Kind: Config.Hash_Algorithm) is
record
case Kind is
when xxHash32 =>
XXH32: aliased Modular_Hashing.xxHash32.XXH32_Engine;
when xxHash64 =>
XXH64: aliased Modular_Hashing.xxHash64.XXH64_Engine;
end case;
end record;
type Match_Slot (Hash_Kind: Config.Hash_Algorithm) is
record
Target : Node := null;
Collision: Boolean := False;
-- True if a full collision occured with the hash of this slot. This
-- indicates to the look-up function that it needs to check the
-- full name of the Target if it finds a matching hash
Hash: Hash_Container (Config.Unbounded_Codec_Hash_Algo);
end record;
type Match_Set is array (Match_Level) of
Match_Slot (Config.Unbounded_Codec_Hash_Algo);
subtype Match_Table_Index is Interfaces.Unsigned_8;
type Match_Table is array (Match_Table_Index) of Match_Set;
type Node_Hash_Table is
record
Table : Match_Table;
Registrations: Natural := 0;
-- This is the total number of Nodes that have been successfully
-- registered on this table. This value is queried in order to
-- detect when a Table is full. See Max_Registrations below.
Next : Node_Hash_Table_Access := null;
end record;
Max_Registrations: constant := Match_Table_Index'Modulus * Match_Level'Last;
--
-- Indexing Strategies
--
-- For each Table in the map's Table_Chain, one of two straties is used to
-- index into the table depending on the Match Level. The strategies are
-- alternated for each further table in the chain, beginning with the
-- Primary Plan
package Indexing_Strategies is
type Indexing_Plan is array (Match_Level) of Match_Table_Index;
function Compute_Primary_Plan (Hash: Hash_Container)
return Indexing_Plan;
function Compute_Secondary_Plan (Hash: Hash_Container)
return Indexing_Plan;
end Indexing_Strategies;
package body Indexing_Strategies is separate;
-- Convenience Subprograms --
generic
type Identifier is private;
procedure Generic_Hash_And_Plan
(ID : in Identifier;
Hash : out Hash_Container;
Primary_Plan : out Indexing_Strategies.Indexing_Plan;
Secondary_Plan: out Indexing_Strategies.Indexing_Plan);
procedure Generic_Hash_And_Plan
(ID : in Identifier;
Hash : out Hash_Container;
Primary_Plan : out Indexing_Strategies.Indexing_Plan;
Secondary_Plan: out Indexing_Strategies.Indexing_Plan)
is
Algo: Config.Hash_Algorithm renames Config.Unbounded_Codec_Hash_Algo;
Engine: Hash_Engine_Container (Algo);
begin
-- Compute the Hash
case Algo is
when xxHash32 =>
Identifier'Write (Engine.XXH32'Access, ID);
Hash.XXH32 := Modular_Hashing.xxHash32.XXH32_Hash
(Engine.XXH32.Digest);
when xxHash64 =>
Identifier'Write (Engine.XXH64'Access, ID);
Hash.XXH64 := Modular_Hashing.xxHash64.XXH64_Hash
(Engine.XXH64.Digest);
end case;
-- Compute the plans
Primary_Plan := Indexing_Strategies.Compute_Primary_Plan (Hash);
Secondary_Plan := Indexing_Strategies.Compute_Secondary_Plan (Hash);
end Generic_Hash_And_Plan;
--
-- Implementation
--
-----------------------
-- Compute_Full_Path --
-----------------------
-- Computes the full javascript-style path to Node To_Node, for use in the
-- Codec's Path_Map. Path is Cleared first
procedure Compute_Full_Path
(To_Node: in not null Node;
Path : in out Slab_Strings.Slab_String)
is
use Slab_Strings;
-- Since Codecs are not task-safe, we have a special Slab_String buffer
-- in the codec that we can use for purposes such as this
function Array_Index_Path_Component (Index: Natural)
return JSON_String_Value
is
function Trim (Source: in Wide_Wide_String;
Side : in Ada.Strings.Trim_End := Ada.Strings.Left)
return Wide_Wide_String
renames Ada.Strings.Wide_Wide_Fixed.Trim;
begin
return '[' & Trim (Natural'Wide_Wide_Image (Index)) & ']';
end;
procedure Recursive_Add_Parent (Child: not null Node);
procedure Recursive_Add_Parent (Child: not null Node) is
begin
if Child.Parent /= null then
Recursive_Add_Parent (Child.Parent);
else
-- This is literally the root, which is nameless and thus is the
-- end of the recursion. Now was we pop back, we'll append each
-- name in order
return;
end if;
case JSON_Structure_Kind (Child.Parent.Kind) is
when JSON_Object =>
if Child.Parent.Parent /= null then
Append (Path, ".");
-- Don't do this for any of the first children of root
end if;
Append (Path, To_JSON_String (Child.Name));
when JSON_Array =>
Append (Path, Array_Index_Path_Component (Child.Index));
end case;
end;
begin
Clear (Path);
Recursive_Add_Parent (To_Node);
end Compute_Full_Path;
-----------
-- Setup --
-----------
procedure Setup (Map : in out Node_Hash_Map;
Subpool: in not null Subpool_Handle)
is begin
Map.Subpool := Subpool;
Map.Expected_ID := new (Subpool) Slab_Strings.Slab_String;
Map.Candidate_ID := new (Subpool) Slab_Strings.Slab_String;
Slab_Strings.Setup (Target => Map.Expected_ID.all,
Subpool => Subpool);
Slab_Strings.Setup (Target => Map.Candidate_ID.all,
Subpool => Subpool);
end;
------------------
-- Registration --
------------------
generic
type Identifier is private;
with function Same_Identity (Candidate: not null Node;
Test : Identifier)
return Boolean;
-- Shall return True if Expected is truly the Identifier for the
-- Candidate Node. This is called if a full collision occurs, and if
-- True is returned, a double-registration has occured, and
-- Constriant_Error is raised
procedure Generic_Register (Map : in out Node_Hash_Map;
Registrant: in not null Node;
Node_ID : in Identifier);
procedure Generic_Register (Map : in out Node_Hash_Map;
Registrant: in not null Node;
Node_ID : in Identifier)
is
use Indexing_Strategies;
procedure Hash_And_Plan is new Generic_Hash_And_Plan (Identifier);
Algo : Config.Hash_Algorithm renames Config.Unbounded_Codec_Hash_Algo;
Hash : Hash_Container (Algo);
Active_Table : Node_Hash_Table_Access;
Table_Sequence: Positive;
type Selected_Plan is access all Indexing_Plan;
Primary_Plan, Secondary_Plan: aliased Indexing_Plan;
Active_Plan: Selected_Plan;
function Try_Register return Boolean with Inline is
-- Attempt to register the Node with the current Active_Table and
-- Active_Plan. Return True if successful
begin
for Level in Match_Level loop
declare
Candidate: Match_Slot
renames Active_Table.Table(Active_Plan.all(Level))(Level);
begin
if Candidate.Target = null then
-- Found a spot!
Candidate.Target := Registrant;
Candidate.Hash := Hash;
Active_Table.Registrations := Active_Table.Registrations + 1;
if Table_Sequence = 1 then
Map.Profile.Primary_Registrations(Level)
:= Map.Profile.Primary_Registrations(Level) + 1;
else
Map.Profile.Overflow_Registrations(Level)
:= Map.Profile.Overflow_Registrations(Level) + 1;
end if;
return True;
end if;
-- If we're still going, the spot is occupied
-- Check for a collision, and mark if we find it, mark it
-- as such. Also check if there is a full collision here, then
-- check the Identity of the existing Node to ensure that it is
-- not the same
if Candidate.Hash = Hash then
if Same_Identity (Candidate => Candidate.Target,
Test => Node_ID)
then
raise Constraint_Error with
"Double registration of node identifier.";
elsif Candidate.Collision then
-- So the actual Identifier does not match the existing
-- registrant, but the hash is exactly the same
-- (a collision!) so we make note of that fact, so that
-- any subsequent lookup knows that it needs to actually
-- check the identity, not just the hash, and may need
-- to continue looking
Candidate.Collision := True;
Map.Profile.Full_Collisions
:= Map.Profile.Full_Collisions + 1;
end if;
end if;
-- If we get here, there was no room for the node, so we
-- continue-on with the next tactic
end;
end loop;
return False;
end Try_Register;
begin
Hash_And_Plan (Node_ID, Hash, Primary_Plan, Secondary_Plan);
-- Allocate the map's first table if needed
if Map.Table_Chain = null then
Map.Table_Chain := new (Map.Subpool) Node_Hash_Table;
Map.First_Unsaturated := Map.Table_Chain;
Map.Unsaturated_Sequence := 1;
end if;
-- Find the best place to start - i.e. the first table known not
-- to be saturated
Active_Table := Map.First_Unsaturated;
Table_Sequence := Map.Unsaturated_Sequence;
-- Now first check if Active_Table is "still" unsaturated. The last
-- registration to make it saturated doesn't actually advance this, since
-- doing it this way alleviates us of having to check this on every
-- iteration of the main loop
--
-- Note that it is possible that the last registration "closed" a gap
-- of saturated tables, thus we put a loop here to catch that when it
-- happens
while Active_Table.Registrations = Max_Registrations loop
if Active_Table.Next = null then
Active_Table.Next := new (Map.Subpool) Node_Hash_Table;
Map.Profile.Total_Tables := Map.Profile.Total_Tables + 1;
end if;
Active_Table := Active_Table.Next;
Table_Sequence := Table_Sequence + 1;
Map.First_Unsaturated := Active_Table;
Map.Unsaturated_Sequence := Table_Sequence;
end loop;
-- Log the performance
Map.Profile.Saturation_High_Water := Map.Unsaturated_Sequence - 1;
-- Go hunting for an empty spot to park Registrant.
loop
Active_Plan := (if Table_Sequence mod 2 = 0 then
Secondary_Plan'Access
else
Primary_Plan'Access);
-- For odd table sequences, use the Primary_Plan, for even sequences,
-- use the Secondary_Plan
exit when Try_Register;
-- No room in this table, move onto the next one, or allocate a new
-- table
if Active_Table.Next = null then
Active_Table.Next := new (Map.Subpool) Node_Hash_Table;
Map.Profile.Total_Tables := Map.Profile.Total_Tables + 1;
end if;
Table_Sequence := Table_Sequence + 1;
Active_Table := Active_Table.Next;
end loop;
end Generic_Register;
----------------------------------------------------------------------
procedure Register (Path_Map : in out Node_Hash_Map;
Registrant: in not null Node)
is
use type Slab_Strings.Slab_String;
function Same_Path (Candidate: not null Node;
Test : Slab_Strings.Slab_String)
return Boolean
is begin
Compute_Full_Path (To_Node => Candidate,
Path => Path_Map.Candidate_ID.all);
return Path_Map.Candidate_ID.all = Test;
end;
function Same_Name (Candidate: not null Node;
Test : Slab_Strings.Slab_String)
return Boolean
is begin
return Candidate.Name = Test;
end;
function Same_Index (Candidate: not null Node;
Test : Natural)
return Boolean
is begin
return Candidate.Index = Test;
end;
procedure Register_Path is new Generic_Register
(Identifier => Slab_Strings.Slab_String,
Same_Identity => Same_Path);
procedure Register_Name is new Generic_Register
(Identifier => Slab_Strings.Slab_String,
Same_Identity => Same_Name);
procedure Register_Index is new Generic_Register
(Identifier => Natural,
Same_Identity => Same_Index);
begin
Compute_Full_Path (To_Node => Registrant,
Path => Path_Map.Expected_ID.all);
Register_Path (Map => Path_Map,
Registrant => Registrant,
Node_ID => Path_Map.Expected_ID.all);
-- Note that Parent is never null during a Regisration since the
-- only node without a Parent is Root, which is never Registered
case JSON_Structure_Kind (Registrant.Parent.Kind) is
when JSON_Object =>
Register_Name (Map => Registrant.Parent.Container.Name_Map,
Registrant => Registrant,
Node_ID => Registrant.Name);
when JSON_Array =>
Register_Index (Map => Registrant.Parent.Container.Index_Map,
Registrant => Registrant,
Node_ID => Registrant.Index);
end case;
end Register;
--------------------
-- Generic_Lookup --
--------------------
generic
type Identifier is private;
with function Same_Identity (Candidate: not null Node;
Test : Identifier)
return Boolean;
function Generic_Lookup (Map: Node_Hash_Map; ID: Identifier)
return Node;
function Generic_Lookup (Map: Node_Hash_Map; ID: Identifier)
return Node
is
use Indexing_Strategies;
procedure Hash_And_Plan is new Generic_Hash_And_Plan (Identifier);
Algo : Config.Hash_Algorithm renames Config.Unbounded_Codec_Hash_Algo;
Hash : Hash_Container (Algo);
Active_Table: Node_Hash_Table_Access := Map.Table_Chain;
type Selected_Plan is access all Indexing_Plan;
Primary_Plan, Secondary_Plan: aliased Indexing_Plan;
Use_Primary: Boolean := True;
Active_Plan: Selected_Plan;
begin
Hash_And_Plan (ID, Hash, Primary_Plan, Secondary_Plan);
-- Go hunting for a match
while Active_Table /= null loop
Active_Plan := (if Use_Primary then Primary_Plan'Access
else Secondary_Plan'Access);
for Level in Match_Level loop
declare
Candidate: Match_Slot
renames Active_Table.Table(Active_Plan.all(Level))(Level);
begin
if Candidate.Target /= null
and then Candidate.Hash = Hash
then
-- Possible match
if Same_Identity (Candidate.Target, ID) then
-- Bingo
return Candidate.Target;
elsif not Candidate.Collision then
-- Now this is where we get to save some time. So the hash
-- is a perfect match, but the actual identifer is not a
-- match. If there is no collosion registered for this
-- slot, we are safe to assume that the identifier has not
-- be registered at all
return null;
end if;
end if;
end;
end loop;
-- Alternate the plan
Use_Primary := not Use_Primary;
Active_Table := Active_Table.Next;
end loop;
return null;
end Generic_Lookup;
------------
-- Lookup --
------------
function Lookup_By_Path (Path_Map: Node_Hash_Map;
Path : JSON_String_Value)
return Node
is
use Slab_Strings;
function Same_Path (Candidate: not null Node;
Test : Slab_String)
return Boolean
is begin
Compute_Full_Path (To_Node => Candidate,
Path => Path_Map.Candidate_ID.all);
return Path_Map.Candidate_ID.all = Test;
end;
function Lookup_Actual is new Generic_Lookup
(Identifier => Slab_String,
Same_Identity => Same_Path);
begin
Clear (Path_Map.Expected_ID.all);
Append (Path_Map.Expected_ID.all, Path);
return Lookup_Actual (Map => Path_Map, ID => Path_Map.Expected_ID.all);
end Lookup_By_Path;
----------------------------------------------------------------------
function Lookup_By_Name (Name_Map : Node_Hash_Map; Name: JSON_String_Value)
return Node
is
use Slab_Strings;
function Same_Name (Candidate: not null Node;
Test : Slab_String)
return Boolean
is begin
return Candidate.Name = Test;
end;
function Lookup_Actual is new Generic_Lookup
(Identifier => Slab_String,
Same_Identity => Same_Name);
begin
Clear (Name_Map.Expected_ID.all);
Append (Name_Map.Expected_ID.all, Name);
return Lookup_Actual (Map => Name_Map, ID => Name_Map.Expected_ID.all);
end Lookup_By_Name;
----------------------------------------------------------------------
function Lookup_By_Index (Index_Map: Node_Hash_Map; Index: Natural)
return Node
is
function Same_Index (Candidate: not null Node;
Test : Natural)
return Boolean
is (Candidate.Index = Test);
function Lookup_Actual is new Generic_Lookup
(Identifier => Natural, Same_Identity => Same_Index);
begin
return Lookup_Actual (Map => Index_Map, ID => Index);
end Lookup_by_Index;
-----------------
-- Performance --
-----------------
function Performance (Map: Node_Hash_Map) return Performance_Counters is
(Map.Profile);
end Node_Hash_Maps;
|
--------------------------------------------------------------------------------
-- package body Cholesky_LU, Cholesky decomposition
-- Copyright (C) 1995-2018 Jonathan S. Parker
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
---------------------------------------------------------------------------------
with Ada.Numerics.Generic_Elementary_Functions;
package body Cholesky_LU is
package Math is new Ada.Numerics.Generic_Elementary_Functions(Real);-- for Sqrt
use Math;
--------------
-- Product --
--------------
-- Matrix Vector multiplication
function Product
(A : in Matrix;
X : in Col_Vector;
Final_Index : in Index := Index'Last;
Starting_Index : in Index := Index'First)
return Col_Vector
is
Result : Col_Vector := (others => Zero);
Sum : Real;
begin
for i in Starting_Index .. Final_Index loop
Sum := Zero;
for j in Starting_Index .. Final_Index loop
Sum := Sum + A(i, j) * X(j);
end loop;
Result(I) := Sum;
end loop;
return Result;
end Product;
---------
-- "-" --
---------
function "-"(A, B : in Col_Vector) return Col_Vector is
Result : Col_Vector;
begin
for J in Index loop
Result(J) := A(J) - B(J);
end loop;
return Result;
end "-";
------------------
-- LU_Decompose --
------------------
procedure LU_Decompose
(A : in out Matrix;
Diag_Inverse : out Col_Vector;
Final_Index : in Index := Index'Last;
Starting_Index : in Index := Index'First)
is
Final_Stage : Index;
Sum, Pivot_Info, Scale_Factor : Real;
begin
for I in Starting_Index .. Final_Index loop
if A(I, I) <= Zero then
raise Constraint_Error with "Matrix doesn't seem to be positive definite.";
end if;
end loop;
-- Positive definite matrices are never zero or negative on the
-- diagonal. The above catches some common input errors, if you want.
-- 1 X 1 matrix:
if Final_Index = Starting_Index then
A(Final_Index, Final_Index) := Sqrt (A(Final_Index, Final_Index));
Diag_Inverse(Final_Index) := One / A(Final_Index, Final_Index);
return;
end if;
-- Perform decomp in stages Starting_Index..Final_Index.
-- The last stage, Final_Index, is a special case.
-- At each stage calculate row "stage" of the Upper matrix
-- U and Col "Stage" of the Lower matrix L.
for Stage in Starting_Index .. Final_Index-1 loop
Sum := Zero;
if Stage > Starting_Index then
for Col in Starting_Index .. Stage-1 loop
--Sum := Sum + L(Stage, Col) * U(Col, Stage);-- use U = transpose(L)
Sum := Sum + A(Stage, Col) * A(Stage, Col);
end loop;
end if;
Pivot_Info := A(Stage, Stage) - Sum;
if Pivot_Info < Min_Allowed_Real then
raise Constraint_Error with "Matrix doesn't seem to be positive definite.";
end if;
A(Stage, Stage) := Sqrt (Pivot_Info);
Scale_Factor := One / A(Stage, Stage);
Diag_Inverse(Stage) := Scale_Factor;
if Stage > Starting_Index then
for Row in Stage+1..Final_Index loop
Sum := Zero;
for Col in Starting_Index .. Stage-1 loop
--Sum := Sum + L(Stage, Col) * U(Col, Row); -- use U = transpose(L)
Sum := Sum + A(Stage, Col) * A(Row, Col);
end loop;
A(Row, Stage) := Scale_Factor * (A(Row, Stage) - Sum);
end loop;
else
for Row in Stage+1..Final_Index loop
A(Row, Stage) := Scale_Factor * A(Row, Stage);
end loop;
end if;
end loop; -- Stage
-- Step 3: Get final row and column.
Final_Stage := Final_Index;
Sum := Zero;
for K in Starting_Index..Final_Stage-1 loop
Sum := Sum + A(Final_Stage, K) * A(Final_Stage, K);
end loop;
Pivot_Info := A(Final_Stage, Final_Stage) - Sum;
if Pivot_Info < Min_Allowed_Real then
raise Constraint_Error with "Matrix doesn't seem to be positive definite.";
end if;
A(Final_Stage, Final_Stage) := Sqrt (Pivot_Info);
Diag_Inverse(Final_Stage) := One / A(Final_Stage, Final_Stage);
-- Step 4: Have L, now fill in the Upper triangular
-- matrix with transpose(L). Recall A_LU = L*U = L*transpose(L).
-- Read from the Lower triangle. Row > Col for the Lower Tri:
for Row in Starting_Index+1 .. Final_Index loop
for Col in Starting_Index..Row-1 loop
A(Col, Row) := A(Row, Col);
end loop;
end loop;
end LU_Decompose;
-----------
-- Solve --
-----------
-- Solve for X in the equation A*X = b. Below you enter the LU
-- decomposition of A, not A itself. A_Lu and Diag_Inverse are
-- the objects returned by LU_decompose.
procedure Solve
(X : out Col_Vector;
B : in Col_Vector;
A_LU : in Matrix;
Diag_Inverse : in Col_Vector;
Final_Index : in Index := Index'Last;
Starting_Index : in Index := Index'First)
is
Z : Col_Vector;
First_Non_Zero_B : Index := Starting_Index;
Sum : Real;
begin
for Row in Index loop
X(Row) := Zero;
end loop;
--for I in Starting_Index..Final_Index loop
-- if Abs (B(I)) > 0.0 then
-- First_Non_Zero_B := I;
-- exit;
-- end if;
--end loop;
--
-- In solving for Z in the equation L Z = B, the Z's are
-- zero up to the 1st non-zero element of B.
--
--if First_Non_Zero_B > Starting_Index then
-- for I in Index range Starting_Index..First_Non_Zero_B-1 loop
-- Z(I) := 0.0;
-- end loop;
--end if;
First_Non_Zero_B := Starting_Index;
-- The matrix equation is in the form L * tr(L) * X2 = B.
-- First assume tr(L) * X2 is Z, and
-- solve for Z in the equation L Z = B.
Z(First_Non_Zero_B) := B(First_Non_Zero_B) * Diag_Inverse(First_Non_Zero_B);
if First_Non_Zero_B < Final_Index then
for Row in First_Non_Zero_B+1..Final_Index loop
Sum := Zero;
for Col in Index range Starting_Index..Row-1 loop
Sum := Sum + A_LU(Row, Col) * Z(Col);
end loop;
Z(Row) := (B(Row) - Sum) * Diag_Inverse(Row);
end loop;
end if;
-- Solve for X2 in the equation tr(L) * X2 = U * X2 = Z.
X(Final_Index) := Z(Final_Index) * Diag_Inverse(Final_Index);
if Final_Index > Starting_Index then
for Row in reverse Starting_Index .. Final_Index-1 loop
Sum := Zero;
for Col in Index range Row+1..Final_Index loop
Sum := Sum + A_LU(Row, Col) * X(Col);
end loop;
X(Row) := (Z(Row) - Sum) * Diag_Inverse(Row);
end loop;
end if;
end Solve;
end Cholesky_LU;
|
-- { dg-do compile }
package Alignment1 is
S : Natural := 20;
pragma Volatile (S);
type Block is array (1 .. S) of Integer;
for Block'Alignment use 128;
B : Block;
end;
|
with Numerics, Ada.Text_IO;
use Numerics, Ada.Text_IO;
procedure Landscape is
use Real_IO, Int_IO, Real_Functions;
α : Real := 1.0e3;
function Phi (R : in Real) return Real is
begin
return 0.5 * (1.0 + Tanh (50.0 * (R - 0.5)));
end Phi;
function PE (Q : in Real_Vector) return Real is
PE_G, PE_M : Real;
T : Real renames Q (1);
S : Real renames Q (2);
R : constant Real := 2.0 * abs (Cos (0.5 * (T + S)));
Cs : constant Real := Cos (S);
Ct : constant Real := Cos (T);
C2tps : constant Real := Cos (2.0 * T + S);
Ctp2s : constant Real := Cos (T + 2.0 * S);
Vo, Vi, Tmp, Ro : Real;
begin
Ro := 0.9;
if R < Ro then return -250.0; end if;
Tmp := 1.0 / R;
PE_G := Ct + 2.0 * C2tps;
Vi := 0.01 * Exp (-12.0 * (R - Ro)) / (R - Ro) ** 2;
Vo := (Tmp ** 3) * Cos (2.0 * (T + S))
- 3.0 * (Tmp ** 5) * ((Ct + C2tps) * (Cs + Ctp2s));
PE_M := Cos (2.0 * T) - 3.0 * Ct ** 2
+ Cos (2.0 * S) - 3.0 * Cs ** 2
+ Vo * Phi (R) + Vi * (1.0 - Phi (R));
return ((α / 6.0) * PE_M + PE_G);
end PE;
R : constant Real := π * 0.7028;
function PE2 (Q : in Real_Vector) return Real is
PE_G, PE_M : Real;
T : Real renames Q (1);
S : Real renames Q (2);
R : constant Real := 2.0 * abs (Cos (0.5 * (T + S)));
Cs : constant Real := Cos (S);
Ct : constant Real := Cos (T);
C2tps : constant Real := Cos (2.0 * T + S);
Ctp2s : constant Real := Cos (T + 2.0 * S);
Vo : Real;
begin
PE_G := Ct + 2.0 * C2tps;
Vo := (Cos (2.0 * (T + S)) * R ** 2 - 3.0 * ((Ct + C2tps) * (Cs + Ctp2s)))
/ R ** 5;
PE_M := Cos (2.0 * T) - 3.0 * Ct ** 2 + Cos (2.0 * S) - 3.0 * Cs ** 2 + Vo;
return ((α / 6.0) * PE_M + PE_G);
end PE2;
function PE3 (Q : in Real_Vector) return Real is
PE_G, PE_M : Real := 0.0;
T : Real renames Q (1);
S : Real renames Q (2);
Cs : constant Real := Cos (S);
Ct : constant Real := Cos (T);
C2tps : constant Real := Cos (2.0 * T + S);
Ctp2s : constant Real := Cos (T + 2.0 * S);
X, N : array (1 .. 3) of Real_Vector (1 .. 2);
DX : Real_Vector (1 .. 2);
Vo, R, Tmp : Real;
begin
N (1) := (0.0, 1.0);
N (2) := (-Sin (2.0 * T), Cos (2.0 * T));
N (3) := (-Sin (2.0 * (T + S)), Cos (2.0 * (T + S)));
X (1) := (0.0, 0.0);
X (2) := (-Sin (T), Cos (T));
X (3) := (-Sin (T) - Sin (2.0 * T + S),
Cos (T) + Cos (2.0 * T + S));
R := 2.0 * abs (Cos (0.5 * (T + S)));
Vo := Cos (2.0 * (T + S)) / R ** 3
- 3.0 * ((Ct + C2tps) * (Cs + Ctp2s)) / R ** 5;
pragma Assert (abs (Norm (X (1) - X (2)) - 1.0) < 1.0e-15);
pragma Assert (abs (Norm (X (3) - X (2)) - 1.0) < 1.0e-15);
pragma Assert (abs (Norm (X (3) - X (1)) - R) < 1.0e-15);
for I in 1 .. 3 loop
for J in I + 1 .. 3 loop
DX := X (I) - X (J);
R := Sqrt (Dot (DX, DX));
Tmp := Dot (N (I), N (J)) * R ** 2
- 3.0 * Dot (N (I), DX) * Dot (N (J), DX);
if I = 1 and J = 2 then
pragma Assert (abs (Tmp - (Cos (2.0 * T) - 3.0 * Ct ** 2))
< 1.0e-15);
end if;
if I = 2 and J = 3 then
pragma Assert (abs (Tmp - (Cos (2.0 * S) - 3.0 * Cs ** 2))
< 1.0e-15);
end if;
if I = 1 and J = 3 then
pragma Assert (abs (Tmp / R ** 5 - Vo) < 1.0e-15);
end if;
PE_M := PE_M + Tmp / R ** 5;
end loop;
end loop;
PE_G := Ct + 2.0 * C2tps;
return ((α / 6.0) * PE_M + PE_G);
end PE3;
function Coordinate_Transform (X : in Real_Vector) return Real_Vector is
Y : Real_Vector (1 .. 2);
begin
Y (1) := 0.5 * (3.0 * X (1) + X (2));
Y (2) := 0.5 * (-3.0 * X (1) + X (2));
return Y;
end Coordinate_Transform;
N : constant Nat := 500;
Dx : constant Real := 2.0 / Real (N);
X, Y : Real_Vector (1 .. 2);
Num : Pos;
S : constant Real := 180.0 / π;
Tmp : Real;
File : File_Type;
begin
Create (File, Name => "landscape.vtk");
-- headers
Put_Line (File, "# vtk DataFile Version 2.0");
Put_Line (File, "landscape");
Put_Line (File, "ASCII");
New_Line (File);
-- grid points (the corners)
Num := (N + 1) * (N + 1);
Put_Line (File, "DATASET UNSTRUCTURED_GRID");
Put (File, "POINTS "); Put (File, Num, 0); Put_Line (File, " float");
for I in 1 .. N + 1 loop
X (1) := -1.0 + Real (I - 1) * Dx;
for J in 1 .. N + 1 loop
X (2) := -1.0 + Real (J - 1) * Dx;
Y := R * Coordinate_Transform (X);
Put (File, S * Y (1)); Put (File, " ");
Put (File, S * Y (2));
Y := R * Coordinate_Transform (X);
Tmp := PE (Y);
Put (File, " "); Put (File, Tmp); New_Line (File);
-- Put_Line (File, " 0.0");
end loop;
end loop;
New_Line (File);
-- identify cells
Num := N * N; -- number of cells
Put (File, "CELLS "); Put (File, Num, Width => 0); Put (File, " ");
Num := 5 * Num; -- number of points total used to identify cells
Put (File, Num, Width => 0); Put (File, " ");
New_Line (File);
for I in 1 .. N loop
for J in 1 .. N loop
Put (File, "4 ");
Num := (I - 1) * (N + 1) + J - 1; -- bottom-left corner
Put (File, Num, Width => 0); Put (File, " ");
Num := Num + 1; -- bottom-right corner
Put (File, Num, Width => 0); Put (File, " ");
Num := I * (N + 1) + J; -- top-right corner
Put (File, Num, Width => 0); Put (File, " ");
Num := Num - 1; -- top-left corner
Put (File, Num, Width => 0); New_Line (File);
end loop;
end loop;
New_Line (File);
--- identify cell types
Num := N * N; -- number of cells
Put (File, "CELL_TYPES "); Put (File, Num, Width => 0); New_Line (File);
for I in 1 .. Num loop Put_Line (File, "9"); end loop; -- 9 <--> quad
New_Line (File);
Num := N * N;
Put (File, "CELL_DATA "); Put (File, Num, Width => 0); New_Line (File);
Put_Line (File, "SCALARS PE float 1");
Put_Line (File, "LOOKUP_TABLE default");
for I in 1 .. N loop
X (1) := -1.0 + (Real (I) - 0.5) * Dx;
for J in 1 .. N loop
X (2) := -1.0 + (Real (J) - 0.5) * Dx;
Y := R * Coordinate_Transform (X);
-- Tmp := abs ((PE (Y) - PE2 (Y))); -- / PE2 (Y));
-- if 2.0 * abs (Cos (0.5 * (Y (1) + Y (2)))) < 1.0 then
-- Put (File, -1.0e-6); New_Line (File);
-- else
-- Put (File, Tmp); New_Line (File);
-- end if;
Put (File, PE (Y)); New_Line (File);
end loop;
end loop;
New_Line (File);
-- Num := N * N;
-- Put (File, "CELL_DATA "); Put (File, Num, Width => 0); New_Line (File);
-- Put_Line (File, "SCALARS distance float 1");
-- Put_Line (File, "LOOKUP_TABLE default");
-- for I in 1 .. N loop
-- X (1) := -1.0 + (Real (I) - 0.5) * Dx;
-- for J in 1 .. N loop
-- X (2) := -1.0 + (Real (J) - 0.5) * Dx;
-- Y := R * Coordinate_Transform (X);
-- Tmp := 2.0 * abs (Cos (0.5 * (Y (1) + Y (2))));
-- Put (File, Tmp); New_Line (File);
-- end loop;
-- end loop;
Close (File);
end Landscape;
|
with Ada.Text_IO;
with Ada.Numerics.Generic_Real_Arrays;
procedure Gaussian_Eliminations is
type Real is new Float;
package Real_Arrays is
new Ada.Numerics.Generic_Real_Arrays (Real);
use Real_Arrays;
function Gaussian_Elimination (A : in Real_Matrix;
B : in Real_Vector) return Real_Vector
is
procedure Swap_Row (A : in out Real_Matrix;
B : in out Real_Vector;
R_1, R_2 : in Integer)
is
Temp : Real;
begin
if R_1 = R_2 then return; end if;
-- Swal matrix row
for Col in A'Range (1) loop
Temp := A (R_1, Col);
A (R_1, Col) := A (R_2, Col);
A (R_2, Col) := Temp;
end loop;
-- Swap vector row
Temp := B (R_1);
B (R_1) := B (R_2);
B (R_2) := Temp;
end Swap_Row;
AC : Real_Matrix := A;
BC : Real_Vector := B;
X : Real_Vector (A'Range (1)) := BC;
Max, Tmp : Real;
Max_Row : Integer;
begin
if
A'Length (1) /= A'Length (2) or
A'Length (1) /= B'Length
then
raise Constraint_Error with "Dimensions do not match";
end if;
if
A'First (1) /= A'First (2) or
A'First (1) /= B'First
then
raise Constraint_Error with "First index must be same";
end if;
for Dia in Ac'Range (1) loop
Max_Row := Dia;
Max := Ac (Dia, Dia);
for Row in Dia + 1 .. Ac'Last (1) loop
Tmp := abs (Ac (Row, Dia));
if Tmp > Max then
Max_Row := Row;
Max := Tmp;
end if;
end loop;
Swap_Row (Ac, Bc, Dia, Max_Row);
for Row in Dia + 1 .. Ac'Last (1) loop
Tmp := Ac (Row, Dia) / Ac (Dia, Dia);
for Col in Dia + 1 .. Ac'Last (1) loop
Ac (Row, Col) := Ac (Row, Col) - Tmp * Ac (Dia, Col);
end loop;
Ac (Row, Dia) := 0.0;
Bc (Row) := Bc (Row) - Tmp * Bc (Dia);
end loop;
end loop;
for Row in reverse Ac'Range (1) loop
Tmp := Bc (Row);
for J in reverse Row + 1 .. Ac'Last (1) loop
Tmp := Tmp - X (J) * Ac (Row, J);
end loop;
X (Row) := Tmp / Ac (Row, Row);
end loop;
return X;
end Gaussian_Elimination;
procedure Put (V : in Real_Vector) is
use Ada.Text_IO;
package Real_IO is
new Ada.Text_IO.Float_IO (Real);
begin
Put ("[ ");
for E of V loop
Real_IO.Put (E, Exp => 0, Aft => 6);
Put (" ");
end loop;
Put (" ]");
New_Line;
end Put;
A : constant Real_Matrix :=
((1.00, 0.00, 0.00, 0.00, 0.00, 0.00),
(1.00, 0.63, 0.39, 0.25, 0.16, 0.10),
(1.00, 1.26, 1.58, 1.98, 2.49, 3.13),
(1.00, 1.88, 3.55, 6.70, 12.62, 23.80),
(1.00, 2.51, 6.32, 15.88, 39.90, 100.28),
(1.00, 3.14, 9.87, 31.01, 97.41, 306.02));
B : constant Real_Vector :=
( -0.01, 0.61, 0.91, 0.99, 0.60, 0.02 );
X : constant Real_Vector := Gaussian_Elimination (A, B);
begin
Put (X);
end Gaussian_Eliminations;
|
-- BSD 3-Clause License
--
-- Copyright (c) 2017, Maxim Reznik
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice,
-- this list of conditions and the following disclaimer.
--
-- * Redistributions in binary form must reproduce the above copyright notice,
-- this list of conditions and the following disclaimer in the documentation
-- and/or other materials provided with the distribution.
--
-- * Neither the name of the copyright holder nor the names of its
-- contributors may be used to endorse or promote products derived from
-- this software without specific prior written permission.
--
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
-- THE POSSIBILITY OF SUCH DAMAGE.
with Ada.Characters.Wide_Wide_Latin_1;
with League.Calendars.ISO_8601;
with XML.SAX.Attributes;
with XML.SAX.Content_Handlers;
with XML.SAX.Entity_Resolvers;
with XML.SAX.Input_Sources.Strings;
with XML.SAX.Simple_Readers;
-- with League.Text_Codecs;
-- with Ada.Wide_Wide_Text_IO;
with CvsWeb.Html2Xml;
package body CvsWeb.Loaders is
function "+" (Text : Wide_Wide_String)
return League.Strings.Universal_String
renames League.Strings.To_Universal_String;
---------
-- "<" --
---------
function "<" (Left, Right : File_Change) return Boolean is
function "<"
(Left, Right : League.Strings.Universal_String) return Boolean;
---------
-- "<" --
---------
function "<"
(Left, Right : League.Strings.Universal_String) return Boolean
is
Left_Value : constant Positive :=
Positive'Wide_Wide_Value (Left.To_Wide_Wide_String);
Right_Value : constant Positive :=
Positive'Wide_Wide_Value (Right.To_Wide_Wide_String);
begin
return Left_Value < Right_Value;
end "<";
Left_Rev : constant League.String_Vectors.Universal_String_Vector :=
Left.Rev.Split ('.');
Right_Rev : constant League.String_Vectors.Universal_String_Vector :=
Right.Rev.Split ('.');
begin
for J in 1 .. Positive'Min (Left_Rev.Length, Right_Rev.Length) loop
if Left_Rev (J) < Right_Rev (J) then
return True;
elsif Right_Rev (J) < Left_Rev (J) then
return False;
end if;
end loop;
return Left_Rev.Length < Right_Rev.Length;
end "<";
package Constants is
subtype Text is League.Strings.Universal_String;
A : constant Text := +"a";
Div : constant Text := +"div";
Dir_GIF : constant Text := +"/icons/dir.gif";
HR : constant Text := +"hr";
HRef : constant Text := +"href";
I : constant Text := +"i";
Img : constant Text := +"img";
CR : constant Text := +(1 => Ada.Characters.Wide_Wide_Latin_1.CR);
LF : constant Text := +(1 => Ada.Characters.Wide_Wide_Latin_1.LF);
Src : constant Text := +"src";
Text_GIF : constant Text := +"/icons/text.gif";
end Constants;
package Parse_Directory is
type Content_Handler (Loader : access Loaders.Loader) is limited
new XML.SAX.Content_Handlers.SAX_Content_Handler
and XML.SAX.Entity_Resolvers.SAX_Entity_Resolver
with record
Prefix : League.Strings.Universal_String;
Dirs : League.String_Vectors.Universal_String_Vector;
Files : League.String_Vectors.Universal_String_Vector;
Is_Dir : Boolean := False;
Is_File : Boolean := False;
end record;
overriding procedure Start_Element
(Self : in out Content_Handler;
Namespace_URI : League.Strings.Universal_String;
Local_Name : League.Strings.Universal_String;
Qualified_Name : League.Strings.Universal_String;
Attributes : XML.SAX.Attributes.SAX_Attributes;
Success : in out Boolean);
overriding function Error_String
(Self : Content_Handler)
return League.Strings.Universal_String is
(League.Strings.Empty_Universal_String);
overriding procedure Resolve_Entity
(Self : in out Content_Handler;
Name : League.Strings.Universal_String;
Public_Id : League.Strings.Universal_String;
Base_URI : League.Strings.Universal_String;
System_Id : League.Strings.Universal_String;
Source : out XML.SAX.Input_Sources.SAX_Input_Source_Access;
Success : in out Boolean);
end Parse_Directory;
package Parse_Commit_List is
type State_Kinds is
(Start_State, Rev_State, Date_State, Before_Comment_State,
Comment_State, Done_State);
type Content_Handler
(Loader : access Loaders.Loader;
Set : not null access File_Changes.Set) is limited
new XML.SAX.Content_Handlers.SAX_Content_Handler
and XML.SAX.Entity_Resolvers.SAX_Entity_Resolver
with record
Prefix : League.Strings.Universal_String;
Text : League.Strings.Universal_String;
Change : File_Change;
State : State_Kinds := Start_State;
end record;
overriding procedure Characters
(Self : in out Content_Handler;
Text : League.Strings.Universal_String;
Success : in out Boolean);
overriding procedure End_Element
(Self : in out Content_Handler;
Namespace_URI : League.Strings.Universal_String;
Local_Name : League.Strings.Universal_String;
Qualified_Name : League.Strings.Universal_String;
Success : in out Boolean);
overriding procedure Start_Element
(Self : in out Content_Handler;
Namespace_URI : League.Strings.Universal_String;
Local_Name : League.Strings.Universal_String;
Qualified_Name : League.Strings.Universal_String;
Attributes : XML.SAX.Attributes.SAX_Attributes;
Success : in out Boolean);
overriding function Error_String
(Self : Content_Handler)
return League.Strings.Universal_String is
(League.Strings.Empty_Universal_String);
overriding procedure Resolve_Entity
(Self : in out Content_Handler;
Name : League.Strings.Universal_String;
Public_Id : League.Strings.Universal_String;
Base_URI : League.Strings.Universal_String;
System_Id : League.Strings.Universal_String;
Source : out XML.SAX.Input_Sources.SAX_Input_Source_Access;
Success : in out Boolean);
end Parse_Commit_List;
package body Parse_Directory is
--------------------
-- Resolve_Entity --
--------------------
overriding procedure Resolve_Entity
(Self : in out Content_Handler;
Name : League.Strings.Universal_String;
Public_Id : League.Strings.Universal_String;
Base_URI : League.Strings.Universal_String;
System_Id : League.Strings.Universal_String;
Source : out XML.SAX.Input_Sources.SAX_Input_Source_Access;
Success : in out Boolean)
is
pragma Unreferenced (Self);
pragma Unreferenced (Name, Public_Id, Base_URI, System_Id, Source);
begin
Success := True;
Source := new XML.SAX.Input_Sources.Strings.String_Input_Source;
end Resolve_Entity;
-------------------
-- Start_Element --
-------------------
overriding procedure Start_Element
(Self : in out Content_Handler;
Namespace_URI : League.Strings.Universal_String;
Local_Name : League.Strings.Universal_String;
Qualified_Name : League.Strings.Universal_String;
Attributes : XML.SAX.Attributes.SAX_Attributes;
Success : in out Boolean)
is
pragma Unreferenced (Success, Qualified_Name);
use type League.Strings.Universal_String;
Src : League.Strings.Universal_String;
HRef : League.Strings.Universal_String;
begin
if Local_Name = Constants.Img then
Src := Attributes.Value (Namespace_URI, Constants.Src);
if Src = Constants.Text_GIF then
Self.Is_File := True;
elsif Src = Constants.Dir_GIF then
Self.Is_Dir := True;
else
Self.Is_File := False;
Self.Is_Dir := False;
end if;
elsif Local_Name = Constants.A then
HRef := Attributes.Value (Namespace_URI, Constants.HRef);
HRef := HRef.Tail_From (Self.Prefix.Length + 1);
if Self.Is_Dir then
-- HRef.Slice (1, HRef.Length - 1);
Self.Dirs.Append (HRef);
Self.Is_Dir := False;
elsif Self.Is_File then
Self.Files.Append (HRef);
Self.Is_File := False;
end if;
end if;
end Start_Element;
end Parse_Directory;
package body Parse_Commit_List is
----------------
-- Characters --
----------------
overriding procedure Characters
(Self : in out Content_Handler;
Text : League.Strings.Universal_String;
Success : in out Boolean)
is
pragma Unreferenced (Success);
begin
if Self.State in Date_State | Comment_State then
Self.Text.Append (Text);
end if;
end Characters;
-----------------
-- End_Element --
-----------------
overriding procedure End_Element
(Self : in out Content_Handler;
Namespace_URI : League.Strings.Universal_String;
Local_Name : League.Strings.Universal_String;
Qualified_Name : League.Strings.Universal_String;
Success : in out Boolean)
is
pragma Unreferenced (Namespace_URI, Qualified_Name, Success);
use type League.Strings.Universal_String;
begin
if Local_Name = Constants.I and Self.State = Date_State then
declare
use League.Calendars.ISO_8601;
Part : constant League.String_Vectors.Universal_String_Vector :=
Self.Text.Split (' ');
Date : constant League.String_Vectors.Universal_String_Vector :=
Part (1).Split ('/');
Time : constant League.String_Vectors.Universal_String_Vector :=
Part (2).Split (':');
begin
Self.Change.Date := League.Calendars.ISO_8601.Create
(Year => Year_Number'Wide_Wide_Value
(Date (1).To_Wide_Wide_String),
Month => Month_Number'Wide_Wide_Value
(Date (2).To_Wide_Wide_String),
Day => Day_Number'Wide_Wide_Value
(Date (3).To_Wide_Wide_String),
Hour => Hour_Number'Wide_Wide_Value
(Time (1).To_Wide_Wide_String),
Minute => Minute_Number'Wide_Wide_Value
(Time (2).To_Wide_Wide_String),
Second => Second_Number'Wide_Wide_Value
(Time (3).To_Wide_Wide_String),
Nanosecond_100 => 0);
Self.State := Before_Comment_State;
end;
elsif Local_Name = Constants.Div and Self.State = Comment_State then
while Self.Text.Starts_With (Constants.LF) or
Self.Text.Starts_With (Constants.CR)
loop
Self.Text.Slice (2, Self.Text.Length);
end loop;
while Self.Text.Ends_With (Constants.LF) or
Self.Text.Ends_With (Constants.CR)
loop
Self.Text.Slice (1, Self.Text.Length - 1);
end loop;
Self.Change.Comment := Self.Text;
Self.State := Done_State;
end if;
end End_Element;
--------------------
-- Resolve_Entity --
--------------------
overriding procedure Resolve_Entity
(Self : in out Content_Handler;
Name : League.Strings.Universal_String;
Public_Id : League.Strings.Universal_String;
Base_URI : League.Strings.Universal_String;
System_Id : League.Strings.Universal_String;
Source : out XML.SAX.Input_Sources.SAX_Input_Source_Access;
Success : in out Boolean)
is
pragma Unreferenced (Self);
pragma Unreferenced (Name, Public_Id, Base_URI, System_Id, Source);
begin
Success := True;
Source := new XML.SAX.Input_Sources.Strings.String_Input_Source;
end Resolve_Entity;
-------------------
-- Start_Element --
-------------------
overriding procedure Start_Element
(Self : in out Content_Handler;
Namespace_URI : League.Strings.Universal_String;
Local_Name : League.Strings.Universal_String;
Qualified_Name : League.Strings.Universal_String;
Attributes : XML.SAX.Attributes.SAX_Attributes;
Success : in out Boolean)
is
pragma Unreferenced (Success, Qualified_Name);
use type League.Strings.Universal_String;
HRef : League.Strings.Universal_String;
begin
if Local_Name = Constants.HR then
if Self.State = Done_State then
if Self.Change.Rev.Count ('.') = 1 then
Self.Set.Insert (Self.Change);
end if;
Self.Change.Rev.Clear;
Self.Change.Comment.Clear;
Self.State := Rev_State;
elsif Self.State = Start_State then
Self.State := Rev_State;
end if;
elsif Local_Name = Constants.A and Self.State = Rev_State then
HRef := Attributes.Value (Namespace_URI, Constants.HRef);
Self.Change.Rev := HRef.Tail_From (HRef.Index ("=") + 1);
elsif Local_Name = Constants.I and Self.State = Rev_State then
Self.Text.Clear;
Self.State := Date_State;
elsif Local_Name = Constants.Div
and Self.State = Before_Comment_State
then
Self.Text.Clear;
Self.State := Comment_State;
end if;
end Start_Element;
end Parse_Commit_List;
-------------
-- Changes --
-------------
not overriding function Changes
(Self : in out Loader;
Path : League.Strings.Universal_String)
return not null access File_Changes.Set is
begin
return Self.Changes.Reference (Path).Element;
end Changes;
--------------------
-- Commit_Message --
--------------------
not overriding function Commit_Message
(Self : in out Loader;
Id : League.Calendars.Date_Time)
return League.Strings.Universal_String is
begin
return Self.Messages.Element (Id);
end Commit_Message;
-------------
-- Commits --
-------------
not overriding function Commits
(Self : in out Loader) return not null access Commit_Maps.Map is
begin
return Self.Commits'Unchecked_Access;
end Commits;
-----------------
-- Directories --
-----------------
function Directories
(Self : in out Loader;
Path : League.Strings.Universal_String :=
League.Strings.Empty_Universal_String)
return League.String_Vectors.Universal_String_Vector is
begin
return Self.Dirs.Element (Path);
end Directories;
----------------
-- Fetch_File --
----------------
not overriding function Fetch_File
(Self : in out Loader;
Path : League.Strings.Universal_String;
Rev : League.Strings.Universal_String)
return League.Stream_Element_Vectors.Stream_Element_Vector
is
use type League.Strings.Universal_String;
Result : League.Stream_Element_Vectors.Stream_Element_Vector;
Ok : Boolean;
begin
Self.Connect.Get
(URL => Self.URL & Path & "?rev=" & Rev,
Result => Result,
Success => Ok);
if not Ok then
raise Program_Error;
end if;
return Result;
end Fetch_File;
-----------
-- Files --
-----------
not overriding function Files
(Self : in out Loader;
Path : League.Strings.Universal_String :=
League.Strings.Empty_Universal_String)
return League.String_Vectors.Universal_String_Vector is
begin
return Self.Dirs.Element (Path);
end Files;
----------------
-- Initialize --
----------------
procedure Initialize
(Self : in out Loader;
URL : League.Strings.Universal_String)
is
procedure Parse_Dir (Path : League.Strings.Universal_String);
procedure Parse_Changes
(Path : League.Strings.Universal_String;
Set : not null access File_Changes.Set);
procedure Parse_Changes
(Path : League.Strings.Universal_String;
Set : not null access File_Changes.Set)
is
use type League.Strings.Universal_String;
Data : League.Stream_Element_Vectors.Stream_Element_Vector;
Ok : Boolean;
begin
Self.Connect.Get
(URL => URL & Path,
Result => Data,
Success => Ok);
if not Ok then
raise Program_Error;
end if;
declare
Text : League.Strings.Universal_String;
Input : aliased XML.SAX.Input_Sources.Strings.String_Input_Source;
Parser : aliased XML.SAX.Simple_Readers.Simple_Reader;
Handler : aliased Parse_Commit_List.Content_Handler
(Self'Unchecked_Access, Set);
-- Format : constant League.Strings.Universal_String :=
-- +"yyyy-MM-dd HH:mm:ss";
begin
Parser.Set_Content_Handler (Handler'Unchecked_Access);
Parser.Set_Entity_Resolver (Handler'Unchecked_Access);
Parser.Set_Input_Source (Input'Unchecked_Access);
Text := CvsWeb.Html2Xml.Convert
(Data => Data,
URL => URL & Path);
Input.Set_String (Text);
-- Ada.Wide_Wide_Text_IO.Put_Line (Text.To_Wide_Wide_String);
Handler.Prefix := "/cgi-bin/cvsweb.cgi/arm/" & Path;
Parser.Parse;
for J of Handler.Set.all loop
if not Self.Messages.Contains (J.Date) then
Self.Messages.Insert (J.Date, J.Comment);
Self.Commits.Insert
(J.Date,
League.String_Vectors.Empty_Universal_String_Vector);
elsif Self.Messages (J.Date) /= J.Comment then
raise Program_Error;
end if;
Self.Commits (J.Date).Append (Path);
-- Ada.Wide_Wide_Text_IO.Put (J.Rev.To_Wide_Wide_String);
-- Ada.Wide_Wide_Text_IO.Put (' ');
-- Ada.Wide_Wide_Text_IO.Put
-- (League.Calendars.ISO_8601.Image
-- (Format, J.Date).To_Wide_Wide_String);
-- Ada.Wide_Wide_Text_IO.Put (' ');
-- Ada.Wide_Wide_Text_IO.Put_Line (J.Comment.To_Wide_Wide_String);
end loop;
end;
end Parse_Changes;
procedure Parse_Dir (Path : League.Strings.Universal_String) is
use type League.Strings.Universal_String;
Data : League.Stream_Element_Vectors.Stream_Element_Vector;
Ok : Boolean;
begin
Self.Connect.Get
(URL => URL & Path,
Result => Data,
Success => Ok);
if not Ok then
raise Program_Error;
end if;
declare
Text : League.Strings.Universal_String;
Input : aliased XML.SAX.Input_Sources.Strings.String_Input_Source;
Parser : aliased XML.SAX.Simple_Readers.Simple_Reader;
Handler : aliased Parse_Directory.Content_Handler
(Self'Unchecked_Access);
begin
Parser.Set_Content_Handler (Handler'Unchecked_Access);
Parser.Set_Entity_Resolver (Handler'Unchecked_Access);
Parser.Set_Input_Source (Input'Unchecked_Access);
Text := CvsWeb.Html2Xml.Convert
(Data => Data,
URL => URL & Path);
Input.Set_String (Text);
-- Ada.Wide_Wide_Text_IO.Put_Line (Text.To_Wide_Wide_String);
Handler.Prefix := "/cgi-bin/cvsweb.cgi/arm/" & Path;
Parser.Parse;
Self.Dirs.Insert (Path, Handler.Dirs);
Self.Files.Insert (Path, Handler.Files);
for J in 1 .. Handler.Dirs.Length loop
Parse_Dir (Path & Handler.Dirs.Element (J));
end loop;
for J in 1 .. Handler.Files.Length loop
declare
File : constant League.Strings.Universal_String :=
Path & Handler.Files.Element (J);
begin
Self.Changes.Insert (File, File_Changes.Empty_Set);
Parse_Changes (File, Self.Changes.Reference (File).Element);
end;
end loop;
end;
end Parse_Dir;
begin
Self.URL := URL;
Parse_Dir (League.Strings.Empty_Universal_String);
end Initialize;
end CvsWeb.Loaders;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ADA.DIRECTORIES.HIERARCHICAL_FILE_NAMES --
-- --
-- S p e c --
-- --
-- Copyright (C) 2004-2020, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- In particular, you can freely distribute your programs built with the --
-- GNAT Pro compiler, including any required library run-time units, using --
-- any licensing terms of your choosing. See the AdaCore Software License --
-- for full details. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
package Ada.Directories.Hierarchical_File_Names is
function Is_Simple_Name (Name : String) return Boolean;
-- Returns True if Name is a simple name, and returns False otherwise.
function Is_Root_Directory_Name (Name : String) return Boolean;
-- Returns True if Name is syntactically a root (a directory that cannot
-- be decomposed further), and returns False otherwise.
function Is_Parent_Directory_Name (Name : String) return Boolean;
-- Returns True if Name can be used to indicate symbolically the parent
-- directory of any directory, and returns False otherwise.
function Is_Current_Directory_Name (Name : String) return Boolean;
-- Returns True if Name can be used to indicate symbolically the directory
-- itself for any directory, and returns False otherwise.
function Is_Full_Name (Name : String) return Boolean;
-- Returns True if the leftmost directory part of Name is a root, and
-- returns False otherwise.
function Is_Relative_Name (Name : String) return Boolean;
-- Returns True if Name allows the identification of an external file
-- (including directories and special files) but is not a full name, and
-- returns False otherwise.
function Simple_Name (Name : String) return String
renames Ada.Directories.Simple_Name;
-- Returns the simple name portion of the file name specified by Name. The
-- exception Name_Error is propagated if the string given as Name does not
-- allow the identification of an external file (including directories and
-- special files).
function Containing_Directory (Name : String) return String
renames Ada.Directories.Containing_Directory;
-- Returns the name of the containing directory of the external file
-- (including directories) identified by Name. If more than one directory
-- can contain Name, the directory name returned is implementation-defined.
-- The exception Name_Error is propagated if the string given as Name does
-- not allow the identification of an external file. The exception
-- Use_Error is propagated if the external file does not have a containing
-- directory.
function Initial_Directory (Name : String) return String;
-- Returns the leftmost directory part in Name. That is, it returns a root
-- directory name (for a full name), or one of a parent directory name, a
-- current directory name, or a simple name (for a relative name). The
-- exception Name_Error is propagated if the string given as Name does not
-- allow the identification of an external file (including directories and
-- special files).
function Relative_Name (Name : String) return String;
-- Returns the entire file name except the Initial_Directory portion. The
-- exception Name_Error is propagated if the string given as Name does not
-- allow the identification of an external file (including directories and
-- special files), or if Name has a single part (this includes if any of
-- Is_Simple_Name, Is_Root_Directory_Name, Is_Parent_Directory_Name, or
-- Is_Current_Directory_Name are True).
function Compose
(Directory : String := "";
Relative_Name : String;
Extension : String := "") return String;
-- Returns the name of the external file with the specified Directory,
-- Relative_Name, and Extension. The exception Name_Error is propagated if
-- the string given as Directory is not the null string and does not allow
-- the identification of a directory, or if Is_Relative_Name
-- (Relative_Name) is False, or if the string given as Extension is not
-- the null string and is not a possible extension, or if Extension is not
-- the null string and Simple_Name (Relative_Name) is not a base name.
--
-- The result of Compose is a full name if Is_Full_Name (Directory) is
-- True; result is a relative name otherwise.
end Ada.Directories.Hierarchical_File_Names;
|
with Interfaces;
with kv.avm.references; use kv.avm.references;
with kv.avm.Instructions;
with kv.avm.Registers;
with kv.avm.Frames;
with kv.avm.Control;
package kv.avm.Processors is
Unimplemented_Error : exception;
Frame_Stopped_Error : exception;
type Processor_Type is tagged
record
Machine : kv.avm.Control.Control_Access;
Failed_Assertion_Count : Natural;
end record;
type Processor_Access is access all Processor_Type;
procedure Initialize
(Self : in out Processor_Type;
Machine : in kv.avm.control.Control_Access);
procedure Step
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Status : out kv.avm.Control.Status_Type);
function Get_Failed_Assertion_Count(Self : Processor_Type) return Natural;
function Get_Machine(Self : Processor_Type) return kv.avm.Control.Control_Access;
private
procedure No_Op
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type);
procedure Stop_Frame
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type);
procedure Reply
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
procedure Jump
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
procedure Jump_Immediate -- jump_abs, jump_rel
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
procedure Set
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
procedure Branch
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
procedure Fold
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
procedure Peek
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type;
Status : out kv.avm.Control.Status_Type);
procedure New_Actor
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type;
Status : out kv.avm.Control.Status_Type);
procedure Compute
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
procedure Emit
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
procedure Self_Tail_X
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
procedure Halt_Actor
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
procedure Trap
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type;
Status : out kv.avm.Control.Status_Type);
procedure Self_Call
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
procedure Super_Call
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
procedure Actor_Call
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type;
Status : out kv.avm.Control.Status_Type);
procedure Format_5A2
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type;
Status : out kv.avm.Control.Status_Type);
procedure Peek_Immediate
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type;
Status : out kv.avm.Control.Status_Type);
procedure Assert
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
procedure Self_Send
(Self : in out Processor_Type;
Frame : access kv.avm.Frames.Frame_Type;
Instr : in kv.avm.Instructions.Instruction_Type);
end kv.avm.Processors;
|
with Tkmrpc.Request;
with Tkmrpc.Response;
package Tkmrpc.Transport.Client is
procedure Connect (Address : String);
-- Connect to the RPC server given by socket address.
procedure Send_Receive
(Req_Data : Request.Data_Type;
Res_Data : out Response.Data_Type);
-- Send request data to RPC server and return response data.
end Tkmrpc.Transport.Client;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . D I R E C T _ I O --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2020, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- This is the generic template for Direct_IO, i.e. the code that gets
-- duplicated. We absolutely minimize this code by either calling routines
-- in System.File_IO (for common file functions), or in System.Direct_IO
-- (for specialized Direct_IO functions)
with Interfaces.C_Streams; use Interfaces.C_Streams;
with System; use System;
with System.CRTL;
with System.File_Control_Block;
with System.File_IO;
with System.Storage_Elements;
with Ada.Unchecked_Conversion;
package body Ada.Direct_IO is
Zeroes : constant System.Storage_Elements.Storage_Array :=
(1 .. System.Storage_Elements.Storage_Offset (Bytes) => 0);
-- Buffer used to fill out partial records
package FCB renames System.File_Control_Block;
package FIO renames System.File_IO;
package DIO renames System.Direct_IO;
SU : constant := System.Storage_Unit;
subtype AP is FCB.AFCB_Ptr;
subtype FP is DIO.File_Type;
subtype DPCount is DIO.Positive_Count;
function To_FCB is new Ada.Unchecked_Conversion (File_Mode, FCB.File_Mode);
function To_DIO is new Ada.Unchecked_Conversion (FCB.File_Mode, File_Mode);
use type System.CRTL.size_t;
-----------
-- Close --
-----------
procedure Close (File : in out File_Type) is
begin
FIO.Close (AP (File)'Unrestricted_Access);
end Close;
------------
-- Create --
------------
procedure Create
(File : in out File_Type;
Mode : File_Mode := Inout_File;
Name : String := "";
Form : String := "")
is
begin
DIO.Create (FP (File), To_FCB (Mode), Name, Form);
File.Bytes := Bytes;
end Create;
------------
-- Delete --
------------
procedure Delete (File : in out File_Type) is
begin
FIO.Delete (AP (File)'Unrestricted_Access);
end Delete;
-----------------
-- End_Of_File --
-----------------
function End_Of_File (File : File_Type) return Boolean is
begin
return DIO.End_Of_File (FP (File));
end End_Of_File;
-----------
-- Flush --
-----------
procedure Flush (File : File_Type) is
begin
FIO.Flush (AP (File));
end Flush;
----------
-- Form --
----------
function Form (File : File_Type) return String is
begin
return FIO.Form (AP (File));
end Form;
-----------
-- Index --
-----------
function Index (File : File_Type) return Positive_Count is
begin
return Positive_Count (DIO.Index (FP (File)));
end Index;
-------------
-- Is_Open --
-------------
function Is_Open (File : File_Type) return Boolean is
begin
return FIO.Is_Open (AP (File));
end Is_Open;
----------
-- Mode --
----------
function Mode (File : File_Type) return File_Mode is
begin
return To_DIO (FIO.Mode (AP (File)));
end Mode;
----------
-- Name --
----------
function Name (File : File_Type) return String is
begin
return FIO.Name (AP (File));
end Name;
----------
-- Open --
----------
procedure Open
(File : in out File_Type;
Mode : File_Mode;
Name : String;
Form : String := "")
is
begin
DIO.Open (FP (File), To_FCB (Mode), Name, Form);
File.Bytes := Bytes;
end Open;
----------
-- Read --
----------
procedure Read
(File : File_Type;
Item : out Element_Type;
From : Positive_Count)
is
begin
-- For a non-constrained variant record type, we read into an
-- intermediate buffer, since we may have the case of discriminated
-- records where a discriminant check is required, and we may need
-- to assign only part of the record buffer originally written.
-- Note: we have to turn warnings on/off because this use of
-- the Constrained attribute is an obsolescent feature.
pragma Warnings (Off);
if not Element_Type'Constrained then
pragma Warnings (On);
declare
Buf : Element_Type;
begin
DIO.Read (FP (File), Buf'Address, Bytes, DPCount (From));
Item := Buf;
end;
-- In the normal case, we can read straight into the buffer
else
DIO.Read (FP (File), Item'Address, Bytes, DPCount (From));
end if;
end Read;
procedure Read (File : File_Type; Item : out Element_Type) is
begin
-- Same processing for unconstrained case as above
-- Note: we have to turn warnings on/off because this use of
-- the Constrained attribute is an obsolescent feature.
pragma Warnings (Off);
if not Element_Type'Constrained then
pragma Warnings (On);
declare
Buf : Element_Type;
begin
DIO.Read (FP (File), Buf'Address, Bytes);
Item := Buf;
end;
else
DIO.Read (FP (File), Item'Address, Bytes);
end if;
end Read;
-----------
-- Reset --
-----------
procedure Reset (File : in out File_Type; Mode : File_Mode) is
begin
DIO.Reset (FP (File), To_FCB (Mode));
end Reset;
procedure Reset (File : in out File_Type) is
begin
DIO.Reset (FP (File));
end Reset;
---------------
-- Set_Index --
---------------
procedure Set_Index (File : File_Type; To : Positive_Count) is
begin
DIO.Set_Index (FP (File), DPCount (To));
end Set_Index;
----------
-- Size --
----------
function Size (File : File_Type) return Count is
begin
return Count (DIO.Size (FP (File)));
end Size;
-----------
-- Write --
-----------
procedure Write
(File : File_Type;
Item : Element_Type;
To : Positive_Count)
is
begin
DIO.Set_Index (FP (File), DPCount (To));
DIO.Write (FP (File), Item'Address, Item'Size / SU, Zeroes);
end Write;
procedure Write (File : File_Type; Item : Element_Type) is
begin
DIO.Write (FP (File), Item'Address, Item'Size / SU, Zeroes);
end Write;
end Ada.Direct_IO;
|
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- 1. Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- 2. Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in --
-- the documentation and/or other materials provided with the --
-- distribution. --
-- 3. Neither the name of STMicroelectronics nor the names of its --
-- contributors may be used to endorse or promote products derived --
-- from this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT --
-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, --
-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY --
-- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT --
-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE --
-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
-- --
-- This file is based on: --
-- --
-- @file stm32f4xx_hal_rng.c --
-- @author MCD Application Team --
-- @version V1.1.0 --
-- @date 19-June-2014 --
-- @brief RNG HAL module driver. --
-- --
-- COPYRIGHT(c) 2014 STMicroelectronics --
------------------------------------------------------------------------------
with Ada.Interrupts.Names;
package body STM32.RNG.Interrupts is
type Buffer_Content is array (Integer range <>) of Unsigned_32;
type Ring_Buffer is record
Content : Buffer_Content (0 .. 9);
Head : Integer := 0;
Tail : Integer := 0;
end record;
--------------
-- Receiver --
--------------
protected Receiver is
pragma Interrupt_Priority;
entry Get_Random_32 (Value : out Unsigned_32);
private
Last : Unsigned_32 := 0;
Buffer : Ring_Buffer;
Data_Available : Boolean := False;
procedure Interrupt_Handler;
pragma Attach_Handler
(Interrupt_Handler,
Ada.Interrupts.Names.HASH_RNG_Interrupt);
end Receiver;
--------------
-- Receiver --
--------------
protected body Receiver is
-------------------
-- Get_Random_32 --
-------------------
entry Get_Random_32 (Value : out Unsigned_32) when Data_Available is
Next : constant Integer :=
(Buffer.Tail + 1) mod Buffer.Content'Length;
begin
-- Remove an item from our ring buffer.
Value := Buffer.Content (Next);
Buffer.Tail := Next;
-- If the buffer is empty, make sure we block subsequent callers
-- until the buffer has something in it.
if Buffer.Tail = Buffer.Head then
Data_Available := False;
end if;
Enable_RNG;
end Get_Random_32;
-----------------------
-- Interrupt_Handler --
-----------------------
procedure Interrupt_Handler is
Current : Unsigned_32;
begin
if RNG_Seed_Error_Status then
Clear_RNG_Seed_Error_Status;
-- Clear then set the RNGEN bit to reinitialize and restart
-- the RNG.
Reset_RNG;
end if;
if RNG_Clock_Error_Status then
-- TODO: reconfigure the clock and make sure it's okay
-- Clear the bit.
Clear_RNG_Clock_Error_Status;
end if;
if RNG_Data_Ready then
Current := RNG_Data;
if Current /= Last then
-- This number is good.
if (Buffer.Head + 1) mod Buffer.Content'Length = Buffer.Tail
then
-- But our buffer is full. Turn off the RNG.
Disable_RNG;
else
-- Add this new data to our buffer.
Buffer.Head := (Buffer.Head + 1) mod Buffer.Content'Length;
Buffer.Content (Buffer.Head) := Current;
Data_Available := True;
Last := Current;
end if;
end if;
end if;
end Interrupt_Handler;
end Receiver;
--------------------
-- Initialize_RNG --
--------------------
procedure Initialize_RNG is
Discard : Unsigned_32;
begin
Enable_RNG_Clock;
Enable_RNG_Interrupt;
Enable_RNG;
-- Discard the first randomly generated number, according to STM32F4
-- docs.
Receiver.Get_Random_32 (Discard);
end Initialize_RNG;
------------
-- Random --
------------
function Random return Unsigned_32 is
Result : Unsigned_32;
begin
Receiver.Get_Random_32 (Result);
return Result;
end Random;
end STM32.RNG.Interrupts;
|
-- This unit is based on BBqueue.Offsets_Only and embeds an internal buffer.
-- It provides directly usable slices of memory from its internal buffer:
--
-- Q : aliased Buffer (64);
-- WG : Write_Grant := Empty;
-- S : Slice_Rec;
-- begin
-- Grant (Q, WG, 8);
-- if State (WG) = Valid then
-- declare
-- B : Storage_Array (1 .. Slice (WG).Length)
-- with Address => Slice (WG).Addr;
-- begin
-- B := (others => 42);
-- end;
-- Commit (Q, WG);
-- end if;
with System;
package BBqueue.Buffers
with Preelaborate,
SPARK_Mode,
Abstract_State => null
is
type Buffer (Size : Buffer_Size)
is limited private;
-- Producer --
type Write_Grant is limited private;
procedure Grant (This : in out Buffer;
G : in out Write_Grant;
Size : Count)
with Global => null,
Pre => State (G) /= Valid,
Post => State (G) in Valid | Empty | Grant_In_Progress | Insufficient_Size
and then
(if Size = 0 then State (G) = Empty)
and then
(if State (G) = Valid
then Write_Grant_In_Progress (This)
and then Slice (G).Length = Size);
-- Request a contiguous writeable slice of the internal buffer
procedure Commit (This : in out Buffer;
G : in out Write_Grant;
Size : Count := Count'Last)
with Pre => State (G) = Valid,
Post => (if Write_Grant_In_Progress (This)'Old
then State (G) = Empty
else State (G) = Valid);
-- Commit a writeable slice. Size can be smaller than the granted slice for
-- partial commits. The commited slice is then available for Read.
generic
with procedure Process_Write (Data : out Storage_Array; To_Commit : out Count);
procedure Write_CB (This : in out Buffer;
Size : Count;
Result : out Result_Kind);
-- Write in the buffer using a "callback". This procedure will call
-- Process_Write () on the slice returned by Grant (), if the result
-- is Valid. It will then call Commit with the value To_Commit returned by
-- Process_Write ().
-- Consumer --
type Read_Grant is limited private;
procedure Read (This : in out Buffer;
G : in out Read_Grant;
Max : Count := Count'Last)
with Pre => State (G) /= Valid,
Post => State (G) in Valid | Empty | Grant_In_Progress
and then
(if State (G) = Valid
then Read_Grant_In_Progress (This)
and then Slice (G).Length <= Max);
-- Request contiguous readable slice of up to Max elements from the internal
-- buffer.
procedure Release (This : in out Buffer;
G : in out Read_Grant;
Size : Count := Count'Last)
with Pre => State (G) = Valid,
Post => (if Read_Grant_In_Progress (This)'Old
then State (G) = Empty
else State (G) = Valid);
-- Release a readable slice. Size can be smaller than the granted slice for
-- partial releases.
generic
with procedure Process_Read (Data : Storage_Array; To_Release : out Count);
procedure Read_CB (This : in out Buffer;
Result : out Result_Kind);
-- Read from the buffer using a "callback". This procedure will call
-- Process_Read () on the slice returned by Read (), if the result is
-- Valid. It will then call Release with the value To_Release returned
-- by Process_Read ().
-- Utils --
function Empty return Write_Grant
with Post => State (Empty'Result) = Empty;
function Empty return Read_Grant
with Post => State (Empty'Result) = Empty;
-- Slices --
type Slice_Rec is record
Length : Count;
Addr : System.Address;
end record;
function State (G : Write_Grant) return Result_Kind;
function Slice (G : Write_Grant) return Slice_Rec
with Pre => State (G) = Valid;
function State (G : Read_Grant) return Result_Kind;
function Slice (G : Read_Grant) return Slice_Rec
with Pre => State (G) = Valid;
function Write_Grant_In_Progress (This : Buffer) return Boolean
with Ghost;
function Read_Grant_In_Progress (This : Buffer) return Boolean
with Ghost;
private
type Buffer (Size : Buffer_Size) is limited record
Buf : Storage_Array (1 .. Size) := (others => 0);
Offsets : Offsets_Only (Size);
end record;
function Empty_Slicerec return Slice_Rec
is (0, System.Null_Address);
type Write_Grant is limited record
Offsets_Grant : BBqueue.Write_Grant;
Slice : Slice_Rec := (0, System.Null_Address);
end record;
type Read_Grant is limited record
Offsets_Grant : BBqueue.Read_Grant;
Slice : Slice_Rec := (0, System.Null_Address);
end record;
function State (G : Write_Grant) return Result_Kind
is (G.Offsets_Grant.Result);
function Empty return Write_Grant
is (Offsets_Grant => BBqueue.Empty, others => <>);
function Slice (G : Write_Grant) return Slice_Rec
is (G.Slice);
function State (G : Read_Grant) return Result_Kind
is (G.Offsets_Grant.Result);
function Empty return Read_Grant
is (Offsets_Grant => BBqueue.Empty, others => <>);
function Slice (G : Read_Grant) return Slice_Rec
is (G.Slice);
-----------------------------
-- Write_Grant_In_Progress --
-----------------------------
function Write_Grant_In_Progress (This : Buffer) return Boolean
is (BBqueue.Write_Grant_In_Progress (This.Offsets));
----------------------------
-- Read_Grant_In_Progress --
----------------------------
function Read_Grant_In_Progress (This : Buffer) return Boolean
is (BBqueue.Read_Grant_In_Progress (This.Offsets));
end BBqueue.Buffers;
|
-- Copyright (c) 2012, mulander <netprobe@gmail.com>
-- All rights reserved.
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
with Ada.Finalization;
with Terminal_Interface.Curses;
with Crawler.Entities;
package Crawler_Interface is
package Curses renames Terminal_Interface.Curses;
type Screen is new Ada.Finalization.Limited_Controlled with private;
-- Print a message on the screen
procedure Add (This : in Screen;
Str : in String);
function Get_Height (This : in Screen) return Curses.Line_Count;
function Get_Width (This : in Screen) return Curses.Column_Count;
type Frame is new Ada.Finalization.Limited_Controlled with private;
-- Initialize a main window (no parent)
procedure Make (This : in out Frame;
Height : Curses.Line_Count;
Width : Curses.Column_Count;
Row : Curses.Line_Position;
Col : Curses.Column_Position);
-- Initialize a subwindow (viewport) with a parent window
procedure Make_Sub_Window (This : in out Frame;
Parent : Frame;
Height : Curses.Line_Count;
Width : Curses.Column_Count;
Row : Curses.Line_Position;
Col : Curses.Column_Position);
-- Get the window
function Get_Window (This : in Frame) return Curses.Window;
-- Get the window
function Get_Parent_Window (This : in Frame) return Curses.Window;
-- Get window type, if TRUE we have a subwindow, if FALSE we have a main window
function Has_Parent_Window (This : in Frame) return Boolean;
-- Get height
function Get_Height (This : in Frame) return Curses.Line_Count;
-- Get Width
function Get_Width (This : in Frame) return Curses.Column_Count;
-- Get the row (y) position of the window
function Get_Row (This : in Frame) return Curses.Line_Position;
-- Get the col (x) position of the window
function Get_Col (This : in Frame) return Curses.Column_Position;
-- Add a character to the window
procedure Add (This : in Frame;
Character : in Crawler.Entities.Character);
-- Add a character at a specific position to the window
procedure Add (This : in Frame;
Character : in out Crawler.Entities.Character;
Row : in Curses.Line_Position;
Col : in Curses.Column_Position);
-- Center the viewport around a character
procedure Center (This : in out Frame;
Character : in Crawler.Entities.Character);
-- Fill a window with numbers - the window is split in four equal regions,
-- each region is filled with a single number, so 4 regions and 4 numbers.
-- This is a suggestion of how this will look:
-- 0 | 1
-- -----
-- 2 | 3
-- This function is used only for debugging purposes.
procedure Fill_Window (This : in out Frame);
-- Move a window in a new position (r, c)
procedure Move (This : in out Frame;
Row : Curses.Line_Position;
Col : Curses.Column_Position);
-- Refresh the window
procedure Refresh (This : in out Frame);
-- Define the "erase" character, use an empty character for cleaning a cell or a
-- visible character for showing the trace of a game character
procedure Erase (This : in Frame;
Character : in Crawler.Entities.Character);
private
type Screen is new Ada.Finalization.Limited_Controlled with record
Height : Curses.Line_Position;
Width : Curses.Column_Position;
end record;
overriding procedure Initialize (This: in out Screen);
overriding procedure Finalize (This: in out Screen);
type Frame is new Ada.Finalization.Limited_Controlled with record
Height : Curses.Line_Count;
Width : Curses.Column_Count;
Row : Curses.Line_Position;
Col : Curses.Column_Position;
Has_Parent_Window : Boolean;
Window : Curses.Window;
Parent : Curses.Window;
end record;
overriding procedure Finalize (This: in out Frame);
procedure Internal_Add (This : in Frame;
Char : in Character;
Row : in Curses.Line_Position;
Col : in Curses.Column_Position);
end Crawler_Interface;
|
WITH Ada.Text_Io; USE Ada.Text_Io;
procedure Ver_Contiene_Caracter is
-- salida: 7 booleanos(SE)
-- post: corresponden a cada uno de los casos de pruebas dise�ados.
-- pre: { True }
function Contiene_Caracter (
S : String;
L : Character)
return Boolean is
-- EJERCICIO 3- ESPECIFICA E IMPLEMENTA recursivamente el subprograma
-- Contiene_a que decide si el string S contiene el car�cter 'a'.
BEGIN
-- Completar
if S'Size = 0 then
return False;
end if;
if S(S'First) = L then
return True;
end if;
return Contiene_Caracter(S(S'First + 1 .. S'Last), L);
end Contiene_Caracter ;
-- post: { True <=> Contiene_a(S, L) }
begin
Put_Line("-------------------------------------");
Put("La palabra vacia no contiene el caracter 'a': ");
Put(Boolean'Image(Contiene_Caracter("", 'a')));
New_Line;
New_Line;
New_Line;
Put_Line("-------------------------------------");
Put_Line("Palabras de un caracter");
Put("-- La palabra de 1 caracter 'a' contiene el caracter 'a': ");
Put(Boolean'Image(Contiene_Caracter("a", 'a')));
New_Line;
Put("-- La palabra de 1 caracter 'b' contiene el caracter 'b': ");
Put(Boolean'Image(Contiene_Caracter("b", 'b')));
New_Line;
New_Line;
New_Line;
Put_Line("-------------------------------------");
Put_Line("Palabras de varios caracteres");
Put("-- 'abcd' contiene el caracter 'b': ");
Put(Boolean'Image(Contiene_Caracter("abcd", 'b')));
New_Line;
Put("-- 'dcba' contiene el caracter 'a': ");
Put(Boolean'Image(Contiene_Caracter("dcba", 'a')));
New_Line;
Put("-- 'dcbabcd' contiene el caracter 'a': ");
Put(Boolean'Image(Contiene_Caracter("dcbabcd", 'a')));
New_Line;
Put("-- Pero 'dcbbcd' no contiene el caracter 'e': ");
Put(Boolean'Image(Contiene_Caracter("dcbbcd", 'e')));
New_Line;
Put_Line("-------------------------------------");
end Ver_Contiene_Caracter;
|
with Ada.Text_IO;
with PrimeInstances;
package body Problem_50 is
package IO renames Ada.Text_IO;
package Positive_Primes renames PrimeInstances.Positive_Primes;
procedure Solve is
sieve : constant Positive_Primes.Sieve := Positive_Primes.Generate_Sieve(1_000_000);
is_Prime : Array(2 .. sieve(sieve'Last)) of Boolean := (others => false);
start_value : Natural := 0;
max_length : Natural := 0;
begin
for index in sieve'Range loop
is_Prime(sieve(index)) := true;
if start_value + sieve(index) < is_Prime'Last then
start_value := start_value + sieve(index);
max_length := index;
end if;
end loop;
-- Start at the longest length we can and scale down. This allows us to
-- immediately break when we encounter a valid construct.
search:
for length in reverse 1 .. max_length loop
declare
value : Natural := start_value;
begin
for index in length .. sieve'Last loop
if index /= length then
value := value - sieve(index - length) + sieve(index);
end if;
exit when value > is_Prime'Last;
if is_Prime(value) then
IO.Put(Natural'Image(value));
declare
first : Boolean := true;
begin
for join_index in index - length + 1 .. index loop
if first then
IO.Put(" =");
first := false;
else
IO.Put(" +");
end if;
IO.Put(Natural'Image(sieve(join_index)));
end loop;
end;
IO.New_Line;
exit search;
end if;
end loop;
end;
start_value := start_value - sieve(length);
end loop search;
end Solve;
end Problem_50;
|
package HAL_Interface with SPARK_Mode is
pragma Preelaborate;
type Byte is mod 2**8;
type Port_Type is interface; -- abstract tagged null record; -- interface
type Configuration_Type is null record;
subtype Address_Type is Integer;
type Data_Type is array(Natural range <>) of Byte;
procedure configure(Port : Port_Type; Config : Configuration_Type) is abstract;
procedure write (Port : Port_Type; Address : Address_Type; Data : Data_Type) is abstract;
function read (Port : Port_Type; Address : Address_Type) return Data_Type is abstract;
end HAL_Interface;
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="11">
<syndb class_id="0" tracking_level="0" version="0">
<userIPLatency>-1</userIPLatency>
<userIPName></userIPName>
<cdfg class_id="1" tracking_level="1" version="0" object_id="_0">
<name>array_io</name>
<ret_bitwidth>0</ret_bitwidth>
<ports class_id="2" tracking_level="0" version="0">
<count>64</count>
<item_version>0</item_version>
<item class_id="3" tracking_level="1" version="0" object_id="_1">
<Value class_id="4" tracking_level="0" version="0">
<Obj class_id="5" tracking_level="0" version="0">
<type>1</type>
<id>1</id>
<name>d_o_0</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo class_id="6" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[0]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs class_id="7" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_2">
<Value>
<Obj>
<type>1</type>
<id>2</id>
<name>d_o_1</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[1]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_3">
<Value>
<Obj>
<type>1</type>
<id>3</id>
<name>d_o_2</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[2]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_4">
<Value>
<Obj>
<type>1</type>
<id>4</id>
<name>d_o_3</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[3]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_5">
<Value>
<Obj>
<type>1</type>
<id>5</id>
<name>d_o_4</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[4]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_6">
<Value>
<Obj>
<type>1</type>
<id>6</id>
<name>d_o_5</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[5]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_7">
<Value>
<Obj>
<type>1</type>
<id>7</id>
<name>d_o_6</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[6]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_8">
<Value>
<Obj>
<type>1</type>
<id>8</id>
<name>d_o_7</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[7]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_9">
<Value>
<Obj>
<type>1</type>
<id>9</id>
<name>d_o_8</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[8]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_10">
<Value>
<Obj>
<type>1</type>
<id>10</id>
<name>d_o_9</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[9]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_11">
<Value>
<Obj>
<type>1</type>
<id>11</id>
<name>d_o_10</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[10]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_12">
<Value>
<Obj>
<type>1</type>
<id>12</id>
<name>d_o_11</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[11]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_13">
<Value>
<Obj>
<type>1</type>
<id>13</id>
<name>d_o_12</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[12]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_14">
<Value>
<Obj>
<type>1</type>
<id>14</id>
<name>d_o_13</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[13]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_15">
<Value>
<Obj>
<type>1</type>
<id>15</id>
<name>d_o_14</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[14]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_16">
<Value>
<Obj>
<type>1</type>
<id>16</id>
<name>d_o_15</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[15]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_17">
<Value>
<Obj>
<type>1</type>
<id>17</id>
<name>d_o_16</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[16]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_18">
<Value>
<Obj>
<type>1</type>
<id>18</id>
<name>d_o_17</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[17]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_19">
<Value>
<Obj>
<type>1</type>
<id>19</id>
<name>d_o_18</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[18]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_20">
<Value>
<Obj>
<type>1</type>
<id>20</id>
<name>d_o_19</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[19]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_21">
<Value>
<Obj>
<type>1</type>
<id>21</id>
<name>d_o_20</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[20]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_22">
<Value>
<Obj>
<type>1</type>
<id>22</id>
<name>d_o_21</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[21]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_23">
<Value>
<Obj>
<type>1</type>
<id>23</id>
<name>d_o_22</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[22]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_24">
<Value>
<Obj>
<type>1</type>
<id>24</id>
<name>d_o_23</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[23]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_25">
<Value>
<Obj>
<type>1</type>
<id>25</id>
<name>d_o_24</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[24]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_26">
<Value>
<Obj>
<type>1</type>
<id>26</id>
<name>d_o_25</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[25]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_27">
<Value>
<Obj>
<type>1</type>
<id>27</id>
<name>d_o_26</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[26]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_28">
<Value>
<Obj>
<type>1</type>
<id>28</id>
<name>d_o_27</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[27]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_29">
<Value>
<Obj>
<type>1</type>
<id>29</id>
<name>d_o_28</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[28]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_30">
<Value>
<Obj>
<type>1</type>
<id>30</id>
<name>d_o_29</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[29]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_31">
<Value>
<Obj>
<type>1</type>
<id>31</id>
<name>d_o_30</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[30]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_32">
<Value>
<Obj>
<type>1</type>
<id>32</id>
<name>d_o_31</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_o[31]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>1</direction>
<if_type>3</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_33">
<Value>
<Obj>
<type>1</type>
<id>33</id>
<name>d_i_0</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[0]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_34">
<Value>
<Obj>
<type>1</type>
<id>34</id>
<name>d_i_1</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[1]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_35">
<Value>
<Obj>
<type>1</type>
<id>35</id>
<name>d_i_2</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[2]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_36">
<Value>
<Obj>
<type>1</type>
<id>36</id>
<name>d_i_3</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[3]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_37">
<Value>
<Obj>
<type>1</type>
<id>37</id>
<name>d_i_4</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[4]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_38">
<Value>
<Obj>
<type>1</type>
<id>38</id>
<name>d_i_5</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[5]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_39">
<Value>
<Obj>
<type>1</type>
<id>39</id>
<name>d_i_6</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[6]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_40">
<Value>
<Obj>
<type>1</type>
<id>40</id>
<name>d_i_7</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[7]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_41">
<Value>
<Obj>
<type>1</type>
<id>41</id>
<name>d_i_8</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[8]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_42">
<Value>
<Obj>
<type>1</type>
<id>42</id>
<name>d_i_9</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[9]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_43">
<Value>
<Obj>
<type>1</type>
<id>43</id>
<name>d_i_10</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[10]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_44">
<Value>
<Obj>
<type>1</type>
<id>44</id>
<name>d_i_11</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[11]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_45">
<Value>
<Obj>
<type>1</type>
<id>45</id>
<name>d_i_12</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[12]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_46">
<Value>
<Obj>
<type>1</type>
<id>46</id>
<name>d_i_13</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[13]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_47">
<Value>
<Obj>
<type>1</type>
<id>47</id>
<name>d_i_14</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[14]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_48">
<Value>
<Obj>
<type>1</type>
<id>48</id>
<name>d_i_15</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[15]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_49">
<Value>
<Obj>
<type>1</type>
<id>49</id>
<name>d_i_16</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[16]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_50">
<Value>
<Obj>
<type>1</type>
<id>50</id>
<name>d_i_17</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[17]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_51">
<Value>
<Obj>
<type>1</type>
<id>51</id>
<name>d_i_18</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[18]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_52">
<Value>
<Obj>
<type>1</type>
<id>52</id>
<name>d_i_19</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[19]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_53">
<Value>
<Obj>
<type>1</type>
<id>53</id>
<name>d_i_20</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[20]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_54">
<Value>
<Obj>
<type>1</type>
<id>54</id>
<name>d_i_21</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[21]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_55">
<Value>
<Obj>
<type>1</type>
<id>55</id>
<name>d_i_22</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[22]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_56">
<Value>
<Obj>
<type>1</type>
<id>56</id>
<name>d_i_23</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[23]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_57">
<Value>
<Obj>
<type>1</type>
<id>57</id>
<name>d_i_24</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[24]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_58">
<Value>
<Obj>
<type>1</type>
<id>58</id>
<name>d_i_25</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[25]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_59">
<Value>
<Obj>
<type>1</type>
<id>59</id>
<name>d_i_26</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[26]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_60">
<Value>
<Obj>
<type>1</type>
<id>60</id>
<name>d_i_27</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[27]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_61">
<Value>
<Obj>
<type>1</type>
<id>61</id>
<name>d_i_28</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[28]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_62">
<Value>
<Obj>
<type>1</type>
<id>62</id>
<name>d_i_29</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[29]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_63">
<Value>
<Obj>
<type>1</type>
<id>63</id>
<name>d_i_30</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[30]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
<item class_id_reference="3" object_id="_64">
<Value>
<Obj>
<type>1</type>
<id>64</id>
<name>d_i_31</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>d_i[31]</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</if_type>
<array_size>0</array_size>
<bit_vecs>
<count>0</count>
<item_version>0</item_version>
</bit_vecs>
</item>
</ports>
<nodes class_id="8" tracking_level="0" version="0">
<count>177</count>
<item_version>0</item_version>
<item class_id="9" tracking_level="1" version="0" object_id="_65">
<Value>
<Obj>
<type>0</type>
<id>139</id>
<name>acc_0_load</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item class_id="10" tracking_level="0" version="0">
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second class_id="11" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="12" tracking_level="0" version="0">
<first class_id="13" tracking_level="0" version="0">
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>317</item>
</oprand_edges>
<opcode>load</opcode>
</item>
<item class_id_reference="9" object_id="_66">
<Value>
<Obj>
<type>0</type>
<id>140</id>
<name>d_i_0_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>319</item>
<item>320</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_67">
<Value>
<Obj>
<type>0</type>
<id>141</id>
<name>tmp_2</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>321</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_68">
<Value>
<Obj>
<type>0</type>
<id>142</id>
<name>acc_0_loc_assign_2</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>322</item>
<item>323</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_69">
<Value>
<Obj>
<type>0</type>
<id>143</id>
<name>tmp</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>324</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_70">
<Value>
<Obj>
<type>0</type>
<id>144</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>326</item>
<item>327</item>
<item>328</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_71">
<Value>
<Obj>
<type>0</type>
<id>145</id>
<name>acc_1_load</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>329</item>
</oprand_edges>
<opcode>load</opcode>
</item>
<item class_id_reference="9" object_id="_72">
<Value>
<Obj>
<type>0</type>
<id>146</id>
<name>d_i_1_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>330</item>
<item>331</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_73">
<Value>
<Obj>
<type>0</type>
<id>147</id>
<name>tmp_2_1</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>332</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_74">
<Value>
<Obj>
<type>0</type>
<id>148</id>
<name>acc_1_loc_assign_2</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>333</item>
<item>334</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_75">
<Value>
<Obj>
<type>0</type>
<id>149</id>
<name>tmp_1</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>335</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_76">
<Value>
<Obj>
<type>0</type>
<id>150</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>336</item>
<item>337</item>
<item>338</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_77">
<Value>
<Obj>
<type>0</type>
<id>151</id>
<name>acc_2_load</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>339</item>
</oprand_edges>
<opcode>load</opcode>
</item>
<item class_id_reference="9" object_id="_78">
<Value>
<Obj>
<type>0</type>
<id>152</id>
<name>d_i_2_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>340</item>
<item>341</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_79">
<Value>
<Obj>
<type>0</type>
<id>153</id>
<name>tmp_2_2</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>342</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_80">
<Value>
<Obj>
<type>0</type>
<id>154</id>
<name>acc_2_loc_assign_2</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>343</item>
<item>344</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_81">
<Value>
<Obj>
<type>0</type>
<id>155</id>
<name>tmp_3</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>345</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_82">
<Value>
<Obj>
<type>0</type>
<id>156</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>346</item>
<item>347</item>
<item>348</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_83">
<Value>
<Obj>
<type>0</type>
<id>157</id>
<name>acc_3_load</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>349</item>
</oprand_edges>
<opcode>load</opcode>
</item>
<item class_id_reference="9" object_id="_84">
<Value>
<Obj>
<type>0</type>
<id>158</id>
<name>d_i_3_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>350</item>
<item>351</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_85">
<Value>
<Obj>
<type>0</type>
<id>159</id>
<name>tmp_2_3</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>352</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_86">
<Value>
<Obj>
<type>0</type>
<id>160</id>
<name>acc_3_loc_assign_2</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>353</item>
<item>354</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_87">
<Value>
<Obj>
<type>0</type>
<id>161</id>
<name>tmp_4</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>355</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_88">
<Value>
<Obj>
<type>0</type>
<id>162</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>356</item>
<item>357</item>
<item>358</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_89">
<Value>
<Obj>
<type>0</type>
<id>163</id>
<name>acc_4_load</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>359</item>
</oprand_edges>
<opcode>load</opcode>
</item>
<item class_id_reference="9" object_id="_90">
<Value>
<Obj>
<type>0</type>
<id>164</id>
<name>d_i_4_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>360</item>
<item>361</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_91">
<Value>
<Obj>
<type>0</type>
<id>165</id>
<name>tmp_2_4</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>362</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_92">
<Value>
<Obj>
<type>0</type>
<id>166</id>
<name>acc_4_loc_assign_2</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>363</item>
<item>364</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_93">
<Value>
<Obj>
<type>0</type>
<id>167</id>
<name>tmp_5</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>365</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_94">
<Value>
<Obj>
<type>0</type>
<id>168</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>366</item>
<item>367</item>
<item>368</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_95">
<Value>
<Obj>
<type>0</type>
<id>169</id>
<name>acc_5_load</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>369</item>
</oprand_edges>
<opcode>load</opcode>
</item>
<item class_id_reference="9" object_id="_96">
<Value>
<Obj>
<type>0</type>
<id>170</id>
<name>d_i_5_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>370</item>
<item>371</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_97">
<Value>
<Obj>
<type>0</type>
<id>171</id>
<name>tmp_2_5</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>372</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_98">
<Value>
<Obj>
<type>0</type>
<id>172</id>
<name>acc_5_loc_assign_2</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>373</item>
<item>374</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_99">
<Value>
<Obj>
<type>0</type>
<id>173</id>
<name>tmp_6</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>375</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_100">
<Value>
<Obj>
<type>0</type>
<id>174</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>376</item>
<item>377</item>
<item>378</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_101">
<Value>
<Obj>
<type>0</type>
<id>175</id>
<name>acc_6_load</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>379</item>
</oprand_edges>
<opcode>load</opcode>
</item>
<item class_id_reference="9" object_id="_102">
<Value>
<Obj>
<type>0</type>
<id>176</id>
<name>d_i_6_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>380</item>
<item>381</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_103">
<Value>
<Obj>
<type>0</type>
<id>177</id>
<name>tmp_2_6</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>382</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_104">
<Value>
<Obj>
<type>0</type>
<id>178</id>
<name>acc_6_loc_assign_2</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>383</item>
<item>384</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_105">
<Value>
<Obj>
<type>0</type>
<id>179</id>
<name>tmp_7</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>385</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_106">
<Value>
<Obj>
<type>0</type>
<id>180</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>386</item>
<item>387</item>
<item>388</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_107">
<Value>
<Obj>
<type>0</type>
<id>181</id>
<name>acc_7_load</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>389</item>
</oprand_edges>
<opcode>load</opcode>
</item>
<item class_id_reference="9" object_id="_108">
<Value>
<Obj>
<type>0</type>
<id>182</id>
<name>d_i_7_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>390</item>
<item>391</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_109">
<Value>
<Obj>
<type>0</type>
<id>183</id>
<name>tmp_2_7</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>392</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_110">
<Value>
<Obj>
<type>0</type>
<id>184</id>
<name>acc_7_loc_assign_2</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>393</item>
<item>394</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_111">
<Value>
<Obj>
<type>0</type>
<id>185</id>
<name>tmp_8</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>395</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_112">
<Value>
<Obj>
<type>0</type>
<id>186</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>396</item>
<item>397</item>
<item>398</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_113">
<Value>
<Obj>
<type>0</type>
<id>187</id>
<name>d_i_8_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>399</item>
<item>400</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_114">
<Value>
<Obj>
<type>0</type>
<id>188</id>
<name>tmp_2_8</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>401</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_115">
<Value>
<Obj>
<type>0</type>
<id>189</id>
<name>acc_0_loc_assign_1</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>402</item>
<item>403</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_116">
<Value>
<Obj>
<type>0</type>
<id>190</id>
<name>tmp_9</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>404</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_117">
<Value>
<Obj>
<type>0</type>
<id>191</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>405</item>
<item>406</item>
<item>407</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_118">
<Value>
<Obj>
<type>0</type>
<id>192</id>
<name>d_i_9_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>408</item>
<item>409</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_119">
<Value>
<Obj>
<type>0</type>
<id>193</id>
<name>tmp_2_9</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>410</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_120">
<Value>
<Obj>
<type>0</type>
<id>194</id>
<name>acc_1_loc_assign_1</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>411</item>
<item>412</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_121">
<Value>
<Obj>
<type>0</type>
<id>195</id>
<name>tmp_10</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>413</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_122">
<Value>
<Obj>
<type>0</type>
<id>196</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>414</item>
<item>415</item>
<item>416</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_123">
<Value>
<Obj>
<type>0</type>
<id>197</id>
<name>d_i_10_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>417</item>
<item>418</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_124">
<Value>
<Obj>
<type>0</type>
<id>198</id>
<name>tmp_2_s</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>419</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_125">
<Value>
<Obj>
<type>0</type>
<id>199</id>
<name>acc_2_loc_assign_1</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>420</item>
<item>421</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_126">
<Value>
<Obj>
<type>0</type>
<id>200</id>
<name>tmp_11</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>422</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_127">
<Value>
<Obj>
<type>0</type>
<id>201</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>423</item>
<item>424</item>
<item>425</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_128">
<Value>
<Obj>
<type>0</type>
<id>202</id>
<name>d_i_11_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>426</item>
<item>427</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_129">
<Value>
<Obj>
<type>0</type>
<id>203</id>
<name>tmp_2_10</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>428</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_130">
<Value>
<Obj>
<type>0</type>
<id>204</id>
<name>acc_3_loc_assign_1</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>429</item>
<item>430</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_131">
<Value>
<Obj>
<type>0</type>
<id>205</id>
<name>tmp_12</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>431</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_132">
<Value>
<Obj>
<type>0</type>
<id>206</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>432</item>
<item>433</item>
<item>434</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_133">
<Value>
<Obj>
<type>0</type>
<id>207</id>
<name>d_i_12_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>435</item>
<item>436</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_134">
<Value>
<Obj>
<type>0</type>
<id>208</id>
<name>tmp_2_11</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>437</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_135">
<Value>
<Obj>
<type>0</type>
<id>209</id>
<name>acc_4_loc_assign_1</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>438</item>
<item>439</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_136">
<Value>
<Obj>
<type>0</type>
<id>210</id>
<name>tmp_13</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>440</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_137">
<Value>
<Obj>
<type>0</type>
<id>211</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>441</item>
<item>442</item>
<item>443</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_138">
<Value>
<Obj>
<type>0</type>
<id>212</id>
<name>d_i_13_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>444</item>
<item>445</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_139">
<Value>
<Obj>
<type>0</type>
<id>213</id>
<name>tmp_2_12</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>446</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_140">
<Value>
<Obj>
<type>0</type>
<id>214</id>
<name>acc_5_loc_assign_1</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>447</item>
<item>448</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_141">
<Value>
<Obj>
<type>0</type>
<id>215</id>
<name>tmp_14</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>449</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_142">
<Value>
<Obj>
<type>0</type>
<id>216</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>450</item>
<item>451</item>
<item>452</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_143">
<Value>
<Obj>
<type>0</type>
<id>217</id>
<name>d_i_14_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>453</item>
<item>454</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_144">
<Value>
<Obj>
<type>0</type>
<id>218</id>
<name>tmp_2_13</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>455</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_145">
<Value>
<Obj>
<type>0</type>
<id>219</id>
<name>acc_6_loc_assign_1</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>456</item>
<item>457</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_146">
<Value>
<Obj>
<type>0</type>
<id>220</id>
<name>tmp_15</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>458</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_147">
<Value>
<Obj>
<type>0</type>
<id>221</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>459</item>
<item>460</item>
<item>461</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_148">
<Value>
<Obj>
<type>0</type>
<id>222</id>
<name>d_i_15_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>462</item>
<item>463</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_149">
<Value>
<Obj>
<type>0</type>
<id>223</id>
<name>tmp_2_14</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>464</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_150">
<Value>
<Obj>
<type>0</type>
<id>224</id>
<name>acc_7_loc_assign_1</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>465</item>
<item>466</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_151">
<Value>
<Obj>
<type>0</type>
<id>225</id>
<name>tmp_16</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>467</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_152">
<Value>
<Obj>
<type>0</type>
<id>226</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>468</item>
<item>469</item>
<item>470</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_153">
<Value>
<Obj>
<type>0</type>
<id>227</id>
<name>d_i_16_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>471</item>
<item>472</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_154">
<Value>
<Obj>
<type>0</type>
<id>228</id>
<name>tmp_2_15</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>473</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_155">
<Value>
<Obj>
<type>0</type>
<id>229</id>
<name>acc_0_loc</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>474</item>
<item>475</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_156">
<Value>
<Obj>
<type>0</type>
<id>230</id>
<name>tmp_17</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>476</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_157">
<Value>
<Obj>
<type>0</type>
<id>231</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>477</item>
<item>478</item>
<item>479</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_158">
<Value>
<Obj>
<type>0</type>
<id>232</id>
<name>d_i_17_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>480</item>
<item>481</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_159">
<Value>
<Obj>
<type>0</type>
<id>233</id>
<name>tmp_2_16</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>482</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_160">
<Value>
<Obj>
<type>0</type>
<id>234</id>
<name>acc_1_loc</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>483</item>
<item>484</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_161">
<Value>
<Obj>
<type>0</type>
<id>235</id>
<name>tmp_18</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>485</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_162">
<Value>
<Obj>
<type>0</type>
<id>236</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>486</item>
<item>487</item>
<item>488</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_163">
<Value>
<Obj>
<type>0</type>
<id>237</id>
<name>d_i_18_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>489</item>
<item>490</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_164">
<Value>
<Obj>
<type>0</type>
<id>238</id>
<name>tmp_2_17</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>491</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_165">
<Value>
<Obj>
<type>0</type>
<id>239</id>
<name>acc_2_loc</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>492</item>
<item>493</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_166">
<Value>
<Obj>
<type>0</type>
<id>240</id>
<name>tmp_19</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>494</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_167">
<Value>
<Obj>
<type>0</type>
<id>241</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>495</item>
<item>496</item>
<item>497</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_168">
<Value>
<Obj>
<type>0</type>
<id>242</id>
<name>d_i_19_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>498</item>
<item>499</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_169">
<Value>
<Obj>
<type>0</type>
<id>243</id>
<name>tmp_2_18</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>500</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_170">
<Value>
<Obj>
<type>0</type>
<id>244</id>
<name>acc_3_loc</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>501</item>
<item>502</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_171">
<Value>
<Obj>
<type>0</type>
<id>245</id>
<name>tmp_20</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>503</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_172">
<Value>
<Obj>
<type>0</type>
<id>246</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>504</item>
<item>505</item>
<item>506</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_173">
<Value>
<Obj>
<type>0</type>
<id>247</id>
<name>d_i_20_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>507</item>
<item>508</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_174">
<Value>
<Obj>
<type>0</type>
<id>248</id>
<name>tmp_2_19</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>509</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_175">
<Value>
<Obj>
<type>0</type>
<id>249</id>
<name>acc_4_loc</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>510</item>
<item>511</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_176">
<Value>
<Obj>
<type>0</type>
<id>250</id>
<name>tmp_21</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>512</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_177">
<Value>
<Obj>
<type>0</type>
<id>251</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>513</item>
<item>514</item>
<item>515</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_178">
<Value>
<Obj>
<type>0</type>
<id>252</id>
<name>d_i_21_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>516</item>
<item>517</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_179">
<Value>
<Obj>
<type>0</type>
<id>253</id>
<name>tmp_2_20</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>518</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_180">
<Value>
<Obj>
<type>0</type>
<id>254</id>
<name>acc_5_loc</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>519</item>
<item>520</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_181">
<Value>
<Obj>
<type>0</type>
<id>255</id>
<name>tmp_22</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>521</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_182">
<Value>
<Obj>
<type>0</type>
<id>256</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>522</item>
<item>523</item>
<item>524</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_183">
<Value>
<Obj>
<type>0</type>
<id>257</id>
<name>d_i_22_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>525</item>
<item>526</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_184">
<Value>
<Obj>
<type>0</type>
<id>258</id>
<name>tmp_2_21</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>527</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_185">
<Value>
<Obj>
<type>0</type>
<id>259</id>
<name>acc_6_loc</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>528</item>
<item>529</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_186">
<Value>
<Obj>
<type>0</type>
<id>260</id>
<name>tmp_23</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>530</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_187">
<Value>
<Obj>
<type>0</type>
<id>261</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>531</item>
<item>532</item>
<item>533</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_188">
<Value>
<Obj>
<type>0</type>
<id>262</id>
<name>d_i_23_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>534</item>
<item>535</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_189">
<Value>
<Obj>
<type>0</type>
<id>263</id>
<name>tmp_2_22</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>536</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_190">
<Value>
<Obj>
<type>0</type>
<id>264</id>
<name>acc_7_loc</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>537</item>
<item>538</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_191">
<Value>
<Obj>
<type>0</type>
<id>265</id>
<name>tmp_24</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>539</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_192">
<Value>
<Obj>
<type>0</type>
<id>266</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>540</item>
<item>541</item>
<item>542</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_193">
<Value>
<Obj>
<type>0</type>
<id>267</id>
<name>d_i_24_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>543</item>
<item>544</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_194">
<Value>
<Obj>
<type>0</type>
<id>268</id>
<name>tmp_2_23</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>545</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_195">
<Value>
<Obj>
<type>0</type>
<id>269</id>
<name>temp_s</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>546</item>
<item>547</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_196">
<Value>
<Obj>
<type>0</type>
<id>270</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>68</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>68</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>548</item>
<item>549</item>
<item>816</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_197">
<Value>
<Obj>
<type>0</type>
<id>271</id>
<name>tmp_25</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>550</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_198">
<Value>
<Obj>
<type>0</type>
<id>272</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>551</item>
<item>552</item>
<item>553</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_199">
<Value>
<Obj>
<type>0</type>
<id>273</id>
<name>d_i_25_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>554</item>
<item>555</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_200">
<Value>
<Obj>
<type>0</type>
<id>274</id>
<name>tmp_2_24</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>556</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_201">
<Value>
<Obj>
<type>0</type>
<id>275</id>
<name>temp_1</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>557</item>
<item>558</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_202">
<Value>
<Obj>
<type>0</type>
<id>276</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>68</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>68</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>559</item>
<item>560</item>
<item>815</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_203">
<Value>
<Obj>
<type>0</type>
<id>277</id>
<name>tmp_26</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>561</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_204">
<Value>
<Obj>
<type>0</type>
<id>278</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>562</item>
<item>563</item>
<item>564</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_205">
<Value>
<Obj>
<type>0</type>
<id>279</id>
<name>d_i_26_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>565</item>
<item>566</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_206">
<Value>
<Obj>
<type>0</type>
<id>280</id>
<name>tmp_2_25</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>567</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_207">
<Value>
<Obj>
<type>0</type>
<id>281</id>
<name>temp_2</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>568</item>
<item>569</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_208">
<Value>
<Obj>
<type>0</type>
<id>282</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>68</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>68</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>570</item>
<item>571</item>
<item>814</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_209">
<Value>
<Obj>
<type>0</type>
<id>283</id>
<name>tmp_27</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>572</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_210">
<Value>
<Obj>
<type>0</type>
<id>284</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>573</item>
<item>574</item>
<item>575</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_211">
<Value>
<Obj>
<type>0</type>
<id>285</id>
<name>d_i_27_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>576</item>
<item>577</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_212">
<Value>
<Obj>
<type>0</type>
<id>286</id>
<name>tmp_2_26</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>578</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_213">
<Value>
<Obj>
<type>0</type>
<id>287</id>
<name>temp_3</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>579</item>
<item>580</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_214">
<Value>
<Obj>
<type>0</type>
<id>288</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>68</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>68</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>581</item>
<item>582</item>
<item>813</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_215">
<Value>
<Obj>
<type>0</type>
<id>289</id>
<name>tmp_28</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>583</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_216">
<Value>
<Obj>
<type>0</type>
<id>290</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>584</item>
<item>585</item>
<item>586</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_217">
<Value>
<Obj>
<type>0</type>
<id>291</id>
<name>d_i_28_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>587</item>
<item>588</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_218">
<Value>
<Obj>
<type>0</type>
<id>292</id>
<name>tmp_2_27</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>589</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_219">
<Value>
<Obj>
<type>0</type>
<id>293</id>
<name>temp_4</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>590</item>
<item>591</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_220">
<Value>
<Obj>
<type>0</type>
<id>294</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>68</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>68</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>592</item>
<item>593</item>
<item>812</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_221">
<Value>
<Obj>
<type>0</type>
<id>295</id>
<name>tmp_29</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>594</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_222">
<Value>
<Obj>
<type>0</type>
<id>296</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>595</item>
<item>596</item>
<item>597</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_223">
<Value>
<Obj>
<type>0</type>
<id>297</id>
<name>d_i_29_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>598</item>
<item>599</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_224">
<Value>
<Obj>
<type>0</type>
<id>298</id>
<name>tmp_2_28</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>600</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_225">
<Value>
<Obj>
<type>0</type>
<id>299</id>
<name>temp_5</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>601</item>
<item>602</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_226">
<Value>
<Obj>
<type>0</type>
<id>300</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>68</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>68</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>603</item>
<item>604</item>
<item>811</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_227">
<Value>
<Obj>
<type>0</type>
<id>301</id>
<name>tmp_30</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>605</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_228">
<Value>
<Obj>
<type>0</type>
<id>302</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>606</item>
<item>607</item>
<item>608</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_229">
<Value>
<Obj>
<type>0</type>
<id>303</id>
<name>d_i_30_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>609</item>
<item>610</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_230">
<Value>
<Obj>
<type>0</type>
<id>304</id>
<name>tmp_2_29</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>611</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_231">
<Value>
<Obj>
<type>0</type>
<id>305</id>
<name>temp_6</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>612</item>
<item>613</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_232">
<Value>
<Obj>
<type>0</type>
<id>306</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>68</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>68</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>614</item>
<item>615</item>
<item>810</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_233">
<Value>
<Obj>
<type>0</type>
<id>307</id>
<name>tmp_31</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>616</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_234">
<Value>
<Obj>
<type>0</type>
<id>308</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>617</item>
<item>618</item>
<item>619</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_235">
<Value>
<Obj>
<type>0</type>
<id>309</id>
<name>d_i_31_read</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>620</item>
<item>621</item>
</oprand_edges>
<opcode>read</opcode>
</item>
<item class_id_reference="9" object_id="_236">
<Value>
<Obj>
<type>0</type>
<id>310</id>
<name>tmp_2_30</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>622</item>
</oprand_edges>
<opcode>sext</opcode>
</item>
<item class_id_reference="9" object_id="_237">
<Value>
<Obj>
<type>0</type>
<id>311</id>
<name>temp_7</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>67</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>67</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>623</item>
<item>624</item>
</oprand_edges>
<opcode>add</opcode>
</item>
<item class_id_reference="9" object_id="_238">
<Value>
<Obj>
<type>0</type>
<id>312</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>68</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>68</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>625</item>
<item>626</item>
<item>809</item>
</oprand_edges>
<opcode>store</opcode>
</item>
<item class_id_reference="9" object_id="_239">
<Value>
<Obj>
<type>0</type>
<id>313</id>
<name>tmp_32</name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>627</item>
</oprand_edges>
<opcode>trunc</opcode>
</item>
<item class_id_reference="9" object_id="_240">
<Value>
<Obj>
<type>0</type>
<id>314</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>69</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>69</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>628</item>
<item>629</item>
<item>630</item>
</oprand_edges>
<opcode>write</opcode>
</item>
<item class_id_reference="9" object_id="_241">
<Value>
<Obj>
<type>0</type>
<id>315</id>
<name></name>
<fileName>array_io.c</fileName>
<fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</fileDirectory>
<lineNumber>71</lineNumber>
<contextFuncName>array_io</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab3</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>array_io.c</first>
<second>array_io</second>
</first>
<second>71</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>0</count>
<item_version>0</item_version>
</oprand_edges>
<opcode>ret</opcode>
</item>
</nodes>
<consts class_id="15" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</consts>
<blocks class_id="16" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="17" tracking_level="1" version="0" object_id="_242">
<Obj>
<type>3</type>
<id>316</id>
<name>array_io</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<node_objs>
<count>177</count>
<item_version>0</item_version>
<item>139</item>
<item>140</item>
<item>141</item>
<item>142</item>
<item>143</item>
<item>144</item>
<item>145</item>
<item>146</item>
<item>147</item>
<item>148</item>
<item>149</item>
<item>150</item>
<item>151</item>
<item>152</item>
<item>153</item>
<item>154</item>
<item>155</item>
<item>156</item>
<item>157</item>
<item>158</item>
<item>159</item>
<item>160</item>
<item>161</item>
<item>162</item>
<item>163</item>
<item>164</item>
<item>165</item>
<item>166</item>
<item>167</item>
<item>168</item>
<item>169</item>
<item>170</item>
<item>171</item>
<item>172</item>
<item>173</item>
<item>174</item>
<item>175</item>
<item>176</item>
<item>177</item>
<item>178</item>
<item>179</item>
<item>180</item>
<item>181</item>
<item>182</item>
<item>183</item>
<item>184</item>
<item>185</item>
<item>186</item>
<item>187</item>
<item>188</item>
<item>189</item>
<item>190</item>
<item>191</item>
<item>192</item>
<item>193</item>
<item>194</item>
<item>195</item>
<item>196</item>
<item>197</item>
<item>198</item>
<item>199</item>
<item>200</item>
<item>201</item>
<item>202</item>
<item>203</item>
<item>204</item>
<item>205</item>
<item>206</item>
<item>207</item>
<item>208</item>
<item>209</item>
<item>210</item>
<item>211</item>
<item>212</item>
<item>213</item>
<item>214</item>
<item>215</item>
<item>216</item>
<item>217</item>
<item>218</item>
<item>219</item>
<item>220</item>
<item>221</item>
<item>222</item>
<item>223</item>
<item>224</item>
<item>225</item>
<item>226</item>
<item>227</item>
<item>228</item>
<item>229</item>
<item>230</item>
<item>231</item>
<item>232</item>
<item>233</item>
<item>234</item>
<item>235</item>
<item>236</item>
<item>237</item>
<item>238</item>
<item>239</item>
<item>240</item>
<item>241</item>
<item>242</item>
<item>243</item>
<item>244</item>
<item>245</item>
<item>246</item>
<item>247</item>
<item>248</item>
<item>249</item>
<item>250</item>
<item>251</item>
<item>252</item>
<item>253</item>
<item>254</item>
<item>255</item>
<item>256</item>
<item>257</item>
<item>258</item>
<item>259</item>
<item>260</item>
<item>261</item>
<item>262</item>
<item>263</item>
<item>264</item>
<item>265</item>
<item>266</item>
<item>267</item>
<item>268</item>
<item>269</item>
<item>270</item>
<item>271</item>
<item>272</item>
<item>273</item>
<item>274</item>
<item>275</item>
<item>276</item>
<item>277</item>
<item>278</item>
<item>279</item>
<item>280</item>
<item>281</item>
<item>282</item>
<item>283</item>
<item>284</item>
<item>285</item>
<item>286</item>
<item>287</item>
<item>288</item>
<item>289</item>
<item>290</item>
<item>291</item>
<item>292</item>
<item>293</item>
<item>294</item>
<item>295</item>
<item>296</item>
<item>297</item>
<item>298</item>
<item>299</item>
<item>300</item>
<item>301</item>
<item>302</item>
<item>303</item>
<item>304</item>
<item>305</item>
<item>306</item>
<item>307</item>
<item>308</item>
<item>309</item>
<item>310</item>
<item>311</item>
<item>312</item>
<item>313</item>
<item>314</item>
<item>315</item>
</node_objs>
</item>
</blocks>
<edges class_id="18" tracking_level="0" version="0">
<count>256</count>
<item_version>0</item_version>
<item class_id="19" tracking_level="1" version="0" object_id="_243">
<id>317</id>
<edge_type>1</edge_type>
<source_obj>65</source_obj>
<sink_obj>139</sink_obj>
</item>
<item class_id_reference="19" object_id="_244">
<id>320</id>
<edge_type>1</edge_type>
<source_obj>33</source_obj>
<sink_obj>140</sink_obj>
</item>
<item class_id_reference="19" object_id="_245">
<id>321</id>
<edge_type>1</edge_type>
<source_obj>140</source_obj>
<sink_obj>141</sink_obj>
</item>
<item class_id_reference="19" object_id="_246">
<id>322</id>
<edge_type>1</edge_type>
<source_obj>139</source_obj>
<sink_obj>142</sink_obj>
</item>
<item class_id_reference="19" object_id="_247">
<id>323</id>
<edge_type>1</edge_type>
<source_obj>141</source_obj>
<sink_obj>142</sink_obj>
</item>
<item class_id_reference="19" object_id="_248">
<id>324</id>
<edge_type>1</edge_type>
<source_obj>142</source_obj>
<sink_obj>143</sink_obj>
</item>
<item class_id_reference="19" object_id="_249">
<id>327</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>144</sink_obj>
</item>
<item class_id_reference="19" object_id="_250">
<id>328</id>
<edge_type>1</edge_type>
<source_obj>143</source_obj>
<sink_obj>144</sink_obj>
</item>
<item class_id_reference="19" object_id="_251">
<id>329</id>
<edge_type>1</edge_type>
<source_obj>66</source_obj>
<sink_obj>145</sink_obj>
</item>
<item class_id_reference="19" object_id="_252">
<id>331</id>
<edge_type>1</edge_type>
<source_obj>34</source_obj>
<sink_obj>146</sink_obj>
</item>
<item class_id_reference="19" object_id="_253">
<id>332</id>
<edge_type>1</edge_type>
<source_obj>146</source_obj>
<sink_obj>147</sink_obj>
</item>
<item class_id_reference="19" object_id="_254">
<id>333</id>
<edge_type>1</edge_type>
<source_obj>145</source_obj>
<sink_obj>148</sink_obj>
</item>
<item class_id_reference="19" object_id="_255">
<id>334</id>
<edge_type>1</edge_type>
<source_obj>147</source_obj>
<sink_obj>148</sink_obj>
</item>
<item class_id_reference="19" object_id="_256">
<id>335</id>
<edge_type>1</edge_type>
<source_obj>148</source_obj>
<sink_obj>149</sink_obj>
</item>
<item class_id_reference="19" object_id="_257">
<id>337</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>150</sink_obj>
</item>
<item class_id_reference="19" object_id="_258">
<id>338</id>
<edge_type>1</edge_type>
<source_obj>149</source_obj>
<sink_obj>150</sink_obj>
</item>
<item class_id_reference="19" object_id="_259">
<id>339</id>
<edge_type>1</edge_type>
<source_obj>67</source_obj>
<sink_obj>151</sink_obj>
</item>
<item class_id_reference="19" object_id="_260">
<id>341</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>152</sink_obj>
</item>
<item class_id_reference="19" object_id="_261">
<id>342</id>
<edge_type>1</edge_type>
<source_obj>152</source_obj>
<sink_obj>153</sink_obj>
</item>
<item class_id_reference="19" object_id="_262">
<id>343</id>
<edge_type>1</edge_type>
<source_obj>151</source_obj>
<sink_obj>154</sink_obj>
</item>
<item class_id_reference="19" object_id="_263">
<id>344</id>
<edge_type>1</edge_type>
<source_obj>153</source_obj>
<sink_obj>154</sink_obj>
</item>
<item class_id_reference="19" object_id="_264">
<id>345</id>
<edge_type>1</edge_type>
<source_obj>154</source_obj>
<sink_obj>155</sink_obj>
</item>
<item class_id_reference="19" object_id="_265">
<id>347</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>156</sink_obj>
</item>
<item class_id_reference="19" object_id="_266">
<id>348</id>
<edge_type>1</edge_type>
<source_obj>155</source_obj>
<sink_obj>156</sink_obj>
</item>
<item class_id_reference="19" object_id="_267">
<id>349</id>
<edge_type>1</edge_type>
<source_obj>68</source_obj>
<sink_obj>157</sink_obj>
</item>
<item class_id_reference="19" object_id="_268">
<id>351</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>158</sink_obj>
</item>
<item class_id_reference="19" object_id="_269">
<id>352</id>
<edge_type>1</edge_type>
<source_obj>158</source_obj>
<sink_obj>159</sink_obj>
</item>
<item class_id_reference="19" object_id="_270">
<id>353</id>
<edge_type>1</edge_type>
<source_obj>157</source_obj>
<sink_obj>160</sink_obj>
</item>
<item class_id_reference="19" object_id="_271">
<id>354</id>
<edge_type>1</edge_type>
<source_obj>159</source_obj>
<sink_obj>160</sink_obj>
</item>
<item class_id_reference="19" object_id="_272">
<id>355</id>
<edge_type>1</edge_type>
<source_obj>160</source_obj>
<sink_obj>161</sink_obj>
</item>
<item class_id_reference="19" object_id="_273">
<id>357</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>162</sink_obj>
</item>
<item class_id_reference="19" object_id="_274">
<id>358</id>
<edge_type>1</edge_type>
<source_obj>161</source_obj>
<sink_obj>162</sink_obj>
</item>
<item class_id_reference="19" object_id="_275">
<id>359</id>
<edge_type>1</edge_type>
<source_obj>69</source_obj>
<sink_obj>163</sink_obj>
</item>
<item class_id_reference="19" object_id="_276">
<id>361</id>
<edge_type>1</edge_type>
<source_obj>37</source_obj>
<sink_obj>164</sink_obj>
</item>
<item class_id_reference="19" object_id="_277">
<id>362</id>
<edge_type>1</edge_type>
<source_obj>164</source_obj>
<sink_obj>165</sink_obj>
</item>
<item class_id_reference="19" object_id="_278">
<id>363</id>
<edge_type>1</edge_type>
<source_obj>163</source_obj>
<sink_obj>166</sink_obj>
</item>
<item class_id_reference="19" object_id="_279">
<id>364</id>
<edge_type>1</edge_type>
<source_obj>165</source_obj>
<sink_obj>166</sink_obj>
</item>
<item class_id_reference="19" object_id="_280">
<id>365</id>
<edge_type>1</edge_type>
<source_obj>166</source_obj>
<sink_obj>167</sink_obj>
</item>
<item class_id_reference="19" object_id="_281">
<id>367</id>
<edge_type>1</edge_type>
<source_obj>5</source_obj>
<sink_obj>168</sink_obj>
</item>
<item class_id_reference="19" object_id="_282">
<id>368</id>
<edge_type>1</edge_type>
<source_obj>167</source_obj>
<sink_obj>168</sink_obj>
</item>
<item class_id_reference="19" object_id="_283">
<id>369</id>
<edge_type>1</edge_type>
<source_obj>70</source_obj>
<sink_obj>169</sink_obj>
</item>
<item class_id_reference="19" object_id="_284">
<id>371</id>
<edge_type>1</edge_type>
<source_obj>38</source_obj>
<sink_obj>170</sink_obj>
</item>
<item class_id_reference="19" object_id="_285">
<id>372</id>
<edge_type>1</edge_type>
<source_obj>170</source_obj>
<sink_obj>171</sink_obj>
</item>
<item class_id_reference="19" object_id="_286">
<id>373</id>
<edge_type>1</edge_type>
<source_obj>169</source_obj>
<sink_obj>172</sink_obj>
</item>
<item class_id_reference="19" object_id="_287">
<id>374</id>
<edge_type>1</edge_type>
<source_obj>171</source_obj>
<sink_obj>172</sink_obj>
</item>
<item class_id_reference="19" object_id="_288">
<id>375</id>
<edge_type>1</edge_type>
<source_obj>172</source_obj>
<sink_obj>173</sink_obj>
</item>
<item class_id_reference="19" object_id="_289">
<id>377</id>
<edge_type>1</edge_type>
<source_obj>6</source_obj>
<sink_obj>174</sink_obj>
</item>
<item class_id_reference="19" object_id="_290">
<id>378</id>
<edge_type>1</edge_type>
<source_obj>173</source_obj>
<sink_obj>174</sink_obj>
</item>
<item class_id_reference="19" object_id="_291">
<id>379</id>
<edge_type>1</edge_type>
<source_obj>71</source_obj>
<sink_obj>175</sink_obj>
</item>
<item class_id_reference="19" object_id="_292">
<id>381</id>
<edge_type>1</edge_type>
<source_obj>39</source_obj>
<sink_obj>176</sink_obj>
</item>
<item class_id_reference="19" object_id="_293">
<id>382</id>
<edge_type>1</edge_type>
<source_obj>176</source_obj>
<sink_obj>177</sink_obj>
</item>
<item class_id_reference="19" object_id="_294">
<id>383</id>
<edge_type>1</edge_type>
<source_obj>175</source_obj>
<sink_obj>178</sink_obj>
</item>
<item class_id_reference="19" object_id="_295">
<id>384</id>
<edge_type>1</edge_type>
<source_obj>177</source_obj>
<sink_obj>178</sink_obj>
</item>
<item class_id_reference="19" object_id="_296">
<id>385</id>
<edge_type>1</edge_type>
<source_obj>178</source_obj>
<sink_obj>179</sink_obj>
</item>
<item class_id_reference="19" object_id="_297">
<id>387</id>
<edge_type>1</edge_type>
<source_obj>7</source_obj>
<sink_obj>180</sink_obj>
</item>
<item class_id_reference="19" object_id="_298">
<id>388</id>
<edge_type>1</edge_type>
<source_obj>179</source_obj>
<sink_obj>180</sink_obj>
</item>
<item class_id_reference="19" object_id="_299">
<id>389</id>
<edge_type>1</edge_type>
<source_obj>72</source_obj>
<sink_obj>181</sink_obj>
</item>
<item class_id_reference="19" object_id="_300">
<id>391</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>182</sink_obj>
</item>
<item class_id_reference="19" object_id="_301">
<id>392</id>
<edge_type>1</edge_type>
<source_obj>182</source_obj>
<sink_obj>183</sink_obj>
</item>
<item class_id_reference="19" object_id="_302">
<id>393</id>
<edge_type>1</edge_type>
<source_obj>181</source_obj>
<sink_obj>184</sink_obj>
</item>
<item class_id_reference="19" object_id="_303">
<id>394</id>
<edge_type>1</edge_type>
<source_obj>183</source_obj>
<sink_obj>184</sink_obj>
</item>
<item class_id_reference="19" object_id="_304">
<id>395</id>
<edge_type>1</edge_type>
<source_obj>184</source_obj>
<sink_obj>185</sink_obj>
</item>
<item class_id_reference="19" object_id="_305">
<id>397</id>
<edge_type>1</edge_type>
<source_obj>8</source_obj>
<sink_obj>186</sink_obj>
</item>
<item class_id_reference="19" object_id="_306">
<id>398</id>
<edge_type>1</edge_type>
<source_obj>185</source_obj>
<sink_obj>186</sink_obj>
</item>
<item class_id_reference="19" object_id="_307">
<id>400</id>
<edge_type>1</edge_type>
<source_obj>41</source_obj>
<sink_obj>187</sink_obj>
</item>
<item class_id_reference="19" object_id="_308">
<id>401</id>
<edge_type>1</edge_type>
<source_obj>187</source_obj>
<sink_obj>188</sink_obj>
</item>
<item class_id_reference="19" object_id="_309">
<id>402</id>
<edge_type>1</edge_type>
<source_obj>142</source_obj>
<sink_obj>189</sink_obj>
</item>
<item class_id_reference="19" object_id="_310">
<id>403</id>
<edge_type>1</edge_type>
<source_obj>188</source_obj>
<sink_obj>189</sink_obj>
</item>
<item class_id_reference="19" object_id="_311">
<id>404</id>
<edge_type>1</edge_type>
<source_obj>189</source_obj>
<sink_obj>190</sink_obj>
</item>
<item class_id_reference="19" object_id="_312">
<id>406</id>
<edge_type>1</edge_type>
<source_obj>9</source_obj>
<sink_obj>191</sink_obj>
</item>
<item class_id_reference="19" object_id="_313">
<id>407</id>
<edge_type>1</edge_type>
<source_obj>190</source_obj>
<sink_obj>191</sink_obj>
</item>
<item class_id_reference="19" object_id="_314">
<id>409</id>
<edge_type>1</edge_type>
<source_obj>42</source_obj>
<sink_obj>192</sink_obj>
</item>
<item class_id_reference="19" object_id="_315">
<id>410</id>
<edge_type>1</edge_type>
<source_obj>192</source_obj>
<sink_obj>193</sink_obj>
</item>
<item class_id_reference="19" object_id="_316">
<id>411</id>
<edge_type>1</edge_type>
<source_obj>148</source_obj>
<sink_obj>194</sink_obj>
</item>
<item class_id_reference="19" object_id="_317">
<id>412</id>
<edge_type>1</edge_type>
<source_obj>193</source_obj>
<sink_obj>194</sink_obj>
</item>
<item class_id_reference="19" object_id="_318">
<id>413</id>
<edge_type>1</edge_type>
<source_obj>194</source_obj>
<sink_obj>195</sink_obj>
</item>
<item class_id_reference="19" object_id="_319">
<id>415</id>
<edge_type>1</edge_type>
<source_obj>10</source_obj>
<sink_obj>196</sink_obj>
</item>
<item class_id_reference="19" object_id="_320">
<id>416</id>
<edge_type>1</edge_type>
<source_obj>195</source_obj>
<sink_obj>196</sink_obj>
</item>
<item class_id_reference="19" object_id="_321">
<id>418</id>
<edge_type>1</edge_type>
<source_obj>43</source_obj>
<sink_obj>197</sink_obj>
</item>
<item class_id_reference="19" object_id="_322">
<id>419</id>
<edge_type>1</edge_type>
<source_obj>197</source_obj>
<sink_obj>198</sink_obj>
</item>
<item class_id_reference="19" object_id="_323">
<id>420</id>
<edge_type>1</edge_type>
<source_obj>154</source_obj>
<sink_obj>199</sink_obj>
</item>
<item class_id_reference="19" object_id="_324">
<id>421</id>
<edge_type>1</edge_type>
<source_obj>198</source_obj>
<sink_obj>199</sink_obj>
</item>
<item class_id_reference="19" object_id="_325">
<id>422</id>
<edge_type>1</edge_type>
<source_obj>199</source_obj>
<sink_obj>200</sink_obj>
</item>
<item class_id_reference="19" object_id="_326">
<id>424</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>201</sink_obj>
</item>
<item class_id_reference="19" object_id="_327">
<id>425</id>
<edge_type>1</edge_type>
<source_obj>200</source_obj>
<sink_obj>201</sink_obj>
</item>
<item class_id_reference="19" object_id="_328">
<id>427</id>
<edge_type>1</edge_type>
<source_obj>44</source_obj>
<sink_obj>202</sink_obj>
</item>
<item class_id_reference="19" object_id="_329">
<id>428</id>
<edge_type>1</edge_type>
<source_obj>202</source_obj>
<sink_obj>203</sink_obj>
</item>
<item class_id_reference="19" object_id="_330">
<id>429</id>
<edge_type>1</edge_type>
<source_obj>160</source_obj>
<sink_obj>204</sink_obj>
</item>
<item class_id_reference="19" object_id="_331">
<id>430</id>
<edge_type>1</edge_type>
<source_obj>203</source_obj>
<sink_obj>204</sink_obj>
</item>
<item class_id_reference="19" object_id="_332">
<id>431</id>
<edge_type>1</edge_type>
<source_obj>204</source_obj>
<sink_obj>205</sink_obj>
</item>
<item class_id_reference="19" object_id="_333">
<id>433</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>206</sink_obj>
</item>
<item class_id_reference="19" object_id="_334">
<id>434</id>
<edge_type>1</edge_type>
<source_obj>205</source_obj>
<sink_obj>206</sink_obj>
</item>
<item class_id_reference="19" object_id="_335">
<id>436</id>
<edge_type>1</edge_type>
<source_obj>45</source_obj>
<sink_obj>207</sink_obj>
</item>
<item class_id_reference="19" object_id="_336">
<id>437</id>
<edge_type>1</edge_type>
<source_obj>207</source_obj>
<sink_obj>208</sink_obj>
</item>
<item class_id_reference="19" object_id="_337">
<id>438</id>
<edge_type>1</edge_type>
<source_obj>166</source_obj>
<sink_obj>209</sink_obj>
</item>
<item class_id_reference="19" object_id="_338">
<id>439</id>
<edge_type>1</edge_type>
<source_obj>208</source_obj>
<sink_obj>209</sink_obj>
</item>
<item class_id_reference="19" object_id="_339">
<id>440</id>
<edge_type>1</edge_type>
<source_obj>209</source_obj>
<sink_obj>210</sink_obj>
</item>
<item class_id_reference="19" object_id="_340">
<id>442</id>
<edge_type>1</edge_type>
<source_obj>13</source_obj>
<sink_obj>211</sink_obj>
</item>
<item class_id_reference="19" object_id="_341">
<id>443</id>
<edge_type>1</edge_type>
<source_obj>210</source_obj>
<sink_obj>211</sink_obj>
</item>
<item class_id_reference="19" object_id="_342">
<id>445</id>
<edge_type>1</edge_type>
<source_obj>46</source_obj>
<sink_obj>212</sink_obj>
</item>
<item class_id_reference="19" object_id="_343">
<id>446</id>
<edge_type>1</edge_type>
<source_obj>212</source_obj>
<sink_obj>213</sink_obj>
</item>
<item class_id_reference="19" object_id="_344">
<id>447</id>
<edge_type>1</edge_type>
<source_obj>172</source_obj>
<sink_obj>214</sink_obj>
</item>
<item class_id_reference="19" object_id="_345">
<id>448</id>
<edge_type>1</edge_type>
<source_obj>213</source_obj>
<sink_obj>214</sink_obj>
</item>
<item class_id_reference="19" object_id="_346">
<id>449</id>
<edge_type>1</edge_type>
<source_obj>214</source_obj>
<sink_obj>215</sink_obj>
</item>
<item class_id_reference="19" object_id="_347">
<id>451</id>
<edge_type>1</edge_type>
<source_obj>14</source_obj>
<sink_obj>216</sink_obj>
</item>
<item class_id_reference="19" object_id="_348">
<id>452</id>
<edge_type>1</edge_type>
<source_obj>215</source_obj>
<sink_obj>216</sink_obj>
</item>
<item class_id_reference="19" object_id="_349">
<id>454</id>
<edge_type>1</edge_type>
<source_obj>47</source_obj>
<sink_obj>217</sink_obj>
</item>
<item class_id_reference="19" object_id="_350">
<id>455</id>
<edge_type>1</edge_type>
<source_obj>217</source_obj>
<sink_obj>218</sink_obj>
</item>
<item class_id_reference="19" object_id="_351">
<id>456</id>
<edge_type>1</edge_type>
<source_obj>178</source_obj>
<sink_obj>219</sink_obj>
</item>
<item class_id_reference="19" object_id="_352">
<id>457</id>
<edge_type>1</edge_type>
<source_obj>218</source_obj>
<sink_obj>219</sink_obj>
</item>
<item class_id_reference="19" object_id="_353">
<id>458</id>
<edge_type>1</edge_type>
<source_obj>219</source_obj>
<sink_obj>220</sink_obj>
</item>
<item class_id_reference="19" object_id="_354">
<id>460</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>221</sink_obj>
</item>
<item class_id_reference="19" object_id="_355">
<id>461</id>
<edge_type>1</edge_type>
<source_obj>220</source_obj>
<sink_obj>221</sink_obj>
</item>
<item class_id_reference="19" object_id="_356">
<id>463</id>
<edge_type>1</edge_type>
<source_obj>48</source_obj>
<sink_obj>222</sink_obj>
</item>
<item class_id_reference="19" object_id="_357">
<id>464</id>
<edge_type>1</edge_type>
<source_obj>222</source_obj>
<sink_obj>223</sink_obj>
</item>
<item class_id_reference="19" object_id="_358">
<id>465</id>
<edge_type>1</edge_type>
<source_obj>184</source_obj>
<sink_obj>224</sink_obj>
</item>
<item class_id_reference="19" object_id="_359">
<id>466</id>
<edge_type>1</edge_type>
<source_obj>223</source_obj>
<sink_obj>224</sink_obj>
</item>
<item class_id_reference="19" object_id="_360">
<id>467</id>
<edge_type>1</edge_type>
<source_obj>224</source_obj>
<sink_obj>225</sink_obj>
</item>
<item class_id_reference="19" object_id="_361">
<id>469</id>
<edge_type>1</edge_type>
<source_obj>16</source_obj>
<sink_obj>226</sink_obj>
</item>
<item class_id_reference="19" object_id="_362">
<id>470</id>
<edge_type>1</edge_type>
<source_obj>225</source_obj>
<sink_obj>226</sink_obj>
</item>
<item class_id_reference="19" object_id="_363">
<id>472</id>
<edge_type>1</edge_type>
<source_obj>49</source_obj>
<sink_obj>227</sink_obj>
</item>
<item class_id_reference="19" object_id="_364">
<id>473</id>
<edge_type>1</edge_type>
<source_obj>227</source_obj>
<sink_obj>228</sink_obj>
</item>
<item class_id_reference="19" object_id="_365">
<id>474</id>
<edge_type>1</edge_type>
<source_obj>189</source_obj>
<sink_obj>229</sink_obj>
</item>
<item class_id_reference="19" object_id="_366">
<id>475</id>
<edge_type>1</edge_type>
<source_obj>228</source_obj>
<sink_obj>229</sink_obj>
</item>
<item class_id_reference="19" object_id="_367">
<id>476</id>
<edge_type>1</edge_type>
<source_obj>229</source_obj>
<sink_obj>230</sink_obj>
</item>
<item class_id_reference="19" object_id="_368">
<id>478</id>
<edge_type>1</edge_type>
<source_obj>17</source_obj>
<sink_obj>231</sink_obj>
</item>
<item class_id_reference="19" object_id="_369">
<id>479</id>
<edge_type>1</edge_type>
<source_obj>230</source_obj>
<sink_obj>231</sink_obj>
</item>
<item class_id_reference="19" object_id="_370">
<id>481</id>
<edge_type>1</edge_type>
<source_obj>50</source_obj>
<sink_obj>232</sink_obj>
</item>
<item class_id_reference="19" object_id="_371">
<id>482</id>
<edge_type>1</edge_type>
<source_obj>232</source_obj>
<sink_obj>233</sink_obj>
</item>
<item class_id_reference="19" object_id="_372">
<id>483</id>
<edge_type>1</edge_type>
<source_obj>194</source_obj>
<sink_obj>234</sink_obj>
</item>
<item class_id_reference="19" object_id="_373">
<id>484</id>
<edge_type>1</edge_type>
<source_obj>233</source_obj>
<sink_obj>234</sink_obj>
</item>
<item class_id_reference="19" object_id="_374">
<id>485</id>
<edge_type>1</edge_type>
<source_obj>234</source_obj>
<sink_obj>235</sink_obj>
</item>
<item class_id_reference="19" object_id="_375">
<id>487</id>
<edge_type>1</edge_type>
<source_obj>18</source_obj>
<sink_obj>236</sink_obj>
</item>
<item class_id_reference="19" object_id="_376">
<id>488</id>
<edge_type>1</edge_type>
<source_obj>235</source_obj>
<sink_obj>236</sink_obj>
</item>
<item class_id_reference="19" object_id="_377">
<id>490</id>
<edge_type>1</edge_type>
<source_obj>51</source_obj>
<sink_obj>237</sink_obj>
</item>
<item class_id_reference="19" object_id="_378">
<id>491</id>
<edge_type>1</edge_type>
<source_obj>237</source_obj>
<sink_obj>238</sink_obj>
</item>
<item class_id_reference="19" object_id="_379">
<id>492</id>
<edge_type>1</edge_type>
<source_obj>199</source_obj>
<sink_obj>239</sink_obj>
</item>
<item class_id_reference="19" object_id="_380">
<id>493</id>
<edge_type>1</edge_type>
<source_obj>238</source_obj>
<sink_obj>239</sink_obj>
</item>
<item class_id_reference="19" object_id="_381">
<id>494</id>
<edge_type>1</edge_type>
<source_obj>239</source_obj>
<sink_obj>240</sink_obj>
</item>
<item class_id_reference="19" object_id="_382">
<id>496</id>
<edge_type>1</edge_type>
<source_obj>19</source_obj>
<sink_obj>241</sink_obj>
</item>
<item class_id_reference="19" object_id="_383">
<id>497</id>
<edge_type>1</edge_type>
<source_obj>240</source_obj>
<sink_obj>241</sink_obj>
</item>
<item class_id_reference="19" object_id="_384">
<id>499</id>
<edge_type>1</edge_type>
<source_obj>52</source_obj>
<sink_obj>242</sink_obj>
</item>
<item class_id_reference="19" object_id="_385">
<id>500</id>
<edge_type>1</edge_type>
<source_obj>242</source_obj>
<sink_obj>243</sink_obj>
</item>
<item class_id_reference="19" object_id="_386">
<id>501</id>
<edge_type>1</edge_type>
<source_obj>204</source_obj>
<sink_obj>244</sink_obj>
</item>
<item class_id_reference="19" object_id="_387">
<id>502</id>
<edge_type>1</edge_type>
<source_obj>243</source_obj>
<sink_obj>244</sink_obj>
</item>
<item class_id_reference="19" object_id="_388">
<id>503</id>
<edge_type>1</edge_type>
<source_obj>244</source_obj>
<sink_obj>245</sink_obj>
</item>
<item class_id_reference="19" object_id="_389">
<id>505</id>
<edge_type>1</edge_type>
<source_obj>20</source_obj>
<sink_obj>246</sink_obj>
</item>
<item class_id_reference="19" object_id="_390">
<id>506</id>
<edge_type>1</edge_type>
<source_obj>245</source_obj>
<sink_obj>246</sink_obj>
</item>
<item class_id_reference="19" object_id="_391">
<id>508</id>
<edge_type>1</edge_type>
<source_obj>53</source_obj>
<sink_obj>247</sink_obj>
</item>
<item class_id_reference="19" object_id="_392">
<id>509</id>
<edge_type>1</edge_type>
<source_obj>247</source_obj>
<sink_obj>248</sink_obj>
</item>
<item class_id_reference="19" object_id="_393">
<id>510</id>
<edge_type>1</edge_type>
<source_obj>209</source_obj>
<sink_obj>249</sink_obj>
</item>
<item class_id_reference="19" object_id="_394">
<id>511</id>
<edge_type>1</edge_type>
<source_obj>248</source_obj>
<sink_obj>249</sink_obj>
</item>
<item class_id_reference="19" object_id="_395">
<id>512</id>
<edge_type>1</edge_type>
<source_obj>249</source_obj>
<sink_obj>250</sink_obj>
</item>
<item class_id_reference="19" object_id="_396">
<id>514</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>251</sink_obj>
</item>
<item class_id_reference="19" object_id="_397">
<id>515</id>
<edge_type>1</edge_type>
<source_obj>250</source_obj>
<sink_obj>251</sink_obj>
</item>
<item class_id_reference="19" object_id="_398">
<id>517</id>
<edge_type>1</edge_type>
<source_obj>54</source_obj>
<sink_obj>252</sink_obj>
</item>
<item class_id_reference="19" object_id="_399">
<id>518</id>
<edge_type>1</edge_type>
<source_obj>252</source_obj>
<sink_obj>253</sink_obj>
</item>
<item class_id_reference="19" object_id="_400">
<id>519</id>
<edge_type>1</edge_type>
<source_obj>214</source_obj>
<sink_obj>254</sink_obj>
</item>
<item class_id_reference="19" object_id="_401">
<id>520</id>
<edge_type>1</edge_type>
<source_obj>253</source_obj>
<sink_obj>254</sink_obj>
</item>
<item class_id_reference="19" object_id="_402">
<id>521</id>
<edge_type>1</edge_type>
<source_obj>254</source_obj>
<sink_obj>255</sink_obj>
</item>
<item class_id_reference="19" object_id="_403">
<id>523</id>
<edge_type>1</edge_type>
<source_obj>22</source_obj>
<sink_obj>256</sink_obj>
</item>
<item class_id_reference="19" object_id="_404">
<id>524</id>
<edge_type>1</edge_type>
<source_obj>255</source_obj>
<sink_obj>256</sink_obj>
</item>
<item class_id_reference="19" object_id="_405">
<id>526</id>
<edge_type>1</edge_type>
<source_obj>55</source_obj>
<sink_obj>257</sink_obj>
</item>
<item class_id_reference="19" object_id="_406">
<id>527</id>
<edge_type>1</edge_type>
<source_obj>257</source_obj>
<sink_obj>258</sink_obj>
</item>
<item class_id_reference="19" object_id="_407">
<id>528</id>
<edge_type>1</edge_type>
<source_obj>219</source_obj>
<sink_obj>259</sink_obj>
</item>
<item class_id_reference="19" object_id="_408">
<id>529</id>
<edge_type>1</edge_type>
<source_obj>258</source_obj>
<sink_obj>259</sink_obj>
</item>
<item class_id_reference="19" object_id="_409">
<id>530</id>
<edge_type>1</edge_type>
<source_obj>259</source_obj>
<sink_obj>260</sink_obj>
</item>
<item class_id_reference="19" object_id="_410">
<id>532</id>
<edge_type>1</edge_type>
<source_obj>23</source_obj>
<sink_obj>261</sink_obj>
</item>
<item class_id_reference="19" object_id="_411">
<id>533</id>
<edge_type>1</edge_type>
<source_obj>260</source_obj>
<sink_obj>261</sink_obj>
</item>
<item class_id_reference="19" object_id="_412">
<id>535</id>
<edge_type>1</edge_type>
<source_obj>56</source_obj>
<sink_obj>262</sink_obj>
</item>
<item class_id_reference="19" object_id="_413">
<id>536</id>
<edge_type>1</edge_type>
<source_obj>262</source_obj>
<sink_obj>263</sink_obj>
</item>
<item class_id_reference="19" object_id="_414">
<id>537</id>
<edge_type>1</edge_type>
<source_obj>224</source_obj>
<sink_obj>264</sink_obj>
</item>
<item class_id_reference="19" object_id="_415">
<id>538</id>
<edge_type>1</edge_type>
<source_obj>263</source_obj>
<sink_obj>264</sink_obj>
</item>
<item class_id_reference="19" object_id="_416">
<id>539</id>
<edge_type>1</edge_type>
<source_obj>264</source_obj>
<sink_obj>265</sink_obj>
</item>
<item class_id_reference="19" object_id="_417">
<id>541</id>
<edge_type>1</edge_type>
<source_obj>24</source_obj>
<sink_obj>266</sink_obj>
</item>
<item class_id_reference="19" object_id="_418">
<id>542</id>
<edge_type>1</edge_type>
<source_obj>265</source_obj>
<sink_obj>266</sink_obj>
</item>
<item class_id_reference="19" object_id="_419">
<id>544</id>
<edge_type>1</edge_type>
<source_obj>57</source_obj>
<sink_obj>267</sink_obj>
</item>
<item class_id_reference="19" object_id="_420">
<id>545</id>
<edge_type>1</edge_type>
<source_obj>267</source_obj>
<sink_obj>268</sink_obj>
</item>
<item class_id_reference="19" object_id="_421">
<id>546</id>
<edge_type>1</edge_type>
<source_obj>229</source_obj>
<sink_obj>269</sink_obj>
</item>
<item class_id_reference="19" object_id="_422">
<id>547</id>
<edge_type>1</edge_type>
<source_obj>268</source_obj>
<sink_obj>269</sink_obj>
</item>
<item class_id_reference="19" object_id="_423">
<id>548</id>
<edge_type>1</edge_type>
<source_obj>269</source_obj>
<sink_obj>270</sink_obj>
</item>
<item class_id_reference="19" object_id="_424">
<id>549</id>
<edge_type>1</edge_type>
<source_obj>65</source_obj>
<sink_obj>270</sink_obj>
</item>
<item class_id_reference="19" object_id="_425">
<id>550</id>
<edge_type>1</edge_type>
<source_obj>269</source_obj>
<sink_obj>271</sink_obj>
</item>
<item class_id_reference="19" object_id="_426">
<id>552</id>
<edge_type>1</edge_type>
<source_obj>25</source_obj>
<sink_obj>272</sink_obj>
</item>
<item class_id_reference="19" object_id="_427">
<id>553</id>
<edge_type>1</edge_type>
<source_obj>271</source_obj>
<sink_obj>272</sink_obj>
</item>
<item class_id_reference="19" object_id="_428">
<id>555</id>
<edge_type>1</edge_type>
<source_obj>58</source_obj>
<sink_obj>273</sink_obj>
</item>
<item class_id_reference="19" object_id="_429">
<id>556</id>
<edge_type>1</edge_type>
<source_obj>273</source_obj>
<sink_obj>274</sink_obj>
</item>
<item class_id_reference="19" object_id="_430">
<id>557</id>
<edge_type>1</edge_type>
<source_obj>234</source_obj>
<sink_obj>275</sink_obj>
</item>
<item class_id_reference="19" object_id="_431">
<id>558</id>
<edge_type>1</edge_type>
<source_obj>274</source_obj>
<sink_obj>275</sink_obj>
</item>
<item class_id_reference="19" object_id="_432">
<id>559</id>
<edge_type>1</edge_type>
<source_obj>275</source_obj>
<sink_obj>276</sink_obj>
</item>
<item class_id_reference="19" object_id="_433">
<id>560</id>
<edge_type>1</edge_type>
<source_obj>66</source_obj>
<sink_obj>276</sink_obj>
</item>
<item class_id_reference="19" object_id="_434">
<id>561</id>
<edge_type>1</edge_type>
<source_obj>275</source_obj>
<sink_obj>277</sink_obj>
</item>
<item class_id_reference="19" object_id="_435">
<id>563</id>
<edge_type>1</edge_type>
<source_obj>26</source_obj>
<sink_obj>278</sink_obj>
</item>
<item class_id_reference="19" object_id="_436">
<id>564</id>
<edge_type>1</edge_type>
<source_obj>277</source_obj>
<sink_obj>278</sink_obj>
</item>
<item class_id_reference="19" object_id="_437">
<id>566</id>
<edge_type>1</edge_type>
<source_obj>59</source_obj>
<sink_obj>279</sink_obj>
</item>
<item class_id_reference="19" object_id="_438">
<id>567</id>
<edge_type>1</edge_type>
<source_obj>279</source_obj>
<sink_obj>280</sink_obj>
</item>
<item class_id_reference="19" object_id="_439">
<id>568</id>
<edge_type>1</edge_type>
<source_obj>239</source_obj>
<sink_obj>281</sink_obj>
</item>
<item class_id_reference="19" object_id="_440">
<id>569</id>
<edge_type>1</edge_type>
<source_obj>280</source_obj>
<sink_obj>281</sink_obj>
</item>
<item class_id_reference="19" object_id="_441">
<id>570</id>
<edge_type>1</edge_type>
<source_obj>281</source_obj>
<sink_obj>282</sink_obj>
</item>
<item class_id_reference="19" object_id="_442">
<id>571</id>
<edge_type>1</edge_type>
<source_obj>67</source_obj>
<sink_obj>282</sink_obj>
</item>
<item class_id_reference="19" object_id="_443">
<id>572</id>
<edge_type>1</edge_type>
<source_obj>281</source_obj>
<sink_obj>283</sink_obj>
</item>
<item class_id_reference="19" object_id="_444">
<id>574</id>
<edge_type>1</edge_type>
<source_obj>27</source_obj>
<sink_obj>284</sink_obj>
</item>
<item class_id_reference="19" object_id="_445">
<id>575</id>
<edge_type>1</edge_type>
<source_obj>283</source_obj>
<sink_obj>284</sink_obj>
</item>
<item class_id_reference="19" object_id="_446">
<id>577</id>
<edge_type>1</edge_type>
<source_obj>60</source_obj>
<sink_obj>285</sink_obj>
</item>
<item class_id_reference="19" object_id="_447">
<id>578</id>
<edge_type>1</edge_type>
<source_obj>285</source_obj>
<sink_obj>286</sink_obj>
</item>
<item class_id_reference="19" object_id="_448">
<id>579</id>
<edge_type>1</edge_type>
<source_obj>244</source_obj>
<sink_obj>287</sink_obj>
</item>
<item class_id_reference="19" object_id="_449">
<id>580</id>
<edge_type>1</edge_type>
<source_obj>286</source_obj>
<sink_obj>287</sink_obj>
</item>
<item class_id_reference="19" object_id="_450">
<id>581</id>
<edge_type>1</edge_type>
<source_obj>287</source_obj>
<sink_obj>288</sink_obj>
</item>
<item class_id_reference="19" object_id="_451">
<id>582</id>
<edge_type>1</edge_type>
<source_obj>68</source_obj>
<sink_obj>288</sink_obj>
</item>
<item class_id_reference="19" object_id="_452">
<id>583</id>
<edge_type>1</edge_type>
<source_obj>287</source_obj>
<sink_obj>289</sink_obj>
</item>
<item class_id_reference="19" object_id="_453">
<id>585</id>
<edge_type>1</edge_type>
<source_obj>28</source_obj>
<sink_obj>290</sink_obj>
</item>
<item class_id_reference="19" object_id="_454">
<id>586</id>
<edge_type>1</edge_type>
<source_obj>289</source_obj>
<sink_obj>290</sink_obj>
</item>
<item class_id_reference="19" object_id="_455">
<id>588</id>
<edge_type>1</edge_type>
<source_obj>61</source_obj>
<sink_obj>291</sink_obj>
</item>
<item class_id_reference="19" object_id="_456">
<id>589</id>
<edge_type>1</edge_type>
<source_obj>291</source_obj>
<sink_obj>292</sink_obj>
</item>
<item class_id_reference="19" object_id="_457">
<id>590</id>
<edge_type>1</edge_type>
<source_obj>249</source_obj>
<sink_obj>293</sink_obj>
</item>
<item class_id_reference="19" object_id="_458">
<id>591</id>
<edge_type>1</edge_type>
<source_obj>292</source_obj>
<sink_obj>293</sink_obj>
</item>
<item class_id_reference="19" object_id="_459">
<id>592</id>
<edge_type>1</edge_type>
<source_obj>293</source_obj>
<sink_obj>294</sink_obj>
</item>
<item class_id_reference="19" object_id="_460">
<id>593</id>
<edge_type>1</edge_type>
<source_obj>69</source_obj>
<sink_obj>294</sink_obj>
</item>
<item class_id_reference="19" object_id="_461">
<id>594</id>
<edge_type>1</edge_type>
<source_obj>293</source_obj>
<sink_obj>295</sink_obj>
</item>
<item class_id_reference="19" object_id="_462">
<id>596</id>
<edge_type>1</edge_type>
<source_obj>29</source_obj>
<sink_obj>296</sink_obj>
</item>
<item class_id_reference="19" object_id="_463">
<id>597</id>
<edge_type>1</edge_type>
<source_obj>295</source_obj>
<sink_obj>296</sink_obj>
</item>
<item class_id_reference="19" object_id="_464">
<id>599</id>
<edge_type>1</edge_type>
<source_obj>62</source_obj>
<sink_obj>297</sink_obj>
</item>
<item class_id_reference="19" object_id="_465">
<id>600</id>
<edge_type>1</edge_type>
<source_obj>297</source_obj>
<sink_obj>298</sink_obj>
</item>
<item class_id_reference="19" object_id="_466">
<id>601</id>
<edge_type>1</edge_type>
<source_obj>254</source_obj>
<sink_obj>299</sink_obj>
</item>
<item class_id_reference="19" object_id="_467">
<id>602</id>
<edge_type>1</edge_type>
<source_obj>298</source_obj>
<sink_obj>299</sink_obj>
</item>
<item class_id_reference="19" object_id="_468">
<id>603</id>
<edge_type>1</edge_type>
<source_obj>299</source_obj>
<sink_obj>300</sink_obj>
</item>
<item class_id_reference="19" object_id="_469">
<id>604</id>
<edge_type>1</edge_type>
<source_obj>70</source_obj>
<sink_obj>300</sink_obj>
</item>
<item class_id_reference="19" object_id="_470">
<id>605</id>
<edge_type>1</edge_type>
<source_obj>299</source_obj>
<sink_obj>301</sink_obj>
</item>
<item class_id_reference="19" object_id="_471">
<id>607</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>302</sink_obj>
</item>
<item class_id_reference="19" object_id="_472">
<id>608</id>
<edge_type>1</edge_type>
<source_obj>301</source_obj>
<sink_obj>302</sink_obj>
</item>
<item class_id_reference="19" object_id="_473">
<id>610</id>
<edge_type>1</edge_type>
<source_obj>63</source_obj>
<sink_obj>303</sink_obj>
</item>
<item class_id_reference="19" object_id="_474">
<id>611</id>
<edge_type>1</edge_type>
<source_obj>303</source_obj>
<sink_obj>304</sink_obj>
</item>
<item class_id_reference="19" object_id="_475">
<id>612</id>
<edge_type>1</edge_type>
<source_obj>259</source_obj>
<sink_obj>305</sink_obj>
</item>
<item class_id_reference="19" object_id="_476">
<id>613</id>
<edge_type>1</edge_type>
<source_obj>304</source_obj>
<sink_obj>305</sink_obj>
</item>
<item class_id_reference="19" object_id="_477">
<id>614</id>
<edge_type>1</edge_type>
<source_obj>305</source_obj>
<sink_obj>306</sink_obj>
</item>
<item class_id_reference="19" object_id="_478">
<id>615</id>
<edge_type>1</edge_type>
<source_obj>71</source_obj>
<sink_obj>306</sink_obj>
</item>
<item class_id_reference="19" object_id="_479">
<id>616</id>
<edge_type>1</edge_type>
<source_obj>305</source_obj>
<sink_obj>307</sink_obj>
</item>
<item class_id_reference="19" object_id="_480">
<id>618</id>
<edge_type>1</edge_type>
<source_obj>31</source_obj>
<sink_obj>308</sink_obj>
</item>
<item class_id_reference="19" object_id="_481">
<id>619</id>
<edge_type>1</edge_type>
<source_obj>307</source_obj>
<sink_obj>308</sink_obj>
</item>
<item class_id_reference="19" object_id="_482">
<id>621</id>
<edge_type>1</edge_type>
<source_obj>64</source_obj>
<sink_obj>309</sink_obj>
</item>
<item class_id_reference="19" object_id="_483">
<id>622</id>
<edge_type>1</edge_type>
<source_obj>309</source_obj>
<sink_obj>310</sink_obj>
</item>
<item class_id_reference="19" object_id="_484">
<id>623</id>
<edge_type>1</edge_type>
<source_obj>264</source_obj>
<sink_obj>311</sink_obj>
</item>
<item class_id_reference="19" object_id="_485">
<id>624</id>
<edge_type>1</edge_type>
<source_obj>310</source_obj>
<sink_obj>311</sink_obj>
</item>
<item class_id_reference="19" object_id="_486">
<id>625</id>
<edge_type>1</edge_type>
<source_obj>311</source_obj>
<sink_obj>312</sink_obj>
</item>
<item class_id_reference="19" object_id="_487">
<id>626</id>
<edge_type>1</edge_type>
<source_obj>72</source_obj>
<sink_obj>312</sink_obj>
</item>
<item class_id_reference="19" object_id="_488">
<id>627</id>
<edge_type>1</edge_type>
<source_obj>311</source_obj>
<sink_obj>313</sink_obj>
</item>
<item class_id_reference="19" object_id="_489">
<id>629</id>
<edge_type>1</edge_type>
<source_obj>32</source_obj>
<sink_obj>314</sink_obj>
</item>
<item class_id_reference="19" object_id="_490">
<id>630</id>
<edge_type>1</edge_type>
<source_obj>313</source_obj>
<sink_obj>314</sink_obj>
</item>
<item class_id_reference="19" object_id="_491">
<id>809</id>
<edge_type>4</edge_type>
<source_obj>181</source_obj>
<sink_obj>312</sink_obj>
</item>
<item class_id_reference="19" object_id="_492">
<id>810</id>
<edge_type>4</edge_type>
<source_obj>175</source_obj>
<sink_obj>306</sink_obj>
</item>
<item class_id_reference="19" object_id="_493">
<id>811</id>
<edge_type>4</edge_type>
<source_obj>169</source_obj>
<sink_obj>300</sink_obj>
</item>
<item class_id_reference="19" object_id="_494">
<id>812</id>
<edge_type>4</edge_type>
<source_obj>163</source_obj>
<sink_obj>294</sink_obj>
</item>
<item class_id_reference="19" object_id="_495">
<id>813</id>
<edge_type>4</edge_type>
<source_obj>157</source_obj>
<sink_obj>288</sink_obj>
</item>
<item class_id_reference="19" object_id="_496">
<id>814</id>
<edge_type>4</edge_type>
<source_obj>151</source_obj>
<sink_obj>282</sink_obj>
</item>
<item class_id_reference="19" object_id="_497">
<id>815</id>
<edge_type>4</edge_type>
<source_obj>145</source_obj>
<sink_obj>276</sink_obj>
</item>
<item class_id_reference="19" object_id="_498">
<id>816</id>
<edge_type>4</edge_type>
<source_obj>139</source_obj>
<sink_obj>270</sink_obj>
</item>
</edges>
</cdfg>
<cdfg_regions class_id="20" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="21" tracking_level="1" version="0" object_id="_499">
<mId>1</mId>
<mTag>array_io</mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>1</count>
<item_version>0</item_version>
<item>316</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>2</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
</cdfg_regions>
<fsm class_id="-1"></fsm>
<res class_id="24" tracking_level="1" version="0" object_id="_500">
<dp_component_resource class_id="25" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_component_resource>
<dp_expression_resource>
<count>0</count>
<item_version>0</item_version>
</dp_expression_resource>
<dp_fifo_resource>
<count>0</count>
<item_version>0</item_version>
</dp_fifo_resource>
<dp_memory_resource>
<count>0</count>
<item_version>0</item_version>
</dp_memory_resource>
<dp_multiplexer_resource>
<count>0</count>
<item_version>0</item_version>
</dp_multiplexer_resource>
<dp_register_resource>
<count>0</count>
<item_version>0</item_version>
</dp_register_resource>
<dp_component_map class_id="26" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_component_map>
<dp_expression_map>
<count>0</count>
<item_version>0</item_version>
</dp_expression_map>
<dp_fifo_map>
<count>0</count>
<item_version>0</item_version>
</dp_fifo_map>
<dp_memory_map>
<count>0</count>
<item_version>0</item_version>
</dp_memory_map>
</res>
<node_label_latency class_id="27" tracking_level="0" version="0">
<count>177</count>
<item_version>0</item_version>
<item class_id="28" tracking_level="0" version="0">
<first>139</first>
<second class_id="29" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>140</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>141</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>142</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>143</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>144</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>145</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>146</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>147</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>148</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>149</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>150</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>151</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>152</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>153</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>154</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>155</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>156</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>157</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>158</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>159</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>160</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>161</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>162</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>163</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>164</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>165</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>166</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>167</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>168</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>169</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>170</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>171</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>172</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>173</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>174</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>175</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>176</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>177</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>178</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>179</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>180</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>181</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>182</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>183</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>184</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>185</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>186</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>187</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>188</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>189</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>190</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>191</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>192</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>193</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>194</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>195</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>196</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>197</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>198</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>199</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>200</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>201</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>202</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>203</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>204</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>205</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>206</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>207</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>208</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>209</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>210</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>211</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>212</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>213</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>214</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>215</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>216</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>217</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>218</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>219</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>220</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>221</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>222</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>223</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>224</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>225</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>226</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>227</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>228</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>229</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>230</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>231</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>232</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>233</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>234</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>235</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>236</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>237</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>238</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>239</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>240</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>241</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>242</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>243</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>244</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>245</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>246</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>247</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>248</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>249</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>250</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>251</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>252</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>253</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>254</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>255</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>256</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>257</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>258</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>259</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>260</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>261</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>262</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>263</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>264</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>265</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>266</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>267</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>268</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>269</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>270</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>271</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>272</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>273</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>274</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>275</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>276</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>277</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>278</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>279</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>280</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>281</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>282</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>283</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>284</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>285</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>286</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>287</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>288</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>289</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>290</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>291</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>292</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>293</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>294</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>295</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>296</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>297</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>298</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>299</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>300</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>301</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>302</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>303</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>304</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>305</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>306</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>307</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>308</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>309</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>310</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>311</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>312</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>313</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>314</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
<item>
<first>315</first>
<second>
<first>2</first>
<second>0</second>
</second>
</item>
</node_label_latency>
<bblk_ent_exit class_id="30" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="31" tracking_level="0" version="0">
<first>316</first>
<second class_id="32" tracking_level="0" version="0">
<first>0</first>
<second>2</second>
</second>
</item>
</bblk_ent_exit>
<regions class_id="33" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</regions>
<dp_fu_nodes class_id="34" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_fu_nodes>
<dp_fu_nodes_expression class_id="35" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_fu_nodes_expression>
<dp_fu_nodes_module>
<count>0</count>
<item_version>0</item_version>
</dp_fu_nodes_module>
<dp_fu_nodes_io>
<count>0</count>
<item_version>0</item_version>
</dp_fu_nodes_io>
<return_ports>
<count>0</count>
<item_version>0</item_version>
</return_ports>
<dp_mem_port_nodes class_id="36" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_mem_port_nodes>
<dp_reg_nodes>
<count>0</count>
<item_version>0</item_version>
</dp_reg_nodes>
<dp_regname_nodes>
<count>0</count>
<item_version>0</item_version>
</dp_regname_nodes>
<dp_reg_phi>
<count>0</count>
<item_version>0</item_version>
</dp_reg_phi>
<dp_regname_phi>
<count>0</count>
<item_version>0</item_version>
</dp_regname_phi>
<dp_port_io_nodes class_id="37" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_port_io_nodes>
<port2core class_id="38" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</port2core>
<node2core>
<count>0</count>
<item_version>0</item_version>
</node2core>
</syndb>
</boost_serialization>
|
--------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (gh+owm@heisenbug.eu)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. See the LICENSE file for more details.
--------------------------------------------------------------------------------
pragma License (Unrestricted);
with GNATCOLL.JSON.Conversions;
package body Open_Weather_Map.API.Service.Utilities is
My_Debug : constant not null GNATCOLL.Traces.Trace_Handle :=
GNATCOLL.Traces.Create (Unit_Name => "OWM.API.SERVICE.UTILITIES");
package Field_Names is
package Coordinates is
Latitude : constant String := "lat";
Longitude : constant String := "lon";
end Coordinates;
end Field_Names;
-----------------------------------------------------------------------------
-- Decode_Coordinates
-----------------------------------------------------------------------------
function Decode_Coordinates
(Coordinates : in GNATCOLL.JSON.JSON_Value) return Geo_Coordinates
is
package Conversions renames GNATCOLL.JSON.Conversions;
begin
My_Debug.all.Trace (Message => "Decode_Coordinates");
return
Geo_Coordinates'(Latitude =>
Conversions.To_Latitude
(Value => Coordinates,
Field => Field_Names.Coordinates.Latitude),
Longitude =>
Conversions.To_Longitude
(Value => Coordinates,
Field => Field_Names.Coordinates.Longitude));
end Decode_Coordinates;
-----------------------------------------------------------------------------
-- Has_Coord_Fields
-----------------------------------------------------------------------------
function Has_Coord_Fields
(Coordinates : in GNATCOLL.JSON.JSON_Value) return Boolean is
begin
My_Debug.all.Trace (Message => "Has_Coord_Fields");
return
Coordinates.Has_Field (Field => Field_Names.Coordinates.Latitude) and then
Coordinates.Has_Field (Field => Field_Names.Coordinates.Longitude);
end Has_Coord_Fields;
end Open_Weather_Map.API.Service.Utilities;
|
with Componolit.Runtime.Debug;
procedure Main
is
procedure Delay_Ms(Ms : Natural) with
Import,
Convention => C,
External_Name => "delayMicroseconds";
function Message return String;
function Message return String
is
begin
return "Make with Ada!";
end Message;
begin
Componolit.Runtime.Debug.Log_Debug (Message);
Delay_Ms (500000);
end Main;
|
-----------------------------------------------------------------------
-- keystore-repository-keys -- Data keys management
-- Copyright (C) 2019, 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Util.Log.Loggers;
with Keystore.Repository.Entries;
package body Keystore.Repository.Keys is
use type Interfaces.Unsigned_32;
use type Interfaces.Unsigned_64;
Log : constant Util.Log.Loggers.Logger
:= Util.Log.Loggers.Create ("Keystore.Repository.Keys");
procedure Load_Next_Keys (Manager : in out Wallet_Manager;
Iterator : in out Data_Key_Iterator) is
Index : Interfaces.Unsigned_32;
Count : Interfaces.Unsigned_16;
Offset : IO.Block_Index;
begin
Iterator.Directory := Wallet_Data_Key_List.Element (Iterator.Key_Iter).Directory;
Entries.Load_Directory (Manager, Iterator.Directory, Iterator.Current);
Iterator.Key_Header_Pos := Iterator.Directory.Key_Pos;
Iterator.Key_Last_Pos := Iterator.Directory.Key_Pos;
Iterator.Key_Count := 0;
-- Scan each data key entry.
Offset := IO.Block_Index'Last;
while Offset > Iterator.Key_Header_Pos loop
Offset := Offset - DATA_KEY_HEADER_SIZE;
Iterator.Current.Pos := Offset;
Index := Marshallers.Get_Unsigned_32 (Iterator.Current);
Count := Marshallers.Get_Unsigned_16 (Iterator.Current);
if Index = Interfaces.Unsigned_32 (Iterator.Entry_Id) then
Iterator.Key_Header_Pos := Offset;
Iterator.Current.Pos := Offset;
Iterator.Key_Count := Count;
Iterator.Count := Count;
Iterator.Key_Last_Pos := Offset - Key_Slot_Size (Count);
return;
end if;
Offset := Offset - Key_Slot_Size (Count);
end loop;
end Load_Next_Keys;
procedure Initialize (Manager : in out Wallet_Manager;
Iterator : in out Data_Key_Iterator;
Item : in Wallet_Entry_Access) is
begin
Iterator.Key_Iter := Item.Data_Blocks.First;
Iterator.Entry_Id := Item.Id;
Iterator.Current_Offset := 0;
Iterator.Key_Pos := IO.Block_Index'Last;
Iterator.Key_Count := 0;
Iterator.Key_Header_Pos := IO.Block_Index'Last;
Iterator.Key_Last_Pos := IO.Block_Index'Last;
Iterator.Count := 0;
Iterator.Item := Item;
Iterator.Data_Size := 0;
if Wallet_Data_Key_List.Has_Element (Iterator.Key_Iter) then
Load_Next_Keys (Manager, Iterator);
if Log.Get_Level >= Util.Log.INFO_LEVEL then
Log.Info ("Item {0} has id{1} with{3} keys in block{2}",
Item.Name, Wallet_Entry_Index'Image (Item.Id),
Buffers.To_String (Iterator.Directory.Block),
Key_Count_Type'Image (Iterator.Key_Count));
end if;
else
Iterator.Directory := null;
if Log.Get_Level >= Util.Log.INFO_LEVEL then
Log.Info ("Item {0} has id{1} with no key", Item.Name,
Wallet_Entry_Index'Image (Item.Id));
end if;
end if;
end Initialize;
function Has_Data_Key (Iterator : in Data_Key_Iterator) return Boolean is
begin
return Iterator.Directory /= null;
end Has_Data_Key;
function Is_Last_Key (Iterator : in Data_Key_Iterator) return Boolean is
begin
return Iterator.Count = 0 and Iterator.Directory /= null;
end Is_Last_Key;
procedure Seek (Manager : in out Wallet_Repository;
Offset : in out Stream_Element_Offset;
Iterator : in out Data_Key_Iterator) is
Data_Size : Stream_Element_Offset;
begin
loop
Next_Data_Key (Manager, Iterator);
exit when not Has_Data_Key (Iterator);
Data_Size := Iterator.Data_Size;
exit when Data_Size > Offset;
Offset := Offset - Data_Size;
end loop;
end Seek;
procedure Next_Data_Key (Manager : in out Wallet_Repository;
Iterator : in out Data_Key_Iterator) is
Pos : IO.Block_Index;
begin
Iterator.Current_Offset
:= Iterator.Current_Offset + Interfaces.Unsigned_64 (Iterator.Data_Size);
loop
-- Extract the next data key from the current directory block.
if Iterator.Count > 0 then
Iterator.Current.Pos := Iterator.Current.Pos - DATA_KEY_ENTRY_SIZE;
Pos := Iterator.Current.Pos;
Iterator.Data_Block := Marshallers.Get_Storage_Block (Iterator.Current);
Iterator.Data_Size := Marshallers.Get_Buffer_Size (Iterator.Current);
Iterator.Key_Pos := Iterator.Current.Pos;
Iterator.Current.Pos := Pos;
Iterator.Count := Iterator.Count - 1;
return;
end if;
if not Wallet_Data_Key_List.Has_Element (Iterator.Key_Iter) then
Iterator.Directory := null;
Iterator.Data_Size := 0;
return;
end if;
Wallet_Data_Key_List.Next (Iterator.Key_Iter);
if not Wallet_Data_Key_List.Has_Element (Iterator.Key_Iter) then
Iterator.Directory := null;
Iterator.Data_Size := 0;
return;
end if;
Load_Next_Keys (Manager, Iterator);
end loop;
end Next_Data_Key;
procedure Mark_Data_Key (Iterator : in Data_Key_Iterator;
Mark : in out Data_Key_Marker) is
begin
Mark.Directory := Iterator.Directory;
Mark.Key_Header_Pos := Iterator.Key_Header_Pos;
Mark.Key_Count := Iterator.Count;
end Mark_Data_Key;
procedure Delete_Key (Manager : in out Wallet_Repository;
Iterator : in out Data_Key_Iterator;
Mark : in out Data_Key_Marker) is
Buf : constant Buffers.Buffer_Accessor := Iterator.Current.Buffer.Data.Value;
Directory : constant Wallet_Directory_Entry_Access := Iterator.Directory;
Key_Start_Pos : IO.Block_Index;
Next_Iter : Wallet_Data_Key_List.Cursor;
Key_Pos : IO.Block_Index;
Del_Count : Key_Count_Type;
Del_Size : IO.Buffer_Size;
New_Count : Key_Count_Type;
begin
if Mark.Key_Count = Iterator.Key_Count then
-- Erase header + all keys
Del_Count := Iterator.Key_Count;
Del_Size := Key_Slot_Size (Del_Count) + DATA_KEY_HEADER_SIZE;
else
-- Erase some data keys but not all of them (the entry was updated and truncated).
Del_Count := Mark.Key_Count;
Del_Size := Key_Slot_Size (Del_Count);
Iterator.Current.Pos := Mark.Key_Header_Pos + 4;
New_Count := Iterator.Key_Count - Mark.Key_Count;
Marshallers.Put_Unsigned_16 (Iterator.Current, New_Count);
end if;
Iterator.Item.Block_Count := Iterator.Item.Block_Count - Natural (Del_Count);
Key_Start_Pos := Iterator.Key_Header_Pos - Key_Slot_Size (Iterator.Key_Count);
if Log.Get_Level >= Util.Log.INFO_LEVEL then
Log.Info ("Delete{1} keys in block{0}@{3} keysize {2}",
Buffers.To_String (Directory.Block),
Key_Count_Type'Image (Del_Count),
Buffers.Image (Del_Size),
Buffers.Image (Key_Start_Pos));
end if;
Key_Pos := Directory.Key_Pos;
if Key_Start_Pos /= Key_Pos then
Buf.Data (Key_Pos + 1 + Del_Size .. Key_Start_Pos + Del_Size)
:= Buf.Data (Key_Pos + 1 .. Key_Start_Pos);
end if;
Buf.Data (Key_Pos + 1 .. Key_Pos + Del_Size) := (others => 0);
-- Release Del_Size bytes from the directory block.
Directory.Key_Pos := Key_Pos + Del_Size;
pragma Assert (Check => Directory.Last_Pos + DATA_KEY_SEPARATOR <= Directory.Key_Pos);
Directory.Available := Directory.Available + Del_Size;
Iterator.Current.Pos := IO.BT_DATA_START + 4 - 1;
Marshallers.Put_Block_Index (Iterator.Current, Directory.Key_Pos);
Manager.Modified.Include (Iterator.Current.Buffer.Block, Iterator.Current.Buffer.Data);
if Mark.Key_Count = Iterator.Key_Count then
Next_Iter := Wallet_Data_Key_List.Next (Iterator.Key_Iter);
Iterator.Item.Data_Blocks.Delete (Iterator.Key_Iter);
Iterator.Key_Iter := Next_Iter;
else
if not Wallet_Data_Key_List.Has_Element (Iterator.Key_Iter) then
Iterator.Directory := null;
return;
end if;
Wallet_Data_Key_List.Next (Iterator.Key_Iter);
end if;
if not Wallet_Data_Key_List.Has_Element (Iterator.Key_Iter) then
Iterator.Directory := null;
return;
end if;
Load_Next_Keys (Manager, Iterator);
Mark_Data_Key (Iterator, Mark);
end Delete_Key;
procedure Prepare_Append (Iterator : in out Data_Key_Iterator) is
begin
Iterator.Key_Iter := Iterator.Item.Data_Blocks.Last;
if Wallet_Data_Key_List.Has_Element (Iterator.Key_Iter) then
Iterator.Directory := Wallet_Data_Key_List.Element (Iterator.Key_Iter).Directory;
end if;
end Prepare_Append;
procedure Allocate_Key_Slot (Manager : in out Wallet_Repository;
Iterator : in out Data_Key_Iterator;
Data_Block : in IO.Storage_Block;
Size : in IO.Buffer_Size;
Key_Pos : out IO.Block_Index;
Key_Block : out IO.Storage_Block) is
Key_Start : IO.Block_Index;
Key_Last : IO.Block_Index;
begin
if Iterator.Directory = null
or else Iterator.Directory.Available < DATA_KEY_ENTRY_SIZE + DATA_KEY_HEADER_SIZE
or else Iterator.Key_Count = Key_Count_Type'Last
then
-- Get a directory block with enough space to hold several keys.
Entries.Find_Directory_Block (Manager, DATA_KEY_ENTRY_SIZE * 4, Iterator.Directory);
Iterator.Directory.Available := Iterator.Directory.Available + DATA_KEY_ENTRY_SIZE * 4;
if Iterator.Directory.Count > 0 then
Entries.Load_Directory (Manager, Iterator.Directory, Iterator.Current);
else
Iterator.Current.Buffer := Manager.Current.Buffer;
end if;
-- Setup the new entry key slot and take room for the key header.
Iterator.Key_Header_Pos := Iterator.Directory.Key_Pos - DATA_KEY_HEADER_SIZE;
Iterator.Directory.Available := Iterator.Directory.Available - DATA_KEY_HEADER_SIZE;
Iterator.Directory.Key_Pos := Iterator.Key_Header_Pos;
Iterator.Key_Last_Pos := Iterator.Key_Header_Pos;
Iterator.Current.Pos := Iterator.Key_Header_Pos;
Iterator.Key_Count := 0;
Marshallers.Put_Unsigned_32 (Iterator.Current,
Interfaces.Unsigned_32 (Iterator.Entry_Id));
Marshallers.Put_Unsigned_16 (Iterator.Current, 0);
Marshallers.Put_Unsigned_32 (Iterator.Current, 0);
Iterator.Item.Data_Blocks.Append (Wallet_Data_Key_Entry '(Iterator.Directory, 0));
end if;
declare
Buf : constant Buffers.Buffer_Accessor := Iterator.Current.Buffer.Data.Value;
Directory : constant Wallet_Directory_Entry_Access := Iterator.Directory;
begin
-- Shift keys before the current slot.
Key_Start := Directory.Key_Pos;
Key_Last := Iterator.Key_Last_Pos;
if Key_Last /= Key_Start then
Buf.Data (Key_Start - DATA_KEY_ENTRY_SIZE .. Key_Last - DATA_KEY_ENTRY_SIZE)
:= Buf.Data (Key_Start .. Key_Last);
end if;
-- Grow the key slot area by one key slot.
Key_Last := Key_Last - DATA_KEY_ENTRY_SIZE;
Key_Start := Key_Start - DATA_KEY_ENTRY_SIZE;
Iterator.Key_Last_Pos := Key_Last;
Directory.Key_Pos := Key_Start;
pragma Assert (Check => Directory.Last_Pos + DATA_KEY_SEPARATOR <= Directory.Key_Pos);
Directory.Available := Directory.Available - DATA_KEY_ENTRY_SIZE;
Iterator.Current.Pos := IO.BT_DATA_START + 4 - 1;
Marshallers.Put_Block_Index (Iterator.Current, Key_Start);
-- Insert the new data key.
Iterator.Key_Count := Iterator.Key_Count + 1;
Iterator.Current.Pos := Iterator.Key_Header_Pos + 4;
Marshallers.Put_Unsigned_16 (Iterator.Current, Iterator.Key_Count);
Iterator.Current.Pos := Iterator.Key_Header_Pos - Key_Slot_Size (Iterator.Key_Count);
Marshallers.Put_Storage_Block (Iterator.Current, Data_Block);
Marshallers.Put_Buffer_Size (Iterator.Current, Size);
Iterator.Key_Pos := Iterator.Current.Pos;
Manager.Modified.Include (Iterator.Current.Buffer.Block, Iterator.Current.Buffer.Data);
Iterator.Item.Block_Count := Iterator.Item.Block_Count + 1;
Key_Pos := Iterator.Key_Pos;
Key_Block := Iterator.Current.Buffer.Block;
end;
end Allocate_Key_Slot;
procedure Update_Key_Slot (Manager : in out Wallet_Repository;
Iterator : in out Data_Key_Iterator;
Size : in IO.Buffer_Size) is
Pos : IO.Block_Index;
begin
pragma Assert (Iterator.Directory /= null);
if Iterator.Data_Size /= Size then
Pos := Iterator.Current.Pos;
Iterator.Current.Pos := Iterator.Key_Pos - 2;
Marshallers.Put_Buffer_Size (Iterator.Current, Size);
Iterator.Current.Pos := Pos;
end if;
Manager.Modified.Include (Iterator.Current.Buffer.Block, Iterator.Current.Buffer.Data);
end Update_Key_Slot;
procedure Create_Wallet (Manager : in out Wallet_Repository;
Item : in Wallet_Entry_Access;
Master_Block : in Keystore.IO.Storage_Block;
Keys : in out Keystore.Keys.Key_Manager) is
Iter : Data_Key_Iterator;
Key_Pos : IO.Block_Index;
Key_Block : IO.Storage_Block;
begin
Initialize (Manager, Iter, Item);
Allocate_Key_Slot (Manager, Iter, Master_Block, IO.Buffer_Size'Last, Key_Pos, Key_Block);
Iter.Current.Pos := Key_Pos;
Keystore.Keys.Create_Master_Key (Keys, Iter.Current, Manager.Config.Key);
end Create_Wallet;
procedure Open_Wallet (Manager : in out Wallet_Repository;
Item : in Wallet_Entry_Access;
Keys : in out Keystore.Keys.Key_Manager) is
Iter : Data_Key_Iterator;
begin
Initialize (Manager, Iter, Item);
Next_Data_Key (Manager, Iter);
pragma Assert (Has_Data_Key (Iter));
Iter.Current.Pos := Iter.Key_Pos;
Keystore.Keys.Load_Master_Key (Keys, Iter.Current, Manager.Config.Key);
end Open_Wallet;
end Keystore.Repository.Keys;
|
--
-- Copyright (C) 2020, AdaCore
--
-- This spec has been automatically generated from STM32F401.svd
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package Interfaces.STM32.RCC is
pragma Preelaborate;
pragma No_Elaboration_Code_All;
---------------
-- Registers --
---------------
subtype CR_HSION_Field is Interfaces.STM32.Bit;
subtype CR_HSIRDY_Field is Interfaces.STM32.Bit;
subtype CR_HSITRIM_Field is Interfaces.STM32.UInt5;
subtype CR_HSICAL_Field is Interfaces.STM32.Byte;
subtype CR_HSEON_Field is Interfaces.STM32.Bit;
subtype CR_HSERDY_Field is Interfaces.STM32.Bit;
subtype CR_HSEBYP_Field is Interfaces.STM32.Bit;
subtype CR_CSSON_Field is Interfaces.STM32.Bit;
subtype CR_PLLON_Field is Interfaces.STM32.Bit;
subtype CR_PLLRDY_Field is Interfaces.STM32.Bit;
subtype CR_PLLI2SON_Field is Interfaces.STM32.Bit;
subtype CR_PLLI2SRDY_Field is Interfaces.STM32.Bit;
-- clock control register
type CR_Register is record
-- Internal high-speed clock enable
HSION : CR_HSION_Field := 16#1#;
-- Read-only. Internal high-speed clock ready flag
HSIRDY : CR_HSIRDY_Field := 16#1#;
-- unspecified
Reserved_2_2 : Interfaces.STM32.Bit := 16#0#;
-- Internal high-speed clock trimming
HSITRIM : CR_HSITRIM_Field := 16#10#;
-- Read-only. Internal high-speed clock calibration
HSICAL : CR_HSICAL_Field := 16#0#;
-- HSE clock enable
HSEON : CR_HSEON_Field := 16#0#;
-- Read-only. HSE clock ready flag
HSERDY : CR_HSERDY_Field := 16#0#;
-- HSE clock bypass
HSEBYP : CR_HSEBYP_Field := 16#0#;
-- Clock security system enable
CSSON : CR_CSSON_Field := 16#0#;
-- unspecified
Reserved_20_23 : Interfaces.STM32.UInt4 := 16#0#;
-- Main PLL (PLL) enable
PLLON : CR_PLLON_Field := 16#0#;
-- Read-only. Main PLL (PLL) clock ready flag
PLLRDY : CR_PLLRDY_Field := 16#0#;
-- PLLI2S enable
PLLI2SON : CR_PLLI2SON_Field := 16#0#;
-- Read-only. PLLI2S clock ready flag
PLLI2SRDY : CR_PLLI2SRDY_Field := 16#0#;
-- unspecified
Reserved_28_31 : Interfaces.STM32.UInt4 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CR_Register use record
HSION at 0 range 0 .. 0;
HSIRDY at 0 range 1 .. 1;
Reserved_2_2 at 0 range 2 .. 2;
HSITRIM at 0 range 3 .. 7;
HSICAL at 0 range 8 .. 15;
HSEON at 0 range 16 .. 16;
HSERDY at 0 range 17 .. 17;
HSEBYP at 0 range 18 .. 18;
CSSON at 0 range 19 .. 19;
Reserved_20_23 at 0 range 20 .. 23;
PLLON at 0 range 24 .. 24;
PLLRDY at 0 range 25 .. 25;
PLLI2SON at 0 range 26 .. 26;
PLLI2SRDY at 0 range 27 .. 27;
Reserved_28_31 at 0 range 28 .. 31;
end record;
subtype PLLCFGR_PLLM_Field is Interfaces.STM32.UInt6;
subtype PLLCFGR_PLLN_Field is Interfaces.STM32.UInt9;
subtype PLLCFGR_PLLP_Field is Interfaces.STM32.UInt2;
subtype PLLCFGR_PLLSRC_Field is Interfaces.STM32.Bit;
subtype PLLCFGR_PLLQ_Field is Interfaces.STM32.UInt4;
-- PLL configuration register
type PLLCFGR_Register is record
-- Division factor for the main PLL (PLL) and audio PLL (PLLI2S) input
-- clock
PLLM : PLLCFGR_PLLM_Field := 16#10#;
-- Main PLL (PLL) multiplication factor for VCO
PLLN : PLLCFGR_PLLN_Field := 16#C0#;
-- unspecified
Reserved_15_15 : Interfaces.STM32.Bit := 16#0#;
-- Main PLL (PLL) division factor for main system clock
PLLP : PLLCFGR_PLLP_Field := 16#0#;
-- unspecified
Reserved_18_21 : Interfaces.STM32.UInt4 := 16#0#;
-- Main PLL(PLL) and audio PLL (PLLI2S) entry clock source
PLLSRC : PLLCFGR_PLLSRC_Field := 16#0#;
-- unspecified
Reserved_23_23 : Interfaces.STM32.Bit := 16#0#;
-- Main PLL (PLL) division factor for USB OTG FS, SDIO and random number
-- generator clocks
PLLQ : PLLCFGR_PLLQ_Field := 16#4#;
-- unspecified
Reserved_28_31 : Interfaces.STM32.UInt4 := 16#2#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for PLLCFGR_Register use record
PLLM at 0 range 0 .. 5;
PLLN at 0 range 6 .. 14;
Reserved_15_15 at 0 range 15 .. 15;
PLLP at 0 range 16 .. 17;
Reserved_18_21 at 0 range 18 .. 21;
PLLSRC at 0 range 22 .. 22;
Reserved_23_23 at 0 range 23 .. 23;
PLLQ at 0 range 24 .. 27;
Reserved_28_31 at 0 range 28 .. 31;
end record;
subtype CFGR_SW_Field is Interfaces.STM32.UInt2;
subtype CFGR_SWS_Field is Interfaces.STM32.UInt2;
subtype CFGR_HPRE_Field is Interfaces.STM32.UInt4;
-- CFGR_PPRE array element
subtype CFGR_PPRE_Element is Interfaces.STM32.UInt3;
-- CFGR_PPRE array
type CFGR_PPRE_Field_Array is array (1 .. 2) of CFGR_PPRE_Element
with Component_Size => 3, Size => 6;
-- Type definition for CFGR_PPRE
type CFGR_PPRE_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- PPRE as a value
Val : Interfaces.STM32.UInt6;
when True =>
-- PPRE as an array
Arr : CFGR_PPRE_Field_Array;
end case;
end record
with Unchecked_Union, Size => 6;
for CFGR_PPRE_Field use record
Val at 0 range 0 .. 5;
Arr at 0 range 0 .. 5;
end record;
subtype CFGR_RTCPRE_Field is Interfaces.STM32.UInt5;
subtype CFGR_MCO1_Field is Interfaces.STM32.UInt2;
subtype CFGR_I2SSRC_Field is Interfaces.STM32.Bit;
subtype CFGR_MCO1PRE_Field is Interfaces.STM32.UInt3;
subtype CFGR_MCO2PRE_Field is Interfaces.STM32.UInt3;
subtype CFGR_MCO2_Field is Interfaces.STM32.UInt2;
-- clock configuration register
type CFGR_Register is record
-- System clock switch
SW : CFGR_SW_Field := 16#0#;
-- Read-only. System clock switch status
SWS : CFGR_SWS_Field := 16#0#;
-- AHB prescaler
HPRE : CFGR_HPRE_Field := 16#0#;
-- unspecified
Reserved_8_9 : Interfaces.STM32.UInt2 := 16#0#;
-- APB Low speed prescaler (APB1)
PPRE : CFGR_PPRE_Field := (As_Array => False, Val => 16#0#);
-- HSE division factor for RTC clock
RTCPRE : CFGR_RTCPRE_Field := 16#0#;
-- Microcontroller clock output 1
MCO1 : CFGR_MCO1_Field := 16#0#;
-- I2S clock selection
I2SSRC : CFGR_I2SSRC_Field := 16#0#;
-- MCO1 prescaler
MCO1PRE : CFGR_MCO1PRE_Field := 16#0#;
-- MCO2 prescaler
MCO2PRE : CFGR_MCO2PRE_Field := 16#0#;
-- Microcontroller clock output 2
MCO2 : CFGR_MCO2_Field := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CFGR_Register use record
SW at 0 range 0 .. 1;
SWS at 0 range 2 .. 3;
HPRE at 0 range 4 .. 7;
Reserved_8_9 at 0 range 8 .. 9;
PPRE at 0 range 10 .. 15;
RTCPRE at 0 range 16 .. 20;
MCO1 at 0 range 21 .. 22;
I2SSRC at 0 range 23 .. 23;
MCO1PRE at 0 range 24 .. 26;
MCO2PRE at 0 range 27 .. 29;
MCO2 at 0 range 30 .. 31;
end record;
subtype CIR_LSIRDYF_Field is Interfaces.STM32.Bit;
subtype CIR_LSERDYF_Field is Interfaces.STM32.Bit;
subtype CIR_HSIRDYF_Field is Interfaces.STM32.Bit;
subtype CIR_HSERDYF_Field is Interfaces.STM32.Bit;
subtype CIR_PLLRDYF_Field is Interfaces.STM32.Bit;
subtype CIR_PLLI2SRDYF_Field is Interfaces.STM32.Bit;
subtype CIR_CSSF_Field is Interfaces.STM32.Bit;
subtype CIR_LSIRDYIE_Field is Interfaces.STM32.Bit;
subtype CIR_LSERDYIE_Field is Interfaces.STM32.Bit;
subtype CIR_HSIRDYIE_Field is Interfaces.STM32.Bit;
subtype CIR_HSERDYIE_Field is Interfaces.STM32.Bit;
subtype CIR_PLLRDYIE_Field is Interfaces.STM32.Bit;
subtype CIR_PLLI2SRDYIE_Field is Interfaces.STM32.Bit;
subtype CIR_LSIRDYC_Field is Interfaces.STM32.Bit;
subtype CIR_LSERDYC_Field is Interfaces.STM32.Bit;
subtype CIR_HSIRDYC_Field is Interfaces.STM32.Bit;
subtype CIR_HSERDYC_Field is Interfaces.STM32.Bit;
subtype CIR_PLLRDYC_Field is Interfaces.STM32.Bit;
subtype CIR_PLLI2SRDYC_Field is Interfaces.STM32.Bit;
subtype CIR_CSSC_Field is Interfaces.STM32.Bit;
-- clock interrupt register
type CIR_Register is record
-- Read-only. LSI ready interrupt flag
LSIRDYF : CIR_LSIRDYF_Field := 16#0#;
-- Read-only. LSE ready interrupt flag
LSERDYF : CIR_LSERDYF_Field := 16#0#;
-- Read-only. HSI ready interrupt flag
HSIRDYF : CIR_HSIRDYF_Field := 16#0#;
-- Read-only. HSE ready interrupt flag
HSERDYF : CIR_HSERDYF_Field := 16#0#;
-- Read-only. Main PLL (PLL) ready interrupt flag
PLLRDYF : CIR_PLLRDYF_Field := 16#0#;
-- Read-only. PLLI2S ready interrupt flag
PLLI2SRDYF : CIR_PLLI2SRDYF_Field := 16#0#;
-- unspecified
Reserved_6_6 : Interfaces.STM32.Bit := 16#0#;
-- Read-only. Clock security system interrupt flag
CSSF : CIR_CSSF_Field := 16#0#;
-- LSI ready interrupt enable
LSIRDYIE : CIR_LSIRDYIE_Field := 16#0#;
-- LSE ready interrupt enable
LSERDYIE : CIR_LSERDYIE_Field := 16#0#;
-- HSI ready interrupt enable
HSIRDYIE : CIR_HSIRDYIE_Field := 16#0#;
-- HSE ready interrupt enable
HSERDYIE : CIR_HSERDYIE_Field := 16#0#;
-- Main PLL (PLL) ready interrupt enable
PLLRDYIE : CIR_PLLRDYIE_Field := 16#0#;
-- PLLI2S ready interrupt enable
PLLI2SRDYIE : CIR_PLLI2SRDYIE_Field := 16#0#;
-- unspecified
Reserved_14_15 : Interfaces.STM32.UInt2 := 16#0#;
-- Write-only. LSI ready interrupt clear
LSIRDYC : CIR_LSIRDYC_Field := 16#0#;
-- Write-only. LSE ready interrupt clear
LSERDYC : CIR_LSERDYC_Field := 16#0#;
-- Write-only. HSI ready interrupt clear
HSIRDYC : CIR_HSIRDYC_Field := 16#0#;
-- Write-only. HSE ready interrupt clear
HSERDYC : CIR_HSERDYC_Field := 16#0#;
-- Write-only. Main PLL(PLL) ready interrupt clear
PLLRDYC : CIR_PLLRDYC_Field := 16#0#;
-- Write-only. PLLI2S ready interrupt clear
PLLI2SRDYC : CIR_PLLI2SRDYC_Field := 16#0#;
-- unspecified
Reserved_22_22 : Interfaces.STM32.Bit := 16#0#;
-- Write-only. Clock security system interrupt clear
CSSC : CIR_CSSC_Field := 16#0#;
-- unspecified
Reserved_24_31 : Interfaces.STM32.Byte := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CIR_Register use record
LSIRDYF at 0 range 0 .. 0;
LSERDYF at 0 range 1 .. 1;
HSIRDYF at 0 range 2 .. 2;
HSERDYF at 0 range 3 .. 3;
PLLRDYF at 0 range 4 .. 4;
PLLI2SRDYF at 0 range 5 .. 5;
Reserved_6_6 at 0 range 6 .. 6;
CSSF at 0 range 7 .. 7;
LSIRDYIE at 0 range 8 .. 8;
LSERDYIE at 0 range 9 .. 9;
HSIRDYIE at 0 range 10 .. 10;
HSERDYIE at 0 range 11 .. 11;
PLLRDYIE at 0 range 12 .. 12;
PLLI2SRDYIE at 0 range 13 .. 13;
Reserved_14_15 at 0 range 14 .. 15;
LSIRDYC at 0 range 16 .. 16;
LSERDYC at 0 range 17 .. 17;
HSIRDYC at 0 range 18 .. 18;
HSERDYC at 0 range 19 .. 19;
PLLRDYC at 0 range 20 .. 20;
PLLI2SRDYC at 0 range 21 .. 21;
Reserved_22_22 at 0 range 22 .. 22;
CSSC at 0 range 23 .. 23;
Reserved_24_31 at 0 range 24 .. 31;
end record;
subtype AHB1RSTR_GPIOARST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIOBRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIOCRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIODRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIOERST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_GPIOHRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_CRCRST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_DMA1RST_Field is Interfaces.STM32.Bit;
subtype AHB1RSTR_DMA2RST_Field is Interfaces.STM32.Bit;
-- AHB1 peripheral reset register
type AHB1RSTR_Register is record
-- IO port A reset
GPIOARST : AHB1RSTR_GPIOARST_Field := 16#0#;
-- IO port B reset
GPIOBRST : AHB1RSTR_GPIOBRST_Field := 16#0#;
-- IO port C reset
GPIOCRST : AHB1RSTR_GPIOCRST_Field := 16#0#;
-- IO port D reset
GPIODRST : AHB1RSTR_GPIODRST_Field := 16#0#;
-- IO port E reset
GPIOERST : AHB1RSTR_GPIOERST_Field := 16#0#;
-- unspecified
Reserved_5_6 : Interfaces.STM32.UInt2 := 16#0#;
-- IO port H reset
GPIOHRST : AHB1RSTR_GPIOHRST_Field := 16#0#;
-- unspecified
Reserved_8_11 : Interfaces.STM32.UInt4 := 16#0#;
-- CRC reset
CRCRST : AHB1RSTR_CRCRST_Field := 16#0#;
-- unspecified
Reserved_13_20 : Interfaces.STM32.Byte := 16#0#;
-- DMA2 reset
DMA1RST : AHB1RSTR_DMA1RST_Field := 16#0#;
-- DMA2 reset
DMA2RST : AHB1RSTR_DMA2RST_Field := 16#0#;
-- unspecified
Reserved_23_31 : Interfaces.STM32.UInt9 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for AHB1RSTR_Register use record
GPIOARST at 0 range 0 .. 0;
GPIOBRST at 0 range 1 .. 1;
GPIOCRST at 0 range 2 .. 2;
GPIODRST at 0 range 3 .. 3;
GPIOERST at 0 range 4 .. 4;
Reserved_5_6 at 0 range 5 .. 6;
GPIOHRST at 0 range 7 .. 7;
Reserved_8_11 at 0 range 8 .. 11;
CRCRST at 0 range 12 .. 12;
Reserved_13_20 at 0 range 13 .. 20;
DMA1RST at 0 range 21 .. 21;
DMA2RST at 0 range 22 .. 22;
Reserved_23_31 at 0 range 23 .. 31;
end record;
subtype AHB2RSTR_OTGFSRST_Field is Interfaces.STM32.Bit;
-- AHB2 peripheral reset register
type AHB2RSTR_Register is record
-- unspecified
Reserved_0_6 : Interfaces.STM32.UInt7 := 16#0#;
-- USB OTG FS module reset
OTGFSRST : AHB2RSTR_OTGFSRST_Field := 16#0#;
-- unspecified
Reserved_8_31 : Interfaces.STM32.UInt24 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for AHB2RSTR_Register use record
Reserved_0_6 at 0 range 0 .. 6;
OTGFSRST at 0 range 7 .. 7;
Reserved_8_31 at 0 range 8 .. 31;
end record;
subtype APB1RSTR_TIM2RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_TIM3RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_TIM4RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_TIM5RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_WWDGRST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_SPI2RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_SPI3RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_UART2RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_I2C1RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_I2C2RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_I2C3RST_Field is Interfaces.STM32.Bit;
subtype APB1RSTR_PWRRST_Field is Interfaces.STM32.Bit;
-- APB1 peripheral reset register
type APB1RSTR_Register is record
-- TIM2 reset
TIM2RST : APB1RSTR_TIM2RST_Field := 16#0#;
-- TIM3 reset
TIM3RST : APB1RSTR_TIM3RST_Field := 16#0#;
-- TIM4 reset
TIM4RST : APB1RSTR_TIM4RST_Field := 16#0#;
-- TIM5 reset
TIM5RST : APB1RSTR_TIM5RST_Field := 16#0#;
-- unspecified
Reserved_4_10 : Interfaces.STM32.UInt7 := 16#0#;
-- Window watchdog reset
WWDGRST : APB1RSTR_WWDGRST_Field := 16#0#;
-- unspecified
Reserved_12_13 : Interfaces.STM32.UInt2 := 16#0#;
-- SPI 2 reset
SPI2RST : APB1RSTR_SPI2RST_Field := 16#0#;
-- SPI 3 reset
SPI3RST : APB1RSTR_SPI3RST_Field := 16#0#;
-- unspecified
Reserved_16_16 : Interfaces.STM32.Bit := 16#0#;
-- USART 2 reset
UART2RST : APB1RSTR_UART2RST_Field := 16#0#;
-- unspecified
Reserved_18_20 : Interfaces.STM32.UInt3 := 16#0#;
-- I2C 1 reset
I2C1RST : APB1RSTR_I2C1RST_Field := 16#0#;
-- I2C 2 reset
I2C2RST : APB1RSTR_I2C2RST_Field := 16#0#;
-- I2C3 reset
I2C3RST : APB1RSTR_I2C3RST_Field := 16#0#;
-- unspecified
Reserved_24_27 : Interfaces.STM32.UInt4 := 16#0#;
-- Power interface reset
PWRRST : APB1RSTR_PWRRST_Field := 16#0#;
-- unspecified
Reserved_29_31 : Interfaces.STM32.UInt3 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for APB1RSTR_Register use record
TIM2RST at 0 range 0 .. 0;
TIM3RST at 0 range 1 .. 1;
TIM4RST at 0 range 2 .. 2;
TIM5RST at 0 range 3 .. 3;
Reserved_4_10 at 0 range 4 .. 10;
WWDGRST at 0 range 11 .. 11;
Reserved_12_13 at 0 range 12 .. 13;
SPI2RST at 0 range 14 .. 14;
SPI3RST at 0 range 15 .. 15;
Reserved_16_16 at 0 range 16 .. 16;
UART2RST at 0 range 17 .. 17;
Reserved_18_20 at 0 range 18 .. 20;
I2C1RST at 0 range 21 .. 21;
I2C2RST at 0 range 22 .. 22;
I2C3RST at 0 range 23 .. 23;
Reserved_24_27 at 0 range 24 .. 27;
PWRRST at 0 range 28 .. 28;
Reserved_29_31 at 0 range 29 .. 31;
end record;
subtype APB2RSTR_TIM1RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_USART1RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_USART6RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_ADCRST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_SDIORST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_SPI1RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_SYSCFGRST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_TIM9RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_TIM10RST_Field is Interfaces.STM32.Bit;
subtype APB2RSTR_TIM11RST_Field is Interfaces.STM32.Bit;
-- APB2 peripheral reset register
type APB2RSTR_Register is record
-- TIM1 reset
TIM1RST : APB2RSTR_TIM1RST_Field := 16#0#;
-- unspecified
Reserved_1_3 : Interfaces.STM32.UInt3 := 16#0#;
-- USART1 reset
USART1RST : APB2RSTR_USART1RST_Field := 16#0#;
-- USART6 reset
USART6RST : APB2RSTR_USART6RST_Field := 16#0#;
-- unspecified
Reserved_6_7 : Interfaces.STM32.UInt2 := 16#0#;
-- ADC interface reset (common to all ADCs)
ADCRST : APB2RSTR_ADCRST_Field := 16#0#;
-- unspecified
Reserved_9_10 : Interfaces.STM32.UInt2 := 16#0#;
-- SDIO reset
SDIORST : APB2RSTR_SDIORST_Field := 16#0#;
-- SPI 1 reset
SPI1RST : APB2RSTR_SPI1RST_Field := 16#0#;
-- unspecified
Reserved_13_13 : Interfaces.STM32.Bit := 16#0#;
-- System configuration controller reset
SYSCFGRST : APB2RSTR_SYSCFGRST_Field := 16#0#;
-- unspecified
Reserved_15_15 : Interfaces.STM32.Bit := 16#0#;
-- TIM9 reset
TIM9RST : APB2RSTR_TIM9RST_Field := 16#0#;
-- TIM10 reset
TIM10RST : APB2RSTR_TIM10RST_Field := 16#0#;
-- TIM11 reset
TIM11RST : APB2RSTR_TIM11RST_Field := 16#0#;
-- unspecified
Reserved_19_31 : Interfaces.STM32.UInt13 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for APB2RSTR_Register use record
TIM1RST at 0 range 0 .. 0;
Reserved_1_3 at 0 range 1 .. 3;
USART1RST at 0 range 4 .. 4;
USART6RST at 0 range 5 .. 5;
Reserved_6_7 at 0 range 6 .. 7;
ADCRST at 0 range 8 .. 8;
Reserved_9_10 at 0 range 9 .. 10;
SDIORST at 0 range 11 .. 11;
SPI1RST at 0 range 12 .. 12;
Reserved_13_13 at 0 range 13 .. 13;
SYSCFGRST at 0 range 14 .. 14;
Reserved_15_15 at 0 range 15 .. 15;
TIM9RST at 0 range 16 .. 16;
TIM10RST at 0 range 17 .. 17;
TIM11RST at 0 range 18 .. 18;
Reserved_19_31 at 0 range 19 .. 31;
end record;
subtype AHB1ENR_GPIOAEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIOBEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIOCEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIODEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIOEEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_GPIOHEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_CRCEN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_DMA1EN_Field is Interfaces.STM32.Bit;
subtype AHB1ENR_DMA2EN_Field is Interfaces.STM32.Bit;
-- AHB1 peripheral clock register
type AHB1ENR_Register is record
-- IO port A clock enable
GPIOAEN : AHB1ENR_GPIOAEN_Field := 16#0#;
-- IO port B clock enable
GPIOBEN : AHB1ENR_GPIOBEN_Field := 16#0#;
-- IO port C clock enable
GPIOCEN : AHB1ENR_GPIOCEN_Field := 16#0#;
-- IO port D clock enable
GPIODEN : AHB1ENR_GPIODEN_Field := 16#0#;
-- IO port E clock enable
GPIOEEN : AHB1ENR_GPIOEEN_Field := 16#0#;
-- unspecified
Reserved_5_6 : Interfaces.STM32.UInt2 := 16#0#;
-- IO port H clock enable
GPIOHEN : AHB1ENR_GPIOHEN_Field := 16#0#;
-- unspecified
Reserved_8_11 : Interfaces.STM32.UInt4 := 16#0#;
-- CRC clock enable
CRCEN : AHB1ENR_CRCEN_Field := 16#0#;
-- unspecified
Reserved_13_20 : Interfaces.STM32.Byte := 16#80#;
-- DMA1 clock enable
DMA1EN : AHB1ENR_DMA1EN_Field := 16#0#;
-- DMA2 clock enable
DMA2EN : AHB1ENR_DMA2EN_Field := 16#0#;
-- unspecified
Reserved_23_31 : Interfaces.STM32.UInt9 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for AHB1ENR_Register use record
GPIOAEN at 0 range 0 .. 0;
GPIOBEN at 0 range 1 .. 1;
GPIOCEN at 0 range 2 .. 2;
GPIODEN at 0 range 3 .. 3;
GPIOEEN at 0 range 4 .. 4;
Reserved_5_6 at 0 range 5 .. 6;
GPIOHEN at 0 range 7 .. 7;
Reserved_8_11 at 0 range 8 .. 11;
CRCEN at 0 range 12 .. 12;
Reserved_13_20 at 0 range 13 .. 20;
DMA1EN at 0 range 21 .. 21;
DMA2EN at 0 range 22 .. 22;
Reserved_23_31 at 0 range 23 .. 31;
end record;
subtype AHB2ENR_OTGFSEN_Field is Interfaces.STM32.Bit;
-- AHB2 peripheral clock enable register
type AHB2ENR_Register is record
-- unspecified
Reserved_0_6 : Interfaces.STM32.UInt7 := 16#0#;
-- USB OTG FS clock enable
OTGFSEN : AHB2ENR_OTGFSEN_Field := 16#0#;
-- unspecified
Reserved_8_31 : Interfaces.STM32.UInt24 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for AHB2ENR_Register use record
Reserved_0_6 at 0 range 0 .. 6;
OTGFSEN at 0 range 7 .. 7;
Reserved_8_31 at 0 range 8 .. 31;
end record;
subtype APB1ENR_TIM2EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_TIM3EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_TIM4EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_TIM5EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_WWDGEN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_SPI2EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_SPI3EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_USART2EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_I2C1EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_I2C2EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_I2C3EN_Field is Interfaces.STM32.Bit;
subtype APB1ENR_PWREN_Field is Interfaces.STM32.Bit;
-- APB1 peripheral clock enable register
type APB1ENR_Register is record
-- TIM2 clock enable
TIM2EN : APB1ENR_TIM2EN_Field := 16#0#;
-- TIM3 clock enable
TIM3EN : APB1ENR_TIM3EN_Field := 16#0#;
-- TIM4 clock enable
TIM4EN : APB1ENR_TIM4EN_Field := 16#0#;
-- TIM5 clock enable
TIM5EN : APB1ENR_TIM5EN_Field := 16#0#;
-- unspecified
Reserved_4_10 : Interfaces.STM32.UInt7 := 16#0#;
-- Window watchdog clock enable
WWDGEN : APB1ENR_WWDGEN_Field := 16#0#;
-- unspecified
Reserved_12_13 : Interfaces.STM32.UInt2 := 16#0#;
-- SPI2 clock enable
SPI2EN : APB1ENR_SPI2EN_Field := 16#0#;
-- SPI3 clock enable
SPI3EN : APB1ENR_SPI3EN_Field := 16#0#;
-- unspecified
Reserved_16_16 : Interfaces.STM32.Bit := 16#0#;
-- USART 2 clock enable
USART2EN : APB1ENR_USART2EN_Field := 16#0#;
-- unspecified
Reserved_18_20 : Interfaces.STM32.UInt3 := 16#0#;
-- I2C1 clock enable
I2C1EN : APB1ENR_I2C1EN_Field := 16#0#;
-- I2C2 clock enable
I2C2EN : APB1ENR_I2C2EN_Field := 16#0#;
-- I2C3 clock enable
I2C3EN : APB1ENR_I2C3EN_Field := 16#0#;
-- unspecified
Reserved_24_27 : Interfaces.STM32.UInt4 := 16#0#;
-- Power interface clock enable
PWREN : APB1ENR_PWREN_Field := 16#0#;
-- unspecified
Reserved_29_31 : Interfaces.STM32.UInt3 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for APB1ENR_Register use record
TIM2EN at 0 range 0 .. 0;
TIM3EN at 0 range 1 .. 1;
TIM4EN at 0 range 2 .. 2;
TIM5EN at 0 range 3 .. 3;
Reserved_4_10 at 0 range 4 .. 10;
WWDGEN at 0 range 11 .. 11;
Reserved_12_13 at 0 range 12 .. 13;
SPI2EN at 0 range 14 .. 14;
SPI3EN at 0 range 15 .. 15;
Reserved_16_16 at 0 range 16 .. 16;
USART2EN at 0 range 17 .. 17;
Reserved_18_20 at 0 range 18 .. 20;
I2C1EN at 0 range 21 .. 21;
I2C2EN at 0 range 22 .. 22;
I2C3EN at 0 range 23 .. 23;
Reserved_24_27 at 0 range 24 .. 27;
PWREN at 0 range 28 .. 28;
Reserved_29_31 at 0 range 29 .. 31;
end record;
subtype APB2ENR_TIM1EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_USART1EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_USART6EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_ADC1EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_SDIOEN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_SPI1EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_SYSCFGEN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_TIM9EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_TIM10EN_Field is Interfaces.STM32.Bit;
subtype APB2ENR_TIM11EN_Field is Interfaces.STM32.Bit;
-- APB2 peripheral clock enable register
type APB2ENR_Register is record
-- TIM1 clock enable
TIM1EN : APB2ENR_TIM1EN_Field := 16#0#;
-- unspecified
Reserved_1_3 : Interfaces.STM32.UInt3 := 16#0#;
-- USART1 clock enable
USART1EN : APB2ENR_USART1EN_Field := 16#0#;
-- USART6 clock enable
USART6EN : APB2ENR_USART6EN_Field := 16#0#;
-- unspecified
Reserved_6_7 : Interfaces.STM32.UInt2 := 16#0#;
-- ADC1 clock enable
ADC1EN : APB2ENR_ADC1EN_Field := 16#0#;
-- unspecified
Reserved_9_10 : Interfaces.STM32.UInt2 := 16#0#;
-- SDIO clock enable
SDIOEN : APB2ENR_SDIOEN_Field := 16#0#;
-- SPI1 clock enable
SPI1EN : APB2ENR_SPI1EN_Field := 16#0#;
-- unspecified
Reserved_13_13 : Interfaces.STM32.Bit := 16#0#;
-- System configuration controller clock enable
SYSCFGEN : APB2ENR_SYSCFGEN_Field := 16#0#;
-- unspecified
Reserved_15_15 : Interfaces.STM32.Bit := 16#0#;
-- TIM9 clock enable
TIM9EN : APB2ENR_TIM9EN_Field := 16#0#;
-- TIM10 clock enable
TIM10EN : APB2ENR_TIM10EN_Field := 16#0#;
-- TIM11 clock enable
TIM11EN : APB2ENR_TIM11EN_Field := 16#0#;
-- unspecified
Reserved_19_31 : Interfaces.STM32.UInt13 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for APB2ENR_Register use record
TIM1EN at 0 range 0 .. 0;
Reserved_1_3 at 0 range 1 .. 3;
USART1EN at 0 range 4 .. 4;
USART6EN at 0 range 5 .. 5;
Reserved_6_7 at 0 range 6 .. 7;
ADC1EN at 0 range 8 .. 8;
Reserved_9_10 at 0 range 9 .. 10;
SDIOEN at 0 range 11 .. 11;
SPI1EN at 0 range 12 .. 12;
Reserved_13_13 at 0 range 13 .. 13;
SYSCFGEN at 0 range 14 .. 14;
Reserved_15_15 at 0 range 15 .. 15;
TIM9EN at 0 range 16 .. 16;
TIM10EN at 0 range 17 .. 17;
TIM11EN at 0 range 18 .. 18;
Reserved_19_31 at 0 range 19 .. 31;
end record;
subtype AHB1LPENR_GPIOALPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIOBLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIOCLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIODLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIOELPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_GPIOHLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_CRCLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_FLITFLPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_SRAM1LPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_DMA1LPEN_Field is Interfaces.STM32.Bit;
subtype AHB1LPENR_DMA2LPEN_Field is Interfaces.STM32.Bit;
-- AHB1 peripheral clock enable in low power mode register
type AHB1LPENR_Register is record
-- IO port A clock enable during sleep mode
GPIOALPEN : AHB1LPENR_GPIOALPEN_Field := 16#1#;
-- IO port B clock enable during Sleep mode
GPIOBLPEN : AHB1LPENR_GPIOBLPEN_Field := 16#1#;
-- IO port C clock enable during Sleep mode
GPIOCLPEN : AHB1LPENR_GPIOCLPEN_Field := 16#1#;
-- IO port D clock enable during Sleep mode
GPIODLPEN : AHB1LPENR_GPIODLPEN_Field := 16#1#;
-- IO port E clock enable during Sleep mode
GPIOELPEN : AHB1LPENR_GPIOELPEN_Field := 16#1#;
-- unspecified
Reserved_5_6 : Interfaces.STM32.UInt2 := 16#3#;
-- IO port H clock enable during Sleep mode
GPIOHLPEN : AHB1LPENR_GPIOHLPEN_Field := 16#1#;
-- unspecified
Reserved_8_11 : Interfaces.STM32.UInt4 := 16#1#;
-- CRC clock enable during Sleep mode
CRCLPEN : AHB1LPENR_CRCLPEN_Field := 16#1#;
-- unspecified
Reserved_13_14 : Interfaces.STM32.UInt2 := 16#0#;
-- Flash interface clock enable during Sleep mode
FLITFLPEN : AHB1LPENR_FLITFLPEN_Field := 16#1#;
-- SRAM 1interface clock enable during Sleep mode
SRAM1LPEN : AHB1LPENR_SRAM1LPEN_Field := 16#1#;
-- unspecified
Reserved_17_20 : Interfaces.STM32.UInt4 := 16#3#;
-- DMA1 clock enable during Sleep mode
DMA1LPEN : AHB1LPENR_DMA1LPEN_Field := 16#1#;
-- DMA2 clock enable during Sleep mode
DMA2LPEN : AHB1LPENR_DMA2LPEN_Field := 16#1#;
-- unspecified
Reserved_23_31 : Interfaces.STM32.UInt9 := 16#FC#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for AHB1LPENR_Register use record
GPIOALPEN at 0 range 0 .. 0;
GPIOBLPEN at 0 range 1 .. 1;
GPIOCLPEN at 0 range 2 .. 2;
GPIODLPEN at 0 range 3 .. 3;
GPIOELPEN at 0 range 4 .. 4;
Reserved_5_6 at 0 range 5 .. 6;
GPIOHLPEN at 0 range 7 .. 7;
Reserved_8_11 at 0 range 8 .. 11;
CRCLPEN at 0 range 12 .. 12;
Reserved_13_14 at 0 range 13 .. 14;
FLITFLPEN at 0 range 15 .. 15;
SRAM1LPEN at 0 range 16 .. 16;
Reserved_17_20 at 0 range 17 .. 20;
DMA1LPEN at 0 range 21 .. 21;
DMA2LPEN at 0 range 22 .. 22;
Reserved_23_31 at 0 range 23 .. 31;
end record;
subtype AHB2LPENR_OTGFSLPEN_Field is Interfaces.STM32.Bit;
-- AHB2 peripheral clock enable in low power mode register
type AHB2LPENR_Register is record
-- unspecified
Reserved_0_6 : Interfaces.STM32.UInt7 := 16#71#;
-- USB OTG FS clock enable during Sleep mode
OTGFSLPEN : AHB2LPENR_OTGFSLPEN_Field := 16#1#;
-- unspecified
Reserved_8_31 : Interfaces.STM32.UInt24 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for AHB2LPENR_Register use record
Reserved_0_6 at 0 range 0 .. 6;
OTGFSLPEN at 0 range 7 .. 7;
Reserved_8_31 at 0 range 8 .. 31;
end record;
subtype APB1LPENR_TIM2LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_TIM3LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_TIM4LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_TIM5LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_WWDGLPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_SPI2LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_SPI3LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_USART2LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_I2C1LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_I2C2LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_I2C3LPEN_Field is Interfaces.STM32.Bit;
subtype APB1LPENR_PWRLPEN_Field is Interfaces.STM32.Bit;
-- APB1 peripheral clock enable in low power mode register
type APB1LPENR_Register is record
-- TIM2 clock enable during Sleep mode
TIM2LPEN : APB1LPENR_TIM2LPEN_Field := 16#1#;
-- TIM3 clock enable during Sleep mode
TIM3LPEN : APB1LPENR_TIM3LPEN_Field := 16#1#;
-- TIM4 clock enable during Sleep mode
TIM4LPEN : APB1LPENR_TIM4LPEN_Field := 16#1#;
-- TIM5 clock enable during Sleep mode
TIM5LPEN : APB1LPENR_TIM5LPEN_Field := 16#1#;
-- unspecified
Reserved_4_10 : Interfaces.STM32.UInt7 := 16#1F#;
-- Window watchdog clock enable during Sleep mode
WWDGLPEN : APB1LPENR_WWDGLPEN_Field := 16#1#;
-- unspecified
Reserved_12_13 : Interfaces.STM32.UInt2 := 16#0#;
-- SPI2 clock enable during Sleep mode
SPI2LPEN : APB1LPENR_SPI2LPEN_Field := 16#1#;
-- SPI3 clock enable during Sleep mode
SPI3LPEN : APB1LPENR_SPI3LPEN_Field := 16#1#;
-- unspecified
Reserved_16_16 : Interfaces.STM32.Bit := 16#0#;
-- USART2 clock enable during Sleep mode
USART2LPEN : APB1LPENR_USART2LPEN_Field := 16#1#;
-- unspecified
Reserved_18_20 : Interfaces.STM32.UInt3 := 16#7#;
-- I2C1 clock enable during Sleep mode
I2C1LPEN : APB1LPENR_I2C1LPEN_Field := 16#1#;
-- I2C2 clock enable during Sleep mode
I2C2LPEN : APB1LPENR_I2C2LPEN_Field := 16#1#;
-- I2C3 clock enable during Sleep mode
I2C3LPEN : APB1LPENR_I2C3LPEN_Field := 16#1#;
-- unspecified
Reserved_24_27 : Interfaces.STM32.UInt4 := 16#6#;
-- Power interface clock enable during Sleep mode
PWRLPEN : APB1LPENR_PWRLPEN_Field := 16#1#;
-- unspecified
Reserved_29_31 : Interfaces.STM32.UInt3 := 16#1#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for APB1LPENR_Register use record
TIM2LPEN at 0 range 0 .. 0;
TIM3LPEN at 0 range 1 .. 1;
TIM4LPEN at 0 range 2 .. 2;
TIM5LPEN at 0 range 3 .. 3;
Reserved_4_10 at 0 range 4 .. 10;
WWDGLPEN at 0 range 11 .. 11;
Reserved_12_13 at 0 range 12 .. 13;
SPI2LPEN at 0 range 14 .. 14;
SPI3LPEN at 0 range 15 .. 15;
Reserved_16_16 at 0 range 16 .. 16;
USART2LPEN at 0 range 17 .. 17;
Reserved_18_20 at 0 range 18 .. 20;
I2C1LPEN at 0 range 21 .. 21;
I2C2LPEN at 0 range 22 .. 22;
I2C3LPEN at 0 range 23 .. 23;
Reserved_24_27 at 0 range 24 .. 27;
PWRLPEN at 0 range 28 .. 28;
Reserved_29_31 at 0 range 29 .. 31;
end record;
subtype APB2LPENR_TIM1LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_USART1LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_USART6LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_ADC1LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_SDIOLPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_SPI1LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_SYSCFGLPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_TIM9LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_TIM10LPEN_Field is Interfaces.STM32.Bit;
subtype APB2LPENR_TIM11LPEN_Field is Interfaces.STM32.Bit;
-- APB2 peripheral clock enabled in low power mode register
type APB2LPENR_Register is record
-- TIM1 clock enable during Sleep mode
TIM1LPEN : APB2LPENR_TIM1LPEN_Field := 16#1#;
-- unspecified
Reserved_1_3 : Interfaces.STM32.UInt3 := 16#1#;
-- USART1 clock enable during Sleep mode
USART1LPEN : APB2LPENR_USART1LPEN_Field := 16#1#;
-- USART6 clock enable during Sleep mode
USART6LPEN : APB2LPENR_USART6LPEN_Field := 16#1#;
-- unspecified
Reserved_6_7 : Interfaces.STM32.UInt2 := 16#0#;
-- ADC1 clock enable during Sleep mode
ADC1LPEN : APB2LPENR_ADC1LPEN_Field := 16#1#;
-- unspecified
Reserved_9_10 : Interfaces.STM32.UInt2 := 16#3#;
-- SDIO clock enable during Sleep mode
SDIOLPEN : APB2LPENR_SDIOLPEN_Field := 16#1#;
-- SPI 1 clock enable during Sleep mode
SPI1LPEN : APB2LPENR_SPI1LPEN_Field := 16#1#;
-- unspecified
Reserved_13_13 : Interfaces.STM32.Bit := 16#0#;
-- System configuration controller clock enable during Sleep mode
SYSCFGLPEN : APB2LPENR_SYSCFGLPEN_Field := 16#1#;
-- unspecified
Reserved_15_15 : Interfaces.STM32.Bit := 16#0#;
-- TIM9 clock enable during sleep mode
TIM9LPEN : APB2LPENR_TIM9LPEN_Field := 16#1#;
-- TIM10 clock enable during Sleep mode
TIM10LPEN : APB2LPENR_TIM10LPEN_Field := 16#1#;
-- TIM11 clock enable during Sleep mode
TIM11LPEN : APB2LPENR_TIM11LPEN_Field := 16#1#;
-- unspecified
Reserved_19_31 : Interfaces.STM32.UInt13 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for APB2LPENR_Register use record
TIM1LPEN at 0 range 0 .. 0;
Reserved_1_3 at 0 range 1 .. 3;
USART1LPEN at 0 range 4 .. 4;
USART6LPEN at 0 range 5 .. 5;
Reserved_6_7 at 0 range 6 .. 7;
ADC1LPEN at 0 range 8 .. 8;
Reserved_9_10 at 0 range 9 .. 10;
SDIOLPEN at 0 range 11 .. 11;
SPI1LPEN at 0 range 12 .. 12;
Reserved_13_13 at 0 range 13 .. 13;
SYSCFGLPEN at 0 range 14 .. 14;
Reserved_15_15 at 0 range 15 .. 15;
TIM9LPEN at 0 range 16 .. 16;
TIM10LPEN at 0 range 17 .. 17;
TIM11LPEN at 0 range 18 .. 18;
Reserved_19_31 at 0 range 19 .. 31;
end record;
subtype BDCR_LSEON_Field is Interfaces.STM32.Bit;
subtype BDCR_LSERDY_Field is Interfaces.STM32.Bit;
subtype BDCR_LSEBYP_Field is Interfaces.STM32.Bit;
-- BDCR_RTCSEL array element
subtype BDCR_RTCSEL_Element is Interfaces.STM32.Bit;
-- BDCR_RTCSEL array
type BDCR_RTCSEL_Field_Array is array (0 .. 1) of BDCR_RTCSEL_Element
with Component_Size => 1, Size => 2;
-- Type definition for BDCR_RTCSEL
type BDCR_RTCSEL_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- RTCSEL as a value
Val : Interfaces.STM32.UInt2;
when True =>
-- RTCSEL as an array
Arr : BDCR_RTCSEL_Field_Array;
end case;
end record
with Unchecked_Union, Size => 2;
for BDCR_RTCSEL_Field use record
Val at 0 range 0 .. 1;
Arr at 0 range 0 .. 1;
end record;
subtype BDCR_RTCEN_Field is Interfaces.STM32.Bit;
subtype BDCR_BDRST_Field is Interfaces.STM32.Bit;
-- Backup domain control register
type BDCR_Register is record
-- External low-speed oscillator enable
LSEON : BDCR_LSEON_Field := 16#0#;
-- Read-only. External low-speed oscillator ready
LSERDY : BDCR_LSERDY_Field := 16#0#;
-- External low-speed oscillator bypass
LSEBYP : BDCR_LSEBYP_Field := 16#0#;
-- unspecified
Reserved_3_7 : Interfaces.STM32.UInt5 := 16#0#;
-- RTC clock source selection
RTCSEL : BDCR_RTCSEL_Field := (As_Array => False, Val => 16#0#);
-- unspecified
Reserved_10_14 : Interfaces.STM32.UInt5 := 16#0#;
-- RTC clock enable
RTCEN : BDCR_RTCEN_Field := 16#0#;
-- Backup domain software reset
BDRST : BDCR_BDRST_Field := 16#0#;
-- unspecified
Reserved_17_31 : Interfaces.STM32.UInt15 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for BDCR_Register use record
LSEON at 0 range 0 .. 0;
LSERDY at 0 range 1 .. 1;
LSEBYP at 0 range 2 .. 2;
Reserved_3_7 at 0 range 3 .. 7;
RTCSEL at 0 range 8 .. 9;
Reserved_10_14 at 0 range 10 .. 14;
RTCEN at 0 range 15 .. 15;
BDRST at 0 range 16 .. 16;
Reserved_17_31 at 0 range 17 .. 31;
end record;
subtype CSR_LSION_Field is Interfaces.STM32.Bit;
subtype CSR_LSIRDY_Field is Interfaces.STM32.Bit;
subtype CSR_RMVF_Field is Interfaces.STM32.Bit;
subtype CSR_BORRSTF_Field is Interfaces.STM32.Bit;
subtype CSR_PADRSTF_Field is Interfaces.STM32.Bit;
subtype CSR_PORRSTF_Field is Interfaces.STM32.Bit;
subtype CSR_SFTRSTF_Field is Interfaces.STM32.Bit;
subtype CSR_WDGRSTF_Field is Interfaces.STM32.Bit;
subtype CSR_WWDGRSTF_Field is Interfaces.STM32.Bit;
subtype CSR_LPWRRSTF_Field is Interfaces.STM32.Bit;
-- clock control & status register
type CSR_Register is record
-- Internal low-speed oscillator enable
LSION : CSR_LSION_Field := 16#0#;
-- Read-only. Internal low-speed oscillator ready
LSIRDY : CSR_LSIRDY_Field := 16#0#;
-- unspecified
Reserved_2_23 : Interfaces.STM32.UInt22 := 16#0#;
-- Remove reset flag
RMVF : CSR_RMVF_Field := 16#0#;
-- BOR reset flag
BORRSTF : CSR_BORRSTF_Field := 16#1#;
-- PIN reset flag
PADRSTF : CSR_PADRSTF_Field := 16#1#;
-- POR/PDR reset flag
PORRSTF : CSR_PORRSTF_Field := 16#1#;
-- Software reset flag
SFTRSTF : CSR_SFTRSTF_Field := 16#0#;
-- Independent watchdog reset flag
WDGRSTF : CSR_WDGRSTF_Field := 16#0#;
-- Window watchdog reset flag
WWDGRSTF : CSR_WWDGRSTF_Field := 16#0#;
-- Low-power reset flag
LPWRRSTF : CSR_LPWRRSTF_Field := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CSR_Register use record
LSION at 0 range 0 .. 0;
LSIRDY at 0 range 1 .. 1;
Reserved_2_23 at 0 range 2 .. 23;
RMVF at 0 range 24 .. 24;
BORRSTF at 0 range 25 .. 25;
PADRSTF at 0 range 26 .. 26;
PORRSTF at 0 range 27 .. 27;
SFTRSTF at 0 range 28 .. 28;
WDGRSTF at 0 range 29 .. 29;
WWDGRSTF at 0 range 30 .. 30;
LPWRRSTF at 0 range 31 .. 31;
end record;
subtype SSCGR_MODPER_Field is Interfaces.STM32.UInt13;
subtype SSCGR_INCSTEP_Field is Interfaces.STM32.UInt15;
subtype SSCGR_SPREADSEL_Field is Interfaces.STM32.Bit;
subtype SSCGR_SSCGEN_Field is Interfaces.STM32.Bit;
-- spread spectrum clock generation register
type SSCGR_Register is record
-- Modulation period
MODPER : SSCGR_MODPER_Field := 16#0#;
-- Incrementation step
INCSTEP : SSCGR_INCSTEP_Field := 16#0#;
-- unspecified
Reserved_28_29 : Interfaces.STM32.UInt2 := 16#0#;
-- Spread Select
SPREADSEL : SSCGR_SPREADSEL_Field := 16#0#;
-- Spread spectrum modulation enable
SSCGEN : SSCGR_SSCGEN_Field := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for SSCGR_Register use record
MODPER at 0 range 0 .. 12;
INCSTEP at 0 range 13 .. 27;
Reserved_28_29 at 0 range 28 .. 29;
SPREADSEL at 0 range 30 .. 30;
SSCGEN at 0 range 31 .. 31;
end record;
subtype PLLI2SCFGR_PLLI2SNx_Field is Interfaces.STM32.UInt9;
subtype PLLI2SCFGR_PLLI2SRx_Field is Interfaces.STM32.UInt3;
-- PLLI2S configuration register
type PLLI2SCFGR_Register is record
-- unspecified
Reserved_0_5 : Interfaces.STM32.UInt6 := 16#0#;
-- PLLI2S multiplication factor for VCO
PLLI2SNx : PLLI2SCFGR_PLLI2SNx_Field := 16#C0#;
-- unspecified
Reserved_15_27 : Interfaces.STM32.UInt13 := 16#0#;
-- PLLI2S division factor for I2S clocks
PLLI2SRx : PLLI2SCFGR_PLLI2SRx_Field := 16#2#;
-- unspecified
Reserved_31_31 : Interfaces.STM32.Bit := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for PLLI2SCFGR_Register use record
Reserved_0_5 at 0 range 0 .. 5;
PLLI2SNx at 0 range 6 .. 14;
Reserved_15_27 at 0 range 15 .. 27;
PLLI2SRx at 0 range 28 .. 30;
Reserved_31_31 at 0 range 31 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Reset and clock control
type RCC_Peripheral is record
-- clock control register
CR : aliased CR_Register;
-- PLL configuration register
PLLCFGR : aliased PLLCFGR_Register;
-- clock configuration register
CFGR : aliased CFGR_Register;
-- clock interrupt register
CIR : aliased CIR_Register;
-- AHB1 peripheral reset register
AHB1RSTR : aliased AHB1RSTR_Register;
-- AHB2 peripheral reset register
AHB2RSTR : aliased AHB2RSTR_Register;
-- APB1 peripheral reset register
APB1RSTR : aliased APB1RSTR_Register;
-- APB2 peripheral reset register
APB2RSTR : aliased APB2RSTR_Register;
-- AHB1 peripheral clock register
AHB1ENR : aliased AHB1ENR_Register;
-- AHB2 peripheral clock enable register
AHB2ENR : aliased AHB2ENR_Register;
-- APB1 peripheral clock enable register
APB1ENR : aliased APB1ENR_Register;
-- APB2 peripheral clock enable register
APB2ENR : aliased APB2ENR_Register;
-- AHB1 peripheral clock enable in low power mode register
AHB1LPENR : aliased AHB1LPENR_Register;
-- AHB2 peripheral clock enable in low power mode register
AHB2LPENR : aliased AHB2LPENR_Register;
-- APB1 peripheral clock enable in low power mode register
APB1LPENR : aliased APB1LPENR_Register;
-- APB2 peripheral clock enabled in low power mode register
APB2LPENR : aliased APB2LPENR_Register;
-- Backup domain control register
BDCR : aliased BDCR_Register;
-- clock control & status register
CSR : aliased CSR_Register;
-- spread spectrum clock generation register
SSCGR : aliased SSCGR_Register;
-- PLLI2S configuration register
PLLI2SCFGR : aliased PLLI2SCFGR_Register;
end record
with Volatile;
for RCC_Peripheral use record
CR at 16#0# range 0 .. 31;
PLLCFGR at 16#4# range 0 .. 31;
CFGR at 16#8# range 0 .. 31;
CIR at 16#C# range 0 .. 31;
AHB1RSTR at 16#10# range 0 .. 31;
AHB2RSTR at 16#14# range 0 .. 31;
APB1RSTR at 16#20# range 0 .. 31;
APB2RSTR at 16#24# range 0 .. 31;
AHB1ENR at 16#30# range 0 .. 31;
AHB2ENR at 16#34# range 0 .. 31;
APB1ENR at 16#40# range 0 .. 31;
APB2ENR at 16#44# range 0 .. 31;
AHB1LPENR at 16#50# range 0 .. 31;
AHB2LPENR at 16#54# range 0 .. 31;
APB1LPENR at 16#60# range 0 .. 31;
APB2LPENR at 16#64# range 0 .. 31;
BDCR at 16#70# range 0 .. 31;
CSR at 16#74# range 0 .. 31;
SSCGR at 16#80# range 0 .. 31;
PLLI2SCFGR at 16#84# range 0 .. 31;
end record;
-- Reset and clock control
RCC_Periph : aliased RCC_Peripheral
with Import, Address => RCC_Base;
end Interfaces.STM32.RCC;
|
with STM32GD.EXTI; use STM32GD.EXTI;
with STM32_SVD.RTC; use STM32_SVD.RTC;
package body RTC_IRQ is
protected body Handler is
procedure IRQ_Handler is
begin
RTC_Periph.ISR.ALRAF := 0;
if External_Interrupt_Pending (EXTI_Line_17) then
Set_True (Alarm_Occurred);
Clear_External_Interrupt (EXTI_Line_17);
end if;
end IRQ_Handler;
end Handler;
end RTC_IRQ;
|
with DDS.Request_Reply.Tests.Simple.Replier;
procedure DDS.Request_Reply.Tests.Simple.Replier_Main is
Replier : Simple.Replier.Ref_Access :=
DDS.Request_Reply.Tests.Simple.Replier.Create
(Participant => Participant,
Service_Name => Service_Name,
Library_Name => Qos_Library,
Profile_Name => Qos_Profile);
Reply : String;
Count : Natural := 0;
begin
Main_Loop : while True loop
for I of Replier.Receive_Request loop
Initialize (Reply);
if I.Data.all = DONE then
Append (Reply, "FINAL " & Count'Img);
end if;
Append (Reply, "reply to<");
Append (Reply, I.Data.all);
Append (Reply, "> Count" & Count'Img);
if I.Data.all = DONE then
Append (Reply, "> Count" & Count'Img);
end if;
Count := Count + 1;
Replier.Send_Reply
(Reply => Reply,
Id => Get_Sample_Identity (I.Sample_Info.all));
Finalize (Reply);
if I.Data.all = DONE then
exit Main_Loop;
end if;
end loop;
end loop Main_Loop;
Simple.Replier.Delete (Replier);
end DDS.Request_Reply.Tests.Simple.Replier_Main;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2010-2012, Vadim Godunko <vgodunko@gmail.com> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
-- This file is generated, don't edit it.
------------------------------------------------------------------------------
package AMF.Internals.Tables.UML_Constructors is
function Create_Standard_Profile_L2_Auxiliary return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Call return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Create return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Derive return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Destroy return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Document return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Entity return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Executable return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Focus return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Framework return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Implement return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Implementation_Class return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Instantiate return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Library return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Metaclass return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Model_Library return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Process return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Realization return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Refine return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Responsibility return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Script return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Send return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Service return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Source return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Specification return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Subsystem return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Trace return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Type return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L2_Utility return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L3_Build_Component return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L3_Metamodel return AMF.Internals.AMF_Element;
function Create_Standard_Profile_L3_System_Model return AMF.Internals.AMF_Element;
function Create_UML_Abstraction return AMF.Internals.AMF_Element;
function Create_UML_Accept_Call_Action return AMF.Internals.AMF_Element;
function Create_UML_Accept_Event_Action return AMF.Internals.AMF_Element;
function Create_UML_Action_Execution_Specification return AMF.Internals.AMF_Element;
function Create_UML_Action_Input_Pin return AMF.Internals.AMF_Element;
function Create_UML_Activity return AMF.Internals.AMF_Element;
function Create_UML_Activity_Final_Node return AMF.Internals.AMF_Element;
function Create_UML_Activity_Parameter_Node return AMF.Internals.AMF_Element;
function Create_UML_Activity_Partition return AMF.Internals.AMF_Element;
function Create_UML_Actor return AMF.Internals.AMF_Element;
function Create_UML_Add_Structural_Feature_Value_Action return AMF.Internals.AMF_Element;
function Create_UML_Add_Variable_Value_Action return AMF.Internals.AMF_Element;
function Create_UML_Any_Receive_Event return AMF.Internals.AMF_Element;
function Create_UML_Artifact return AMF.Internals.AMF_Element;
function Create_UML_Association return AMF.Internals.AMF_Element;
function Create_UML_Association_Class return AMF.Internals.AMF_Element;
function Create_UML_Behavior_Execution_Specification return AMF.Internals.AMF_Element;
function Create_UML_Broadcast_Signal_Action return AMF.Internals.AMF_Element;
function Create_UML_Call_Behavior_Action return AMF.Internals.AMF_Element;
function Create_UML_Call_Event return AMF.Internals.AMF_Element;
function Create_UML_Call_Operation_Action return AMF.Internals.AMF_Element;
function Create_UML_Central_Buffer_Node return AMF.Internals.AMF_Element;
function Create_UML_Change_Event return AMF.Internals.AMF_Element;
function Create_UML_Class return AMF.Internals.AMF_Element;
function Create_UML_Classifier_Template_Parameter return AMF.Internals.AMF_Element;
function Create_UML_Clause return AMF.Internals.AMF_Element;
function Create_UML_Clear_Association_Action return AMF.Internals.AMF_Element;
function Create_UML_Clear_Structural_Feature_Action return AMF.Internals.AMF_Element;
function Create_UML_Clear_Variable_Action return AMF.Internals.AMF_Element;
function Create_UML_Collaboration return AMF.Internals.AMF_Element;
function Create_UML_Collaboration_Use return AMF.Internals.AMF_Element;
function Create_UML_Combined_Fragment return AMF.Internals.AMF_Element;
function Create_UML_Comment return AMF.Internals.AMF_Element;
function Create_UML_Communication_Path return AMF.Internals.AMF_Element;
function Create_UML_Component return AMF.Internals.AMF_Element;
function Create_UML_Component_Realization return AMF.Internals.AMF_Element;
function Create_UML_Conditional_Node return AMF.Internals.AMF_Element;
function Create_UML_Connectable_Element_Template_Parameter return AMF.Internals.AMF_Element;
function Create_UML_Connection_Point_Reference return AMF.Internals.AMF_Element;
function Create_UML_Connector return AMF.Internals.AMF_Element;
function Create_UML_Connector_End return AMF.Internals.AMF_Element;
function Create_UML_Consider_Ignore_Fragment return AMF.Internals.AMF_Element;
function Create_UML_Constraint return AMF.Internals.AMF_Element;
function Create_UML_Continuation return AMF.Internals.AMF_Element;
function Create_UML_Control_Flow return AMF.Internals.AMF_Element;
function Create_UML_Create_Link_Action return AMF.Internals.AMF_Element;
function Create_UML_Create_Link_Object_Action return AMF.Internals.AMF_Element;
function Create_UML_Create_Object_Action return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Activity_Diagram return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Association_End_Label return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Association_Or_Connector_Or_Link_Shape return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Class_Diagram return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Classifier_Shape return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Compartment return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Compartmentable_Shape return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Component_Diagram return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Composite_Structure_Diagram return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Deployment_Diagram return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Edge return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Interaction_Diagram return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Interaction_Table_Label return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Keyword_Label return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Label return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Multiplicity_Label return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Name_Label return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Object_Diagram return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Package_Diagram return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Profile_Diagram return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Redefines_Label return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Shape return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_State_Machine_Diagram return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_State_Shape return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Stereotype_Property_Value_Label return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Style return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Typed_Element_Label return AMF.Internals.AMF_Element;
function Create_UMLDI_UML_Use_Case_Diagram return AMF.Internals.AMF_Element;
function Create_UML_Data_Store_Node return AMF.Internals.AMF_Element;
function Create_UML_Data_Type return AMF.Internals.AMF_Element;
function Create_UML_Decision_Node return AMF.Internals.AMF_Element;
function Create_UML_Dependency return AMF.Internals.AMF_Element;
function Create_UML_Deployment return AMF.Internals.AMF_Element;
function Create_UML_Deployment_Specification return AMF.Internals.AMF_Element;
function Create_UML_Destroy_Link_Action return AMF.Internals.AMF_Element;
function Create_UML_Destroy_Object_Action return AMF.Internals.AMF_Element;
function Create_UML_Destruction_Occurrence_Specification return AMF.Internals.AMF_Element;
function Create_UML_Device return AMF.Internals.AMF_Element;
function Create_UML_Duration return AMF.Internals.AMF_Element;
function Create_UML_Duration_Constraint return AMF.Internals.AMF_Element;
function Create_UML_Duration_Interval return AMF.Internals.AMF_Element;
function Create_UML_Duration_Observation return AMF.Internals.AMF_Element;
function Create_UML_Element_Import return AMF.Internals.AMF_Element;
function Create_UML_Enumeration return AMF.Internals.AMF_Element;
function Create_UML_Enumeration_Literal return AMF.Internals.AMF_Element;
function Create_UML_Exception_Handler return AMF.Internals.AMF_Element;
function Create_UML_Execution_Environment return AMF.Internals.AMF_Element;
function Create_UML_Execution_Occurrence_Specification return AMF.Internals.AMF_Element;
function Create_UML_Expansion_Node return AMF.Internals.AMF_Element;
function Create_UML_Expansion_Region return AMF.Internals.AMF_Element;
function Create_UML_Expression return AMF.Internals.AMF_Element;
function Create_UML_Extend return AMF.Internals.AMF_Element;
function Create_UML_Extension return AMF.Internals.AMF_Element;
function Create_UML_Extension_End return AMF.Internals.AMF_Element;
function Create_UML_Extension_Point return AMF.Internals.AMF_Element;
function Create_UML_Final_State return AMF.Internals.AMF_Element;
function Create_UML_Flow_Final_Node return AMF.Internals.AMF_Element;
function Create_UML_Fork_Node return AMF.Internals.AMF_Element;
function Create_UML_Function_Behavior return AMF.Internals.AMF_Element;
function Create_UML_Gate return AMF.Internals.AMF_Element;
function Create_UML_General_Ordering return AMF.Internals.AMF_Element;
function Create_UML_Generalization return AMF.Internals.AMF_Element;
function Create_UML_Generalization_Set return AMF.Internals.AMF_Element;
function Create_UML_Image return AMF.Internals.AMF_Element;
function Create_UML_Include return AMF.Internals.AMF_Element;
function Create_UML_Information_Flow return AMF.Internals.AMF_Element;
function Create_UML_Information_Item return AMF.Internals.AMF_Element;
function Create_UML_Initial_Node return AMF.Internals.AMF_Element;
function Create_UML_Input_Pin return AMF.Internals.AMF_Element;
function Create_UML_Instance_Specification return AMF.Internals.AMF_Element;
function Create_UML_Instance_Value return AMF.Internals.AMF_Element;
function Create_UML_Interaction return AMF.Internals.AMF_Element;
function Create_UML_Interaction_Constraint return AMF.Internals.AMF_Element;
function Create_UML_Interaction_Operand return AMF.Internals.AMF_Element;
function Create_UML_Interaction_Use return AMF.Internals.AMF_Element;
function Create_UML_Interface return AMF.Internals.AMF_Element;
function Create_UML_Interface_Realization return AMF.Internals.AMF_Element;
function Create_UML_Interruptible_Activity_Region return AMF.Internals.AMF_Element;
function Create_UML_Interval return AMF.Internals.AMF_Element;
function Create_UML_Interval_Constraint return AMF.Internals.AMF_Element;
function Create_UML_Join_Node return AMF.Internals.AMF_Element;
function Create_UML_Lifeline return AMF.Internals.AMF_Element;
function Create_UML_Link_End_Creation_Data return AMF.Internals.AMF_Element;
function Create_UML_Link_End_Data return AMF.Internals.AMF_Element;
function Create_UML_Link_End_Destruction_Data return AMF.Internals.AMF_Element;
function Create_UML_Literal_Boolean return AMF.Internals.AMF_Element;
function Create_UML_Literal_Integer return AMF.Internals.AMF_Element;
function Create_UML_Literal_Null return AMF.Internals.AMF_Element;
function Create_UML_Literal_Real return AMF.Internals.AMF_Element;
function Create_UML_Literal_String return AMF.Internals.AMF_Element;
function Create_UML_Literal_Unlimited_Natural return AMF.Internals.AMF_Element;
function Create_UML_Loop_Node return AMF.Internals.AMF_Element;
function Create_UML_Manifestation return AMF.Internals.AMF_Element;
function Create_UML_Merge_Node return AMF.Internals.AMF_Element;
function Create_UML_Message return AMF.Internals.AMF_Element;
function Create_UML_Message_Occurrence_Specification return AMF.Internals.AMF_Element;
function Create_UML_Model return AMF.Internals.AMF_Element;
function Create_UML_Node return AMF.Internals.AMF_Element;
function Create_UML_Object_Flow return AMF.Internals.AMF_Element;
function Create_UML_Occurrence_Specification return AMF.Internals.AMF_Element;
function Create_UML_Opaque_Action return AMF.Internals.AMF_Element;
function Create_UML_Opaque_Behavior return AMF.Internals.AMF_Element;
function Create_UML_Opaque_Expression return AMF.Internals.AMF_Element;
function Create_UML_Operation return AMF.Internals.AMF_Element;
function Create_UML_Operation_Template_Parameter return AMF.Internals.AMF_Element;
function Create_UML_Output_Pin return AMF.Internals.AMF_Element;
function Create_UML_Package return AMF.Internals.AMF_Element;
function Create_UML_Package_Import return AMF.Internals.AMF_Element;
function Create_UML_Package_Merge return AMF.Internals.AMF_Element;
function Create_UML_Parameter return AMF.Internals.AMF_Element;
function Create_UML_Parameter_Set return AMF.Internals.AMF_Element;
function Create_UML_Part_Decomposition return AMF.Internals.AMF_Element;
function Create_UML_Port return AMF.Internals.AMF_Element;
function Create_UML_Primitive_Type return AMF.Internals.AMF_Element;
function Create_UML_Profile return AMF.Internals.AMF_Element;
function Create_UML_Profile_Application return AMF.Internals.AMF_Element;
function Create_UML_Property return AMF.Internals.AMF_Element;
function Create_UML_Protocol_Conformance return AMF.Internals.AMF_Element;
function Create_UML_Protocol_State_Machine return AMF.Internals.AMF_Element;
function Create_UML_Protocol_Transition return AMF.Internals.AMF_Element;
function Create_UML_Pseudostate return AMF.Internals.AMF_Element;
function Create_UML_Qualifier_Value return AMF.Internals.AMF_Element;
function Create_UML_Raise_Exception_Action return AMF.Internals.AMF_Element;
function Create_UML_Read_Extent_Action return AMF.Internals.AMF_Element;
function Create_UML_Read_Is_Classified_Object_Action return AMF.Internals.AMF_Element;
function Create_UML_Read_Link_Action return AMF.Internals.AMF_Element;
function Create_UML_Read_Link_Object_End_Action return AMF.Internals.AMF_Element;
function Create_UML_Read_Link_Object_End_Qualifier_Action return AMF.Internals.AMF_Element;
function Create_UML_Read_Self_Action return AMF.Internals.AMF_Element;
function Create_UML_Read_Structural_Feature_Action return AMF.Internals.AMF_Element;
function Create_UML_Read_Variable_Action return AMF.Internals.AMF_Element;
function Create_UML_Realization return AMF.Internals.AMF_Element;
function Create_UML_Reception return AMF.Internals.AMF_Element;
function Create_UML_Reclassify_Object_Action return AMF.Internals.AMF_Element;
function Create_UML_Redefinable_Template_Signature return AMF.Internals.AMF_Element;
function Create_UML_Reduce_Action return AMF.Internals.AMF_Element;
function Create_UML_Region return AMF.Internals.AMF_Element;
function Create_UML_Remove_Structural_Feature_Value_Action return AMF.Internals.AMF_Element;
function Create_UML_Remove_Variable_Value_Action return AMF.Internals.AMF_Element;
function Create_UML_Reply_Action return AMF.Internals.AMF_Element;
function Create_UML_Send_Object_Action return AMF.Internals.AMF_Element;
function Create_UML_Send_Signal_Action return AMF.Internals.AMF_Element;
function Create_UML_Sequence_Node return AMF.Internals.AMF_Element;
function Create_UML_Signal return AMF.Internals.AMF_Element;
function Create_UML_Signal_Event return AMF.Internals.AMF_Element;
function Create_UML_Slot return AMF.Internals.AMF_Element;
function Create_UML_Start_Classifier_Behavior_Action return AMF.Internals.AMF_Element;
function Create_UML_Start_Object_Behavior_Action return AMF.Internals.AMF_Element;
function Create_UML_State return AMF.Internals.AMF_Element;
function Create_UML_State_Invariant return AMF.Internals.AMF_Element;
function Create_UML_State_Machine return AMF.Internals.AMF_Element;
function Create_UML_Stereotype return AMF.Internals.AMF_Element;
function Create_UML_String_Expression return AMF.Internals.AMF_Element;
function Create_UML_Structured_Activity_Node return AMF.Internals.AMF_Element;
function Create_UML_Substitution return AMF.Internals.AMF_Element;
function Create_UML_Template_Binding return AMF.Internals.AMF_Element;
function Create_UML_Template_Parameter return AMF.Internals.AMF_Element;
function Create_UML_Template_Parameter_Substitution return AMF.Internals.AMF_Element;
function Create_UML_Template_Signature return AMF.Internals.AMF_Element;
function Create_UML_Test_Identity_Action return AMF.Internals.AMF_Element;
function Create_UML_Time_Constraint return AMF.Internals.AMF_Element;
function Create_UML_Time_Event return AMF.Internals.AMF_Element;
function Create_UML_Time_Expression return AMF.Internals.AMF_Element;
function Create_UML_Time_Interval return AMF.Internals.AMF_Element;
function Create_UML_Time_Observation return AMF.Internals.AMF_Element;
function Create_UML_Transition return AMF.Internals.AMF_Element;
function Create_UML_Trigger return AMF.Internals.AMF_Element;
function Create_UML_Unmarshall_Action return AMF.Internals.AMF_Element;
function Create_UML_Usage return AMF.Internals.AMF_Element;
function Create_UML_Use_Case return AMF.Internals.AMF_Element;
function Create_UML_Value_Pin return AMF.Internals.AMF_Element;
function Create_UML_Value_Specification_Action return AMF.Internals.AMF_Element;
function Create_UML_Variable return AMF.Internals.AMF_Element;
end AMF.Internals.Tables.UML_Constructors;
|
--with Ada.Text_IO; use Ada.Text_IO;
with Greetings;
with Ada.Text_IO; use Ada.Text_IO;
procedure Greeter is
begin
Put_Line (Greetings.Hello);
Greetings.Swear (Greetings.Hello, 12);
Greetings.Swear ("good evening", 20);
end Greeter;
|
-----------------------------------------------------------------------
-- awa-storages-module -- Storage management module
-- Copyright (C) 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Util.Log.Loggers;
with AWA.Modules.Get;
with AWA.Modules.Beans;
with AWA.Applications;
with AWA.Storages.Beans.Factories;
package body AWA.Storages.Modules is
Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("AWA.Storages.Module");
package Register is new AWA.Modules.Beans (Module => Storage_Module,
Module_Access => Storage_Module_Access);
-- ------------------------------
-- Initialize the storage module.
-- ------------------------------
overriding
procedure Initialize (Plugin : in out Storage_Module;
App : in AWA.Modules.Application_Access;
Props : in ASF.Applications.Config) is
begin
Log.Info ("Initializing the storage module");
-- Setup the resource bundles.
App.Register ("storageMsg", "storages");
Register.Register (Plugin => Plugin,
Name => "AWA.Storages.Beans.Upload_Bean",
Handler => AWA.Storages.Beans.Factories.Create_Upload_Bean'Access);
Register.Register (Plugin => Plugin,
Name => "AWA.Storages.Beans.Folder_Bean",
Handler => AWA.Storages.Beans.Factories.Create_Folder_Bean'Access);
Register.Register (Plugin => Plugin,
Name => "AWA.Storages.Beans.Folder_List_Bean",
Handler => AWA.Storages.Beans.Create_Folder_List_Bean'Access);
Register.Register (Plugin => Plugin,
Name => "AWA.Storages.Beans.Storage_List_Bean",
Handler => AWA.Storages.Beans.Create_Storage_List_Bean'Access);
App.Add_Servlet ("storage", Plugin.Storage_Servlet'Unchecked_Access);
AWA.Modules.Module (Plugin).Initialize (App, Props);
-- Create the storage manager when everything is initialized.
Plugin.Manager := Plugin.Create_Storage_Manager;
end Initialize;
-- ------------------------------
-- Get the storage manager.
-- ------------------------------
function Get_Storage_Manager (Plugin : in Storage_Module)
return Services.Storage_Service_Access is
begin
return Plugin.Manager;
end Get_Storage_Manager;
-- ------------------------------
-- Create a storage manager. This operation can be overriden to provide another
-- storage service implementation.
-- ------------------------------
function Create_Storage_Manager (Plugin : in Storage_Module)
return Services.Storage_Service_Access is
Result : constant Services.Storage_Service_Access := new Services.Storage_Service;
begin
Result.Initialize (Plugin);
return Result;
end Create_Storage_Manager;
-- ------------------------------
-- Get the storage module instance associated with the current application.
-- ------------------------------
function Get_Storage_Module return Storage_Module_Access is
function Get is new AWA.Modules.Get (Storage_Module, Storage_Module_Access, NAME);
begin
return Get;
end Get_Storage_Module;
-- ------------------------------
-- Get the storage manager instance associated with the current application.
-- ------------------------------
function Get_Storage_Manager return Services.Storage_Service_Access is
Module : constant Storage_Module_Access := Get_Storage_Module;
begin
if Module = null then
Log.Error ("There is no active Storage_Module");
return null;
else
return Module.Get_Storage_Manager;
end if;
end Get_Storage_Manager;
end AWA.Storages.Modules;
|
with Incomplete5_Pkg;
package Incomplete5 is
type Rec1 is private;
type Rec2 is private;
package My_G is new Incomplete5_Pkg (Rec1);
use My_G;
function Get (O: Base_Object) return Integer;
private
type Rec1 is record
I : Integer;
end record;
type Rec2 is record
A : Access_Type;
end record;
end Incomplete5;
|
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is begin P(); end;
|
with HAL;
generic
with package I2C is new HAL.I2C (<>);
Address : I2C.I2C_Address;
package Drivers.Si7060 is
subtype Temperature_Type is Integer range -10000 .. 10000;
function Init return Boolean;
function Temperature_x100 (R : out Temperature_Type) return Boolean;
end Drivers.Si7060;
|
-----------------------------------------------------------------------
-- asf-requests-tests - Unit tests for requests
-- Copyright (C) 2012, 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Util.Test_Caller;
with Util.Log.Loggers;
with ASF.Requests.Mockup;
package body ASF.Requests.Tests is
use Util.Tests;
-- The logger
Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("ASF.Requests.Tests");
package Caller is new Util.Test_Caller (Test, "Requests");
procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite) is
begin
Caller.Add_Test (Suite, "Test ASF.Requests.Split_Header",
Test_Split_Header'Access);
Caller.Add_Test (Suite, "Test ASF.Requests.Accept_Locales",
Test_Accept_Locales'Access);
end Add_Tests;
-- ------------------------------
-- Test the Split_Header procedure.
-- ------------------------------
procedure Test_Split_Header (T : in out Test) is
procedure Process_Text (Item : in String;
Quality : in Quality_Type);
Count : Natural := 0;
procedure Process_Text (Item : in String;
Quality : in Quality_Type) is
begin
T.Assert (Item = "text/plain" or Item = "text/html" or Item = "text/x-dvi"
or Item = "text/x-c", "Invalid item: " & Item);
T.Assert (Quality = 0.5 or Quality = 0.8 or Quality = 1.0,
"Invalid quality");
if Item = "text/plain" then
T.Assert (Quality = 0.5, "Invalid quality for " & Item);
elsif Item = "text/x-dvi" or Item = "text/html" then
T.Assert (Quality = 0.8, "Invalid quality for " & Item);
else
T.Assert (Quality = 1.0, "Invalid quality for " & Item);
end if;
Count := Count + 1;
end Process_Text;
begin
Split_Header ("text/plain; q=0.5, text/html,text/x-dvi; q=0.8, text/x-c",
Process_Text'Access);
Util.Tests.Assert_Equals (T, 4, Count, "Invalid number of items");
end Test_Split_Header;
-- ------------------------------
-- Test the Accept_Locales procedure.
-- ------------------------------
procedure Test_Accept_Locales (T : in out Test) is
procedure Process_Locale (Locale : in Util.Locales.Locale;
Quality : in Quality_Type);
use Util.Locales;
Req : ASF.Requests.Mockup.Request;
Count : Natural := 0;
procedure Process_Locale (Locale : in Util.Locales.Locale;
Quality : in Quality_Type) is
pragma Unreferenced (Quality);
Lang : constant String := Util.Locales.Get_Language (Locale);
begin
Log.Info ("Found locale: {0}", Util.Locales.To_String (Locale));
T.Assert (Lang = "da" or Lang = "en_GB" or Lang = "en",
"Invalid lang: " & Lang);
Count := Count + 1;
end Process_Locale;
begin
Req.Set_Header ("Accept-Language", "da, en-gb;q=0.8, en;q=0.7");
Req.Accept_Locales (Process_Locale'Access);
Util.Tests.Assert_Equals (T, 3, Count, "Invalid number of calls");
end Test_Accept_Locales;
end ASF.Requests.Tests;
|
-- NORX
-- an Ada implementation of the NORX Authenticated Encryption Algorithm
-- created by Jean-Philippe Aumasson, Philipp Jovanovic and Samuel Neves
-- Copyright (c) 2016-2018, James Humphry - see LICENSE file for details
pragma Restrictions(No_Implementation_Attributes,
No_Implementation_Units,
No_Obsolescent_Features);
with System.Storage_Elements;
use type System.Storage_Elements.Storage_Offset;
with NORX_Definitions;
use NORX_Definitions;
generic
w : Word_Size; -- Word size w ∈ { 8, 16, 32, 64 } bits
type Word is mod <>; -- Word'Modulus must equal w**2
with function Storage_Array_To_Word
(S : in System.Storage_Elements.Storage_Array) return Word;
with function Word_To_Storage_Array
(W : in Word) return System.Storage_Elements.Storage_Array;
with function Rotate_Right
(Value : Word;
Amount : Natural) return Word is <>;
with function Shift_Left
(Value : Word;
Amount : Natural) return Word is <>;
l : Round_Count; -- Rounds of the permutation to perform 1 ≤ l ≤ 63
k : Positive; -- Key size in bits
Key_Position : Key_Material_Position := 4; -- Position in the NORX state at
-- which the key is added
t : Positive; -- Tag size in bits (t ≤ 4w for NORX32 and NORX64)
n : Positive; -- Nonce size in bits
rot : Rotation_Offsets; -- Rotation offsets for permutation function
r : Positive; -- Rate in bits
c : Positive; -- Capacity in bits
package NORX is
use System.Storage_Elements;
subtype Key_Type is Storage_Array(0..Storage_Offset(k/8)-1);
-- A Storage_Array subtype containing key material.
subtype Nonce_Type is Storage_Array(0..Storage_Offset(n/8)-1);
-- A Storage_Array subtype containing the nonce material. This must be unique
-- per-message.
subtype Tag_Type is Storage_Array(0..Storage_Offset(t/8)-1);
-- A Storage_Array subtype containing an authentication tag.
Null_Storage_Array : constant Storage_Array(1..0) := (others => 0);
-- A null Storage_Array that can be passed to AEADEnc and AEADDec if one
-- of the header, message or trailer parameters is not required.
-- High-level API for NORX
procedure AEADEnc(K : in Key_Type;
N : in Nonce_Type;
A : in Storage_Array;
M : in Storage_Array;
Z : in Storage_Array;
C : out Storage_Array;
T : out Tag_Type)
with Pre => ( (Valid_Storage_Array_Parameter(A) and
Valid_Storage_Array_Parameter(M) and
Valid_Storage_Array_Parameter(Z) and
Valid_Storage_Array_Parameter(C'First, C'Last))
and then C'Length = M'Length
);
-- AEADEnc carries out an authenticated encryption
-- K : key data
-- N : nonce
-- A : optional (unencrypted) header
-- M : optional message to be encrypted
-- Z : optional (unencrypted) trailer
-- C : encrypted version of M
-- T : authentication tag for (A,M,Z)
procedure AEADDec(K : in Key_Type;
N : in Nonce_Type;
A : in Storage_Array;
C : in Storage_Array;
Z : in Storage_Array;
T : in Tag_Type;
M : out Storage_Array;
Valid : out Boolean)
with Pre => ( (Valid_Storage_Array_Parameter(A) and
Valid_Storage_Array_Parameter(C) and
Valid_Storage_Array_Parameter(Z) and
Valid_Storage_Array_Parameter(M'First, M'Last))
and then M'Length = C'Length
),
Post => (Valid or (for all I in M'Range => M(I) = 0));
-- AEADEnc carries out an authenticated decryption
-- K : key data
-- N : nonce
-- A : optional (unencrypted) header
-- C : optional ciphertext to be decrypted
-- Z : optional (unencrypted) trailer
-- T : authentication tag
-- M : contains the decrypted C or zero if the input does not authenticate
-- Valid : indicates if the input authenticates correctly
type State is private;
-- This type declaration makes the NORX.Access_Internals package easier to
-- write. It is not intended for normal use.
function Valid_Storage_Array_Parameter(X : in Storage_Array)
return Boolean
with Ghost;
-- This ghost function simplifies the preconditions
function Valid_Storage_Array_Parameter(First : in Storage_Offset;
Last : in Storage_Offset)
return Boolean
with Ghost;
-- This ghost function simplifies the preconditions
private
function Valid_Storage_Array_Parameter(X : in Storage_Array)
return Boolean is
(
if X'First <= 0 then
((Long_Long_Integer (X'Last) < Long_Long_Integer'Last +
Long_Long_Integer (X'First))
and then
X'Last < Storage_Offset'Last - Storage_Offset(r/8))
else
X'Last < Storage_Offset'Last - Storage_Offset(r/8)
);
function Valid_Storage_Array_Parameter(First : in Storage_Offset;
Last : in Storage_Offset)
return Boolean is
(
if First <= 0 then
((Long_Long_Integer (Last) < Long_Long_Integer'Last +
Long_Long_Integer (First))
and then
Last < Storage_Offset'Last - Storage_Offset(r/8))
else
Last < Storage_Offset'Last - Storage_Offset(r/8)
);
type State is array (Integer range 0..15) of Word;
-- Low-level API for NORX. These routines can be accessed by instantiating
-- the NORX.Access_Internals child package
function Make_State return State;
function Get_Initialisation_Constants return State;
function Initialise (Key : in Key_Type; Nonce : in Nonce_Type) return State;
procedure Absorb (S : in out State; X : in Storage_Array; v : in Word)
with Pre=> (Valid_Storage_Array_Parameter(X));
procedure Encrypt (S : in out State;
M : in Storage_Array;
C : out Storage_Array;
v : in Word)
with Pre => ( (Valid_Storage_Array_Parameter(M) and
Valid_Storage_Array_Parameter(C'First, C'Last)) and then
C'Length = M'Length);
procedure Decrypt (S : in out State;
C : in Storage_Array;
M : out Storage_Array;
v : in Word)
with Pre => ( (Valid_Storage_Array_Parameter(C) and
Valid_Storage_Array_Parameter(M'First, M'Last)) and then
C'Length = M'Length);
procedure Finalise (S : in out State;
Key : in Key_Type;
Tag : out Tag_Type;
v : in Word);
-- These compile-time checks test requirements that cannot be expressed
-- in the generic formal parameters. Currently compile-time checks are
-- not supported in GNATprove so the related warnings are suppressed.
pragma Warnings (GNATprove, Off, "Compile_Time_Error");
pragma Compile_Time_Error (2**w /= Word'Modulus,
"The specified type Word must have the same " &
"'Modulus as the word width parameter w**2");
pragma Compile_Time_Error (k mod w /= 0,
"The specified key size k is not a multiple of " &
"w, the word size");
pragma Compile_Time_Error (k > 12*w,
"The specified nonce size n is greater than " &
"12*w, the word size");
pragma Compile_Time_Error (t mod w /= 0,
"The specified tag size t is not a multiple of " &
"w, the word size");
pragma Compile_Time_Error (t > 16*w,
"The specified tag size t is greater than " &
"16*w, the word size");
pragma Compile_Time_Error (n mod w /= 0,
"The specified nonce size n is not a multiple " &
"of w, the word size");
pragma Compile_Time_Error (n > 4*w,
"The specified nonce size n is greater than " &
"4*w, the word size");
pragma Compile_Time_Error (r + c /= 16 * w,
"The total of the rate (r) and capacity (c) do " &
"not equal 16*w, the word size");
pragma Compile_Time_Error (r mod w /= 0 or c mod w /= 0,
"The rate r and capacity c are not " &
"multiples of the word size");
pragma Compile_Time_Error (System.Storage_Elements.Storage_Element'Size /= 8,
"This implementation of NORX cannot work " &
"with Storage_Element'Size /= 8");
pragma Warnings (GNATprove, On, "Compile_Time_Error");
end NORX;
|
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2019 onox <denkpadje@gmail.com>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
private with Interfaces.C;
private with Ada.Containers.Bounded_Vectors;
private with Ada.Containers.Indefinite_Hashed_Maps;
private with Ada.Containers.Vectors;
private with Ada.Finalization;
private with Ada.Strings.Unbounded;
private with GNAT.OS_Lib;
package Inotify is
pragma Preelaborate;
type Watch_Bits is record
Accessed : Boolean := False;
Modified : Boolean := False;
Metadata : Boolean := False;
Closed_Write : Boolean := False;
Closed_No_Write : Boolean := False;
Opened : Boolean := False;
Moved_From : Boolean := False;
Moved_To : Boolean := False;
Created : Boolean := False;
Deleted : Boolean := False;
Deleted_Self : Boolean := False;
Moved_Self : Boolean := False;
Only_Directories : Boolean := False;
Do_Not_Follow : Boolean := False;
Exclude_Unlinked : Boolean := False;
Add_Mask : Boolean := False;
One_Shot : Boolean := False;
end record;
All_Events : constant Watch_Bits;
type Instance is tagged limited private;
pragma Preelaborable_Initialization (Instance);
function File_Descriptor (Object : Instance) return Integer;
-- Return the file descriptor of the inotify instance
--
-- The returned file descript may only be used for polling.
type Watch is private;
procedure Add_Watch
(Object : in out Instance;
Path : String;
Mask : Watch_Bits := All_Events);
function Add_Watch
(Object : in out Instance;
Path : String;
Mask : Watch_Bits := All_Events) return Watch;
procedure Remove_Watch (Object : in out Instance; Subject : Watch);
function Has_Watches (Object : in out Instance) return Boolean;
function Name (Object : Instance; Subject : Watch) return String;
type Event_Kind is
(Accessed,
Modified,
Metadata,
Closed_Write,
Closed_No_Write,
Opened,
Moved_From,
Moved_To,
Created,
Deleted,
Deleted_Self,
Moved_Self,
Unmounted_Filesystem);
procedure Process_Events
(Object : in out Instance;
Handle : not null access procedure
(Subject : Watch;
Event : Event_Kind;
Is_Directory : Boolean;
Name : String));
-- Wait and process events
--
-- If reading an event fails, a Read_Error is raised. If the event queue
-- overflowed then Queue_Overflow_Error is raised.
procedure Process_Events
(Object : in out Instance;
Handle : not null access procedure
(Subject : Watch;
Event : Event_Kind;
Is_Directory : Boolean;
Name : String);
Move_Handle : not null access procedure
(Subject : Watch;
Is_Directory : Boolean;
From, To : String));
-- Wait and process events
--
-- Move_Handle is called after matching Moved_From and Moved_To events
-- have been processed. To be effective, Add_Watch must have been called
-- with a mask containing these two events.
--
-- If reading an event fails, a Read_Error is raised. If the event queue
-- overflowed then Queue_Overflow_Error is raised.
Read_Error : exception;
Queue_Overflow_Error : exception;
private
for Event_Kind use
(Accessed => 16#0001#,
Modified => 16#0002#,
Metadata => 16#0004#,
Closed_Write => 16#0008#,
Closed_No_Write => 16#0010#,
Opened => 16#0020#,
Moved_From => 16#0040#,
Moved_To => 16#0080#,
Created => 16#0100#,
Deleted => 16#0200#,
Deleted_Self => 16#0400#,
Moved_Self => 16#0800#,
Unmounted_Filesystem => 16#2000#);
for Event_Kind'Size use 14;
for Watch_Bits use record
Accessed at 0 range 0 .. 0;
Modified at 0 range 1 .. 1;
Metadata at 0 range 2 .. 2;
Closed_Write at 0 range 3 .. 3;
Closed_No_Write at 0 range 4 .. 4;
Opened at 0 range 5 .. 5;
Moved_From at 0 range 6 .. 6;
Moved_To at 0 range 7 .. 7;
Created at 0 range 8 .. 8;
Deleted at 0 range 9 .. 9;
Deleted_Self at 0 range 10 .. 10;
Moved_Self at 0 range 11 .. 11;
Only_Directories at 0 range 24 .. 24;
Do_Not_Follow at 0 range 25 .. 25;
Exclude_Unlinked at 0 range 26 .. 26;
Add_Mask at 0 range 29 .. 29;
One_Shot at 0 range 31 .. 31;
end record;
for Watch_Bits'Size use Interfaces.C.unsigned'Size;
for Watch_Bits'Alignment use Interfaces.C.unsigned'Alignment;
All_Events : constant Watch_Bits :=
(Accessed |
Modified |
Metadata |
Closed_Write |
Closed_No_Write |
Opened |
Moved_From |
Moved_To |
Created |
Deleted |
Deleted_Self |
Moved_Self =>
True,
others => False);
-----------------------------------------------------------------------------
package SU renames Ada.Strings.Unbounded;
type Move is record
From, To : SU.Unbounded_String;
end record;
type Cookie_Move_Pair is record
Key : Interfaces.C.unsigned;
Value : Move;
end record;
package Move_Vectors is new Ada.Containers.Bounded_Vectors
(Index_Type => Positive,
Element_Type => Cookie_Move_Pair);
-----------------------------------------------------------------------------
function Hash (Key : Interfaces.C.int) return Ada.Containers.Hash_Type is
(Ada.Containers.Hash_Type (Key));
package Watch_Maps is new Ada.Containers.Indefinite_Hashed_Maps
(Key_Type => Interfaces.C.int,
Element_Type => String,
Hash => Hash,
Equivalent_Keys => Interfaces.C."=");
type Watch is record
Watch : Interfaces.C.int;
end record;
package Watch_Vectors is new Ada.Containers.Vectors
(Index_Type => Positive,
Element_Type => Watch);
type Instance is limited new Ada.Finalization.Limited_Controlled with record
Instance : GNAT.OS_Lib.File_Descriptor := GNAT.OS_Lib.Invalid_FD;
Watches : Watch_Maps.Map;
Defer_Remove : Boolean := False;
Pending_Removals : Watch_Vectors.Vector;
Moves : Move_Vectors.Vector (Capacity => 8);
-- A small container to hold pairs of cookies and files that are moved
--
-- The container needs to be bounded because files that are moved
-- to outside the monitored folder do not generate Moved_To events.
-- A vector is used instead of a map so that the oldest pair can
-- be deleted if the container is full.
end record;
pragma Preelaborable_Initialization (Instance);
overriding procedure Initialize (Object : in out Instance);
overriding procedure Finalize (Object : in out Instance);
end Inotify;
|
with Ada.Finalization; use Ada.Finalization;
with EU_Projects.Nodes.Action_Nodes.WPs;
package body EU_Projects.Nodes.Timed_Nodes.Milestones is
------------
-- Create --
------------
function Create
(Label : Milestone_Label;
Name : String;
Short_Name : String;
Description : String;
Due_On : String;
Node_Dir : in out Node_Tables.Node_Table;
Verification : String)
return Milestone_Access
is
Result : Milestone_Access;
begin
Result := new Milestone'(Controlled with
Label => Node_Label (Label),
Name => To_Unbounded_String (Name),
Short_Name => Shortify (Short_Name, Name),
Class => Milestone_Node,
Index => No_Milestone,
Description => To_Unbounded_String (Description),
Attributes => Attribute_Maps.Empty_Map,
Expected_On => <>,
Expected_Raw => To_Unbounded_String (Due_On),
Expected_Symbolic => <>,
Deliv => Node_Label_Lists.Empty_Vector,
Fixed => False,
Verification => To_Unbounded_String (Verification));
Node_Dir.Insert (ID => Node_Label (Label),
Item => Node_Access (Result));
return Result;
end Create;
---------------------
-- Add_Deliverable --
---------------------
procedure Add_Deliverable (Item : in out Milestone;
Deliv : Node_Label)
is
begin
Item.Deliv.Append (Deliv);
end Add_Deliverable;
---------------
-- Set_Index --
---------------
procedure Set_Index (Item : in out Milestone;
Idx : Milestone_Index)
is
begin
if Item.Index /= No_Index and Item.Index /= Node_Index (Idx) then
raise Constraint_Error;
else
Item.Index := Node_Index (Idx);
end if;
end Set_Index;
------------------
-- Update_Index --
------------------
procedure Update_Index (Item : in out Milestone;
Idx : Milestone_Index)
is
begin
if Item.Index = No_Index then
raise Constraint_Error;
else
Item.Index := Node_Index (Idx);
end if;
end Update_Index;
end EU_Projects.Nodes.Timed_Nodes.Milestones;
|
with Ada.Text_IO;
with Nilakantha;
use Nilakantha;
procedure Main is
Approximator : NilakanthaSeries;
Pi : Long_Float;
begin
for UnusedVariable in 0 .. 150_000 loop
Iterate(Approximator);
end loop;
Pi := GetPi(Approximator);
Ada.Text_IO.Put("pi = ");
Ada.Text_IO.Put_Line(Long_Float'Image(Pi));
end Main;
|
with
lace.Observer,
system.RPC,
ada.Exceptions,
ada.Strings.unbounded,
ada.Text_IO;
package body chat.Registrar
is
use ada.Strings.unbounded;
use type Client.view;
procedure last_chance_Handler (Msg : in system.Address;
Line : in Integer);
pragma Export (C, last_chance_Handler,
"__gnat_last_chance_handler");
procedure last_chance_Handler (Msg : in System.Address;
Line : in Integer)
is
pragma Unreferenced (Msg, Line);
use ada.Text_IO;
begin
put_Line ("Unable to start the Registrar.");
put_Line ("Please ensure the 'po_cos_naming' server is running.");
put_Line ("Press Ctrl-C to quit.");
delay Duration'Last;
end last_chance_Handler;
type client_Info is
record
View : Client.view;
Name : unbounded_String;
as_Observer : lace.Observer.view;
end record;
type client_Info_array is array (Positive range <>) of client_Info;
max_Clients : constant := 5_000;
-- Protection against race conditions.
--
protected safe_Clients
is
procedure add (the_Client : in Client.view);
procedure rid (the_Client : in Client.view);
function all_client_Info return client_Info_array;
private
Clients : client_Info_array (1 .. max_Clients);
end safe_Clients;
protected body safe_Clients
is
procedure add (the_Client : in Client.view)
is
function "+" (From : in String) return unbounded_String
renames to_unbounded_String;
begin
for i in Clients'Range
loop
if Clients (i).View = null then
Clients (i).View := the_Client;
Clients (i).Name := +the_Client.Name;
Clients (i).as_Observer := the_Client.as_Observer;
return;
end if;
end loop;
end add;
procedure rid (the_Client : in Client.view)
is
begin
for i in Clients'Range
loop
if Clients (i).View = the_Client then
Clients (i).View := null;
return;
end if;
end loop;
raise Program_Error with "Unknown client";
end rid;
function all_client_Info return client_Info_array
is
Count : Natural := 0;
Result : client_Info_array (1..max_Clients);
begin
for i in Clients'Range
loop
if Clients (i).View /= null
then
Count := Count + 1;
Result (Count) := Clients (i);
end if;
end loop;
return Result (1..Count);
end all_client_Info;
end safe_Clients;
procedure register (the_Client : in Client.view)
is
Name : constant String := the_Client.Name;
all_Info : constant client_Info_array := safe_Clients.all_client_Info;
begin
for Each of all_Info
loop
if Each.Name = Name
then
raise Name_already_used;
end if;
end loop;
safe_Clients.add (the_Client);
end register;
procedure deregister (the_Client : in Client.view)
is
begin
safe_Clients.rid (the_Client);
end deregister;
function all_Clients return chat.Client.views
is
all_Info : constant client_Info_array := safe_Clients.all_client_Info;
Result : chat.Client.views (all_Info'Range);
begin
for i in Result'Range
loop
Result (i) := all_Info (i).View;
end loop;
return Result;
end all_Clients;
task check_Client_lives
is
entry halt;
end check_Client_lives;
task body check_Client_lives
is
use ada.Text_IO;
Done : Boolean := False;
begin
loop
select
accept halt
do
Done := True;
end halt;
or
delay 15.0;
end select;
exit when Done;
declare
all_Info : constant client_Info_array := safe_Clients.all_client_Info;
Dead : client_Info_array (all_Info'Range);
dead_Count : Natural := 0;
function "+" (From : in unbounded_String) return String
renames to_String;
begin
for Each of all_Info
loop
begin
Each.View.ping;
exception
when system.RPC.communication_Error
| storage_Error =>
put_Line (+Each.Name & " has died.");
deregister (Each.View);
dead_Count := dead_Count + 1;
Dead (dead_Count) := Each;
end;
end loop;
declare
all_Clients : constant Client.views := chat.Registrar.all_Clients;
begin
for Each of all_Clients
loop
for i in 1 .. dead_Count
loop
begin
put_Line ("Ridding " & (+Dead (i).Name) & " from " & Each.Name);
Each.deregister_Client ( Dead (i).as_Observer,
+Dead (i).Name);
exception
when chat.Client.unknown_Client =>
put_Line ("Deregister of " & (+Dead (i).Name) & " from " & Each.Name & " is not needed.");
end;
end loop;
end loop;
end;
end;
end loop;
exception
when E : others =>
new_Line;
put_Line ("Error in check_Client_lives task.");
new_Line;
put_Line (ada.Exceptions.exception_Information (E));
end check_Client_lives;
procedure shutdown
is
all_Clients : constant Client.views := chat.Registrar.all_Clients;
begin
for Each of all_Clients
loop
begin
Each.Registrar_has_shutdown;
exception
when system.RPC.communication_Error =>
null; -- Client has died. No action needed since we are shutting down.
end;
end loop;
check_Client_lives.halt;
end shutdown;
procedure ping is null;
end chat.Registrar;
|
with STM32GD.Board; use STM32GD.Board;
procedure Main is
begin
Init;
LED2.Clear;
LED.Set;
loop
if BUTTON.Is_Set then
LED2.Toggle;
LED.Toggle;
end if;
end loop;
end Main;
|
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package bits_floatn_common_h is
-- Macros to control TS 18661-3 glibc features where the same
-- definitions are appropriate for all platforms.
-- Copyright (C) 2017-2021 Free Software Foundation, Inc.
-- This file is part of the GNU C Library.
-- The GNU C Library is free software; you can redistribute it and/or
-- modify it under the terms of the GNU Lesser General Public
-- License as published by the Free Software Foundation; either
-- version 2.1 of the License, or (at your option) any later version.
-- The GNU C Library is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- Lesser General Public License for more details.
-- You should have received a copy of the GNU Lesser General Public
-- License along with the GNU C Library; if not, see
-- <https://www.gnu.org/licenses/>.
-- This header should be included at the bottom of each bits/floatn.h.
-- It defines the following macros for each _FloatN and _FloatNx type,
-- where the same definitions, or definitions based only on the macros
-- in bits/floatn.h, are appropriate for all glibc configurations.
-- Defined to 1 if the current compiler invocation provides a
-- floating-point type with the right format for this type, and this
-- glibc includes corresponding *fN or *fNx interfaces for it.
-- Defined to 1 if the corresponding __HAVE_<type> macro is 1 and the
-- type is the first with its format in the sequence of (the default
-- choices for) float, double, long double, _Float16, _Float32,
-- _Float64, _Float128, _Float32x, _Float64x, _Float128x for this
-- glibc; that is, if functions present once per floating-point format
-- rather than once per type are present for this type.
-- All configurations supported by glibc have _Float32 the same format
-- as float, _Float64 and _Float32x the same format as double, the
-- _Float64x the same format as either long double or _Float128. No
-- configurations support _Float128x or, as of GCC 7, have compiler
-- support for a type meeting the requirements for _Float128x.
-- Defined to 1 if the corresponding _FloatN type is not binary compatible
-- with the corresponding ISO C type in the current compilation unit as
-- opposed to __HAVE_DISTINCT_FLOATN, which indicates the default types built
-- in glibc.
-- Defined to 1 if any _FloatN or _FloatNx types that are not
-- ABI-distinct are however distinct types at the C language level (so
-- for the purposes of __builtin_types_compatible_p and _Generic).
-- Defined to concatenate the literal suffix to be used with _FloatN
-- or _FloatNx types, if __HAVE_<type> is 1. The corresponding
-- literal suffixes exist since GCC 7, for C only.
-- No corresponding suffix available for this type.
-- Defined to a complex type if __HAVE_<type> is 1.
-- The remaining of this file provides support for older compilers.
subtype u_Float32 is float; -- /usr/include/bits/floatn-common.h:214
-- If double, long double and _Float64 all have the same set of
-- values, TS 18661-3 requires the usual arithmetic conversions on
-- long double and _Float64 to produce _Float64. For this to be the
-- case when building with a compiler without a distinct _Float64
-- type, _Float64 must be a typedef for long double, not for
-- double.
subtype u_Float64 is double; -- /usr/include/bits/floatn-common.h:251
subtype u_Float32x is double; -- /usr/include/bits/floatn-common.h:268
subtype u_Float64x is long_double; -- /usr/include/bits/floatn-common.h:285
end bits_floatn_common_h;
|
-- This file is generated by SWIG. Do *not* modify by hand.
--
with Interfaces.C;
package LLVM_Analysis is
-- LLVMVerifierFailureAction
--
type LLVMVerifierFailureAction is (
LLVMAbortProcessAction,
LLVMPrintMessageAction,
LLVMReturnStatusAction);
for LLVMVerifierFailureAction use
(LLVMAbortProcessAction => 0,
LLVMPrintMessageAction => 1,
LLVMReturnStatusAction => 2);
pragma Convention (C, LLVMVerifierFailureAction);
type LLVMVerifierFailureAction_array is
array (Interfaces.C.size_t range <>)
of aliased LLVM_Analysis.LLVMVerifierFailureAction;
type LLVMVerifierFailureAction_view is access all
LLVM_Analysis.LLVMVerifierFailureAction;
end LLVM_Analysis;
|
pragma License (Unrestricted);
with Ada.Numerics.Generic_Complex_Types;
package Ada.Numerics.Complex_Types is
new Generic_Complex_Types (Float);
pragma Pure (Ada.Numerics.Complex_Types);
|
--
-- This is a very basic wrapper package performing proper instantiations and defining types.
-- Everything can be done explicitly in a few lines of code, as shown in main demo procedure.
-- However this is shown for completeness and also to demonstrate how partial view can
-- present inheritance in a much more evident form. Full definition in a private part
-- is exactly the same as in main demo code.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
with base_iface; use base_iface;
with base_type; use base_type;
with generic_mixin;
package generic_mixin_compositor is
type Extension is limited new The_Interface with private;
type Mixin is new The_Type and The_Interface with private;
type Mixin_Child is new Mixin with private;
overriding procedure simple (Self : Mixin_Child);
-- overriding procedure compound (Self : Mixin_Child);
-- overriding procedure redispatching(Self : Mixin_Child);
private
type Stub is tagged limited null record; -- needed for generic
package P_stub is new generic_mixin(Base=>Stub);
type Extension is limited new P_stub.Derived with null record;
package P_base1 is new generic_mixin(Base=>The_Type);
type Mixin is new P_base1.Derived with null record;
-- NOTE: You can chain multiple mixins to get defaults for various interfaces.
-- For Example:
-- package A_Pkg is new A_Mixin(Base => Some_Base);
-- package B_Pkg is new B_Mixin(Base => A_Pkg.Derived);
-- This will add both interfaces from A_Mixin and B_Mixin to the base type.
---------------
-- try further inheritance and overriding various methods
type Mixin_Child is new Mixin with null record;
end generic_mixin_compositor;
|
-----------------------------------------------------------------------
-- gen-artifacts-docs-markdown -- Artifact for GitHub Markdown documentation format
-- Copyright (C) 2015, 2017, 2018, 2019, 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Strings.Fixed;
with Ada.Strings.Maps;
with Util.Strings;
with Util.Log.Loggers;
package body Gen.Artifacts.Docs.Markdown is
use type Ada.Text_IO.Positive_Count;
use type Ada.Strings.Maps.Character_Set;
function Has_Scheme (Link : in String) return Boolean;
function Is_Image (Link : in String) return Boolean;
Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("Gen.Artifacts.Docs.Mark");
Marker : constant Ada.Strings.Maps.Character_Set
:= Ada.Strings.Maps.To_Set (" .,;:!?)")
or Ada.Strings.Maps.To_Set (ASCII.HT)
or Ada.Strings.Maps.To_Set (ASCII.VT)
or Ada.Strings.Maps.To_Set (ASCII.CR)
or Ada.Strings.Maps.To_Set (ASCII.LF);
-- ------------------------------
-- Get the document name from the file document (ex: <name>.wiki or <name>.md).
-- ------------------------------
overriding
function Get_Document_Name (Formatter : in Document_Formatter;
Document : in File_Document) return String is
pragma Unreferenced (Formatter);
begin
return Ada.Strings.Unbounded.To_String (Document.Name) & ".md";
end Get_Document_Name;
-- ------------------------------
-- Start a new document.
-- ------------------------------
overriding
procedure Start_Document (Formatter : in out Document_Formatter;
Document : in File_Document;
File : in Ada.Text_IO.File_Type) is
pragma Unreferenced (Formatter);
begin
if Document.Print_Footer then
Ada.Text_IO.Put_Line (File, "# " & Ada.Strings.Unbounded.To_String (Document.Title));
Ada.Text_IO.New_Line (File);
end if;
end Start_Document;
-- ------------------------------
-- Return True if the link has either a http:// or a https:// scheme.
-- ------------------------------
function Has_Scheme (Link : in String) return Boolean is
begin
if Link'Length < 8 then
return False;
elsif Link (Link'First .. Link'First + 6) = "http://" then
return True;
elsif Link (Link'First .. Link'First + 7) = "https://" then
return True;
else
return False;
end if;
end Has_Scheme;
function Is_Image (Link : in String) return Boolean is
begin
if Link'Length < 4 then
return False;
elsif Link (Link'Last - 3 .. Link'Last) = ".png" then
return True;
elsif Link (Link'Last - 3 .. Link'Last) = ".jpg" then
return True;
elsif Link (Link'Last - 3 .. Link'Last) = ".gif" then
return True;
else
Log.Info ("Link {0} not an image", Link);
return False;
end if;
end Is_Image;
procedure Write_Text_Auto_Links (Formatter : in out Document_Formatter;
File : in Ada.Text_IO.File_Type;
Text : in String) is
Start : Natural := Text'First;
Last : Natural := Text'Last;
Link : Util.Strings.Maps.Cursor;
Pos : Natural;
begin
Log.Debug ("Auto link |{0}|", Text);
loop
-- Emit spaces at beginning of line or words.
while Start <= Text'Last and then Ada.Strings.Maps.Is_In (Text (Start), Marker) loop
Ada.Text_IO.Put (File, Text (Start));
Start := Start + 1;
end loop;
exit when Start > Text'Last;
-- Find a possible link.
Link := Formatter.Links.Find (Text (Start .. Last));
if Util.Strings.Maps.Has_Element (Link) then
Ada.Text_IO.Put (File, "[");
Ada.Text_IO.Put (File, Text (Start .. Last));
Ada.Text_IO.Put (File, "](");
Ada.Text_IO.Put (File, Util.Strings.Maps.Element (Link));
Ada.Text_IO.Put (File, ")");
Start := Last + 1;
Last := Text'Last;
else
Pos := Ada.Strings.Fixed.Index (Text (Start .. Last), Marker,
Going => Ada.Strings.Backward);
if Pos = 0 then
Ada.Text_IO.Put (File, Text (Start .. Last));
Start := Last + 1;
Last := Text'Last;
else
Last := Pos - 1;
-- Skip spaces at end of words for the search.
while Last > Start and then Ada.Strings.Maps.Is_In (Text (Last), Marker) loop
Last := Last - 1;
end loop;
end if;
end if;
end loop;
end Write_Text_Auto_Links;
-- ------------------------------
-- Write a line doing some link transformation for Markdown.
-- ------------------------------
procedure Write_Text (Formatter : in out Document_Formatter;
File : in Ada.Text_IO.File_Type;
Text : in String) is
Pos : Natural;
Start : Natural := Text'First;
End_Pos : Natural;
Last_Pos : Natural;
Link : Util.Strings.Maps.Cursor;
begin
-- Transform links
-- [Link] -> [[Link]]
-- [Link Title] -> [[Title|Link]]
--
-- Do not change the following links:
-- [[Link|Title]]
loop
Pos := Util.Strings.Index (Text, '[', Start);
if Pos = 0 or else Pos = Text'Last then
Formatter.Write_Text_Auto_Links (File, Text (Start .. Text'Last));
return;
end if;
Formatter.Write_Text_Auto_Links (File, Text (Start .. Pos - 1));
if Pos - 1 >= Text'First and then (Text (Pos - 1) = '\' or Text (Pos - 1) = '`') then
Ada.Text_IO.Put (File, "[");
Start := Pos + 1;
-- Parse a markdown link format.
elsif Text (Pos + 1) = '[' then
Start := Pos + 2;
Pos := Util.Strings.Index (Text, ']', Pos + 2);
if Pos = 0 then
if Is_Image (Text (Start .. Text'Last)) then
Ada.Text_IO.Put (File, Text (Start - 2 .. Text'Last));
else
Ada.Text_IO.Put (File, Text (Start - 2 .. Text'Last));
end if;
return;
end if;
if Is_Image (Text (Start .. Pos - 1)) then
Ada.Text_IO.Put (File, ";
Ada.Text_IO.Put (File, Text (Start .. Pos - 1));
Ada.Text_IO.Put (File, ")");
Start := Pos + 2;
else
Ada.Text_IO.Put (File, Text (Start .. Pos));
Start := Pos + 1;
end if;
else
Pos := Pos + 1;
End_Pos := Pos;
while End_Pos < Text'Last and Text (End_Pos) /= ' ' and Text (End_Pos) /= ']' loop
End_Pos := End_Pos + 1;
end loop;
Last_Pos := End_Pos;
while Last_Pos < Text'Last and Text (Last_Pos) /= ']' loop
Last_Pos := Last_Pos + 1;
end loop;
if Is_Image (Text (Pos .. Last_Pos - 1)) then
Ada.Text_IO.Put (File, ";
Ada.Text_IO.Put (File, Text (Pos .. Last_Pos - 1));
Ada.Text_IO.Put (File, ")");
elsif Is_Image (Text (Pos .. End_Pos)) then
Last_Pos := Last_Pos - 1;
Ada.Text_IO.Put (File, ";
Ada.Text_IO.Put (File, Text (Pos .. End_Pos));
Ada.Text_IO.Put (File, ")");
elsif Has_Scheme (Text (Pos .. End_Pos)) then
Ada.Text_IO.Put (File, "[");
Ada.Text_IO.Put (File, Text (End_Pos + 1 .. Last_Pos));
Ada.Text_IO.Put (File, "(");
Ada.Text_IO.Put (File,
Ada.Strings.Fixed.Trim (Text (Pos .. End_Pos), Ada.Strings.Both));
Ada.Text_IO.Put (File, ")");
else
Last_Pos := Last_Pos - 1;
Log.Info ("Check link {0}", Text (Pos .. Last_Pos));
Link := Formatter.Links.Find (Text (Pos .. Last_Pos));
if Util.Strings.Maps.Has_Element (Link) then
Ada.Text_IO.Put (File, "[");
Ada.Text_IO.Put (File, Text (Pos .. Last_Pos));
Ada.Text_IO.Put (File, "](");
Ada.Text_IO.Put (File, Util.Strings.Maps.Element (Link));
Ada.Text_IO.Put (File, ")");
Last_Pos := Last_Pos + 1;
else
Ada.Text_IO.Put (File, "[");
Ada.Text_IO.Put (File, Text (Pos .. Last_Pos));
end if;
end if;
Start := Last_Pos + 1;
end if;
end loop;
end Write_Text;
-- ------------------------------
-- Write a line in the document.
-- ------------------------------
procedure Write_Line (Formatter : in out Document_Formatter;
File : in Ada.Text_IO.File_Type;
Line : in String) is
begin
if Formatter.Need_Newline then
Ada.Text_IO.New_Line (File);
Formatter.Need_Newline := False;
end if;
if Formatter.Mode = L_START_CODE and then Line'Length > 2
and then Line (Line'First .. Line'First + 1) = " "
then
Ada.Text_IO.Put_Line (File, Line (Line'First + 2 .. Line'Last));
else
case Formatter.Mode is
when L_TEXT =>
Formatter.Write_Text (File, Line);
Ada.Text_IO.New_Line (File);
when L_LIST | L_LIST_ITEM =>
Formatter.Write_Text (File, Line);
when others =>
Ada.Text_IO.Put_Line (File, Line);
end case;
end if;
end Write_Line;
-- ------------------------------
-- Write a line in the target document formatting the line if necessary.
-- ------------------------------
overriding
procedure Write_Line (Formatter : in out Document_Formatter;
File : in Ada.Text_IO.File_Type;
Line : in Line_Type) is
begin
case Line.Kind is
when L_LIST =>
Ada.Text_IO.New_Line (File);
-- Ada.Text_IO.Put (File, Line.Content);
Formatter.Write_Line (File, Line.Content);
if Ada.Text_IO.Col (File) /= 1 then
Formatter.Need_Newline := True;
end if;
Formatter.Mode := Line.Kind;
when L_LIST_ITEM =>
Formatter.Write_Line (File, Line.Content);
-- Ada.Text_IO.Put (File, Line.Content);
-- Formatter.Need_Newline := True;
if Ada.Text_IO.Col (File) /= 1 then
Formatter.Need_Newline := True;
end if;
when L_START_CODE =>
Formatter.Mode := Line.Kind;
Formatter.Write_Line (File, "```Ada");
when L_END_CODE =>
Formatter.Mode := L_TEXT;
Formatter.Write_Line (File, "```");
when L_TEXT =>
if Formatter.Mode /= L_START_CODE then
Formatter.Mode := L_TEXT;
end if;
Formatter.Write_Line (File, Line.Content);
when L_HEADER_1 =>
Formatter.Mode := Line.Kind;
Formatter.Write_Line (File, "# " & Line.Content);
Formatter.Mode := L_TEXT;
when L_HEADER_2 =>
Formatter.Mode := Line.Kind;
Formatter.Write_Line (File, "## " & Line.Content);
Formatter.Mode := L_TEXT;
when L_HEADER_3 =>
Formatter.Mode := Line.Kind;
Formatter.Write_Line (File, "### " & Line.Content);
Formatter.Mode := L_TEXT;
when L_HEADER_4 =>
Formatter.Mode := Line.Kind;
Formatter.Write_Line (File, "#### " & Line.Content);
Formatter.Mode := L_TEXT;
when others =>
null;
end case;
end Write_Line;
-- ------------------------------
-- Finish the document.
-- ------------------------------
overriding
procedure Finish_Document (Formatter : in out Document_Formatter;
Document : in File_Document;
File : in Ada.Text_IO.File_Type;
Source : in String) is
pragma Unreferenced (Formatter);
begin
Ada.Text_IO.New_Line (File);
if Document.Print_Footer then
Ada.Text_IO.Put_Line (File, "----");
Ada.Text_IO.Put_Line (File,
"[Generated by Dynamo](https://github.com/stcarrez/dynamo) from *"
& Source & "*");
end if;
end Finish_Document;
end Gen.Artifacts.Docs.Markdown;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- S Y S T E M . T A S K I N G --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2006, Free Software Foundation, Inc. --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- sion. GNARL is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNARL; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies, Inc. --
-- --
------------------------------------------------------------------------------
pragma Polling (Off);
-- Turn off polling, we do not want ATC polling to take place during
-- tasking operations. It causes infinite loops and other problems.
with System.Task_Primitives.Operations;
-- used for Self
with System.Storage_Elements;
-- Needed for initializing Stack_Info.Size
package body System.Tasking is
package STPO renames System.Task_Primitives.Operations;
---------------------
-- Detect_Blocking --
---------------------
function Detect_Blocking return Boolean is
GL_Detect_Blocking : Integer;
pragma Import (C, GL_Detect_Blocking, "__gl_detect_blocking");
-- Global variable exported by the binder generated file.
-- A value equal to 1 indicates that pragma Detect_Blocking is active,
-- while 0 is used for the pragma not being present.
begin
return GL_Detect_Blocking = 1;
end Detect_Blocking;
----------
-- Self --
----------
function Self return Task_Id renames STPO.Self;
---------------------
-- Initialize_ATCB --
---------------------
procedure Initialize_ATCB
(Self_ID : Task_Id;
Task_Entry_Point : Task_Procedure_Access;
Task_Arg : System.Address;
Parent : Task_Id;
Elaborated : Access_Boolean;
Base_Priority : System.Any_Priority;
Task_Info : System.Task_Info.Task_Info_Type;
Stack_Size : System.Parameters.Size_Type;
T : Task_Id;
Success : out Boolean) is
begin
T.Common.State := Unactivated;
-- Initialize T.Common.LL
STPO.Initialize_TCB (T, Success);
if not Success then
return;
end if;
T.Common.Parent := Parent;
T.Common.Base_Priority := Base_Priority;
T.Common.Current_Priority := 0;
T.Common.Protected_Action_Nesting := 0;
T.Common.Call := null;
T.Common.Task_Arg := Task_Arg;
T.Common.Task_Entry_Point := Task_Entry_Point;
T.Common.Activator := Self_ID;
T.Common.Wait_Count := 0;
T.Common.Elaborated := Elaborated;
T.Common.Activation_Failed := False;
T.Common.Task_Info := Task_Info;
T.Common.Global_Task_Lock_Nesting := 0;
T.Common.Fall_Back_Handler := null;
T.Common.Specific_Handler := null;
if T.Common.Parent = null then
-- For the environment task, the adjusted stack size is
-- meaningless. For example, an unspecified Stack_Size means
-- that the stack size is determined by the environment, or
-- can grow dynamically. The Stack_Checking algorithm
-- therefore needs to use the requested size, or 0 in
-- case of an unknown size.
T.Common.Compiler_Data.Pri_Stack_Info.Size :=
Storage_Elements.Storage_Offset (Stack_Size);
else
T.Common.Compiler_Data.Pri_Stack_Info.Size :=
Storage_Elements.Storage_Offset
(Parameters.Adjust_Storage_Size (Stack_Size));
end if;
-- Link the task into the list of all tasks
T.Common.All_Tasks_Link := All_Tasks_List;
All_Tasks_List := T;
end Initialize_ATCB;
----------------
-- Initialize --
----------------
Main_Task_Image : constant String := "main_task";
-- Image of environment task
Main_Priority : Integer;
pragma Import (C, Main_Priority, "__gl_main_priority");
-- Priority for main task. Note that this is of type Integer, not
-- Priority, because we use the value -1 to indicate the default
-- main priority, and that is of course not in Priority'range.
Initialized : Boolean := False;
-- Used to prevent multiple calls to Initialize
procedure Initialize is
T : Task_Id;
Success : Boolean;
Base_Priority : Any_Priority;
begin
if Initialized then
return;
end if;
Initialized := True;
-- Initialize Environment Task
if Main_Priority = Unspecified_Priority then
Base_Priority := Default_Priority;
else
Base_Priority := Priority (Main_Priority);
end if;
Success := True;
T := STPO.New_ATCB (0);
Initialize_ATCB
(null, null, Null_Address, Null_Task, null, Base_Priority,
Task_Info.Unspecified_Task_Info, 0, T, Success);
pragma Assert (Success);
STPO.Initialize (T);
STPO.Set_Priority (T, T.Common.Base_Priority);
T.Common.State := Runnable;
T.Common.Task_Image_Len := Main_Task_Image'Length;
T.Common.Task_Image (Main_Task_Image'Range) := Main_Task_Image;
-- Only initialize the first element since others are not relevant
-- in ravenscar mode. Rest of the initialization is done in Init_RTS.
T.Entry_Calls (1).Self := T;
end Initialize;
end System.Tasking;
|
------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- - - - - - - - - - - - - - - - --
-- Read copyright and license at the end of ada.ads file --
------------------------------------------------------------------------------
-- $Revision: 209 $ $Date: 2013-11-30 21:03:24 +0200 (Сб., 30 нояб. 2013) $
package Ada.Characters.Conversions is
pragma Pure (Conversions);
function Is_Character (Item : in Wide_Character) return Boolean;
function Is_String (Item : in Wide_String) return Boolean;
function Is_Character (Item : in Wide_Wide_Character) return Boolean;
function Is_String (Item : in Wide_Wide_String) return Boolean;
function Is_Wide_Character (Item : in Wide_Wide_Character) return Boolean;
function Is_Wide_String (Item : in Wide_Wide_String) return Boolean;
function To_Wide_Character (Item : in Character) return Wide_Character;
function To_Wide_String (Item : in String) return Wide_String;
function To_Wide_Wide_Character (Item : in Character)
return Wide_Wide_Character;
function To_Wide_Wide_String (Item : in String) return Wide_Wide_String;
function To_Wide_Wide_Character (Item : in Wide_Character)
return Wide_Wide_Character;
function To_Wide_Wide_String (Item : in Wide_String)
return Wide_Wide_String;
function To_Character (Item : in Wide_Character;
Substitute : in Character := ' ')
return Character;
function To_String (Item : in Wide_String;
Substitute : in Character := ' ')
return String;
function To_Character (Item : in Wide_Wide_Character;
Substitute : in Character := ' ')
return Character;
function To_String (Item : in Wide_Wide_String;
Substitute : in Character := ' ')
return String;
function To_Wide_Character (Item : in Wide_Wide_Character;
Substitute : in Wide_Character := ' ')
return Wide_Character;
function To_Wide_String (Item : in Wide_Wide_String;
Substitute : in Wide_Character := ' ')
return Wide_String;
end Ada.Characters.Conversions;
|
-- Abstract:
--
-- See spec.
--
-- Copyright (C) 2017 - 2019 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundation; either version 3, or (at your option) any later
-- version. This library is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN-
-- TABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
-- As a special exception under Section 7 of GPL version 3, you are granted
-- additional permissions described in the GCC Runtime Library Exception,
-- version 3.1, as published by the Free Software Foundation.
pragma License (Modified_GPL);
with Ada.Unchecked_Deallocation;
with Long_Float_Elementary_Functions;
package body SAL.Gen_Unbounded_Definite_Min_Heaps_Fibonacci is
----------
-- local subprogram specs (as needed), alphabetical order
procedure Insert_Into_Root_List (Heap : in out Heap_Type; X : in Node_Access);
procedure Link (Y, X : in Node_Access);
procedure Remove_From_List (X : in Node_Access);
procedure Swap (A, B : in out Node_Access);
----------
-- local subprogram bodies, alphabetical order
function Add (Heap : in out Heap_Type; Item : in Element_Type) return Node_Access
is
X : constant Node_Access := new Node'(Item, null, null, null, null, 0, False);
begin
-- [1] 19.2 FIB-HEAP-INSERT
if Heap.Min = null then
Heap.Min := X;
Heap.Min.Left := Heap.Min;
Heap.Min.Right := Heap.Min;
else
Insert_Into_Root_List (Heap, X);
if Key (Item) < Key (Heap.Min.Element) then
Heap.Min := X;
end if;
end if;
Heap.Count := Heap.Count + 1;
return X;
end Add;
procedure Consolidate (Heap : in out Heap_Type)
is
-- [1] 19.4 max degree of Fibonacci heap
Phi : constant := 1.61803398874989484820458683436563811772; -- https://oeis.org/A001622/constant
Max_Degree : constant Integer := Integer
(Long_Float_Elementary_Functions.Log (Long_Float (Heap.Count), Base => Phi));
-- [1] 19.2 CONSOLIDATE
A : array (0 .. Max_Degree) of Node_Access := (others => null);
W : Node_Access := Heap.Min;
Last : Node_Access := Heap.Min;
X, Y : Node_Access;
D : Integer;
Min_Key : Key_Type;
begin
loop
X := W;
W := W.Right;
D := X.Degree;
loop
exit when A (D) = null;
Y := A (D);
if Key (Y.Element) < Key (X.Element) then
Swap (X, Y);
end if;
if Y = Last and W /= Last then
Last := Y.Right;
end if;
Link (Y, X);
A (D) := null;
D := D + 1;
exit when D = A'Last;
end loop;
A (D) := X;
exit when W = Last;
end loop;
Heap.Min := null;
for I in A'Range loop
if A (I) /= null then
if Heap.Min = null then
Heap.Min := A (I);
Heap.Min.Left := Heap.Min;
Heap.Min.Right := Heap.Min;
Min_Key := Key (Heap.Min.Element);
else
Insert_Into_Root_List (Heap, A (I));
if Key (A (I).Element) < Min_Key then
Heap.Min := A (I);
Min_Key := Key (A (I).Element);
end if;
end if;
end if;
end loop;
end Consolidate;
procedure Copy_Node (Old_Obj : in Node_Access; New_Obj : in out Heap_Type)
is
Child : Node_Access;
begin
if Old_Obj = null then
return;
end if;
if Old_Obj.Child /= null then
Child := Old_Obj.Child;
loop
Add (New_Obj, Child.Element);
Child := Child.Right;
exit when Child = Old_Obj.Child;
end loop;
end if;
Add (New_Obj, Old_Obj.Element);
end Copy_Node;
procedure Free is new Ada.Unchecked_Deallocation (Node, Node_Access);
procedure Free_Node (Item : in out Node_Access)
is
Child : Node_Access;
Temp : Node_Access;
begin
if Item = null then
return;
end if;
-- Parent has already been free'd
-- Siblings are freed by caller
-- Free children
if Item.Child /= null then
Child := Item.Child;
loop
Temp := Child;
Child := Child.Right;
Free_Node (Temp);
exit when Child = Item.Child;
end loop;
end if;
Free (Item);
end Free_Node;
procedure Insert_Into_Root_List (Heap : in out Heap_Type; X : in Node_Access)
is begin
-- match [1] fig 19.3
X.Right := Heap.Min;
X.Left := Heap.Min.Left;
Heap.Min.Left.Right := X;
Heap.Min.Left := X;
end Insert_Into_Root_List;
procedure Link (Y, X : in Node_Access)
is begin
-- [1] 19.2 FIB-HEAP-LINK
Remove_From_List (Y);
Y.Parent := X;
X.Degree := X.Degree + 1;
if X.Child = null then
X.Child := Y;
Y.Right := Y;
Y.Left := Y;
else
-- Insert Y into X child list
Y.Right := X.Child;
Y.Left := X.Child.Left;
X.Child.Left.Right := Y;
X.Child.Left := Y;
end if;
Y.Mark := False;
end Link;
procedure Remove_From_List (X : in Node_Access)
is begin
X.Left.Right := X.Right;
X.Right.Left := X.Left;
end Remove_From_List;
procedure Swap (A, B : in out Node_Access)
is
C : constant Node_Access := A;
begin
A := B;
B := C;
end Swap;
----------
-- Visible operations
overriding
procedure Initialize (Object : in out Heap_Type)
is begin
-- Min is null by default.
Object.Count := 0;
end Initialize;
overriding
procedure Finalize (Object : in out Heap_Type)
is
Next : Node_Access := Object.Min;
Temp : Node_Access;
begin
if Next = null then
return;
end if;
loop
Temp := Next;
Next := Next.Right;
Free_Node (Temp);
exit when Next = Object.Min;
end loop;
Object.Min := null;
Object.Count := 0;
end Finalize;
overriding
procedure Adjust (Object : in out Heap_Type)
is
Old_Obj : Node_Access := Object.Min;
Last : constant Node_Access := Old_Obj;
begin
if Old_Obj = null then
return;
end if;
Object.Min := null;
Object.Count := 0;
loop
Copy_Node (Old_Obj, Object);
Old_Obj := Old_Obj.Right;
exit when Old_Obj = Last;
end loop;
end Adjust;
procedure Clear (Heap : in out Heap_Type)
is begin
Finalize (Heap);
end Clear;
function Count (Heap : in Heap_Type) return Base_Peek_Type
is begin
return Heap.Count;
end Count;
function Remove (Heap : in out Heap_Type) return Element_Type
is
Z : Node_Access := Heap.Min;
Child, Temp : Node_Access;
begin
if Heap.Count = 0 then
raise Container_Empty;
end if;
-- [1] 19.2 FIB-HEAP-EXTRACT-MIN
Child := Z.Child;
for I in 1 .. Z.Degree loop
Temp := Child;
Child := Child.Right;
Temp.Parent := null;
Insert_Into_Root_List (Heap, Temp);
end loop;
Remove_From_List (Z);
if Z.Right = Z then
Heap.Min := null;
else
Heap.Min := Z.Right;
Consolidate (Heap);
end if;
Heap.Count := Heap.Count - 1;
return Result : constant Element_Type := Z.Element do
Free (Z);
end return;
end Remove;
function Min_Key (Heap : in out Heap_Type) return Key_Type
is begin
return Key (Heap.Min.Element);
end Min_Key;
procedure Drop (Heap : in out Heap_Type)
is
Junk : Element_Type := Remove (Heap);
pragma Unreferenced (Junk);
begin
null;
end Drop;
procedure Add (Heap : in out Heap_Type; Item : in Element_Type)
is
X : constant Node_Access := Add (Heap, Item);
pragma Unreferenced (X);
begin
null;
end Add;
function Add (Heap : in out Heap_Type; Item : in Element_Type) return Element_Access
is
X : constant Node_Access := Add (Heap, Item);
begin
return X.all.Element'Access;
end Add;
function Peek (Heap : in Heap_Type) return Constant_Reference_Type
is begin
return (Element => Heap.Min.all.Element'Access);
end Peek;
procedure Process (Heap : in Heap_Type; Process_Element : access procedure (Element : in Element_Type))
is
type Cursor is record
-- Every node is in a circular list. List_Origin is the node where we
-- entered the list, so we know when we are done.
Node : Node_Access;
List_Origin : Node_Access;
end record;
Cur : Cursor := (Heap.Min, Heap.Min);
procedure Process_Node (Cur : in out Cursor)
is
Next_Cur : Cursor;
begin
loop
if Cur.Node.Child /= null then
Next_Cur := (Cur.Node.Child, Cur.Node.Child);
Process_Node (Next_Cur);
end if;
Process_Element (Cur.Node.Element);
Cur.Node := Cur.Node.Right;
exit when Cur.Node = Cur.List_Origin;
end loop;
end Process_Node;
begin
if Cur.Node /= null then
Process_Node (Cur);
end if;
end Process;
end SAL.Gen_Unbounded_Definite_Min_Heaps_Fibonacci;
|
-- This spec has been automatically generated from STM32F7x9.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.FLASH is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype ACR_LATENCY_Field is HAL.UInt3;
-- Flash access control register
type ACR_Register is record
-- Latency
LATENCY : ACR_LATENCY_Field := 16#0#;
-- unspecified
Reserved_3_7 : HAL.UInt5 := 16#0#;
-- Prefetch enable
PRFTEN : Boolean := False;
-- Instruction cache enable
ICEN : Boolean := False;
-- Data cache enable
DCEN : Boolean := False;
-- Write-only. Instruction cache reset
ICRST : Boolean := False;
-- Data cache reset
DCRST : Boolean := False;
-- unspecified
Reserved_13_31 : HAL.UInt19 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for ACR_Register use record
LATENCY at 0 range 0 .. 2;
Reserved_3_7 at 0 range 3 .. 7;
PRFTEN at 0 range 8 .. 8;
ICEN at 0 range 9 .. 9;
DCEN at 0 range 10 .. 10;
ICRST at 0 range 11 .. 11;
DCRST at 0 range 12 .. 12;
Reserved_13_31 at 0 range 13 .. 31;
end record;
-- Status register
type SR_Register is record
-- End of operation
EOP : Boolean := False;
-- Operation error
OPERR : Boolean := False;
-- unspecified
Reserved_2_3 : HAL.UInt2 := 16#0#;
-- Write protection error
WRPERR : Boolean := False;
-- Programming alignment error
PGAERR : Boolean := False;
-- Programming parallelism error
PGPERR : Boolean := False;
-- Programming sequence error
PGSERR : Boolean := False;
-- unspecified
Reserved_8_15 : HAL.UInt8 := 16#0#;
-- Read-only. Busy
BSY : Boolean := False;
-- unspecified
Reserved_17_31 : HAL.UInt15 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for SR_Register use record
EOP at 0 range 0 .. 0;
OPERR at 0 range 1 .. 1;
Reserved_2_3 at 0 range 2 .. 3;
WRPERR at 0 range 4 .. 4;
PGAERR at 0 range 5 .. 5;
PGPERR at 0 range 6 .. 6;
PGSERR at 0 range 7 .. 7;
Reserved_8_15 at 0 range 8 .. 15;
BSY at 0 range 16 .. 16;
Reserved_17_31 at 0 range 17 .. 31;
end record;
subtype CR_SNB_Field is HAL.UInt5;
subtype CR_PSIZE_Field is HAL.UInt2;
-- Control register
type CR_Register is record
-- Programming
PG : Boolean := False;
-- Sector Erase
SER : Boolean := False;
-- Mass Erase of sectors 0 to 11
MER : Boolean := False;
-- Sector number
SNB : CR_SNB_Field := 16#0#;
-- Program size
PSIZE : CR_PSIZE_Field := 16#0#;
-- unspecified
Reserved_10_14 : HAL.UInt5 := 16#0#;
-- Mass Erase of sectors 12 to 23
MER1 : Boolean := False;
-- Start
STRT : Boolean := False;
-- unspecified
Reserved_17_23 : HAL.UInt7 := 16#0#;
-- End of operation interrupt enable
EOPIE : Boolean := False;
-- Error interrupt enable
ERRIE : Boolean := False;
-- unspecified
Reserved_26_30 : HAL.UInt5 := 16#0#;
-- Lock
LOCK : Boolean := True;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for CR_Register use record
PG at 0 range 0 .. 0;
SER at 0 range 1 .. 1;
MER at 0 range 2 .. 2;
SNB at 0 range 3 .. 7;
PSIZE at 0 range 8 .. 9;
Reserved_10_14 at 0 range 10 .. 14;
MER1 at 0 range 15 .. 15;
STRT at 0 range 16 .. 16;
Reserved_17_23 at 0 range 17 .. 23;
EOPIE at 0 range 24 .. 24;
ERRIE at 0 range 25 .. 25;
Reserved_26_30 at 0 range 26 .. 30;
LOCK at 0 range 31 .. 31;
end record;
subtype OPTCR_BOR_LEV_Field is HAL.UInt2;
subtype OPTCR_RDP_Field is HAL.UInt8;
subtype OPTCR_nWRP_Field is HAL.UInt12;
-- Flash option control register
type OPTCR_Register is record
-- Option lock
OPTLOCK : Boolean := True;
-- Option start
OPTSTRT : Boolean := False;
-- BOR reset Level
BOR_LEV : OPTCR_BOR_LEV_Field := 16#3#;
-- unspecified
Reserved_4_4 : HAL.Bit := 16#0#;
-- WDG_SW User option bytes
WDG_SW : Boolean := True;
-- nRST_STOP User option bytes
nRST_STOP : Boolean := True;
-- nRST_STDBY User option bytes
nRST_STDBY : Boolean := True;
-- Read protect
RDP : OPTCR_RDP_Field := 16#AA#;
-- Not write protect
nWRP : OPTCR_nWRP_Field := 16#FFF#;
-- unspecified
Reserved_28_31 : HAL.UInt4 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for OPTCR_Register use record
OPTLOCK at 0 range 0 .. 0;
OPTSTRT at 0 range 1 .. 1;
BOR_LEV at 0 range 2 .. 3;
Reserved_4_4 at 0 range 4 .. 4;
WDG_SW at 0 range 5 .. 5;
nRST_STOP at 0 range 6 .. 6;
nRST_STDBY at 0 range 7 .. 7;
RDP at 0 range 8 .. 15;
nWRP at 0 range 16 .. 27;
Reserved_28_31 at 0 range 28 .. 31;
end record;
subtype OPTCR1_nWRP_Field is HAL.UInt12;
-- Flash option control register 1
type OPTCR1_Register is record
-- unspecified
Reserved_0_15 : HAL.UInt16 := 16#0#;
-- Not write protect
nWRP : OPTCR1_nWRP_Field := 16#FFF#;
-- unspecified
Reserved_28_31 : HAL.UInt4 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for OPTCR1_Register use record
Reserved_0_15 at 0 range 0 .. 15;
nWRP at 0 range 16 .. 27;
Reserved_28_31 at 0 range 28 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- FLASH
type FLASH_Peripheral is record
-- Flash access control register
ACR : aliased ACR_Register;
-- Flash key register
KEYR : aliased HAL.UInt32;
-- Flash option key register
OPTKEYR : aliased HAL.UInt32;
-- Status register
SR : aliased SR_Register;
-- Control register
CR : aliased CR_Register;
-- Flash option control register
OPTCR : aliased OPTCR_Register;
-- Flash option control register 1
OPTCR1 : aliased OPTCR1_Register;
end record
with Volatile;
for FLASH_Peripheral use record
ACR at 16#0# range 0 .. 31;
KEYR at 16#4# range 0 .. 31;
OPTKEYR at 16#8# range 0 .. 31;
SR at 16#C# range 0 .. 31;
CR at 16#10# range 0 .. 31;
OPTCR at 16#14# range 0 .. 31;
OPTCR1 at 16#18# range 0 .. 31;
end record;
-- FLASH
FLASH_Periph : aliased FLASH_Peripheral
with Import, Address => System'To_Address (16#40023C00#);
end STM32_SVD.FLASH;
|
--*****************************************************************************
--*
--* PROJECT: BingAda
--*
--* FILE: q_csv.ads
--*
--* AUTHOR: Javier Fuica Fernandez
--*
--* NOTES: This code was taken from Rosetta Code and modifyied to fix
-- BingAda needs and Style Guide.
--*
--*****************************************************************************
package Q_CSV is
type T_ROW (<>) is tagged private;
function F_LINE (V_LINE : STRING;
V_SEPARATOR : CHARACTER := ';') return T_ROW;
function F_NEXT (V_ROW: in out T_ROW) return BOOLEAN;
-- if there is still an item in R, Next advances to it and returns True
function F_ITEM (V_ROW: T_ROW) return STRING;
-- after calling R.Next i times, this returns the i'th item (if any)
private
type T_ROW (V_LENGTH : NATURAL) is tagged record
R_STR : STRING (1 .. V_LENGTH);
R_FIRST : POSITIVE;
R_LAST : NATURAL;
R_NEXT : POSITIVE;
R_SEP : CHARACTER;
end record;
end Q_CSV;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.