CombinedText stringlengths 4 3.42M |
|---|
with Interfaces;
package Opt61_Pkg is
subtype Int64 is Interfaces.Integer_64;
procedure Double_Divide
(X, Y, Z : Int64;
Q, R : out Int64;
Round : Boolean);
end Opt61_Pkg;
|
------------------------------------------------------------------------------
-- --
-- WAVEFILES --
-- --
-- Test application --
-- --
-- The MIT License (MIT) --
-- --
-- Copyright (c) 2020 Gustavo A. Hoffmann --
-- --
-- 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, 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 AUTHORS OR 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. --
------------------------------------------------------------------------------
with Audio.Wavefiles.Data_Types; use Audio.Wavefiles.Data_Types;
with Generic_Fixed_Wave_Test;
with Generic_Float_Wave_Test;
package body Wave_Test_Instances is
PCM_Bits : Positive := 32;
PCM_Fixed : Boolean := True;
package Wave_Test_Fixed_8 is new Generic_Fixed_Wave_Test
(PCM_Sample => Wav_Fixed_8,
PCM_MC_Sample => Wav_Buffer_Fixed_8);
package Wave_Test_Fixed_16 is new Generic_Fixed_Wave_Test
(PCM_Sample => Wav_Fixed_16,
PCM_MC_Sample => Wav_Buffer_Fixed_16);
package Wave_Test_Fixed_24 is new Generic_Fixed_Wave_Test
(PCM_Sample => Wav_Fixed_24,
PCM_MC_Sample => Wav_Buffer_Fixed_24);
package Wave_Test_Fixed_32 is new Generic_Fixed_Wave_Test
(PCM_Sample => Wav_Fixed_32,
PCM_MC_Sample => Wav_Buffer_Fixed_32);
package Wave_Test_Fixed_64 is new Generic_Fixed_Wave_Test
(PCM_Sample => Wav_Fixed_64,
PCM_MC_Sample => Wav_Buffer_Fixed_64);
package Wave_Test_Float_32 is new Generic_Float_Wave_Test
(PCM_Sample => Wav_Float_32,
PCM_MC_Sample => Wav_Buffer_Float_32);
package Wave_Test_Float_64 is new Generic_Float_Wave_Test
(PCM_Sample => Wav_Float_64,
PCM_MC_Sample => Wav_Buffer_Float_64);
package Wave_Test_Float_128 is new Generic_Float_Wave_Test
(PCM_Sample => Wav_Float_128,
PCM_MC_Sample => Wav_Buffer_Float_128);
Proc_Display_Info_File : access procedure (File_In : String)
:= Wave_Test_Fixed_32.Display_Info_File'Access;
Proc_Copy_File : access procedure
(File_In : String;
File_Out : String) := Wave_Test_Fixed_32.Copy_File'Access;
Proc_Compare_Files : access procedure
(File_Ref : String;
File_DUT : String) := Wave_Test_Fixed_32.Compare_Files'Access;
Proc_Diff_Files : access procedure
(File_Ref : String;
File_DUT : String;
File_Diff : String) := Wave_Test_Fixed_32.Diff_Files'Access;
Proc_Mix_Files : access procedure
(File_Ref : String;
File_DUT : String;
File_Mix : String) := Wave_Test_Fixed_32.Mix_Files'Access;
-----------------------
-- Display_Info_File --
-----------------------
procedure Display_Info_File (File_In : String) is
begin
Proc_Display_Info_File (File_In);
end Display_Info_File;
---------------
-- Copy_File --
---------------
procedure Copy_File
(File_In : String;
File_Out : String) is
begin
Proc_Copy_File (File_In, File_Out);
end Copy_File;
-------------------
-- Compare_Files --
-------------------
procedure Compare_Files
(File_Ref : String;
File_DUT : String) is
begin
Proc_Compare_Files (File_Ref, File_DUT);
end Compare_Files;
----------------
-- Diff_Files --
----------------
procedure Diff_Files
(File_Ref : String;
File_DUT : String;
File_Diff : String) is
begin
Proc_Diff_Files (File_Ref, File_DUT, File_Diff);
end Diff_Files;
---------------
-- Mix_Files --
---------------
procedure Mix_Files
(File_Ref : String;
File_DUT : String;
File_Mix : String) is
begin
Proc_Mix_Files (File_Ref, File_DUT, File_Mix);
end Mix_Files;
-------------------------
-- Set_Test_Procedures --
-------------------------
procedure Set_Test_Procedures (Bits : Positive;
Fixed : Boolean;
Status : out Boolean)
is
procedure Set_It;
procedure Set_It is
begin
Status := True;
PCM_Bits := Bits;
PCM_Fixed := Fixed;
end Set_It;
begin
Status := False;
case Fixed is
when False => -- Floating-point PCM buffer
case Bits is
when 32 =>
Proc_Display_Info_File
:= Wave_Test_Float_32.Display_Info_File'Access;
Proc_Copy_File
:= Wave_Test_Float_32.Copy_File'Access;
Proc_Compare_Files
:= Wave_Test_Float_32.Compare_Files'Access;
Proc_Diff_Files
:= Wave_Test_Float_32.Diff_Files'Access;
Proc_Mix_Files
:= Wave_Test_Float_32.Mix_Files'Access;
Set_It;
when 64 =>
Proc_Display_Info_File
:= Wave_Test_Float_64.Display_Info_File'Access;
Proc_Copy_File
:= Wave_Test_Float_64.Copy_File'Access;
Proc_Compare_Files
:= Wave_Test_Float_64.Compare_Files'Access;
Proc_Diff_Files
:= Wave_Test_Float_64.Diff_Files'Access;
Proc_Mix_Files
:= Wave_Test_Float_64.Mix_Files'Access;
Set_It;
when 128 =>
Proc_Display_Info_File
:= Wave_Test_Float_128.Display_Info_File'Access;
Proc_Copy_File
:= Wave_Test_Float_128.Copy_File'Access;
Proc_Compare_Files
:= Wave_Test_Float_128.Compare_Files'Access;
Proc_Diff_Files
:= Wave_Test_Float_128.Diff_Files'Access;
Proc_Mix_Files
:= Wave_Test_Float_128.Mix_Files'Access;
Set_It;
when others =>
null;
end case;
when True => -- Fixed-point PCM buffer
case Bits is
when 8 =>
Proc_Display_Info_File
:= Wave_Test_Fixed_8.Display_Info_File'Access;
Proc_Copy_File
:= Wave_Test_Fixed_8.Copy_File'Access;
Proc_Compare_Files
:= Wave_Test_Fixed_8.Compare_Files'Access;
Proc_Diff_Files
:= Wave_Test_Fixed_8.Diff_Files'Access;
Proc_Mix_Files
:= Wave_Test_Fixed_8.Mix_Files'Access;
Set_It;
when 16 =>
Proc_Display_Info_File
:= Wave_Test_Fixed_16.Display_Info_File'Access;
Proc_Copy_File
:= Wave_Test_Fixed_16.Copy_File'Access;
Proc_Compare_Files
:= Wave_Test_Fixed_16.Compare_Files'Access;
Proc_Diff_Files
:= Wave_Test_Fixed_16.Diff_Files'Access;
Proc_Mix_Files
:= Wave_Test_Fixed_16.Mix_Files'Access;
Set_It;
when 24 =>
Proc_Display_Info_File
:= Wave_Test_Fixed_24.Display_Info_File'Access;
Proc_Copy_File
:= Wave_Test_Fixed_24.Copy_File'Access;
Proc_Compare_Files
:= Wave_Test_Fixed_24.Compare_Files'Access;
Proc_Diff_Files
:= Wave_Test_Fixed_24.Diff_Files'Access;
Proc_Mix_Files
:= Wave_Test_Fixed_24.Mix_Files'Access;
Set_It;
when 32 =>
Proc_Display_Info_File
:= Wave_Test_Fixed_32.Display_Info_File'Access;
Proc_Copy_File
:= Wave_Test_Fixed_32.Copy_File'Access;
Proc_Compare_Files
:= Wave_Test_Fixed_32.Compare_Files'Access;
Proc_Diff_Files
:= Wave_Test_Fixed_32.Diff_Files'Access;
Proc_Mix_Files
:= Wave_Test_Fixed_32.Mix_Files'Access;
Set_It;
when 64 =>
Proc_Display_Info_File
:= Wave_Test_Fixed_64.Display_Info_File'Access;
Proc_Copy_File
:= Wave_Test_Fixed_64.Copy_File'Access;
Proc_Compare_Files
:= Wave_Test_Fixed_64.Compare_Files'Access;
Proc_Diff_Files
:= Wave_Test_Fixed_64.Diff_Files'Access;
Proc_Mix_Files
:= Wave_Test_Fixed_64.Mix_Files'Access;
Set_It;
when others =>
null;
end case;
end case;
end Set_Test_Procedures;
--------------
-- Get_Bits --
--------------
function Get_Bits return Positive is (PCM_Bits);
--------------
-- Is_Fixed --
--------------
function Is_Fixed return Boolean is (PCM_Fixed);
end Wave_Test_Instances;
|
package Startup is
pragma Preelaborate;
procedure Reset_Handler with Export => True, External_Name => "_start_rom";
end Startup;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- S Y S T E M . P A C K _ 1 7 --
-- --
-- S p e c --
-- --
-- $Revision$
-- --
-- Copyright (C) 1992-1999 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 2, 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. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
-- MA 02111-1707, 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. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- Handling of packed arrays with Component_Size = 17
package System.Pack_17 is
pragma Preelaborate (Pack_17);
Bits : constant := 17;
type Bits_17 is mod 2 ** Bits;
for Bits_17'Size use Bits;
function Get_17 (Arr : System.Address; N : Natural) return Bits_17;
-- Arr is the address of the packed array, N is the zero-based
-- subscript. This element is extracted and returned.
procedure Set_17 (Arr : System.Address; N : Natural; E : Bits_17);
-- Arr is the address of the packed array, N is the zero-based
-- subscript. This element is set to the given value.
end System.Pack_17;
|
package Discr31 is
type Byte_List_Type is array(Positive range <>) of Integer;
type Log_Item_Type(Last : Natural) is record
Data : Byte_List_Type(1 .. Last) := (others => 0);
Link : Natural := 0;
end record;
type Packet_Data_Type is access Log_Item_Type;
function Log_Item(Packet : in Packet_Data_Type) return Log_Item_Type;
end Discr31;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- G N A T . M E M O R Y _ D U M P --
-- --
-- B o d y --
-- --
-- Copyright (C) 2003-2020, 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. --
-- --
-- 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. --
-- --
------------------------------------------------------------------------------
with System; use System;
with System.Img_BIU; use System.Img_BIU;
with System.Storage_Elements; use System.Storage_Elements;
with GNAT.IO; use GNAT.IO;
with GNAT.Debug_Utilities; use GNAT.Debug_Utilities;
with Ada.Unchecked_Conversion;
package body GNAT.Memory_Dump is
----------
-- Dump --
----------
procedure Dump
(Addr : Address;
Count : Natural)
is
begin
Dump (Addr, Count, Prefix => Absolute_Address);
end Dump;
procedure Dump
(Addr : Address;
Count : Natural;
Prefix : Prefix_Type)
is
Ctr : Natural := Count;
-- Count of bytes left to output
Offset_Buf : String (1 .. Standard'Address_Size / 4 + 4);
Offset_Last : Natural;
-- Buffer for prefix in Offset mode
Adr : Address := Addr;
-- Current address
N : Natural := 0;
-- Number of bytes output on current line
C : Character;
-- Character at current storage address
AIL : Natural;
-- Number of chars in prefix (including colon and space)
Line_Len : Natural;
-- Line length for entire line
Hex : constant array (0 .. 15) of Character := "0123456789ABCDEF";
type Char_Ptr is access all Character;
function To_Char_Ptr is new Ada.Unchecked_Conversion (Address, Char_Ptr);
begin
case Prefix is
when Absolute_Address =>
AIL := Address_Image_Length - 4 + 2;
when Offset =>
Offset_Last := Offset_Buf'First - 1;
Set_Image_Based_Integer (Ctr, 16, 0, Offset_Buf, Offset_Last);
AIL := Offset_Last - 4 + 2;
when None =>
AIL := 0;
end case;
Line_Len := AIL + 3 * 16 + 2 + 16;
declare
Line_Buf : String (1 .. Line_Len);
begin
while Ctr /= 0 loop
-- Start of line processing
if N = 0 then
case Prefix is
when Absolute_Address =>
declare
S : constant String := Image (Adr);
begin
Line_Buf (1 .. AIL) := S (4 .. S'Length - 1) & ": ";
end;
when Offset =>
declare
Last : Natural := 0;
Len : Natural;
begin
Set_Image_Based_Integer
(Count - Ctr, 16, 0, Offset_Buf, Last);
Len := Last - 4;
Line_Buf (1 .. AIL - Len - 2) := (others => '0');
Line_Buf (AIL - Len - 1 .. AIL - 2) :=
Offset_Buf (4 .. Last - 1);
Line_Buf (AIL - 1 .. AIL) := ": ";
end;
when None =>
null;
end case;
Line_Buf (AIL + 1 .. Line_Buf'Last) := (others => ' ');
Line_Buf (AIL + 3 * 16 + 1) := '"';
end if;
-- Add one character to current line
C := To_Char_Ptr (Adr).all;
Adr := Adr + 1;
Ctr := Ctr - 1;
Line_Buf (AIL + 3 * N + 1) := Hex (Character'Pos (C) / 16);
Line_Buf (AIL + 3 * N + 2) := Hex (Character'Pos (C) mod 16);
if C < ' ' or else C = Character'Val (16#7F#) then
C := '?';
end if;
Line_Buf (AIL + 3 * 16 + 2 + N) := C;
N := N + 1;
-- End of line processing
if N = 16 then
Line_Buf (Line_Buf'Last) := '"';
GNAT.IO.Put_Line (Line_Buf);
N := 0;
end if;
end loop;
-- Deal with possible last partial line
if N /= 0 then
Line_Buf (AIL + 3 * 16 + 2 + N) := '"';
GNAT.IO.Put_Line (Line_Buf (1 .. AIL + 3 * 16 + 2 + N));
end if;
end;
end Dump;
end GNAT.Memory_Dump;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-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.
------------------------------------------------------------------------------
with AMF.Elements.Generic_Hash;
function AMF.Standard_Profile_L2.Frameworks.Hash is
new AMF.Elements.Generic_Hash (Standard_Profile_L2_Framework, Standard_Profile_L2_Framework_Access);
|
------------------------------------------------------------------------------
-- G E L A X 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) $
with Asis.Expressions;
package body XASIS.Static.Signed is
use Asis;
use XASIS.Integers;
use Asis.Expressions;
use XASIS.Static.Discrete;
--------------
-- Evaluate --
--------------
function Evaluate
(Object : Type_Class;
Kind : Asis.Operator_Kinds;
Args : Asis.Association_List)
return Value
is
begin
case Kind is
when A_Unary_Plus_Operator =>
return Evaluate (Actual_Parameter (Args (1)));
when A_Unary_Minus_Operator | An_Abs_Operator =>
declare
Item : Value renames
Evaluate (Actual_Parameter (Args (1)));
begin
if not Is_Discrete (Item) then
return Undefined;
elsif Kind = A_Unary_Minus_Operator then
return I (-Item.Pos);
else
return I (abs Item.Pos);
end if;
end;
when A_Plus_Operator
| A_Minus_Operator
| A_Multiply_Operator
| A_Divide_Operator
| A_Mod_Operator
| A_Rem_Operator
| An_Exponentiate_Operator
=>
declare
Left : Value renames
Evaluate (Actual_Parameter (Args (1)));
Right : Value renames
Evaluate (Actual_Parameter (Args (2)));
begin
if Is_Discrete (Left) and Is_Discrete (Right) then
case Kind is
when A_Plus_Operator =>
return I (Left.Pos + Right.Pos);
when A_Minus_Operator =>
return I (Left.Pos - Right.Pos);
when A_Multiply_Operator =>
return I (Left.Pos * Right.Pos);
when A_Divide_Operator =>
Check_Zero (Right);
return I (Left.Pos / Right.Pos);
when A_Mod_Operator =>
Check_Zero (Right);
return I (Left.Pos mod Right.Pos);
when A_Rem_Operator =>
Check_Zero (Right);
return I (Left.Pos rem Right.Pos);
when An_Exponentiate_Operator =>
return I (Left.Pos ** Right.Pos);
when others =>
null;
end case;
else
return Undefined;
end if;
end;
when others =>
return Evaluate (Discrete.Type_Class (Object), Kind, Args);
end case;
Raise_Error (Internal_Error);
return Undefined;
end Evaluate;
end XASIS.Static.Signed;
------------------------------------------------------------------------------
-- 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 RUN-TIME COMPONENTS --
-- --
-- G N A T --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2019, 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. --
-- --
-- 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 parent package for a library of useful units provided with GNAT
package GNAT is
pragma Pure;
-- The following type denotes the range of buckets for various hashed
-- data structures in the GNAT unit hierarchy.
type Bucket_Range_Type is mod 2 ** 32;
-- The following exception is raised whenever an attempt is made to mutate
-- the state of a data structure that is being iterated on.
Iterated : exception;
-- The following exception is raised when an iterator is exhausted and
-- further attempts are made to advance it.
Iterator_Exhausted : exception;
-- The following exception is raised whenever an attempt is made to mutate
-- the state of a data structure that has not been created yet.
Not_Created : exception;
end GNAT;
|
-----------------------------------------------------------------------
-- Ada Labs --
-- --
-- Copyright (C) 2008-2009, AdaCore --
-- --
-- Labs 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 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, write to the Free Software Foundation, Inc., 59 Temple --
-- Place - Suite 330, Boston, MA 02111-1307, USA. --
-----------------------------------------------------------------------
with Ada.Real_Time; use Ada.Real_Time;
with Solar_System; use Solar_System;
with Display; use Display;
with Display.Basic; use Display.Basic;
with My_Solar_System; use My_Solar_System;
with Solar_System.Graphics; use Solar_System.Graphics;
procedure Main is
-- declare a variable Next of type Time to store the Next step time
Next : Time;
-- declare a constant Period of 40 milliseconds of type Time_Span defining the loop period
Period : constant Time_Span := Milliseconds (40);
-- reference to the application window
Window : Window_ID;
-- reference to the graphical canvas associated with the application window
Canvas : Canvas_ID;
begin
-- Create the main window
Window :=
Create_Window (Width => 240, Height => 320, Name => "Solar System");
-- retrieve the graphical canvas associated with the main window
Canvas := Get_Canvas (Window);
-- initialize Bodies using Init_Body procedure
Init_Body
(B => Get_Body (Sun, Bodies'Access),
Radius => 20.0,
Color => Yellow,
Distance => 0.0,
Angle => 0.0,
Speed => 0.0,
Turns_Around => Get_Body (Sun, Bodies'Access));
Init_Body
(B => Get_Body (Earth, Bodies'Access),
Radius => 5.0,
Color => Blue,
Distance => 50.0,
Angle => 0.0,
Speed => 0.02,
Turns_Around => Get_Body (Sun, Bodies'Access));
Init_Body
(B => Get_Body (Moon, Bodies'Access),
Radius => 2.0,
Color => Blue,
Distance => 15.0,
Angle => 0.0,
Speed => 0.04,
Turns_Around => Get_Body (Earth, Bodies'Access));
Init_Body
(B => Get_Body (Satellite, Bodies'Access),
Radius => 1.0,
Color => Red,
Distance => 8.0,
Angle => 0.0,
Speed => 0.1,
Turns_Around => Get_Body (Earth, Bodies'Access));
Init_Body
(B => Get_Body (Comet, Bodies'Access),
Radius => 1.0,
Color => Yellow,
Distance => 80.0,
Angle => 0.0,
Speed => 0.05,
Turns_Around => Get_Body (Sun, Bodies'Access));
Init_Body
(B => Get_Body (Black_Hole, Bodies'Access),
Radius => 0.0,
Color => Blue,
Distance => 75.0,
Angle => 0.0,
Speed => -0.02,
Turns_Around => Get_Body (Sun, Bodies'Access),
Visible => False);
Init_Body
(B => Get_Body (Asteroid_1, Bodies'Access),
Radius => 1.0,
Color => Green,
Distance => 5.0,
Angle => 0.0,
Speed => 0.1,
Turns_Around => Get_Body (Black_Hole, Bodies'Access));
Init_Body
(B => Get_Body (Asteroid_2, Bodies'Access),
Radius => 1.0,
Color => Yellow,
Distance => 5.0,
Angle => 3.14,
Speed => 0.1,
Turns_Around => Get_Body (Black_Hole, Bodies'Access));
-- initialize the Next step time begin the current time (Clock) + the period
Next := Clock + Period;
-- create an infinite loop
-- call Move_All procedure
-- call Draw_All procedure
-- call Swap_Buffers to update the screen
-- wait until Next time
-- update the Next time
while not Is_Killed loop
Move_All (Bodies'Access);
Draw_All (Bodies, Canvas);
Display.Basic.Swap_Buffers (Window);
delay until Next;
Next := Next + Period;
end loop;
end Main;
|
------------------------------------------------------------------------------
-- 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.Wide_Wide_Characters is
pragma Pure (Wide_Wide_Characters);
end Ada.Wide_Wide_Characters;
|
-----------------------------------------------------------------------
-- are-installer -- Resource selector, preparer and installer
-- Copyright (C) 2012, 2013, 2015, 2020, 2021 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.Directories;
with Ada.Exceptions;
with Ada.IO_Exceptions;
with Ada.Unchecked_Deallocation;
with Util.Files;
with Util.Strings;
with Util.Log.Loggers;
with Are.Utils;
with Are.Installer.Copies;
with Are.Installer.Exec;
with Are.Installer.Concat;
with Are.Installer.Bundles;
with Are.Installer.Merges;
with Sax.Readers;
with Input_Sources.File;
with DOM.Core.Documents;
with DOM.Readers;
package body Are.Installer is
use Util.Log;
Log : constant Loggers.Logger := Loggers.Create ("Are.Installer");
-- ------------------------------
-- Create a resource rule identified by `Kind`.
-- The resource rule is configured according to the DOM tree whose node is `Node`.
-- ------------------------------
function Create_Rule (Kind : in String;
Node : in DOM.Core.Node) return Distrib_Rule_Access is
begin
Log.Debug ("Creating resource rule {0}", Kind);
if Kind = "copy" or Kind = "" then
return Are.Installer.Copies.Create_Rule (False);
elsif Kind = "copy-first" then
return Are.Installer.Copies.Create_Rule (True);
elsif Kind = "exec" then
return Are.Installer.Exec.Create_Rule (Node, False);
elsif Kind = "copy-exec" then
return Are.Installer.Exec.Create_Rule (Node, True);
elsif Kind = "concat" then
return Are.Installer.Concat.Create_Rule (Node);
elsif Kind = "bundle" then
return Are.Installer.Bundles.Create_Rule (Node);
elsif Kind = "webmerge" then
return Are.Installer.Merges.Create_Rule (Node);
else
return null;
end if;
end Create_Rule;
-- ------------------------------
-- Add a simple rule to copy the files matching the pattern on the resource.
-- ------------------------------
procedure Add_Rule (Installer : in out Installer_Type;
Resource : in Are.Resource_Access;
Pattern : in String) is
Rule : constant Distrib_Rule_Access := Copies.Create_Rule (Copy_First_File => True);
Match : Match_Rule;
begin
Rule.Resource := Resource;
Installer.Rules.Append (Rule);
Match.Match := Ada.Strings.Unbounded.To_Unbounded_String (Pattern);
Rule.Matches.Append (Match);
end Add_Rule;
-- ------------------------------
-- Read the XML package file that describes the resources and build the list
-- of rules to collect and build those resources.
-- ------------------------------
procedure Read_Package (Installer : in out Installer_Type;
File : in String;
Context : in out Context_Type'Class) is
use Ada.Strings.Maps;
procedure Register_Rule (Resource : in out Are.Resource_Access;
Node : in DOM.Core.Node);
procedure Register_Resource (List : in out Are.Resource_List;
Node : in DOM.Core.Node);
procedure Register_Resources (List : in out Are.Resource_List;
Node : in DOM.Core.Node);
procedure Register_Line_Separator (Resource : in out Are.Resource_Access;
Node : in DOM.Core.Node);
procedure Register_Line_Filter (Resource : in out Are.Resource_Access;
Node : in DOM.Core.Node);
-- ------------------------------
-- Register a new type mapping.
-- ------------------------------
procedure Register_Rule (Resource : in out Are.Resource_Access;
Node : in DOM.Core.Node) is
-- Collect the include definitions for the distribution rule.
procedure Collect_Includes (Rule : in out Distrib_Rule_Access;
Node : in DOM.Core.Node);
-- Collect the exclude definitions for the distribution rule.
procedure Collect_Excludes (Rule : in out Distrib_Rule_Access;
Node : in DOM.Core.Node);
-- Collect the fileset definitions for the distribution rule.
procedure Collect_Filesets (Rule : in out Distrib_Rule_Access;
Node : in DOM.Core.Node);
use Ada.Strings.Unbounded;
Dir : constant UString := Are.Utils.Get_Attribute (Node, "dir");
Mode : constant String := To_String (Are.Utils.Get_Attribute (Node, "mode"));
Level : constant String := To_String (Are.Utils.Get_Attribute (Node, "log"));
Match : Match_Rule;
-- ------------------------------
-- Collect the include definitions for the distribution rule.
-- ------------------------------
procedure Collect_Includes (Rule : in out Distrib_Rule_Access;
Node : in DOM.Core.Node) is
Name : constant UString := Are.Utils.Get_Attribute (Node, "name");
begin
if Name = "" then
Context.Error ("{0}: empty include name in '<include>' definition", File);
return;
end if;
Match.Match := Name;
Rule.Matches.Append (Match);
end Collect_Includes;
-- ------------------------------
-- Collect the exclude definitions for the distribution rule.
-- ------------------------------
procedure Collect_Excludes (Rule : in out Distrib_Rule_Access;
Node : in DOM.Core.Node) is
Name : constant UString := Are.Utils.Get_Attribute (Node, "name");
begin
if Name = "" then
Context.Error ("{0}: empty exclude name in '<exclude>' definition", File);
return;
end if;
Match.Match := Name;
Rule.Excludes.Append (Match);
end Collect_Excludes;
procedure Iterate is
new Are.Utils.Iterate_Nodes (T => Distrib_Rule_Access,
Process => Collect_Includes);
procedure Iterate_Excludes is
new Are.Utils.Iterate_Nodes (T => Distrib_Rule_Access,
Process => Collect_Excludes);
-- ------------------------------
-- Collect the include definitions for the distribution rule.
-- ------------------------------
procedure Collect_Filesets (Rule : in out Distrib_Rule_Access;
Node : in DOM.Core.Node) is
Dir : constant UString := Are.Utils.Get_Attribute (Node, "dir");
begin
if Dir /= "." then
Match.Base_Dir := Dir;
end if;
Iterate (Rule, Node, "include");
Iterate_Excludes (Rule, Node, "exclude", False);
end Collect_Filesets;
procedure Iterate_Filesets is
new Are.Utils.Iterate_Nodes (T => Distrib_Rule_Access,
Process => Collect_Filesets);
Rule : Distrib_Rule_Access := Create_Rule (Kind => Mode,
Node => Node);
begin
Log.Debug ("Install {0} in {1}", Dir, To_String (Resource.Name));
if Rule = null then
Context.Error ("{0}: rule '" & Mode & "' is not recognized", File);
return;
end if;
Rule.Resource := Resource;
Rule.Dir := Dir;
if Level = "info" then
Rule.Level := Util.Log.INFO_LEVEL;
elsif Level = "debug" then
Rule.Level := Util.Log.DEBUG_LEVEL;
else
Rule.Level := Util.Log.WARN_LEVEL;
end if;
Rule.Source_Timestamp := Are.Utils.Get_Attribute (Node, "source-timestamp");
Rule.Strip_Extension := Are.Utils.Get_Attribute (Node, "strip-extension");
Installer.Rules.Append (Rule);
Iterate (Rule, Node, "include", False);
Iterate_Excludes (Rule, Node, "exclude", False);
Iterate_Filesets (Rule, Node, "fileset");
if Rule.Matches.Is_Empty then
Context.Error ("{0}: empty fileset definition", File);
end if;
end Register_Rule;
-- ------------------------------
-- Register a new line separator.
-- ------------------------------
procedure Register_Line_Separator (Resource : in out Are.Resource_Access;
Node : in DOM.Core.Node) is
Separator : constant String := Are.Utils.Get_Data_Content (Node);
begin
if Separator'Length = 0 then
return;
end if;
if Separator'Length = 1 then
Resource.Separators := Resource.Separators or To_Set (Separator);
elsif Separator = "\n" then
Resource.Separators := Resource.Separators or To_Set (ASCII.LF);
elsif Separator = "\r" then
Resource.Separators := Resource.Separators or To_Set (ASCII.CR);
elsif Separator = "\t" then
Resource.Separators := Resource.Separators or To_Set (ASCII.HT);
else
Resource.Separators := Resource.Separators or To_Set (Separator);
end if;
end Register_Line_Separator;
-- ------------------------------
-- Register a new line filter.
-- ------------------------------
procedure Register_Line_Filter (Resource : in out Are.Resource_Access;
Node : in DOM.Core.Node) is
Pattern : constant String := Are.Utils.Get_Data_Content (Node);
Replace : constant String := Are.Utils.Get_Attribute (Node, "replace");
begin
Resource.Add_Line_Filter (Pattern, Replace);
exception
when GNAT.Regpat.Expression_Error =>
Context.Error ("{0}: invalid pattern '{1}'", File, Pattern);
end Register_Line_Filter;
-- ------------------------------
-- Register the resource definition.
-- ------------------------------
procedure Register_Resource (List : in out Are.Resource_List;
Node : in DOM.Core.Node) is
function Get_Format (Name : in String) return Are.Format_Type;
procedure Iterate is
new Are.Utils.Iterate_Nodes (T => Are.Resource_Access,
Process => Register_Rule);
procedure Iterate_Line_Separator is
new Are.Utils.Iterate_Nodes (T => Are.Resource_Access,
Process => Register_Line_Separator);
procedure Iterate_Line_Filter is
new Are.Utils.Iterate_Nodes (T => Are.Resource_Access,
Process => Register_Line_Filter);
function Get_Format (Name : in String) return Are.Format_Type is
begin
if Name = "binary" then
return R_BINARY;
elsif Name = "string" then
return R_STRING;
elsif Name = "lines" then
return R_LINES;
else
Context.Error ("{0}: invalid resource format '{1}'", File, Name);
return R_BINARY;
end if;
end Get_Format;
Name : constant String := Are.Utils.Get_Attribute (Node, "name");
Resource : Are.Resource_Access;
begin
Are.Create_Resource (List, Name, Resource);
Resource.Type_Name := Are.Utils.Get_Attribute (Node, "type", "");
Resource.Format := Get_Format (Are.Utils.Get_Attribute (Node, "format", "binary"));
Resource.Function_Name := Are.Utils.Get_Attribute (Node, "function-name", "");
Resource.Member_Content_Name := Are.Utils.Get_Attribute (Node, "member-content", "");
Resource.Member_Modtime_Name := Are.Utils.Get_Attribute (Node, "member-time", "");
Resource.Member_Length_Name := Are.Utils.Get_Attribute (Node, "member-length", "");
Resource.Member_Format_Name := Are.Utils.Get_Attribute (Node, "member-format", "");
Iterate_Line_Separator (Resource, Node, "line-separator");
Iterate_Line_Filter (Resource, Node, "line-filter");
Iterate (Resource, Node, "install");
if Resource.Format = R_LINES and then Resource.Separators = Null_Set then
Context.Error ("{0}: missing 'line-separator' for resource '{1}'",
File, Name);
end if;
end Register_Resource;
-- ------------------------------
-- Register a resource description
-- ------------------------------
procedure Register_Resources (List : in out Are.Resource_List;
Node : in DOM.Core.Node) is
procedure Iterate is
new Are.Utils.Iterate_Nodes (T => Are.Resource_List,
Process => Register_Resource);
begin
Iterate (List, Node, "resource");
end Register_Resources;
procedure Iterate is new Are.Utils.Iterate_Nodes (T => Are.Resource_List,
Process => Register_Resources);
Read : Input_Sources.File.File_Input;
My_Tree_Reader : DOM.Readers.Tree_Reader;
Name_Start : Natural;
begin
Log.Info ("Reading package file '{0}'", File);
-- Base file name should be used as the public Id
Name_Start := File'Last;
while Name_Start >= File'First and then File (Name_Start) /= '/' loop
Name_Start := Name_Start - 1;
end loop;
Input_Sources.File.Open (File, Read);
-- Full name is used as the system id
Input_Sources.File.Set_System_Id (Read, File);
Input_Sources.File.Set_Public_Id (Read, File (Name_Start + 1 .. File'Last));
DOM.Readers.Set_Feature (My_Tree_Reader, Sax.Readers.Validation_Feature, False);
DOM.Readers.Parse (My_Tree_Reader, Read);
Input_Sources.File.Close (Read);
declare
Doc : constant DOM.Core.Document := DOM.Readers.Get_Tree (My_Tree_Reader);
Root : constant DOM.Core.Element := DOM.Core.Documents.Get_Element (Doc);
begin
Iterate (Context.Resources, Root, "package");
end;
DOM.Readers.Free (My_Tree_Reader);
Log.Info ("Loaded {0} rules for {1} resources",
Util.Strings.Image (Natural (Installer.Rules.Length)),
Util.Strings.Image (Are.Length (Context.Resources)));
exception
when Ada.IO_Exceptions.Name_Error =>
Context.Error ("package file {0} does not exist", File);
when E : Sax.Readers.XML_Fatal_Error =>
Context.Error ("{0}",
Ada.Exceptions.Exception_Message (E));
end Read_Package;
-- ------------------------------
-- Scan the directory collecting the files that must be taken into account and
-- processed by the distribution rules.
-- ------------------------------
procedure Scan_Directory (Installer : in out Installer_Type;
Path : in String;
Context : in out Context_Type'Class) is
pragma Unreferenced (Context);
Tree : constant Directory_List_Access :=
new Directory_List '(Length => 1, Name => ".", Rel_Pos => Path'Length + 2,
Path_Length => Path'Length, Path => Path, others => <>);
begin
Log.Debug ("Scanning directory: {0}", Path);
Installer.Trees.Append (Tree);
Scan (Path, ".", Tree);
Log.Info ("Scanning directory: {0} found {1} files in {2} directories", Path,
Util.Strings.Image (Natural (Tree.Files.Length)),
Util.Strings.Image (Natural (Tree.Directories.Length)));
end Scan_Directory;
-- ------------------------------
-- Execute the installation rules and collect the resources to be written
-- in the context.
-- ------------------------------
procedure Execute (Installer : in out Installer_Type;
Context : in out Context_Type'Class) is
procedure Scan_Rule (Pos : in Distrib_Rule_Vectors.Cursor);
procedure Execute_Rule (Pos : in Distrib_Rule_Vectors.Cursor);
-- ------------------------------
-- Process the rule by scaning the directory tree and detecting files that are concerned.
-- ------------------------------
procedure Scan_Rule (Pos : in Distrib_Rule_Vectors.Cursor) is
Rule : constant Distrib_Rule_Access := Distrib_Rule_Vectors.Element (Pos);
Iter : Directory_List_Vector.Cursor := Installer.Trees.First;
begin
Log.Debug ("Scanning rule");
while Directory_List_Vector.Has_Element (Iter) loop
Rule.Scan (Directory_List_Vector.Element (Iter).all);
Directory_List_Vector.Next (Iter);
end loop;
end Scan_Rule;
-- ------------------------------
-- Execute the rules.
-- ------------------------------
procedure Execute_Rule (Pos : in Distrib_Rule_Vectors.Cursor) is
Rule : constant Distrib_Rule_Access := Distrib_Rule_Vectors.Element (Pos);
begin
Log.Debug ("Process rule");
Rule.Execute (Context);
end Execute_Rule;
begin
Log.Info ("Executing {0} rules on {1} directory tree",
Util.Strings.Image (Natural (Installer.Rules.Length)),
Util.Strings.Image (Natural (Installer.Trees.Length)));
Installer.Rules.Iterate (Process => Scan_Rule'Access);
Installer.Rules.Iterate (Process => Execute_Rule'Access);
end Execute;
-- ------------------------------
-- Get the relative path of the directory.
-- ------------------------------
function Get_Relative_Path (Dir : in Directory_List) return String is
begin
return Dir.Path (Dir.Rel_Pos .. Dir.Path'Last);
end Get_Relative_Path;
-- ------------------------------
-- Get the first source path from the list.
-- ------------------------------
function Get_Source_Path (From : in File_Vector;
Use_First_File : in Boolean := False) return String is
use type Ada.Containers.Count_Type;
begin
if From.Length = 0 then
return "";
elsif Use_First_File then
declare
File : constant File_Record := From.Element (1);
begin
return Util.Files.Compose (File.Dir.Path, File.Name);
end;
else
declare
File : constant File_Record := From.Element (From.Last_Index);
begin
return Util.Files.Compose (File.Dir.Path, File.Name);
end;
end if;
end Get_Source_Path;
-- ------------------------------
-- Build a regular expression pattern from a pattern string.
-- ------------------------------
function Make_Regexp (Pattern : in String) return String is
Result : String (1 .. Pattern'Length * 2 + 2);
Pos : Natural := 1;
begin
Result (1) := '^';
for I in Pattern'Range loop
if Pattern (I) = '*' then
Pos := Pos + 1;
Result (Pos) := '.';
elsif Pattern (I) = '.' or Pattern (I) = '$' or Pattern (I) = '^' then
Pos := Pos + 1;
Result (Pos) := '\';
end if;
Pos := Pos + 1;
Result (Pos) := Pattern (I);
end loop;
Pos := Pos + 1;
Result (Pos) := '$';
return Result (1 .. Pos);
end Make_Regexp;
-- ------------------------------
-- Build a regular expression pattern from a pattern string.
-- ------------------------------
function Make_Regexp (Pattern : in String) return GNAT.Regpat.Pattern_Matcher is
Expr : constant String := Make_Regexp (Pattern);
begin
return GNAT.Regpat.Compile (Expr);
end Make_Regexp;
-- ------------------------------
-- Scan the directory whose root path is <b>Path</b> and with the relative path
-- <b>Rel_Path</b> and build in <b>Dir</b> the list of files and directories.
-- ------------------------------
procedure Scan (Path : in String;
Rel_Path : in String;
Dir : in Directory_List_Access) is
use Ada.Directories;
Full_Path : constant String := Util.Files.Compose (Path, Rel_Path);
Filter : constant Filter_Type := (Ordinary_File => True,
Directory => True,
others => False);
Ent : Ada.Directories.Directory_Entry_Type;
Search : Search_Type;
begin
Log.Debug ("Scanning {0}", Full_Path);
Start_Search (Search, Directory => Full_Path,
Pattern => "*", Filter => Filter);
while More_Entries (Search) loop
Get_Next_Entry (Search, Ent);
declare
Name : constant String := Simple_Name (Ent);
File_Path : constant String := Util.Files.Compose (Rel_Path, Name);
Full_Path : constant String := Ada.Directories.Full_Name (Ent);
begin
if Are.Utils.Is_File_Ignored (Name) then
Log.Debug ("Ignoring {0}", Name);
-- If this is a directory, recursively scan it and collect its files.
elsif Ada.Directories.Kind (Full_Path) = Ada.Directories.Directory then
declare
Sub_Dir : constant Directory_List_Access
:= new Directory_List '(Length => Name'Length,
Path_Length => Full_Path'Length,
Rel_Pos => Full_Path'Length - File_Path'Length + 1,
Name => Name,
Path => Full_Path,
others => <>);
begin
Dir.Directories.Append (Sub_Dir);
Scan (Path, File_Path, Sub_Dir);
end;
else
Log.Debug ("Collect {0}", File_Path);
Dir.Files.Append (File_Record '(Length => Name'Length,
Name => Name,
Dir => Dir));
end if;
end;
end loop;
end Scan;
procedure Execute (Rule : in out Distrib_Rule;
Context : in out Context_Type'Class) is
use Ada.Containers;
procedure Process (Key : in String;
Files : in out File_Vector);
procedure Process (Key : in String;
Files : in out File_Vector) is
begin
Distrib_Rule'Class (Rule).Install (Key, Files, Context);
exception
when Ex : others =>
Context.Error ("install of {0} failed: {1}",
Key, Ada.Exceptions.Exception_Message (Ex));
end Process;
Iter : File_Tree.Cursor := Rule.Files.First;
Count : constant Count_Type := Rule.Files.Length;
Name : constant String := Distrib_Rule'Class (Rule).Get_Install_Name;
begin
if Count = 0 or else Rule.Resource = null then
return;
elsif Count = 1 then
Log.Info ("Installing 1 file with {0} in {1}", Name,
Ada.Strings.Unbounded.To_String (Rule.Resource.Name));
else
Log.Info ("Installing{0} files with {1} in {2}", Count_Type'Image (Count),
Name, Ada.Strings.Unbounded.To_String (Rule.Resource.Name));
end if;
while File_Tree.Has_Element (Iter) loop
Rule.Files.Update_Element (Iter, Process'Access);
File_Tree.Next (Iter);
end loop;
end Execute;
-- ------------------------------
-- Strip the base part of the path
-- ------------------------------
function Get_Strip_Path (Base : in String;
Path : in String) return String is
begin
if Base /= "." and then Path'Length >= Base'Length
and then Path (Path'First .. Path'First + Base'Length - 1) = Base
then
return Path (Path'First + Base'Length + 1 .. Path'Last);
else
return Path;
end if;
end Get_Strip_Path;
-- ------------------------------
-- Get the target path associate with the given source file for the distribution rule.
-- ------------------------------
function Get_Target_Path (Rule : in Distrib_Rule;
Base : in String;
File : in File_Record) return String is
Rel_Path : constant String := Get_Relative_Path (File.Dir.all);
Path : constant String := Get_Strip_Path (Base, Rel_Path);
begin
return Util.Files.Compose (Ada.Strings.Unbounded.To_String (Rule.Dir),
Util.Files.Compose (Path, File.Name));
end Get_Target_Path;
-- ------------------------------
-- Get the source path of the file.
-- ------------------------------
function Get_Source_Path (Rule : in Distrib_Rule;
File : in File_Record) return String is
pragma Unreferenced (Rule);
begin
return Util.Files.Compose (File.Dir.Path, File.Name);
end Get_Source_Path;
-- ------------------------------
-- Get the path that must be exported by the rule.
-- ------------------------------
function Get_Export_Path (Rule : in Distrib_Rule;
Path : in String) return String is
begin
if not Rule.Strip_Extension then
return Path;
end if;
declare
Pos : constant Natural := Util.Strings.Rindex (Path, '.');
begin
if Pos = 0 then
return Path;
else
return Path (Path'First .. Pos - 1);
end if;
end;
end Get_Export_Path;
-- ------------------------------
-- Add the file to be processed by the distribution rule. The file has a relative
-- path represented by <b>Path</b>. The path is relative from the base directory
-- specified in <b>Base_Dir</b>.
-- ------------------------------
procedure Add_Source_File (Rule : in out Distrib_Rule;
Path : in String;
File : in File_Record) is
procedure Add_File (Key : in String;
Info : in out File_Vector);
procedure Add_File (Key : in String;
Info : in out File_Vector) is
pragma Unreferenced (Key);
begin
Info.Append (File);
end Add_File;
Target_Path : constant String := Distrib_Rule'Class (Rule).Get_Target_Path (Path, File);
Pos : constant File_Tree.Cursor := Rule.Files.Find (Target_Path);
begin
Log.Debug ("Adding {0} - {1}", Path, Target_Path);
if File_Tree.Has_Element (Pos) then
Rule.Files.Update_Element (Pos, Add_File'Access);
else
declare
Info : File_Vector;
begin
Info.Append (File);
Rule.Files.Insert (Target_Path, Info);
end;
end if;
end Add_Source_File;
-- ------------------------------
-- Remove the file to be processed by the distribution rule. This is the opposite of
-- <tt>Add_Source_File</tt> and used for the <exclude name="xxx"/> rules.
-- ------------------------------
procedure Remove_Source_File (Rule : in out Distrib_Rule;
Path : in String;
File : in File_Record) is
procedure Remove_File (Key : in String;
Info : in out File_Vector);
Target_Path : constant String := Distrib_Rule'Class (Rule).Get_Target_Path (Path, File);
Need_Remove : Boolean := False;
procedure Remove_File (Key : in String;
Info : in out File_Vector) is
pragma Unreferenced (Key);
Pos : File_Cursor := Info.Find (File);
begin
if File_Record_Vectors.Has_Element (Pos) then
Log.Debug ("Excluding {0} - {1}", Path, Target_Path);
Info.Delete (Pos);
Need_Remove := Info.Is_Empty;
end if;
end Remove_File;
Pos : File_Tree.Cursor := Rule.Files.Find (Target_Path);
begin
if File_Tree.Has_Element (Pos) then
Rule.Files.Update_Element (Pos, Remove_File'Access);
if Need_Remove then
Rule.Files.Delete (Pos);
end if;
end if;
end Remove_Source_File;
-- ------------------------------
-- Load and add the file in the resource library.
-- ------------------------------
procedure Add_File (Rule : in Distrib_Rule;
Name : in String;
Path : in String;
Modtime : in Ada.Calendar.Time;
Override : in Boolean := False) is
Export_Path : constant String := Rule.Get_Export_Path (Name);
begin
if Rule.Source_Timestamp then
Rule.Resource.Add_File (Export_Path, Path, Modtime, Override);
else
Rule.Resource.Add_File (Export_Path, Path, Override);
end if;
end Add_File;
-- ------------------------------
-- Scan the directory tree whose root is defined by <b>Dir</b> and find the files
-- that match the current rule.
-- ------------------------------
procedure Scan (Rule : in out Distrib_Rule;
Dir : in Directory_List) is
procedure Scan_Pattern (Pos : in Match_Rule_Vector.Cursor);
Exclude : Boolean;
procedure Scan_Pattern (Pos : in Match_Rule_Vector.Cursor) is
Match : constant Match_Rule := Match_Rule_Vector.Element (Pos);
Base : constant String := Ada.Strings.Unbounded.To_String (Match.Base_Dir);
Pattern : constant String := Ada.Strings.Unbounded.To_String (Match.Match);
begin
Log.Debug ("Scan pattern base {0} - pat {1}", Base, Pattern);
if Base = "" then
Rule.Scan (Dir, ".", Pattern, Exclude);
return;
end if;
declare
Iter : Directory_List_Vector.Cursor := Dir.Directories.First;
D : Directory_List_Access;
P : Natural := Base'First;
N : Natural;
begin
while P < Base'Last loop
N := Util.Strings.Index (Base, '/', P);
if N = 0 then
N := Base'Last;
else
N := N - 1;
end if;
while Directory_List_Vector.Has_Element (Iter) loop
D := Directory_List_Vector.Element (Iter);
if D.Name = Base (P .. N) then
if N = Base'Last then
Log.Debug ("Scanning from sub directory at {0}", Base);
Rule.Scan (D.all, Base, Pattern, Exclude);
return;
end if;
Iter := D.Directories.First;
exit;
end if;
Directory_List_Vector.Next (Iter);
end loop;
P := N + 2;
end loop;
end;
end Scan_Pattern;
begin
Exclude := False;
Rule.Matches.Iterate (Scan_Pattern'Access);
Exclude := True;
Rule.Excludes.Iterate (Scan_Pattern'Access);
end Scan;
procedure Scan (Rule : in out Distrib_Rule;
Dir : in Directory_List;
Base_Dir : in String;
Pattern : in String;
Exclude : in Boolean) is
procedure Collect_Subdirs (Name_Pattern : in String);
procedure Collect_Files (Name_Pattern : in String);
-- **/*.xhtml
-- bin/**
-- bin/**/test.bin
N : constant Natural := Util.Strings.Index (Pattern, '/');
Pos : Natural := Pattern'First;
procedure Collect_Files (Name_Pattern : in String) is
use GNAT.Regpat;
procedure Collect_File (File : in File_Record);
Matcher : constant Pattern_Matcher := Make_Regexp (Name_Pattern);
procedure Collect_File (File : in File_Record) is
begin
Log.Debug ("Check {0} - {1}", Base_Dir, File.Name);
if Match (Matcher, File.Name) then
if Exclude then
Rule.Remove_Source_File (Base_Dir, File);
else
Rule.Add_Source_File (Base_Dir, File);
end if;
end if;
end Collect_File;
Iter : File_Record_Vectors.Cursor := Dir.Files.First;
begin
while File_Record_Vectors.Has_Element (Iter) loop
File_Record_Vectors.Query_Element (Iter, Collect_File'Access);
File_Record_Vectors.Next (Iter);
end loop;
end Collect_Files;
procedure Collect_Subdirs (Name_Pattern : in String) is
procedure Collect_Dir (Sub_Dir : in Directory_List_Access);
procedure Collect_Dir (Sub_Dir : in Directory_List_Access) is
begin
if Name_Pattern = Sub_Dir.Name or else Name_Pattern = "*" then
Rule.Scan (Sub_Dir.all, Base_Dir,
Pattern (Pos .. Pattern'Last), Exclude);
end if;
end Collect_Dir;
Iter : Directory_List_Vector.Cursor := Dir.Directories.First;
begin
while Directory_List_Vector.Has_Element (Iter) loop
Directory_List_Vector.Query_Element (Iter, Collect_Dir'Access);
Directory_List_Vector.Next (Iter);
end loop;
end Collect_Subdirs;
Next : Natural;
begin
Log.Debug ("Scan {0}/{1} for pattern {2}", Base_Dir, Dir.Name, Pattern);
if N > 0 then
if Pattern = "**" then
Collect_Subdirs (Name_Pattern => "**");
Collect_Files (Name_Pattern => "*");
return;
elsif Pattern (Pattern'First .. N) = "*/" then
Pos := N + 1;
Collect_Subdirs (Name_Pattern => "*");
elsif Pattern (Pattern'First .. N) = "**/" then
Collect_Subdirs (Name_Pattern => "*");
else
Pos := N + 1;
Collect_Subdirs (Name_Pattern => Pattern (Pattern'First .. N - 1));
return;
end if;
Next := Util.Strings.Index (Pattern, '/', N + 1);
if Next = 0 then
Collect_Files (Name_Pattern => Pattern (N + 1 .. Pattern'Last));
end if;
end if;
if N = 0 then
-- No more directory
Collect_Files (Name_Pattern => Pattern);
end if;
end Scan;
procedure Delete (Directory : in out Directory_List_Access) is
procedure Free is
new Ada.Unchecked_Deallocation (Object => Directory_List,
Name => Directory_List_Access);
begin
while not Directory.Directories.Is_Empty loop
declare
Child : Directory_List_Access := Directory.Directories.First_Element;
begin
Directory.Directories.Delete_First;
Delete (Child);
end;
end loop;
Free (Directory);
end Delete;
-- ------------------------------
-- Clear the rules and files that have been loaded.
-- ------------------------------
procedure Clear (Installer : in out Installer_Type) is
procedure Free is
new Ada.Unchecked_Deallocation (Object => Distrib_Rule'Class,
Name => Distrib_Rule_Access);
begin
-- Release the rules until the list becomes empty.
while not Installer.Rules.Is_Empty loop
declare
Rule : Distrib_Rule_Access := Installer.Rules.First_Element;
begin
Installer.Rules.Delete_First;
Free (Rule);
end;
end loop;
-- Likewise for directories.
while not Installer.Trees.Is_Empty loop
declare
Dir : Directory_List_Access := Installer.Trees.First_Element;
begin
Installer.Trees.Delete_First;
Delete (Dir);
end;
end loop;
end Clear;
overriding
procedure Finalize (Installer : in out Installer_Type) is
begin
Installer.Clear;
end Finalize;
end Are.Installer;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- I T Y P E S --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2010, 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. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING3. If not, go to --
-- http://www.gnu.org/licenses for a complete copy of the license. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- This package contains declarations for handling of implicit types
with Einfo; use Einfo;
with Sem_Util; use Sem_Util;
with Types; use Types;
package Itypes is
--------------------
-- Implicit Types --
--------------------
-- Implicit types (Itypes) are types and subtypes created by the semantic
-- phase or the expander to reflect the underlying semantics. These could
-- be generated by building trees for corresponding declarations and then
-- analyzing these trees, but there are three reasons for not doing this
-- in some cases:
-- 1. The declarations would require more tree nodes
-- 2. In some cases, the elaboration of these types is associated
-- with internal nodes in the tree.
-- 3. For some types, notably class wide types, there is no Ada
-- declaration that would correspond to the desired entity.
-- So instead, implicit types are constructed by simply creating an
-- appropriate entity with the help of routines in this package. These
-- entities are fully decorated, as described in Einfo (just as though
-- they had been created by the normal analysis procedure).
-- The type declaration declaring an Itype must be analyzed with checks
-- off because this declaration has not been inserted in the tree (if it
-- has been then it is not an Itype), and hence checks that would be
-- generated during the analysis cannot be inserted in the tree. At any
-- rate, Itype analysis should always be done with checks off, otherwise
-- duplicate checks will most likely be emitted.
-- Unlike types declared explicitly, implicit types are defined on first
-- use, which means that Gigi detects the use of such types, and defines
-- them at the point of the first use automatically.
-- Although Itypes are not explicitly declared, they are associated with
-- a specific node in the tree (roughly the node that caused them to be
-- created), via the Associated_Node_For_Itype field. This association is
-- used particularly by New_Copy_Tree, which uses it to determine whether
-- or not to copy a referenced Itype. If the associated node is part of
-- the tree to be copied by New_Copy_Tree, then (since the idea of the
-- call to New_Copy_Tree is to create a complete duplicate of a tree,
-- as though it had appeared separately in the source), the Itype in
-- question is duplicated as part of the New_Copy_Tree processing.
-- As a consequence of this copying mechanism, the association between
-- Itypes and associated nodes must be one-to-one: several Itypes must
-- not share an associated node. For example, the semantic decoration
-- of an array aggregate generates several Itypes: for each index subtype
-- and for the array subtype. The associated node of each index subtype
-- is the corresponding range expression.
-- Notes on the use of the Parent field of an Itype
-- In some cases, we do create a declaration node for an itype, and in
-- such cases, the Parent field of the Itype points to this declaration
-- in the normal manner. This case can be detected by checking for a
-- non-empty Parent field referencing a declaration whose Defining_Entity
-- is the Itype in question.
-- In some other cases, where we don't generate such a declaration, as
-- described above, the Itype is attached to the tree implicitly by being
-- referenced elsewhere, e.g. as the Etype of some object. In this case
-- the Parent field may be Empty.
-- In other cases where we don't generate a declaration for the Itype,
-- the Itype may be attached to an arbitrary node in the tree, using
-- the Parent field. This Parent field may even reference a declaration
-- for a related different entity (hence the description of the tests
-- needed for the case where a declaration for the Itype is created).
------------------
-- Create_Itype --
------------------
function Create_Itype
(Ekind : Entity_Kind;
Related_Nod : Node_Id;
Related_Id : Entity_Id := Empty;
Suffix : Character := ' ';
Suffix_Index : Nat := 0;
Scope_Id : Entity_Id := Current_Scope) return Entity_Id;
-- Used to create a new Itype
--
-- Related_Nod is the node for which this Itype was created. It is
-- set as the Associated_Node_For_Itype of the new Itype. The Sloc of
-- the new Itype is that of this node.
--
-- Related_Id is present only if the implicit type name may be referenced
-- as a public symbol, and thus needs a unique external name. The name
-- is created by a call to:
--
-- New_External_Name (Chars (Related_Id), Suffix, Suffix_Index, 'T')
--
-- If the implicit type does not need an external name, then the
-- Related_Id parameter is omitted (and hence Empty). In this case
-- Suffix and Suffix_Index are ignored and the implicit type name is
-- created by a call to Make_Temporary.
--
-- Note that in all cases, the name starts with "T". This is used
-- to identify implicit types in the error message handling circuits.
--
-- The Scope_Id parameter specifies the scope of the created type, and
-- is normally the Current_Scope as shown, but can be set otherwise.
--
-- The size/align fields are initialized to unknown (Uint_0).
--
-- If Ekind is in Access_Subprogram_Kind, Can_Use_Internal_Rep is set True,
-- unless Always_Compatible_Rep_On_Target is True.
---------------------------------
-- Create_Null_Excluding_Itype --
---------------------------------
function Create_Null_Excluding_Itype
(T : Entity_Id;
Related_Nod : Node_Id;
Scope_Id : Entity_Id := Current_Scope) return Entity_Id;
-- Ada 2005 (AI-231): T is an access type and this subprogram creates and
-- returns an internal access-subtype declaration of T that has the null
-- exclusion attribute set to True.
--
-- Usage of null-excluding Itypes
-- ------------------------------
--
-- type T1 is access ...
-- type T2 is not null T1;
--
-- type Rec is record
-- Comp : not null T1;
-- end record;
--
-- type Arr is array (...) of not null T1;
--
-- Instead of associating the not-null attribute with the defining ids of
-- these declarations, we generate an internal subtype declaration of T1
-- that has the null exclusion attribute set to true.
end Itypes;
|
------------------------------------------------------------------------------
-- 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.Printers.Pretty.Tests provides a test suite for --
-- the S-expression pretty printer. --
------------------------------------------------------------------------------
with Natools.Tests;
package Natools.S_Expressions.Printers.Pretty.Tests is
pragma Preelaborate (Tests);
package NT renames Natools.Tests;
procedure All_Tests (Report : in out NT.Reporter'Class);
procedure Atom_Encodings (Report : in out NT.Reporter'Class);
procedure Atom_Width (Report : in out NT.Reporter'Class);
procedure Basic_Printing (Report : in out NT.Reporter'Class);
procedure Expression_Width (Report : in out NT.Reporter'Class);
procedure Indentation (Report : in out NT.Reporter'Class);
procedure Newline_Formats (Report : in out NT.Reporter'Class);
procedure Parameter_Mutators (Report : in out NT.Reporter'Class);
procedure Quoted_String_Escapes (Report : in out NT.Reporter'Class);
procedure Separators (Report : in out NT.Reporter'Class);
procedure Tabulation_Width (Report : in out NT.Reporter'Class);
procedure Token_Separation (Report : in out NT.Reporter'Class);
end Natools.S_Expressions.Printers.Pretty.Tests;
|
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure brainfuck_compiler is
type stringptr is access all char_array;
procedure PChar(c : in Character) is
begin
Character'Write (Text_Streams.Stream (Current_Output), c);
end;
--
--Ce test permet de tester les macros
--C'est un compilateur brainfuck qui lit sur l'entrée standard pendant la compilation
--et qui produit les macros metalang correspondante
--
type a is Array (Integer range <>) of Integer;
type a_PTR is access a;
mem : a_PTR;
input : Character;
current_pos : Integer;
begin
input := ' ';
current_pos := 500;
mem := new a (0..999);
for i in integer range 0..999 loop
mem(i) := 0;
end loop;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
current_pos := current_pos + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
mem(current_pos) := mem(current_pos) + 1;
while mem(current_pos) /= 0 loop
mem(current_pos) := mem(current_pos) - 1;
current_pos := current_pos - 1;
mem(current_pos) := mem(current_pos) + 1;
PChar(Character'Val(mem(current_pos)));
current_pos := current_pos + 1;
end loop;
end;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-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.
------------------------------------------------------------------------------
with League.Holders.Generic_Enumerations;
package AMF.UML.Holders.Message_Sorts is
new League.Holders.Generic_Enumerations
(AMF.UML.UML_Message_Sort);
pragma Preelaborate (AMF.UML.Holders.Message_Sorts);
|
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
-- Trivial implementation of library declarations
with Program.Library_Unit_Bodies;
with Program.Library_Unit_Declarations;
with Program.Compilation_Unit_Vectors;
with Program.Units.Vectors;
package Program.Units.Declarations is
pragma Preelaborate;
type Unit_Declaration is new Unit
and Program.Library_Unit_Declarations.Library_Unit_Declaration
with private;
procedure Initialize
(Self : in out Unit_Declaration;
Compilation : Program.Compilations.Compilation_Access;
Full_Name : Text;
Context_Clause : Program.Element_Vectors.Element_Vector_Access;
Declaration : not null Program.Elements.Element_Access;
Parent : Program.Library_Unit_Declarations
.Library_Unit_Declaration_Access);
procedure Append_Child
(Self : in out Unit_Declaration;
Value : Program.Compilation_Units.Compilation_Unit_Access);
procedure Set_Body
(Self : in out Unit_Declaration;
Value : Program.Library_Unit_Bodies.Library_Unit_Body_Access);
private
type Unit_Declaration is new Unit
and Program.Library_Unit_Declarations.Library_Unit_Declaration
with
record
Parent : Program.Library_Unit_Declarations
.Library_Unit_Declaration_Access;
Impl : Program.Library_Unit_Bodies.Library_Unit_Body_Access;
Childern : aliased Program.Units.Vectors.Unit_Vector;
end record;
overriding function Parent (Self : access Unit_Declaration)
return Program.Library_Unit_Declarations.Library_Unit_Declaration_Access;
overriding function Corresponding_Body (Self : access Unit_Declaration)
return Program.Library_Unit_Bodies.Library_Unit_Body_Access;
overriding function Corresponding_Childern
(Self : access Unit_Declaration)
return Program.Compilation_Unit_Vectors.Compilation_Unit_Vector_Access;
end Program.Units.Declarations;
|
with Ada.Text_IO; use Ada.Text_IO;
procedure Adventofcode.Day_7.Main is
begin
Put_Line ("Day-7");
end Adventofcode.Day_7.Main;
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="17">
<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>appGetMetaData</name>
<module_structure>Pipeline</module_structure>
<ret_bitwidth>0</ret_bitwidth>
<ports class_id="2" tracking_level="0" version="0">
<count>9</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>DataInApp_V_data_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo class_id="6" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>62</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>512</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</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>DataInApp_V_keep_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4274119192</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>64</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="_3">
<Value>
<Obj>
<type>1</type>
<id>3</id>
<name>DataInApp_V_strb_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>16843009</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>64</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="_4">
<Value>
<Obj>
<type>1</type>
<id>4</id>
<name>DataInApp_V_user_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>74</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>96</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="_5">
<Value>
<Obj>
<type>1</type>
<id>5</id>
<name>DataInApp_V_last_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4270956192</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>1</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="_6">
<Value>
<Obj>
<type>1</type>
<id>6</id>
<name>DataInApp_V_dest_V</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>2887</coreId>
<rtlModuleName></rtlModuleName>
</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="_7">
<Value>
<Obj>
<type>1</type>
<id>9</id>
<name>agmdDataOut</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName>FIFO</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>0</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>1024</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>10</id>
<name>agmdIdOut</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName>FIFO</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>0</coreId>
<rtlModuleName></rtlModuleName>
</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>11</id>
<name>agmdpayloadLenOut</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName>FIFO</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4273561312</coreId>
<rtlModuleName></rtlModuleName>
</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>
</ports>
<nodes class_id="8" tracking_level="0" version="0">
<count>49</count>
<item_version>0</item_version>
<item class_id="9" tracking_level="1" version="0" object_id="_10">
<Value>
<Obj>
<type>0</type>
<id>26</id>
<name>agmd_state_load</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>1886221345</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>91</item>
</oprand_edges>
<opcode>load</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>1</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_11">
<Value>
<Obj>
<type>0</type>
<id>27</id>
<name>tmp</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>267</lineNumber>
<contextFuncName>empty</contextFuncName>
<contextNormFuncName>empty</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item class_id="11" tracking_level="0" version="0">
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second class_id="12" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="13" tracking_level="0" version="0">
<first class_id="14" tracking_level="0" version="0">
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first>
<second>empty</second>
</first>
<second>267</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp</originalName>
<rtlName></rtlName>
<control>auto</control>
<opType>adapter</opType>
<implIndex>axi4stream</implIndex>
<coreName>axis</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>123</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>8</count>
<item_version>0</item_version>
<item>93</item>
<item>94</item>
<item>95</item>
<item>96</item>
<item>97</item>
<item>98</item>
<item>99</item>
<item>101</item>
</oprand_edges>
<opcode>nbreadreq</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>2</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_12">
<Value>
<Obj>
<type>0</type>
<id>28</id>
<name>lenCount_V_load</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_base.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>225</lineNumber>
<contextFuncName>ap_int_base&lt;16, false&gt;</contextFuncName>
<contextNormFuncName>ap_int_base_16_false_s</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_base.h</first>
<second>ap_int_base&lt;16, false&gt;</second>
</first>
<second>225</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4271775344</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>102</item>
</oprand_edges>
<opcode>load</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>36</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_13">
<Value>
<Obj>
<type>0</type>
<id>29</id>
<name>br_ln246</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>246</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>246</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4269778960</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>103</item>
<item>104</item>
<item>105</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>3</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_14">
<Value>
<Obj>
<type>0</type>
<id>31</id>
<name>br_ln248</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>248</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>248</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4270128672</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>106</item>
<item>107</item>
<item>108</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>4</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_15">
<Value>
<Obj>
<type>0</type>
<id>33</id>
<name>tmp_1_i</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>140</lineNumber>
<contextFuncName>full</contextFuncName>
<contextNormFuncName>full</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first>
<second>full</second>
</first>
<second>140</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control>auto</control>
<opType>fifo</opType>
<implIndex>memory</implIndex>
<coreName>FIFO</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>78</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>110</item>
<item>111</item>
<item>112</item>
</oprand_edges>
<opcode>nbwritereq</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>5</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_16">
<Value>
<Obj>
<type>0</type>
<id>34</id>
<name>br_ln248</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>248</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>248</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>160</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>113</item>
<item>114</item>
<item>115</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>6</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_17">
<Value>
<Obj>
<type>0</type>
<id>36</id>
<name>empty</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>283</lineNumber>
<contextFuncName>read</contextFuncName>
<contextNormFuncName>read</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first>
<second>read</second>
</first>
<second>283</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control>auto</control>
<opType>adapter</opType>
<implIndex>axi4stream</implIndex>
<coreName>axis</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>123</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>753</bitwidth>
</Value>
<oprand_edges>
<count>8</count>
<item_version>0</item_version>
<item>117</item>
<item>118</item>
<item>119</item>
<item>120</item>
<item>121</item>
<item>122</item>
<item>123</item>
<item>473</item>
</oprand_edges>
<opcode>read</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>7</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_18">
<Value>
<Obj>
<type>0</type>
<id>37</id>
<name>tmp_100</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>283</lineNumber>
<contextFuncName>read</contextFuncName>
<contextNormFuncName>read</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first>
<second>read</second>
</first>
<second>283</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp</originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4273888040</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>512</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>124</item>
</oprand_edges>
<opcode>extractvalue</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>8</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_19">
<Value>
<Obj>
<type>0</type>
<id>38</id>
<name>tmp_101</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>283</lineNumber>
<contextFuncName>read</contextFuncName>
<contextNormFuncName>read</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first>
<second>read</second>
</first>
<second>283</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp</originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4272565424</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>125</item>
</oprand_edges>
<opcode>extractvalue</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>9</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_20">
<Value>
<Obj>
<type>0</type>
<id>39</id>
<name>tmp_102</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>283</lineNumber>
<contextFuncName>read</contextFuncName>
<contextNormFuncName>read</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first>
<second>read</second>
</first>
<second>283</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp</originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4271262416</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>126</item>
</oprand_edges>
<opcode>extractvalue</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>10</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_21">
<Value>
<Obj>
<type>0</type>
<id>40</id>
<name>tmp_99</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>283</lineNumber>
<contextFuncName>read</contextFuncName>
<contextNormFuncName>read</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first>
<second>read</second>
</first>
<second>283</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp</originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>1747477876</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>127</item>
</oprand_edges>
<opcode>extractvalue</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>11</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_22">
<Value>
<Obj>
<type>0</type>
<id>41</id>
<name>agmdIdOut_write_ln174</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>174</lineNumber>
<contextFuncName>write</contextFuncName>
<contextNormFuncName>write</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first>
<second>write</second>
</first>
<second>174</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control>auto</control>
<opType>fifo</opType>
<implIndex>memory</implIndex>
<coreName>FIFO</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>78</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>129</item>
<item>130</item>
<item>131</item>
</oprand_edges>
<opcode>write</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.15</m_delay>
<m_topoIndex>37</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_23">
<Value>
<Obj>
<type>0</type>
<id>42</id>
<name>tmp_56_i</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>174</lineNumber>
<contextFuncName>write</contextFuncName>
<contextNormFuncName>write</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first>
<second>write</second>
</first>
<second>174</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4274936336</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>577</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>133</item>
<item>134</item>
<item>135</item>
<item>136</item>
</oprand_edges>
<opcode>bitconcatenate</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>12</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_24">
<Value>
<Obj>
<type>0</type>
<id>43</id>
<name>zext_ln174_4</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>174</lineNumber>
<contextFuncName>write</contextFuncName>
<contextNormFuncName>write</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first>
<second>write</second>
</first>
<second>174</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>1747477870</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>1024</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>137</item>
</oprand_edges>
<opcode>zext</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>13</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_25">
<Value>
<Obj>
<type>0</type>
<id>44</id>
<name>agmdDataOut_write_ln174</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>174</lineNumber>
<contextFuncName>write</contextFuncName>
<contextNormFuncName>write</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first>
<second>write</second>
</first>
<second>174</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control>auto</control>
<opType>fifo</opType>
<implIndex>memory</implIndex>
<coreName>FIFO</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>78</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>139</item>
<item>140</item>
<item>141</item>
<item>478</item>
</oprand_edges>
<opcode>write</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.15</m_delay>
<m_topoIndex>14</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_26">
<Value>
<Obj>
<type>0</type>
<id>45</id>
<name>lenCount_V_write_ln254</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>254</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>254</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4274941456</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>143</item>
<item>144</item>
<item>474</item>
</oprand_edges>
<opcode>store</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.38</m_delay>
<m_topoIndex>38</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_27">
<Value>
<Obj>
<type>0</type>
<id>46</id>
<name>br_ln256</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>256</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>256</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4273740368</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>145</item>
<item>146</item>
<item>147</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>15</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_28">
<Value>
<Obj>
<type>0</type>
<id>48</id>
<name>agmd_state_write_ln0</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4273741416</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>157</item>
<item>158</item>
<item>477</item>
</oprand_edges>
<opcode>store</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.38</m_delay>
<m_topoIndex>16</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_29">
<Value>
<Obj>
<type>0</type>
<id>49</id>
<name>br_ln0</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4274536848</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>159</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>17</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_30">
<Value>
<Obj>
<type>0</type>
<id>51</id>
<name>op_V_1_i</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>257</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>257</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4271724928</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>7</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>149</item>
<item>150</item>
</oprand_edges>
<opcode>call</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.02</m_delay>
<m_topoIndex>18</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_31">
<Value>
<Obj>
<type>0</type>
<id>52</id>
<name>zext_ln217_1</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>217</lineNumber>
<contextFuncName>ap_uint&lt;7&gt;</contextFuncName>
<contextNormFuncName>ap_uint_7_s</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int.h</first>
<second>ap_uint&lt;7&gt;</second>
</first>
<second>217</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>0</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>151</item>
</oprand_edges>
<opcode>zext</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>39</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_32">
<Value>
<Obj>
<type>0</type>
<id>53</id>
<name>agmdpayloadLenOut_write_ln174</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>174</lineNumber>
<contextFuncName>write</contextFuncName>
<contextNormFuncName>write</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first>
<second>write</second>
</first>
<second>174</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control>auto</control>
<opType>fifo</opType>
<implIndex>memory</implIndex>
<coreName>FIFO</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>78</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>152</item>
<item>153</item>
<item>154</item>
</oprand_edges>
<opcode>write</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.15</m_delay>
<m_topoIndex>40</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_33">
<Value>
<Obj>
<type>0</type>
<id>54</id>
<name>br_ln258</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>258</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>258</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>0</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>155</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>41</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_34">
<Value>
<Obj>
<type>0</type>
<id>56</id>
<name>br_ln261</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>261</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>261</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4272941856</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>160</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>19</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_35">
<Value>
<Obj>
<type>0</type>
<id>58</id>
<name>br_ln262</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>262</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>262</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4274873664</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>161</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>20</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_36">
<Value>
<Obj>
<type>0</type>
<id>60</id>
<name>br_ln264</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>264</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>264</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4274314432</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>162</item>
<item>163</item>
<item>164</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>21</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_37">
<Value>
<Obj>
<type>0</type>
<id>62</id>
<name>tmp_i</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>140</lineNumber>
<contextFuncName>full</contextFuncName>
<contextNormFuncName>full</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first>
<second>full</second>
</first>
<second>140</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control>auto</control>
<opType>fifo</opType>
<implIndex>memory</implIndex>
<coreName>FIFO</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>78</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>165</item>
<item>166</item>
<item>167</item>
</oprand_edges>
<opcode>nbwritereq</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>22</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_38">
<Value>
<Obj>
<type>0</type>
<id>63</id>
<name>br_ln264</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>264</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>264</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4274315888</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>168</item>
<item>169</item>
<item>170</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>23</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_39">
<Value>
<Obj>
<type>0</type>
<id>65</id>
<name>empty_113</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>283</lineNumber>
<contextFuncName>read</contextFuncName>
<contextNormFuncName>read</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first>
<second>read</second>
</first>
<second>283</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control>auto</control>
<opType>adapter</opType>
<implIndex>axi4stream</implIndex>
<coreName>axis</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>123</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>753</bitwidth>
</Value>
<oprand_edges>
<count>8</count>
<item_version>0</item_version>
<item>171</item>
<item>172</item>
<item>173</item>
<item>174</item>
<item>175</item>
<item>176</item>
<item>177</item>
<item>472</item>
</oprand_edges>
<opcode>read</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>24</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_40">
<Value>
<Obj>
<type>0</type>
<id>66</id>
<name>tmp_103</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>283</lineNumber>
<contextFuncName>read</contextFuncName>
<contextNormFuncName>read</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first>
<second>read</second>
</first>
<second>283</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp</originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4273889864</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>512</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>178</item>
</oprand_edges>
<opcode>extractvalue</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>25</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_41">
<Value>
<Obj>
<type>0</type>
<id>67</id>
<name>tmp_104</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>283</lineNumber>
<contextFuncName>read</contextFuncName>
<contextNormFuncName>read</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first>
<second>read</second>
</first>
<second>283</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp</originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>0</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>179</item>
</oprand_edges>
<opcode>extractvalue</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>26</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_42">
<Value>
<Obj>
<type>0</type>
<id>68</id>
<name>tmp_105</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>283</lineNumber>
<contextFuncName>read</contextFuncName>
<contextNormFuncName>read</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first>
<second>read</second>
</first>
<second>283</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp</originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>1330010203</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>180</item>
</oprand_edges>
<opcode>extractvalue</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>27</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_43">
<Value>
<Obj>
<type>0</type>
<id>69</id>
<name>tmp_49_i</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>174</lineNumber>
<contextFuncName>write</contextFuncName>
<contextNormFuncName>write</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first>
<second>write</second>
</first>
<second>174</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>0</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>577</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>181</item>
<item>182</item>
<item>183</item>
<item>184</item>
</oprand_edges>
<opcode>bitconcatenate</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>28</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_44">
<Value>
<Obj>
<type>0</type>
<id>70</id>
<name>zext_ln174</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>174</lineNumber>
<contextFuncName>write</contextFuncName>
<contextNormFuncName>write</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first>
<second>write</second>
</first>
<second>174</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>0</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>1024</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>185</item>
</oprand_edges>
<opcode>zext</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>29</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_45">
<Value>
<Obj>
<type>0</type>
<id>71</id>
<name>agmdDataOut_write_ln174</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>174</lineNumber>
<contextFuncName>write</contextFuncName>
<contextNormFuncName>write</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first>
<second>write</second>
</first>
<second>174</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control>auto</control>
<opType>fifo</opType>
<implIndex>memory</implIndex>
<coreName>FIFO</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>78</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>186</item>
<item>187</item>
<item>188</item>
<item>479</item>
</oprand_edges>
<opcode>write</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.15</m_delay>
<m_topoIndex>30</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_46">
<Value>
<Obj>
<type>0</type>
<id>72</id>
<name>br_ln268</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>268</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>268</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>0</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>189</item>
<item>190</item>
<item>191</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>31</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_47">
<Value>
<Obj>
<type>0</type>
<id>74</id>
<name>add_ln870</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_base.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>870</lineNumber>
<contextFuncName>operator+=&lt;32, true&gt;</contextFuncName>
<contextNormFuncName>operator_add_assign_32_true</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_base.h</first>
<second>operator+=&lt;32, true&gt;</second>
</first>
<second>870</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control>auto</control>
<opType>add</opType>
<implIndex>fabric</implIndex>
<coreName>Adder</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>1</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>204</item>
<item>205</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.78</m_delay>
<m_topoIndex>42</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_48">
<Value>
<Obj>
<type>0</type>
<id>75</id>
<name>lenCount_V_write_ln870</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_base.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>870</lineNumber>
<contextFuncName>operator+=&lt;32, true&gt;</contextFuncName>
<contextNormFuncName>operator_add_assign_32_true</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_base.h</first>
<second>operator+=&lt;32, true&gt;</second>
</first>
<second>870</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4273625528</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>206</item>
<item>207</item>
<item>476</item>
</oprand_edges>
<opcode>store</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.38</m_delay>
<m_topoIndex>43</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_49">
<Value>
<Obj>
<type>0</type>
<id>76</id>
<name>br_ln0</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>0</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>208</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>44</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_50">
<Value>
<Obj>
<type>0</type>
<id>78</id>
<name>op2_V_i</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>269</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>269</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4275092128</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>7</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>192</item>
<item>193</item>
</oprand_edges>
<opcode>call</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.02</m_delay>
<m_topoIndex>32</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_51">
<Value>
<Obj>
<type>0</type>
<id>79</id>
<name>zext_ln217</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>217</lineNumber>
<contextFuncName>ap_uint&lt;17&gt;</contextFuncName>
<contextNormFuncName>ap_uint_17_s</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int.h</first>
<second>ap_uint&lt;17&gt;</second>
</first>
<second>217</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>1330010203</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>194</item>
</oprand_edges>
<opcode>zext</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>45</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_52">
<Value>
<Obj>
<type>0</type>
<id>80</id>
<name>add_ln217</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>217</lineNumber>
<contextFuncName>ap_uint&lt;17&gt;</contextFuncName>
<contextNormFuncName>ap_uint_17_s</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int.h</first>
<second>ap_uint&lt;17&gt;</second>
</first>
<second>217</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control>auto</control>
<opType>add</opType>
<implIndex>fabric</implIndex>
<coreName>Adder</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>1</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>195</item>
<item>196</item>
</oprand_edges>
<opcode>add</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.78</m_delay>
<m_topoIndex>46</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_53">
<Value>
<Obj>
<type>0</type>
<id>81</id>
<name>agmdpayloadLenOut_write_ln174</name>
<fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>174</lineNumber>
<contextFuncName>write</contextFuncName>
<contextNormFuncName>write</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first>
<second>write</second>
</first>
<second>174</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control>auto</control>
<opType>fifo</opType>
<implIndex>memory</implIndex>
<coreName>FIFO</coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>78</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>197</item>
<item>198</item>
<item>199</item>
</oprand_edges>
<opcode>write</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.15</m_delay>
<m_topoIndex>47</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_54">
<Value>
<Obj>
<type>0</type>
<id>82</id>
<name>agmd_state_write_ln0</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>6775156</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>201</item>
<item>202</item>
<item>475</item>
</oprand_edges>
<opcode>store</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.38</m_delay>
<m_topoIndex>33</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_55">
<Value>
<Obj>
<type>0</type>
<id>83</id>
<name>br_ln271</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>271</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>271</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4273764832</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>203</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>48</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_56">
<Value>
<Obj>
<type>0</type>
<id>85</id>
<name>br_ln274</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>274</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>274</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>0</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>209</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>34</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_57">
<Value>
<Obj>
<type>0</type>
<id>87</id>
<name>br_ln275</name>
<fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName>
<fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory>
<lineNumber>275</lineNumber>
<contextFuncName>appGetMetaData</contextFuncName>
<contextNormFuncName>appGetMetaData</contextNormFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first>
<second>appGetMetaData</second>
</first>
<second>275</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4274533040</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>210</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>35</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_58">
<Value>
<Obj>
<type>0</type>
<id>89</id>
<name>_ln0</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4274535472</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>0</count>
<item_version>0</item_version>
</oprand_edges>
<opcode>ret</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>49</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
</nodes>
<consts class_id="15" tracking_level="0" version="0">
<count>5</count>
<item_version>0</item_version>
<item class_id="16" tracking_level="1" version="0" object_id="_59">
<Value>
<Obj>
<type>2</type>
<id>100</id>
<name>empty</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>62</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_60">
<Value>
<Obj>
<type>2</type>
<id>142</id>
<name>empty</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>1314013527</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>16</bitwidth>
</Value>
<const_type>0</const_type>
<content>64</content>
</item>
<item class_id_reference="16" object_id="_61">
<Value>
<Obj>
<type>2</type>
<id>148</id>
<name>keep2len</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4273765808</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>7</bitwidth>
</Value>
<const_type>6</const_type>
<content><constant:keep2len></content>
</item>
<item class_id_reference="16" object_id="_62">
<Value>
<Obj>
<type>2</type>
<id>156</id>
<name>empty</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>0</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_63">
<Value>
<Obj>
<type>2</type>
<id>200</id>
<name>empty</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4272822512</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
</consts>
<blocks class_id="17" tracking_level="0" version="0">
<count>16</count>
<item_version>0</item_version>
<item class_id="18" tracking_level="1" version="0" object_id="_64">
<Obj>
<type>3</type>
<id>30</id>
<name>entry</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>78231376</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>4</count>
<item_version>0</item_version>
<item>26</item>
<item>27</item>
<item>28</item>
<item>29</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_65">
<Obj>
<type>3</type>
<id>32</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>2</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>1</count>
<item_version>0</item_version>
<item>31</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_66">
<Obj>
<type>3</type>
<id>35</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4273426816</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>2</count>
<item_version>0</item_version>
<item>33</item>
<item>34</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_67">
<Obj>
<type>3</type>
<id>47</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4271598832</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>11</count>
<item_version>0</item_version>
<item>36</item>
<item>37</item>
<item>38</item>
<item>39</item>
<item>40</item>
<item>41</item>
<item>42</item>
<item>43</item>
<item>44</item>
<item>45</item>
<item>46</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_68">
<Obj>
<type>3</type>
<id>50</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>77423120</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>2</count>
<item_version>0</item_version>
<item>48</item>
<item>49</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_69">
<Obj>
<type>3</type>
<id>55</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>1916886893</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>4</count>
<item_version>0</item_version>
<item>51</item>
<item>52</item>
<item>53</item>
<item>54</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_70">
<Obj>
<type>3</type>
<id>57</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>1870099557</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>1</count>
<item_version>0</item_version>
<item>56</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_71">
<Obj>
<type>3</type>
<id>59</id>
<name>._crit_edge.i</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>542329928</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>1</count>
<item_version>0</item_version>
<item>58</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_72">
<Obj>
<type>3</type>
<id>61</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4274313216</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>1</count>
<item_version>0</item_version>
<item>60</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_73">
<Obj>
<type>3</type>
<id>64</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4272567392</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>2</count>
<item_version>0</item_version>
<item>62</item>
<item>63</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_74">
<Obj>
<type>3</type>
<id>73</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4275115032</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>8</count>
<item_version>0</item_version>
<item>65</item>
<item>66</item>
<item>67</item>
<item>68</item>
<item>69</item>
<item>70</item>
<item>71</item>
<item>72</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_75">
<Obj>
<type>3</type>
<id>77</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>0</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>3</count>
<item_version>0</item_version>
<item>74</item>
<item>75</item>
<item>76</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_76">
<Obj>
<type>3</type>
<id>84</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4274875184</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>6</count>
<item_version>0</item_version>
<item>78</item>
<item>79</item>
<item>80</item>
<item>81</item>
<item>82</item>
<item>83</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_77">
<Obj>
<type>3</type>
<id>86</id>
<name></name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>33</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>1</count>
<item_version>0</item_version>
<item>85</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_78">
<Obj>
<type>3</type>
<id>88</id>
<name>._crit_edge2.i</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>4274827216</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>1</count>
<item_version>0</item_version>
<item>87</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_79">
<Obj>
<type>3</type>
<id>90</id>
<name>appGetMetaData.exit</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<contextNormFuncName></contextNormFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<control></control>
<opType></opType>
<implIndex></implIndex>
<coreName></coreName>
<isStorage>0</isStorage>
<storageDepth>0</storageDepth>
<coreId>0</coreId>
<rtlModuleName></rtlModuleName>
</Obj>
<node_objs>
<count>1</count>
<item_version>0</item_version>
<item>89</item>
</node_objs>
</item>
</blocks>
<edges class_id="19" tracking_level="0" version="0">
<count>127</count>
<item_version>0</item_version>
<item class_id="20" tracking_level="1" version="0" object_id="_80">
<id>91</id>
<edge_type>1</edge_type>
<source_obj>7</source_obj>
<sink_obj>26</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_81">
<id>94</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>27</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_82">
<id>95</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>27</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_83">
<id>96</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>27</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_84">
<id>97</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>27</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_85">
<id>98</id>
<edge_type>1</edge_type>
<source_obj>5</source_obj>
<sink_obj>27</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_86">
<id>99</id>
<edge_type>1</edge_type>
<source_obj>6</source_obj>
<sink_obj>27</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_87">
<id>101</id>
<edge_type>1</edge_type>
<source_obj>100</source_obj>
<sink_obj>27</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_88">
<id>102</id>
<edge_type>1</edge_type>
<source_obj>8</source_obj>
<sink_obj>28</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_89">
<id>103</id>
<edge_type>1</edge_type>
<source_obj>26</source_obj>
<sink_obj>29</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_90">
<id>104</id>
<edge_type>2</edge_type>
<source_obj>32</source_obj>
<sink_obj>29</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_91">
<id>105</id>
<edge_type>2</edge_type>
<source_obj>61</source_obj>
<sink_obj>29</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_92">
<id>106</id>
<edge_type>1</edge_type>
<source_obj>27</source_obj>
<sink_obj>31</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_93">
<id>107</id>
<edge_type>2</edge_type>
<source_obj>59</source_obj>
<sink_obj>31</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_94">
<id>108</id>
<edge_type>2</edge_type>
<source_obj>35</source_obj>
<sink_obj>31</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_95">
<id>111</id>
<edge_type>1</edge_type>
<source_obj>9</source_obj>
<sink_obj>33</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_96">
<id>112</id>
<edge_type>1</edge_type>
<source_obj>100</source_obj>
<sink_obj>33</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_97">
<id>113</id>
<edge_type>1</edge_type>
<source_obj>33</source_obj>
<sink_obj>34</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_98">
<id>114</id>
<edge_type>2</edge_type>
<source_obj>59</source_obj>
<sink_obj>34</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_99">
<id>115</id>
<edge_type>2</edge_type>
<source_obj>47</source_obj>
<sink_obj>34</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_100">
<id>118</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>36</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_101">
<id>119</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>36</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_102">
<id>120</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>36</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_103">
<id>121</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>36</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_104">
<id>122</id>
<edge_type>1</edge_type>
<source_obj>5</source_obj>
<sink_obj>36</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_105">
<id>123</id>
<edge_type>1</edge_type>
<source_obj>6</source_obj>
<sink_obj>36</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_106">
<id>124</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>37</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_107">
<id>125</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>38</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_108">
<id>126</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>39</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_109">
<id>127</id>
<edge_type>1</edge_type>
<source_obj>36</source_obj>
<sink_obj>40</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_110">
<id>130</id>
<edge_type>1</edge_type>
<source_obj>10</source_obj>
<sink_obj>41</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_111">
<id>131</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>41</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_112">
<id>134</id>
<edge_type>1</edge_type>
<source_obj>39</source_obj>
<sink_obj>42</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_113">
<id>135</id>
<edge_type>1</edge_type>
<source_obj>38</source_obj>
<sink_obj>42</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_114">
<id>136</id>
<edge_type>1</edge_type>
<source_obj>37</source_obj>
<sink_obj>42</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_115">
<id>137</id>
<edge_type>1</edge_type>
<source_obj>42</source_obj>
<sink_obj>43</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_116">
<id>140</id>
<edge_type>1</edge_type>
<source_obj>9</source_obj>
<sink_obj>44</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_117">
<id>141</id>
<edge_type>1</edge_type>
<source_obj>43</source_obj>
<sink_obj>44</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_118">
<id>143</id>
<edge_type>1</edge_type>
<source_obj>142</source_obj>
<sink_obj>45</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_119">
<id>144</id>
<edge_type>1</edge_type>
<source_obj>8</source_obj>
<sink_obj>45</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_120">
<id>145</id>
<edge_type>1</edge_type>
<source_obj>39</source_obj>
<sink_obj>46</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_121">
<id>146</id>
<edge_type>2</edge_type>
<source_obj>50</source_obj>
<sink_obj>46</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_122">
<id>147</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>46</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_123">
<id>149</id>
<edge_type>1</edge_type>
<source_obj>148</source_obj>
<sink_obj>51</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_124">
<id>150</id>
<edge_type>1</edge_type>
<source_obj>38</source_obj>
<sink_obj>51</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_125">
<id>151</id>
<edge_type>1</edge_type>
<source_obj>51</source_obj>
<sink_obj>52</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_126">
<id>153</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>53</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_127">
<id>154</id>
<edge_type>1</edge_type>
<source_obj>52</source_obj>
<sink_obj>53</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_128">
<id>155</id>
<edge_type>2</edge_type>
<source_obj>57</source_obj>
<sink_obj>54</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_129">
<id>157</id>
<edge_type>1</edge_type>
<source_obj>156</source_obj>
<sink_obj>48</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_130">
<id>158</id>
<edge_type>1</edge_type>
<source_obj>7</source_obj>
<sink_obj>48</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_131">
<id>159</id>
<edge_type>2</edge_type>
<source_obj>57</source_obj>
<sink_obj>49</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_132">
<id>160</id>
<edge_type>2</edge_type>
<source_obj>59</source_obj>
<sink_obj>56</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_133">
<id>161</id>
<edge_type>2</edge_type>
<source_obj>90</source_obj>
<sink_obj>58</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_134">
<id>162</id>
<edge_type>1</edge_type>
<source_obj>27</source_obj>
<sink_obj>60</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_135">
<id>163</id>
<edge_type>2</edge_type>
<source_obj>88</source_obj>
<sink_obj>60</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_136">
<id>164</id>
<edge_type>2</edge_type>
<source_obj>64</source_obj>
<sink_obj>60</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_137">
<id>166</id>
<edge_type>1</edge_type>
<source_obj>9</source_obj>
<sink_obj>62</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_138">
<id>167</id>
<edge_type>1</edge_type>
<source_obj>100</source_obj>
<sink_obj>62</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_139">
<id>168</id>
<edge_type>1</edge_type>
<source_obj>62</source_obj>
<sink_obj>63</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_140">
<id>169</id>
<edge_type>2</edge_type>
<source_obj>88</source_obj>
<sink_obj>63</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_141">
<id>170</id>
<edge_type>2</edge_type>
<source_obj>73</source_obj>
<sink_obj>63</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_142">
<id>172</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>65</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_143">
<id>173</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>65</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_144">
<id>174</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>65</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_145">
<id>175</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>65</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_146">
<id>176</id>
<edge_type>1</edge_type>
<source_obj>5</source_obj>
<sink_obj>65</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_147">
<id>177</id>
<edge_type>1</edge_type>
<source_obj>6</source_obj>
<sink_obj>65</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_148">
<id>178</id>
<edge_type>1</edge_type>
<source_obj>65</source_obj>
<sink_obj>66</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_149">
<id>179</id>
<edge_type>1</edge_type>
<source_obj>65</source_obj>
<sink_obj>67</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_150">
<id>180</id>
<edge_type>1</edge_type>
<source_obj>65</source_obj>
<sink_obj>68</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_151">
<id>182</id>
<edge_type>1</edge_type>
<source_obj>68</source_obj>
<sink_obj>69</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_152">
<id>183</id>
<edge_type>1</edge_type>
<source_obj>67</source_obj>
<sink_obj>69</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_153">
<id>184</id>
<edge_type>1</edge_type>
<source_obj>66</source_obj>
<sink_obj>69</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_154">
<id>185</id>
<edge_type>1</edge_type>
<source_obj>69</source_obj>
<sink_obj>70</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_155">
<id>187</id>
<edge_type>1</edge_type>
<source_obj>9</source_obj>
<sink_obj>71</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_156">
<id>188</id>
<edge_type>1</edge_type>
<source_obj>70</source_obj>
<sink_obj>71</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_157">
<id>189</id>
<edge_type>1</edge_type>
<source_obj>68</source_obj>
<sink_obj>72</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_158">
<id>190</id>
<edge_type>2</edge_type>
<source_obj>77</source_obj>
<sink_obj>72</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_159">
<id>191</id>
<edge_type>2</edge_type>
<source_obj>84</source_obj>
<sink_obj>72</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_160">
<id>192</id>
<edge_type>1</edge_type>
<source_obj>148</source_obj>
<sink_obj>78</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_161">
<id>193</id>
<edge_type>1</edge_type>
<source_obj>67</source_obj>
<sink_obj>78</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_162">
<id>194</id>
<edge_type>1</edge_type>
<source_obj>78</source_obj>
<sink_obj>79</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_163">
<id>195</id>
<edge_type>1</edge_type>
<source_obj>28</source_obj>
<sink_obj>80</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_164">
<id>196</id>
<edge_type>1</edge_type>
<source_obj>79</source_obj>
<sink_obj>80</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_165">
<id>198</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>81</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_166">
<id>199</id>
<edge_type>1</edge_type>
<source_obj>80</source_obj>
<sink_obj>81</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_167">
<id>201</id>
<edge_type>1</edge_type>
<source_obj>200</source_obj>
<sink_obj>82</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_168">
<id>202</id>
<edge_type>1</edge_type>
<source_obj>7</source_obj>
<sink_obj>82</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_169">
<id>203</id>
<edge_type>2</edge_type>
<source_obj>86</source_obj>
<sink_obj>83</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_170">
<id>204</id>
<edge_type>1</edge_type>
<source_obj>28</source_obj>
<sink_obj>74</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_171">
<id>205</id>
<edge_type>1</edge_type>
<source_obj>142</source_obj>
<sink_obj>74</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_172">
<id>206</id>
<edge_type>1</edge_type>
<source_obj>74</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_173">
<id>207</id>
<edge_type>1</edge_type>
<source_obj>8</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_174">
<id>208</id>
<edge_type>2</edge_type>
<source_obj>86</source_obj>
<sink_obj>76</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_175">
<id>209</id>
<edge_type>2</edge_type>
<source_obj>88</source_obj>
<sink_obj>85</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_176">
<id>210</id>
<edge_type>2</edge_type>
<source_obj>90</source_obj>
<sink_obj>87</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_177">
<id>450</id>
<edge_type>2</edge_type>
<source_obj>30</source_obj>
<sink_obj>61</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_178">
<id>451</id>
<edge_type>2</edge_type>
<source_obj>30</source_obj>
<sink_obj>32</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_179">
<id>452</id>
<edge_type>2</edge_type>
<source_obj>32</source_obj>
<sink_obj>35</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_180">
<id>453</id>
<edge_type>2</edge_type>
<source_obj>32</source_obj>
<sink_obj>59</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_181">
<id>454</id>
<edge_type>2</edge_type>
<source_obj>35</source_obj>
<sink_obj>47</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_182">
<id>455</id>
<edge_type>2</edge_type>
<source_obj>35</source_obj>
<sink_obj>59</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_183">
<id>456</id>
<edge_type>2</edge_type>
<source_obj>47</source_obj>
<sink_obj>55</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_184">
<id>457</id>
<edge_type>2</edge_type>
<source_obj>47</source_obj>
<sink_obj>50</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_185">
<id>458</id>
<edge_type>2</edge_type>
<source_obj>50</source_obj>
<sink_obj>57</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_186">
<id>459</id>
<edge_type>2</edge_type>
<source_obj>55</source_obj>
<sink_obj>57</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_187">
<id>460</id>
<edge_type>2</edge_type>
<source_obj>57</source_obj>
<sink_obj>59</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_188">
<id>461</id>
<edge_type>2</edge_type>
<source_obj>59</source_obj>
<sink_obj>90</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_189">
<id>462</id>
<edge_type>2</edge_type>
<source_obj>61</source_obj>
<sink_obj>64</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_190">
<id>463</id>
<edge_type>2</edge_type>
<source_obj>61</source_obj>
<sink_obj>88</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_191">
<id>464</id>
<edge_type>2</edge_type>
<source_obj>64</source_obj>
<sink_obj>73</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_192">
<id>465</id>
<edge_type>2</edge_type>
<source_obj>64</source_obj>
<sink_obj>88</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_193">
<id>466</id>
<edge_type>2</edge_type>
<source_obj>73</source_obj>
<sink_obj>84</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_194">
<id>467</id>
<edge_type>2</edge_type>
<source_obj>73</source_obj>
<sink_obj>77</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_195">
<id>468</id>
<edge_type>2</edge_type>
<source_obj>77</source_obj>
<sink_obj>86</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_196">
<id>469</id>
<edge_type>2</edge_type>
<source_obj>84</source_obj>
<sink_obj>86</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_197">
<id>470</id>
<edge_type>2</edge_type>
<source_obj>86</source_obj>
<sink_obj>88</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_198">
<id>471</id>
<edge_type>2</edge_type>
<source_obj>88</source_obj>
<sink_obj>90</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_199">
<id>472</id>
<edge_type>4</edge_type>
<source_obj>27</source_obj>
<sink_obj>65</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_200">
<id>473</id>
<edge_type>4</edge_type>
<source_obj>27</source_obj>
<sink_obj>36</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_201">
<id>474</id>
<edge_type>4</edge_type>
<source_obj>28</source_obj>
<sink_obj>45</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_202">
<id>475</id>
<edge_type>4</edge_type>
<source_obj>26</source_obj>
<sink_obj>82</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_203">
<id>476</id>
<edge_type>4</edge_type>
<source_obj>28</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_204">
<id>477</id>
<edge_type>4</edge_type>
<source_obj>26</source_obj>
<sink_obj>48</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_205">
<id>478</id>
<edge_type>4</edge_type>
<source_obj>33</source_obj>
<sink_obj>44</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_206">
<id>479</id>
<edge_type>4</edge_type>
<source_obj>62</source_obj>
<sink_obj>71</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
</edges>
</cdfg>
<cdfg_regions class_id="21" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="22" tracking_level="1" version="0" object_id="_207">
<mId>1</mId>
<mTag>appGetMetaData</mTag>
<mNormTag>appGetMetaData</mNormTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>16</count>
<item_version>0</item_version>
<item>30</item>
<item>32</item>
<item>35</item>
<item>47</item>
<item>50</item>
<item>55</item>
<item>57</item>
<item>59</item>
<item>61</item>
<item>64</item>
<item>73</item>
<item>77</item>
<item>84</item>
<item>86</item>
<item>88</item>
<item>90</item>
</basic_blocks>
<mII>1</mII>
<mDepth>2</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>1</mMinLatency>
<mMaxLatency>1</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
</cdfg_regions>
<fsm class_id="24" tracking_level="1" version="0" object_id="_208">
<states class_id="25" tracking_level="0" version="0">
<count>2</count>
<item_version>0</item_version>
<item class_id="26" tracking_level="1" version="0" object_id="_209">
<id>1</id>
<operations class_id="27" tracking_level="0" version="0">
<count>35</count>
<item_version>0</item_version>
<item class_id="28" tracking_level="1" version="0" object_id="_210">
<id>26</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_211">
<id>27</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_212">
<id>29</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_213">
<id>31</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_214">
<id>33</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_215">
<id>34</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_216">
<id>36</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_217">
<id>37</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_218">
<id>38</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_219">
<id>39</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_220">
<id>40</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_221">
<id>42</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_222">
<id>43</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_223">
<id>44</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_224">
<id>46</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_225">
<id>48</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_226">
<id>49</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_227">
<id>51</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_228">
<id>56</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_229">
<id>58</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_230">
<id>60</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_231">
<id>62</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_232">
<id>63</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_233">
<id>65</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_234">
<id>66</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_235">
<id>67</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_236">
<id>68</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_237">
<id>69</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_238">
<id>70</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_239">
<id>71</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_240">
<id>72</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_241">
<id>78</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_242">
<id>82</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_243">
<id>85</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_244">
<id>87</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
<item class_id_reference="26" object_id="_245">
<id>2</id>
<operations>
<count>28</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_246">
<id>12</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_247">
<id>13</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_248">
<id>14</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_249">
<id>15</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_250">
<id>16</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_251">
<id>17</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_252">
<id>18</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_253">
<id>19</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_254">
<id>20</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_255">
<id>21</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_256">
<id>22</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_257">
<id>23</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_258">
<id>24</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_259">
<id>25</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_260">
<id>28</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_261">
<id>41</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_262">
<id>45</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_263">
<id>52</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_264">
<id>53</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_265">
<id>54</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_266">
<id>74</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_267">
<id>75</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_268">
<id>76</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_269">
<id>79</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_270">
<id>80</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_271">
<id>81</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_272">
<id>83</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="28" object_id="_273">
<id>89</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
</states>
<transitions class_id="29" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="30" tracking_level="1" version="0" object_id="_274">
<inState>1</inState>
<outState>2</outState>
<condition class_id="31" tracking_level="0" version="0">
<id>-1</id>
<sop class_id="32" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="33" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</item>
</sop>
</condition>
</item>
</transitions>
</fsm>
<res class_id="-1"></res>
<node_label_latency class_id="35" tracking_level="0" version="0">
<count>49</count>
<item_version>0</item_version>
<item class_id="36" tracking_level="0" version="0">
<first>26</first>
<second class_id="37" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>27</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>28</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>29</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>31</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>33</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>34</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>36</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>37</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>38</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>39</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>40</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>41</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>42</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>43</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>44</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>45</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>46</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>48</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>49</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>51</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>52</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>53</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>54</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>56</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>58</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>60</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>62</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>63</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>65</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>66</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>67</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>68</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>69</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>70</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>71</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>72</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>74</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>75</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>76</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>78</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>79</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>80</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>81</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>82</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>83</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>85</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>87</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>89</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
</node_label_latency>
<bblk_ent_exit class_id="38" tracking_level="0" version="0">
<count>16</count>
<item_version>0</item_version>
<item class_id="39" tracking_level="0" version="0">
<first>30</first>
<second class_id="40" tracking_level="0" version="0">
<first>0</first>
<second>1</second>
</second>
</item>
<item>
<first>32</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>35</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>47</first>
<second>
<first>0</first>
<second>1</second>
</second>
</item>
<item>
<first>50</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>55</first>
<second>
<first>0</first>
<second>1</second>
</second>
</item>
<item>
<first>57</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>59</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>61</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>64</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>73</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>77</first>
<second>
<first>0</first>
<second>1</second>
</second>
</item>
<item>
<first>84</first>
<second>
<first>0</first>
<second>1</second>
</second>
</item>
<item>
<first>86</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>88</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>90</first>
<second>
<first>1</first>
<second>1</second>
</second>
</item>
</bblk_ent_exit>
<regions class_id="41" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="42" tracking_level="1" version="0" object_id="_275">
<region_name>appGetMetaData</region_name>
<basic_blocks>
<count>16</count>
<item_version>0</item_version>
<item>30</item>
<item>32</item>
<item>35</item>
<item>47</item>
<item>50</item>
<item>55</item>
<item>57</item>
<item>59</item>
<item>61</item>
<item>64</item>
<item>73</item>
<item>77</item>
<item>84</item>
<item>86</item>
<item>88</item>
<item>90</item>
</basic_blocks>
<nodes>
<count>0</count>
<item_version>0</item_version>
</nodes>
<anchor_node>-1</anchor_node>
<region_type>8</region_type>
<interval>1</interval>
<pipe_depth>2</pipe_depth>
<mDBIIViolationVec class_id="43" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</mDBIIViolationVec>
</item>
</regions>
<dp_fu_nodes class_id="44" tracking_level="0" version="0">
<count>25</count>
<item_version>0</item_version>
<item class_id="45" tracking_level="0" version="0">
<first>58</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
<item>
<first>76</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>33</item>
<item>62</item>
</second>
</item>
<item>
<first>84</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>36</item>
<item>65</item>
</second>
</item>
<item>
<first>100</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>44</item>
<item>71</item>
</second>
</item>
<item>
<first>107</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>41</item>
</second>
</item>
<item>
<first>114</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>53</item>
<item>81</item>
</second>
</item>
<item>
<first>121</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>51</item>
<item>78</item>
</second>
</item>
<item>
<first>126</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>66</item>
</second>
</item>
<item>
<first>130</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>38</item>
<item>67</item>
</second>
</item>
<item>
<first>135</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>39</item>
<item>68</item>
</second>
</item>
<item>
<first>143</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>26</item>
</second>
</item>
<item>
<first>147</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>40</item>
</second>
</item>
<item>
<first>151</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>42</item>
</second>
</item>
<item>
<first>161</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>43</item>
</second>
</item>
<item>
<first>166</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>48</item>
</second>
</item>
<item>
<first>172</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>69</item>
</second>
</item>
<item>
<first>182</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>70</item>
</second>
</item>
<item>
<first>187</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>82</item>
</second>
</item>
<item>
<first>193</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>28</item>
</second>
</item>
<item>
<first>197</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>45</item>
</second>
</item>
<item>
<first>203</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>52</item>
</second>
</item>
<item>
<first>208</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>74</item>
</second>
</item>
<item>
<first>214</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>75</item>
</second>
</item>
<item>
<first>220</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>79</item>
</second>
</item>
<item>
<first>224</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>80</item>
</second>
</item>
</dp_fu_nodes>
<dp_fu_nodes_expression class_id="47" tracking_level="0" version="0">
<count>12</count>
<item_version>0</item_version>
<item class_id="48" tracking_level="0" version="0">
<first>add_ln217_fu_224</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>80</item>
</second>
</item>
<item>
<first>add_ln870_fu_208</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>74</item>
</second>
</item>
<item>
<first>grp_fu_126</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>66</item>
</second>
</item>
<item>
<first>grp_fu_130</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>38</item>
<item>67</item>
</second>
</item>
<item>
<first>grp_fu_135</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>39</item>
<item>68</item>
</second>
</item>
<item>
<first>tmp_49_i_fu_172</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>69</item>
</second>
</item>
<item>
<first>tmp_56_i_fu_151</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>42</item>
</second>
</item>
<item>
<first>tmp_99_fu_147</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>40</item>
</second>
</item>
<item>
<first>zext_ln174_4_fu_161</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>43</item>
</second>
</item>
<item>
<first>zext_ln174_fu_182</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>70</item>
</second>
</item>
<item>
<first>zext_ln217_1_fu_203</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>52</item>
</second>
</item>
<item>
<first>zext_ln217_fu_220</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>79</item>
</second>
</item>
</dp_fu_nodes_expression>
<dp_fu_nodes_module>
<count>1</count>
<item_version>0</item_version>
<item>
<first>grp_keep2len_fu_121</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>51</item>
<item>78</item>
</second>
</item>
</dp_fu_nodes_module>
<dp_fu_nodes_io>
<count>12</count>
<item_version>0</item_version>
<item>
<first>agmd_state_load_load_fu_143</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>26</item>
</second>
</item>
<item>
<first>grp_nbwritereq_fu_76</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>33</item>
<item>62</item>
</second>
</item>
<item>
<first>grp_read_fu_84</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>36</item>
<item>65</item>
</second>
</item>
<item>
<first>grp_write_fu_100</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>44</item>
<item>71</item>
</second>
</item>
<item>
<first>grp_write_fu_114</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>53</item>
<item>81</item>
</second>
</item>
<item>
<first>lenCount_V_load_load_fu_193</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>28</item>
</second>
</item>
<item>
<first>store_ln0_store_fu_166</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>48</item>
</second>
</item>
<item>
<first>store_ln0_store_fu_187</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>82</item>
</second>
</item>
<item>
<first>store_ln254_store_fu_197</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>45</item>
</second>
</item>
<item>
<first>store_ln870_store_fu_214</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>75</item>
</second>
</item>
<item>
<first>tmp_nbreadreq_fu_58</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
<item>
<first>write_ln174_write_fu_107</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>41</item>
</second>
</item>
</dp_fu_nodes_io>
<return_ports>
<count>0</count>
<item_version>0</item_version>
</return_ports>
<dp_mem_port_nodes class_id="49" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_mem_port_nodes>
<dp_reg_nodes>
<count>8</count>
<item_version>0</item_version>
<item>
<first>139</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>51</item>
<item>78</item>
</second>
</item>
<item>
<first>231</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>26</item>
</second>
</item>
<item>
<first>235</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
<item>
<first>239</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>33</item>
</second>
</item>
<item>
<first>243</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>39</item>
</second>
</item>
<item>
<first>247</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>40</item>
</second>
</item>
<item>
<first>252</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>62</item>
</second>
</item>
<item>
<first>256</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>68</item>
</second>
</item>
</dp_reg_nodes>
<dp_regname_nodes>
<count>8</count>
<item_version>0</item_version>
<item>
<first>agmd_state_load_reg_231</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>26</item>
</second>
</item>
<item>
<first>reg_139</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>51</item>
<item>78</item>
</second>
</item>
<item>
<first>tmp_102_reg_243</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>39</item>
</second>
</item>
<item>
<first>tmp_105_reg_256</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>68</item>
</second>
</item>
<item>
<first>tmp_1_i_reg_239</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>33</item>
</second>
</item>
<item>
<first>tmp_99_reg_247</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>40</item>
</second>
</item>
<item>
<first>tmp_i_reg_252</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>62</item>
</second>
</item>
<item>
<first>tmp_reg_235</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
</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="50" tracking_level="0" version="0">
<count>9</count>
<item_version>0</item_version>
<item class_id="51" tracking_level="0" version="0">
<first>DataInApp_V_data_V</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>nbreadreq</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
<item>
<first>read</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>36</item>
<item>65</item>
</second>
</item>
</second>
</item>
<item>
<first>DataInApp_V_dest_V</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>nbreadreq</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
<item>
<first>read</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>36</item>
<item>65</item>
</second>
</item>
</second>
</item>
<item>
<first>DataInApp_V_keep_V</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>nbreadreq</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
<item>
<first>read</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>36</item>
<item>65</item>
</second>
</item>
</second>
</item>
<item>
<first>DataInApp_V_last_V</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>nbreadreq</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
<item>
<first>read</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>36</item>
<item>65</item>
</second>
</item>
</second>
</item>
<item>
<first>DataInApp_V_strb_V</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>nbreadreq</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
<item>
<first>read</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>36</item>
<item>65</item>
</second>
</item>
</second>
</item>
<item>
<first>DataInApp_V_user_V</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>nbreadreq</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
<item>
<first>read</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>36</item>
<item>65</item>
</second>
</item>
</second>
</item>
<item>
<first>agmdDataOut</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>nbwritereq</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>33</item>
<item>62</item>
</second>
</item>
<item>
<first>write</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>44</item>
<item>71</item>
</second>
</item>
</second>
</item>
<item>
<first>agmdIdOut</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>write</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>41</item>
</second>
</item>
</second>
</item>
<item>
<first>agmdpayloadLenOut</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>write</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>53</item>
<item>81</item>
</second>
</item>
</second>
</item>
</dp_port_io_nodes>
<port2core>
<count>3</count>
<item_version>0</item_version>
<item>
<first>9</first>
<second>
<first>1151</first>
<second>7</second>
</second>
</item>
<item>
<first>10</first>
<second>
<first>1151</first>
<second>7</second>
</second>
</item>
<item>
<first>11</first>
<second>
<first>1151</first>
<second>7</second>
</second>
</item>
</port2core>
<node2core>
<count>14</count>
<item_version>0</item_version>
<item>
<first>27</first>
<second>
<first>888</first>
<second>111</second>
</second>
</item>
<item>
<first>33</first>
<second>
<first>1151</first>
<second>7</second>
</second>
</item>
<item>
<first>36</first>
<second>
<first>888</first>
<second>111</second>
</second>
</item>
<item>
<first>41</first>
<second>
<first>1151</first>
<second>7</second>
</second>
</item>
<item>
<first>44</first>
<second>
<first>1151</first>
<second>7</second>
</second>
</item>
<item>
<first>51</first>
<second>
<first>-1</first>
<second>-1</second>
</second>
</item>
<item>
<first>53</first>
<second>
<first>1151</first>
<second>7</second>
</second>
</item>
<item>
<first>62</first>
<second>
<first>1151</first>
<second>7</second>
</second>
</item>
<item>
<first>65</first>
<second>
<first>888</first>
<second>111</second>
</second>
</item>
<item>
<first>71</first>
<second>
<first>1151</first>
<second>7</second>
</second>
</item>
<item>
<first>74</first>
<second>
<first>8</first>
<second>4</second>
</second>
</item>
<item>
<first>78</first>
<second>
<first>-1</first>
<second>-1</second>
</second>
</item>
<item>
<first>80</first>
<second>
<first>8</first>
<second>4</second>
</second>
</item>
<item>
<first>81</first>
<second>
<first>1151</first>
<second>7</second>
</second>
</item>
</node2core>
</syndb>
</boost_serialization>
|
-- ////////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)
-- //
-- // This software is provided 'as-is', without any express or implied warranty.
-- // In no event will the authors be held liable for any damages arising from the use of this software.
-- //
-- // Permission is granted to anyone to use this software for any purpose,
-- // including commercial applications, and to alter it and redistribute it freely,
-- // subject to the following restrictions:
-- //
-- // 1. The origin of this software must not be misrepresented;
-- // you must not claim that you wrote the original software.
-- // If you use this software in a product, an acknowledgment
-- // in the product documentation would be appreciated but is not required.
-- //
-- // 2. Altered source versions must be plainly marked as such,
-- // and must not be misrepresented as being the original software.
-- //
-- // 3. This notice may not be removed or altered from any source distribution.
-- //
-- ////////////////////////////////////////////////////////////
package Sf.Window.GL is
-- ////////////////////////////////////////////////////////////
-- // Define portable types
-- ////////////////////////////////////////////////////////////
type GLuint is mod 2 ** Integer'SIZE;
type GLuint_Ptr is access all GLuint;
type GLenum is mod 2 ** Integer'SIZE;
type GLbitfield is mod 2 ** Integer'SIZE;
type GLboolean is mod 256;
for GLboolean'SIZE use 8;
type GLvoid is null record;
type GLvoid_Ptr is access all GLvoid;
type GLbyte is range -128 .. 127;
for GLbyte'SIZE use 8;
type GLshort is new Short_Integer;
type GLint is new Integer;
type GLubyte is mod 256;
for GLubyte'SIZE use 8;
type GLubyte_Ptr is access all GLubyte;
type GLushort is mod 2 ** Short_Integer'SIZE;
type GLsizei is new Integer;
type GLfloat is new Float;
type GLclampf is new Float;
type GLdouble is new Long_Float;
type GLclampd is new Long_Float;
pragma Convention (C, GLuint);
pragma Convention (C, GLuint_Ptr);
pragma Convention (C, GLenum);
pragma Convention (C, GLbitfield);
pragma Convention (C, GLboolean);
pragma Convention (C, GLvoid);
pragma Convention (C, GLvoid_Ptr);
pragma Convention (C, GLbyte);
pragma Convention (C, GLshort);
pragma Convention (C, GLint);
pragma Convention (C, GLubyte);
pragma Convention (C, GLubyte_Ptr);
pragma Convention (C, GLushort);
pragma Convention (C, GLsizei);
pragma Convention (C, GLfloat);
pragma Convention (C, GLclampf);
pragma Convention (C, GLdouble);
pragma Convention (C, GLclampd);
-- ////////////////////////////////////////////////////////////
-- // Define constants
-- ////////////////////////////////////////////////////////////
GL_VERSION_1_1 : constant GLenum := 1;
GL_VERSION_1_2 : constant GLenum := 1;
GL_VERSION_1_3 : constant GLenum := 1;
GL_ARB_imaging : constant GLenum := 1;
GL_FALSE : constant GLboolean := 16#0#;
GL_TRUE : constant GLboolean := 16#1#;
GL_BYTE : constant GLenum := 16#1400#;
GL_UNSIGNED_BYTE : constant GLenum := 16#1401#;
GL_SHORT : constant GLenum := 16#1402#;
GL_UNSIGNED_SHORT : constant GLenum := 16#1403#;
GL_INT : constant GLenum := 16#1404#;
GL_UNSIGNED_INT : constant GLenum := 16#1405#;
GL_FLOAT : constant GLenum := 16#1406#;
GL_DOUBLE : constant GLenum := 16#140A#;
GL_2_BYTES : constant GLenum := 16#1407#;
GL_3_BYTES : constant GLenum := 16#1408#;
GL_4_BYTES : constant GLenum := 16#1409#;
GL_POINTS : constant GLenum := 16#0000#;
GL_LINES : constant GLenum := 16#0001#;
GL_LINE_LOOP : constant GLenum := 16#0002#;
GL_LINE_STRIP : constant GLenum := 16#0003#;
GL_TRIANGLES : constant GLenum := 16#0004#;
GL_TRIANGLE_STRIP : constant GLenum := 16#0005#;
GL_TRIANGLE_FAN : constant GLenum := 16#0006#;
GL_QUADS : constant GLenum := 16#0007#;
GL_QUAD_STRIP : constant GLenum := 16#0008#;
GL_POLYGON : constant GLenum := 16#0009#;
GL_VERTEX_ARRAY : constant GLenum := 16#8074#;
GL_NORMAL_ARRAY : constant GLenum := 16#8075#;
GL_COLOR_ARRAY : constant GLenum := 16#8076#;
GL_INDEX_ARRAY : constant GLenum := 16#8077#;
GL_TEXTURE_COORD_ARRAY : constant GLenum := 16#8078#;
GL_EDGE_FLAG_ARRAY : constant GLenum := 16#8079#;
GL_VERTEX_ARRAY_SIZE : constant GLenum := 16#807A#;
GL_VERTEX_ARRAY_TYPE : constant GLenum := 16#807B#;
GL_VERTEX_ARRAY_STRIDE : constant GLenum := 16#807C#;
GL_NORMAL_ARRAY_TYPE : constant GLenum := 16#807E#;
GL_NORMAL_ARRAY_STRIDE : constant GLenum := 16#807F#;
GL_COLOR_ARRAY_SIZE : constant GLenum := 16#8081#;
GL_COLOR_ARRAY_TYPE : constant GLenum := 16#8082#;
GL_COLOR_ARRAY_STRIDE : constant GLenum := 16#8083#;
GL_INDEX_ARRAY_TYPE : constant GLenum := 16#8085#;
GL_INDEX_ARRAY_STRIDE : constant GLenum := 16#8086#;
GL_TEXTURE_COORD_ARRAY_SIZE : constant GLenum := 16#8088#;
GL_TEXTURE_COORD_ARRAY_TYPE : constant GLenum := 16#8089#;
GL_TEXTURE_COORD_ARRAY_STRIDE : constant GLenum := 16#808A#;
GL_EDGE_FLAG_ARRAY_STRIDE : constant GLenum := 16#808C#;
GL_VERTEX_ARRAY_POINTER : constant GLenum := 16#808E#;
GL_NORMAL_ARRAY_POINTER : constant GLenum := 16#808F#;
GL_COLOR_ARRAY_POINTER : constant GLenum := 16#8090#;
GL_INDEX_ARRAY_POINTER : constant GLenum := 16#8091#;
GL_TEXTURE_COORD_ARRAY_POINTER : constant GLenum := 16#8092#;
GL_EDGE_FLAG_ARRAY_POINTER : constant GLenum := 16#8093#;
GL_V2F : constant GLenum := 16#2A20#;
GL_V3F : constant GLenum := 16#2A21#;
GL_C4UB_V2F : constant GLenum := 16#2A22#;
GL_C4UB_V3F : constant GLenum := 16#2A23#;
GL_C3F_V3F : constant GLenum := 16#2A24#;
GL_N3F_V3F : constant GLenum := 16#2A25#;
GL_C4F_N3F_V3F : constant GLenum := 16#2A26#;
GL_T2F_V3F : constant GLenum := 16#2A27#;
GL_T4F_V4F : constant GLenum := 16#2A28#;
GL_T2F_C4UB_V3F : constant GLenum := 16#2A29#;
GL_T2F_C3F_V3F : constant GLenum := 16#2A2A#;
GL_T2F_N3F_V3F : constant GLenum := 16#2A2B#;
GL_T2F_C4F_N3F_V3F : constant GLenum := 16#2A2C#;
GL_T4F_C4F_N3F_V4F : constant GLenum := 16#2A2D#;
GL_MATRIX_MODE : constant GLenum := 16#0BA0#;
GL_MODELVIEW : constant GLenum := 16#1700#;
GL_PROJECTION : constant GLenum := 16#1701#;
GL_TEXTURE : constant GLenum := 16#1702#;
GL_POINT_SMOOTH : constant GLenum := 16#0B10#;
GL_POINT_SIZE : constant GLenum := 16#0B11#;
GL_POINT_SIZE_GRANULARITY : constant GLenum := 16#0B13#;
GL_POINT_SIZE_RANGE : constant GLenum := 16#0B12#;
GL_LINE_SMOOTH : constant GLenum := 16#0B20#;
GL_LINE_STIPPLE : constant GLenum := 16#0B24#;
GL_LINE_STIPPLE_PATTERN : constant GLenum := 16#0B25#;
GL_LINE_STIPPLE_REPEAT : constant GLenum := 16#0B26#;
GL_LINE_WIDTH : constant GLenum := 16#0B21#;
GL_LINE_WIDTH_GRANULARITY : constant GLenum := 16#0B23#;
GL_LINE_WIDTH_RANGE : constant GLenum := 16#0B22#;
GL_POINT : constant GLenum := 16#1B00#;
GL_LINE : constant GLenum := 16#1B01#;
GL_FILL : constant GLenum := 16#1B02#;
GL_CW : constant GLenum := 16#0900#;
GL_CCW : constant GLenum := 16#0901#;
GL_FRONT : constant GLenum := 16#0404#;
GL_BACK : constant GLenum := 16#0405#;
GL_POLYGON_MODE : constant GLenum := 16#0B40#;
GL_POLYGON_SMOOTH : constant GLenum := 16#0B41#;
GL_POLYGON_STIPPLE : constant GLenum := 16#0B42#;
GL_EDGE_FLAG : constant GLenum := 16#0B43#;
GL_CULL_FACE : constant GLenum := 16#0B44#;
GL_CULL_FACE_MODE : constant GLenum := 16#0B45#;
GL_FRONT_FACE : constant GLenum := 16#0B46#;
GL_POLYGON_OFFSET_FACTOR : constant GLenum := 16#8038#;
GL_POLYGON_OFFSET_UNITS : constant GLenum := 16#2A00#;
GL_POLYGON_OFFSET_POINT : constant GLenum := 16#2A01#;
GL_POLYGON_OFFSET_LINE : constant GLenum := 16#2A02#;
GL_POLYGON_OFFSET_FILL : constant GLenum := 16#8037#;
GL_COMPILE : constant GLenum := 16#1300#;
GL_COMPILE_AND_EXECUTE : constant GLenum := 16#1301#;
GL_LIST_BASE : constant GLenum := 16#0B32#;
GL_LIST_INDEX : constant GLenum := 16#0B33#;
GL_LIST_MODE : constant GLenum := 16#0B30#;
GL_NEVER : constant GLenum := 16#0200#;
GL_LESS : constant GLenum := 16#0201#;
GL_EQUAL : constant GLenum := 16#0202#;
GL_LEQUAL : constant GLenum := 16#0203#;
GL_GREATER : constant GLenum := 16#0204#;
GL_NOTEQUAL : constant GLenum := 16#0205#;
GL_GEQUAL : constant GLenum := 16#0206#;
GL_ALWAYS : constant GLenum := 16#0207#;
GL_DEPTH_TEST : constant GLenum := 16#0B71#;
GL_DEPTH_BITS : constant GLenum := 16#0D56#;
GL_DEPTH_CLEAR_VALUE : constant GLenum := 16#0B73#;
GL_DEPTH_FUNC : constant GLenum := 16#0B74#;
GL_DEPTH_RANGE : constant GLenum := 16#0B70#;
GL_DEPTH_WRITEMASK : constant GLenum := 16#0B72#;
GL_DEPTH_COMPONENT : constant GLenum := 16#1902#;
GL_LIGHTING : constant GLenum := 16#0B50#;
GL_LIGHT0 : constant GLenum := 16#4000#;
GL_LIGHT1 : constant GLenum := 16#4001#;
GL_LIGHT2 : constant GLenum := 16#4002#;
GL_LIGHT3 : constant GLenum := 16#4003#;
GL_LIGHT4 : constant GLenum := 16#4004#;
GL_LIGHT5 : constant GLenum := 16#4005#;
GL_LIGHT6 : constant GLenum := 16#4006#;
GL_LIGHT7 : constant GLenum := 16#4007#;
GL_SPOT_EXPONENT : constant GLenum := 16#1205#;
GL_SPOT_CUTOFF : constant GLenum := 16#1206#;
GL_CONSTANT_ATTENUATION : constant GLenum := 16#1207#;
GL_LINEAR_ATTENUATION : constant GLenum := 16#1208#;
GL_QUADRATIC_ATTENUATION : constant GLenum := 16#1209#;
GL_AMBIENT : constant GLenum := 16#1200#;
GL_DIFFUSE : constant GLenum := 16#1201#;
GL_SPECULAR : constant GLenum := 16#1202#;
GL_SHININESS : constant GLenum := 16#1601#;
GL_EMISSION : constant GLenum := 16#1600#;
GL_POSITION : constant GLenum := 16#1203#;
GL_SPOT_DIRECTION : constant GLenum := 16#1204#;
GL_AMBIENT_AND_DIFFUSE : constant GLenum := 16#1602#;
GL_COLOR_INDEXES : constant GLenum := 16#1603#;
GL_LIGHT_MODEL_TWO_SIDE : constant GLenum := 16#0B52#;
GL_LIGHT_MODEL_LOCAL_VIEWER : constant GLenum := 16#0B51#;
GL_LIGHT_MODEL_AMBIENT : constant GLenum := 16#0B53#;
GL_FRONT_AND_BACK : constant GLenum := 16#0408#;
GL_SHADE_MODEL : constant GLenum := 16#0B54#;
GL_FLAT : constant GLenum := 16#1D00#;
GL_SMOOTH : constant GLenum := 16#1D01#;
GL_COLOR_MATERIAL : constant GLenum := 16#0B57#;
GL_COLOR_MATERIAL_FACE : constant GLenum := 16#0B55#;
GL_COLOR_MATERIAL_PARAMETER : constant GLenum := 16#0B56#;
GL_NORMALIZE : constant GLenum := 16#0BA1#;
GL_CLIP_PLANE0 : constant GLenum := 16#3000#;
GL_CLIP_PLANE1 : constant GLenum := 16#3001#;
GL_CLIP_PLANE2 : constant GLenum := 16#3002#;
GL_CLIP_PLANE3 : constant GLenum := 16#3003#;
GL_CLIP_PLANE4 : constant GLenum := 16#3004#;
GL_CLIP_PLANE5 : constant GLenum := 16#3005#;
GL_ACCUM_RED_BITS : constant GLenum := 16#0D58#;
GL_ACCUM_GREEN_BITS : constant GLenum := 16#0D59#;
GL_ACCUM_BLUE_BITS : constant GLenum := 16#0D5A#;
GL_ACCUM_ALPHA_BITS : constant GLenum := 16#0D5B#;
GL_ACCUM_CLEAR_VALUE : constant GLenum := 16#0B80#;
GL_ACCUM : constant GLenum := 16#0100#;
GL_ADD : constant GLenum := 16#0104#;
GL_LOAD : constant GLenum := 16#0101#;
GL_MULT : constant GLenum := 16#0103#;
GL_RETURN : constant GLenum := 16#0102#;
GL_ALPHA_TEST : constant GLenum := 16#0BC0#;
GL_ALPHA_TEST_REF : constant GLenum := 16#0BC2#;
GL_ALPHA_TEST_FUNC : constant GLenum := 16#0BC1#;
GL_BLEND : constant GLenum := 16#0BE2#;
GL_BLEND_SRC : constant GLenum := 16#0BE1#;
GL_BLEND_DST : constant GLenum := 16#0BE0#;
GL_ZERO : constant GLenum := 16#0#;
GL_ONE : constant GLenum := 16#1#;
GL_SRC_COLOR : constant GLenum := 16#0300#;
GL_ONE_MINUS_SRC_COLOR : constant GLenum := 16#0301#;
GL_SRC_ALPHA : constant GLenum := 16#0302#;
GL_ONE_MINUS_SRC_ALPHA : constant GLenum := 16#0303#;
GL_DST_ALPHA : constant GLenum := 16#0304#;
GL_ONE_MINUS_DST_ALPHA : constant GLenum := 16#0305#;
GL_DST_COLOR : constant GLenum := 16#0306#;
GL_ONE_MINUS_DST_COLOR : constant GLenum := 16#0307#;
GL_SRC_ALPHA_SATURATE : constant GLenum := 16#0308#;
GL_CONSTANT_COLOR : constant GLenum := 16#8001#;
GL_ONE_MINUS_CONSTANT_COLOR : constant GLenum := 16#8002#;
GL_CONSTANT_ALPHA : constant GLenum := 16#8003#;
GL_ONE_MINUS_CONSTANT_ALPHA : constant GLenum := 16#8004#;
GL_FEEDBACK : constant GLenum := 16#1C01#;
GL_RENDER : constant GLenum := 16#1C00#;
GL_SELECT : constant GLenum := 16#1C02#;
GL_2D : constant GLenum := 16#0600#;
GL_3D : constant GLenum := 16#0601#;
GL_3D_COLOR : constant GLenum := 16#0602#;
GL_3D_COLOR_TEXTURE : constant GLenum := 16#0603#;
GL_4D_COLOR_TEXTURE : constant GLenum := 16#0604#;
GL_POINT_TOKEN : constant GLenum := 16#0701#;
GL_LINE_TOKEN : constant GLenum := 16#0702#;
GL_LINE_RESET_TOKEN : constant GLenum := 16#0707#;
GL_POLYGON_TOKEN : constant GLenum := 16#0703#;
GL_BITMAP_TOKEN : constant GLenum := 16#0704#;
GL_DRAW_PIXEL_TOKEN : constant GLenum := 16#0705#;
GL_COPY_PIXEL_TOKEN : constant GLenum := 16#0706#;
GL_PASS_THROUGH_TOKEN : constant GLenum := 16#0700#;
GL_FEEDBACK_BUFFER_POINTER : constant GLenum := 16#0DF0#;
GL_FEEDBACK_BUFFER_SIZE : constant GLenum := 16#0DF1#;
GL_FEEDBACK_BUFFER_TYPE : constant GLenum := 16#0DF2#;
GL_SELECTION_BUFFER_POINTER : constant GLenum := 16#0DF3#;
GL_SELECTION_BUFFER_SIZE : constant GLenum := 16#0DF4#;
GL_FOG : constant GLenum := 16#0B60#;
GL_FOG_MODE : constant GLenum := 16#0B65#;
GL_FOG_DENSITY : constant GLenum := 16#0B62#;
GL_FOG_COLOR : constant GLenum := 16#0B66#;
GL_FOG_INDEX : constant GLenum := 16#0B61#;
GL_FOG_START : constant GLenum := 16#0B63#;
GL_FOG_END : constant GLenum := 16#0B64#;
GL_LINEAR : constant GLenum := 16#2601#;
GL_EXP : constant GLenum := 16#0800#;
GL_EXP2 : constant GLenum := 16#0801#;
GL_LOGIC_OP : constant GLenum := 16#0BF1#;
GL_INDEX_LOGIC_OP : constant GLenum := 16#0BF1#;
GL_COLOR_LOGIC_OP : constant GLenum := 16#0BF2#;
GL_LOGIC_OP_MODE : constant GLenum := 16#0BF0#;
GL_CLEAR : constant GLenum := 16#1500#;
GL_SET : constant GLenum := 16#150F#;
GL_COPY : constant GLenum := 16#1503#;
GL_COPY_INVERTED : constant GLenum := 16#150C#;
GL_NOOP : constant GLenum := 16#1505#;
GL_INVERT : constant GLenum := 16#150A#;
GL_AND : constant GLenum := 16#1501#;
GL_NAND : constant GLenum := 16#150E#;
GL_OR : constant GLenum := 16#1507#;
GL_NOR : constant GLenum := 16#1508#;
GL_XOR : constant GLenum := 16#1506#;
GL_EQUIV : constant GLenum := 16#1509#;
GL_AND_REVERSE : constant GLenum := 16#1502#;
GL_AND_INVERTED : constant GLenum := 16#1504#;
GL_OR_REVERSE : constant GLenum := 16#150B#;
GL_OR_INVERTED : constant GLenum := 16#150D#;
GL_STENCIL_TEST : constant GLenum := 16#0B90#;
GL_STENCIL_WRITEMASK : constant GLenum := 16#0B98#;
GL_STENCIL_BITS : constant GLenum := 16#0D57#;
GL_STENCIL_FUNC : constant GLenum := 16#0B92#;
GL_STENCIL_VALUE_MASK : constant GLenum := 16#0B93#;
GL_STENCIL_REF : constant GLenum := 16#0B97#;
GL_STENCIL_FAIL : constant GLenum := 16#0B94#;
GL_STENCIL_PASS_DEPTH_PASS : constant GLenum := 16#0B96#;
GL_STENCIL_PASS_DEPTH_FAIL : constant GLenum := 16#0B95#;
GL_STENCIL_CLEAR_VALUE : constant GLenum := 16#0B91#;
GL_STENCIL_INDEX : constant GLenum := 16#1901#;
GL_KEEP : constant GLenum := 16#1E00#;
GL_REPLACE : constant GLenum := 16#1E01#;
GL_INCR : constant GLenum := 16#1E02#;
GL_DECR : constant GLenum := 16#1E03#;
GL_NONE : constant GLenum := 16#0#;
GL_LEFT : constant GLenum := 16#0406#;
GL_RIGHT : constant GLenum := 16#0407#;
GL_FRONT_LEFT : constant GLenum := 16#0400#;
GL_FRONT_RIGHT : constant GLenum := 16#0401#;
GL_BACK_LEFT : constant GLenum := 16#0402#;
GL_BACK_RIGHT : constant GLenum := 16#0403#;
GL_AUX0 : constant GLenum := 16#0409#;
GL_AUX1 : constant GLenum := 16#040A#;
GL_AUX2 : constant GLenum := 16#040B#;
GL_AUX3 : constant GLenum := 16#040C#;
GL_COLOR_INDEX : constant GLenum := 16#1900#;
GL_RED : constant GLenum := 16#1903#;
GL_GREEN : constant GLenum := 16#1904#;
GL_BLUE : constant GLenum := 16#1905#;
GL_ALPHA : constant GLenum := 16#1906#;
GL_LUMINANCE : constant GLenum := 16#1909#;
GL_LUMINANCE_ALPHA : constant GLenum := 16#190A#;
GL_ALPHA_BITS : constant GLenum := 16#0D55#;
GL_RED_BITS : constant GLenum := 16#0D52#;
GL_GREEN_BITS : constant GLenum := 16#0D53#;
GL_BLUE_BITS : constant GLenum := 16#0D54#;
GL_INDEX_BITS : constant GLenum := 16#0D51#;
GL_SUBPIXEL_BITS : constant GLenum := 16#0D50#;
GL_AUX_BUFFERS : constant GLenum := 16#0C00#;
GL_READ_BUFFER : constant GLenum := 16#0C02#;
GL_DRAW_BUFFER : constant GLenum := 16#0C01#;
GL_DOUBLEBUFFER : constant GLenum := 16#0C32#;
GL_STEREO : constant GLenum := 16#0C33#;
GL_BITMAP : constant GLenum := 16#1A00#;
GL_COLOR : constant GLenum := 16#1800#;
GL_DEPTH : constant GLenum := 16#1801#;
GL_STENCIL : constant GLenum := 16#1802#;
GL_DITHER : constant GLenum := 16#0BD0#;
GL_RGB : constant GLenum := 16#1907#;
GL_RGBA : constant GLenum := 16#1908#;
GL_MAX_LIST_NESTING : constant GLenum := 16#0B31#;
GL_MAX_ATTRIB_STACK_DEPTH : constant GLenum := 16#0D35#;
GL_MAX_MODELVIEW_STACK_DEPTH : constant GLenum := 16#0D36#;
GL_MAX_NAME_STACK_DEPTH : constant GLenum := 16#0D37#;
GL_MAX_PROJECTION_STACK_DEPTH : constant GLenum := 16#0D38#;
GL_MAX_TEXTURE_STACK_DEPTH : constant GLenum := 16#0D39#;
GL_MAX_EVAL_ORDER : constant GLenum := 16#0D30#;
GL_MAX_LIGHTS : constant GLenum := 16#0D31#;
GL_MAX_CLIP_PLANES : constant GLenum := 16#0D32#;
GL_MAX_TEXTURE_SIZE : constant GLenum := 16#0D33#;
GL_MAX_PIXEL_MAP_TABLE : constant GLenum := 16#0D34#;
GL_MAX_VIEWPORT_DIMS : constant GLenum := 16#0D3A#;
GL_MAX_CLIENT_ATTRIB_STACK_DEPTH : constant GLenum := 16#0D3B#;
GL_ATTRIB_STACK_DEPTH : constant GLenum := 16#0BB0#;
GL_CLIENT_ATTRIB_STACK_DEPTH : constant GLenum := 16#0BB1#;
GL_COLOR_CLEAR_VALUE : constant GLenum := 16#0C22#;
GL_COLOR_WRITEMASK : constant GLenum := 16#0C23#;
GL_CURRENT_INDEX : constant GLenum := 16#0B01#;
GL_CURRENT_COLOR : constant GLenum := 16#0B00#;
GL_CURRENT_NORMAL : constant GLenum := 16#0B02#;
GL_CURRENT_RASTER_COLOR : constant GLenum := 16#0B04#;
GL_CURRENT_RASTER_DISTANCE : constant GLenum := 16#0B09#;
GL_CURRENT_RASTER_INDEX : constant GLenum := 16#0B05#;
GL_CURRENT_RASTER_POSITION : constant GLenum := 16#0B07#;
GL_CURRENT_RASTER_TEXTURE_COORDS : constant GLenum := 16#0B06#;
GL_CURRENT_RASTER_POSITION_VALID : constant GLenum := 16#0B08#;
GL_CURRENT_TEXTURE_COORDS : constant GLenum := 16#0B03#;
GL_INDEX_CLEAR_VALUE : constant GLenum := 16#0C20#;
GL_INDEX_MODE : constant GLenum := 16#0C30#;
GL_INDEX_WRITEMASK : constant GLenum := 16#0C21#;
GL_MODELVIEW_MATRIX : constant GLenum := 16#0BA6#;
GL_MODELVIEW_STACK_DEPTH : constant GLenum := 16#0BA3#;
GL_NAME_STACK_DEPTH : constant GLenum := 16#0D70#;
GL_PROJECTION_MATRIX : constant GLenum := 16#0BA7#;
GL_PROJECTION_STACK_DEPTH : constant GLenum := 16#0BA4#;
GL_RENDER_MODE : constant GLenum := 16#0C40#;
GL_RGBA_MODE : constant GLenum := 16#0C31#;
GL_TEXTURE_MATRIX : constant GLenum := 16#0BA8#;
GL_TEXTURE_STACK_DEPTH : constant GLenum := 16#0BA5#;
GL_VIEWPORT : constant GLenum := 16#0BA2#;
GL_AUTO_NORMAL : constant GLenum := 16#0D80#;
GL_MAP1_COLOR_4 : constant GLenum := 16#0D90#;
GL_MAP1_GRID_DOMAIN : constant GLenum := 16#0DD0#;
GL_MAP1_GRID_SEGMENTS : constant GLenum := 16#0DD1#;
GL_MAP1_INDEX : constant GLenum := 16#0D91#;
GL_MAP1_NORMAL : constant GLenum := 16#0D92#;
GL_MAP1_TEXTURE_COORD_1 : constant GLenum := 16#0D93#;
GL_MAP1_TEXTURE_COORD_2 : constant GLenum := 16#0D94#;
GL_MAP1_TEXTURE_COORD_3 : constant GLenum := 16#0D95#;
GL_MAP1_TEXTURE_COORD_4 : constant GLenum := 16#0D96#;
GL_MAP1_VERTEX_3 : constant GLenum := 16#0D97#;
GL_MAP1_VERTEX_4 : constant GLenum := 16#0D98#;
GL_MAP2_COLOR_4 : constant GLenum := 16#0DB0#;
GL_MAP2_GRID_DOMAIN : constant GLenum := 16#0DD2#;
GL_MAP2_GRID_SEGMENTS : constant GLenum := 16#0DD3#;
GL_MAP2_INDEX : constant GLenum := 16#0DB1#;
GL_MAP2_NORMAL : constant GLenum := 16#0DB2#;
GL_MAP2_TEXTURE_COORD_1 : constant GLenum := 16#0DB3#;
GL_MAP2_TEXTURE_COORD_2 : constant GLenum := 16#0DB4#;
GL_MAP2_TEXTURE_COORD_3 : constant GLenum := 16#0DB5#;
GL_MAP2_TEXTURE_COORD_4 : constant GLenum := 16#0DB6#;
GL_MAP2_VERTEX_3 : constant GLenum := 16#0DB7#;
GL_MAP2_VERTEX_4 : constant GLenum := 16#0DB8#;
GL_COEFF : constant GLenum := 16#0A00#;
GL_DOMAIN : constant GLenum := 16#0A02#;
GL_ORDER : constant GLenum := 16#0A01#;
GL_FOG_HINT : constant GLenum := 16#0C54#;
GL_LINE_SMOOTH_HINT : constant GLenum := 16#0C52#;
GL_PERSPECTIVE_CORRECTION_HINT : constant GLenum := 16#0C50#;
GL_POINT_SMOOTH_HINT : constant GLenum := 16#0C51#;
GL_POLYGON_SMOOTH_HINT : constant GLenum := 16#0C53#;
GL_DONT_CARE : constant GLenum := 16#1100#;
GL_FASTEST : constant GLenum := 16#1101#;
GL_NICEST : constant GLenum := 16#1102#;
GL_SCISSOR_TEST : constant GLenum := 16#0C11#;
GL_SCISSOR_BOX : constant GLenum := 16#0C10#;
GL_MAP_COLOR : constant GLenum := 16#0D10#;
GL_MAP_STENCIL : constant GLenum := 16#0D11#;
GL_INDEX_SHIFT : constant GLenum := 16#0D12#;
GL_INDEX_OFFSET : constant GLenum := 16#0D13#;
GL_RED_SCALE : constant GLenum := 16#0D14#;
GL_RED_BIAS : constant GLenum := 16#0D15#;
GL_GREEN_SCALE : constant GLenum := 16#0D18#;
GL_GREEN_BIAS : constant GLenum := 16#0D19#;
GL_BLUE_SCALE : constant GLenum := 16#0D1A#;
GL_BLUE_BIAS : constant GLenum := 16#0D1B#;
GL_ALPHA_SCALE : constant GLenum := 16#0D1C#;
GL_ALPHA_BIAS : constant GLenum := 16#0D1D#;
GL_DEPTH_SCALE : constant GLenum := 16#0D1E#;
GL_DEPTH_BIAS : constant GLenum := 16#0D1F#;
GL_PIXEL_MAP_S_TO_S_SIZE : constant GLenum := 16#0CB1#;
GL_PIXEL_MAP_I_TO_I_SIZE : constant GLenum := 16#0CB0#;
GL_PIXEL_MAP_I_TO_R_SIZE : constant GLenum := 16#0CB2#;
GL_PIXEL_MAP_I_TO_G_SIZE : constant GLenum := 16#0CB3#;
GL_PIXEL_MAP_I_TO_B_SIZE : constant GLenum := 16#0CB4#;
GL_PIXEL_MAP_I_TO_A_SIZE : constant GLenum := 16#0CB5#;
GL_PIXEL_MAP_R_TO_R_SIZE : constant GLenum := 16#0CB6#;
GL_PIXEL_MAP_G_TO_G_SIZE : constant GLenum := 16#0CB7#;
GL_PIXEL_MAP_B_TO_B_SIZE : constant GLenum := 16#0CB8#;
GL_PIXEL_MAP_A_TO_A_SIZE : constant GLenum := 16#0CB9#;
GL_PIXEL_MAP_S_TO_S : constant GLenum := 16#0C71#;
GL_PIXEL_MAP_I_TO_I : constant GLenum := 16#0C70#;
GL_PIXEL_MAP_I_TO_R : constant GLenum := 16#0C72#;
GL_PIXEL_MAP_I_TO_G : constant GLenum := 16#0C73#;
GL_PIXEL_MAP_I_TO_B : constant GLenum := 16#0C74#;
GL_PIXEL_MAP_I_TO_A : constant GLenum := 16#0C75#;
GL_PIXEL_MAP_R_TO_R : constant GLenum := 16#0C76#;
GL_PIXEL_MAP_G_TO_G : constant GLenum := 16#0C77#;
GL_PIXEL_MAP_B_TO_B : constant GLenum := 16#0C78#;
GL_PIXEL_MAP_A_TO_A : constant GLenum := 16#0C79#;
GL_PACK_ALIGNMENT : constant GLenum := 16#0D05#;
GL_PACK_LSB_FIRST : constant GLenum := 16#0D01#;
GL_PACK_ROW_LENGTH : constant GLenum := 16#0D02#;
GL_PACK_SKIP_PIXELS : constant GLenum := 16#0D04#;
GL_PACK_SKIP_ROWS : constant GLenum := 16#0D03#;
GL_PACK_SWAP_BYTES : constant GLenum := 16#0D00#;
GL_UNPACK_ALIGNMENT : constant GLenum := 16#0CF5#;
GL_UNPACK_LSB_FIRST : constant GLenum := 16#0CF1#;
GL_UNPACK_ROW_LENGTH : constant GLenum := 16#0CF2#;
GL_UNPACK_SKIP_PIXELS : constant GLenum := 16#0CF4#;
GL_UNPACK_SKIP_ROWS : constant GLenum := 16#0CF3#;
GL_UNPACK_SWAP_BYTES : constant GLenum := 16#0CF0#;
GL_ZOOM_X : constant GLenum := 16#0D16#;
GL_ZOOM_Y : constant GLenum := 16#0D17#;
GL_TEXTURE_ENV : constant GLenum := 16#2300#;
GL_TEXTURE_ENV_MODE : constant GLenum := 16#2200#;
GL_TEXTURE_1D : constant GLenum := 16#0DE0#;
GL_TEXTURE_2D : constant GLenum := 16#0DE1#;
GL_TEXTURE_WRAP_S : constant GLenum := 16#2802#;
GL_TEXTURE_WRAP_T : constant GLenum := 16#2803#;
GL_TEXTURE_MAG_FILTER : constant GLenum := 16#2800#;
GL_TEXTURE_MIN_FILTER : constant GLenum := 16#2801#;
GL_TEXTURE_ENV_COLOR : constant GLenum := 16#2201#;
GL_TEXTURE_GEN_S : constant GLenum := 16#0C60#;
GL_TEXTURE_GEN_T : constant GLenum := 16#0C61#;
GL_TEXTURE_GEN_MODE : constant GLenum := 16#2500#;
GL_TEXTURE_BORDER_COLOR : constant GLenum := 16#1004#;
GL_TEXTURE_WIDTH : constant GLenum := 16#1000#;
GL_TEXTURE_HEIGHT : constant GLenum := 16#1001#;
GL_TEXTURE_BORDER : constant GLenum := 16#1005#;
GL_TEXTURE_COMPONENTS : constant GLenum := 16#1003#;
GL_TEXTURE_RED_SIZE : constant GLenum := 16#805C#;
GL_TEXTURE_GREEN_SIZE : constant GLenum := 16#805D#;
GL_TEXTURE_BLUE_SIZE : constant GLenum := 16#805E#;
GL_TEXTURE_ALPHA_SIZE : constant GLenum := 16#805F#;
GL_TEXTURE_LUMINANCE_SIZE : constant GLenum := 16#8060#;
GL_TEXTURE_INTENSITY_SIZE : constant GLenum := 16#8061#;
GL_NEAREST_MIPMAP_NEAREST : constant GLenum := 16#2700#;
GL_NEAREST_MIPMAP_LINEAR : constant GLenum := 16#2702#;
GL_LINEAR_MIPMAP_NEAREST : constant GLenum := 16#2701#;
GL_LINEAR_MIPMAP_LINEAR : constant GLenum := 16#2703#;
GL_OBJECT_LINEAR : constant GLenum := 16#2401#;
GL_OBJECT_PLANE : constant GLenum := 16#2501#;
GL_EYE_LINEAR : constant GLenum := 16#2400#;
GL_EYE_PLANE : constant GLenum := 16#2502#;
GL_SPHERE_MAP : constant GLenum := 16#2402#;
GL_DECAL : constant GLenum := 16#2101#;
GL_MODULATE : constant GLenum := 16#2100#;
GL_NEAREST : constant GLenum := 16#2600#;
GL_REPEAT : constant GLenum := 16#2901#;
GL_CLAMP : constant GLenum := 16#2900#;
GL_S : constant GLenum := 16#2000#;
GL_T : constant GLenum := 16#2001#;
GL_R : constant GLenum := 16#2002#;
GL_Q : constant GLenum := 16#2003#;
GL_TEXTURE_GEN_R : constant GLenum := 16#0C62#;
GL_TEXTURE_GEN_Q : constant GLenum := 16#0C63#;
GL_VENDOR : constant GLenum := 16#1F00#;
GL_RENDERER : constant GLenum := 16#1F01#;
GL_VERSION : constant GLenum := 16#1F02#;
GL_EXTENSIONS : constant GLenum := 16#1F03#;
GL_NO_ERROR : constant GLenum := 16#0#;
GL_INVALID_VALUE : constant GLenum := 16#0501#;
GL_INVALID_ENUM : constant GLenum := 16#0500#;
GL_INVALID_OPERATION : constant GLenum := 16#0502#;
GL_STACK_OVERFLOW : constant GLenum := 16#0503#;
GL_STACK_UNDERFLOW : constant GLenum := 16#0504#;
GL_OUT_OF_MEMORY : constant GLenum := 16#0505#;
GL_CURRENT_BIT : constant GLenum := 16#00000001#;
GL_POINT_BIT : constant GLenum := 16#00000002#;
GL_LINE_BIT : constant GLenum := 16#00000004#;
GL_POLYGON_BIT : constant GLenum := 16#00000008#;
GL_POLYGON_STIPPLE_BIT : constant GLenum := 16#00000010#;
GL_PIXEL_MODE_BIT : constant GLenum := 16#00000020#;
GL_LIGHTING_BIT : constant GLenum := 16#00000040#;
GL_FOG_BIT : constant GLenum := 16#00000080#;
GL_DEPTH_BUFFER_BIT : constant GLenum := 16#00000100#;
GL_ACCUM_BUFFER_BIT : constant GLenum := 16#00000200#;
GL_STENCIL_BUFFER_BIT : constant GLenum := 16#00000400#;
GL_VIEWPORT_BIT : constant GLenum := 16#00000800#;
GL_TRANSFORM_BIT : constant GLenum := 16#00001000#;
GL_ENABLE_BIT : constant GLenum := 16#00002000#;
GL_COLOR_BUFFER_BIT : constant GLenum := 16#00004000#;
GL_HINT_BIT : constant GLenum := 16#00008000#;
GL_EVAL_BIT : constant GLenum := 16#00010000#;
GL_LIST_BIT : constant GLenum := 16#00020000#;
GL_TEXTURE_BIT : constant GLenum := 16#00040000#;
GL_SCISSOR_BIT : constant GLenum := 16#00080000#;
GL_ALL_ATTRIB_BITS : constant GLenum := 16#000FFFFF#;
GL_PROXY_TEXTURE_1D : constant GLenum := 16#8063#;
GL_PROXY_TEXTURE_2D : constant GLenum := 16#8064#;
GL_TEXTURE_PRIORITY : constant GLenum := 16#8066#;
GL_TEXTURE_RESIDENT : constant GLenum := 16#8067#;
GL_TEXTURE_BINDING_1D : constant GLenum := 16#8068#;
GL_TEXTURE_BINDING_2D : constant GLenum := 16#8069#;
GL_TEXTURE_INTERNAL_FORMAT : constant GLenum := 16#1003#;
GL_ALPHA4 : constant GLenum := 16#803B#;
GL_ALPHA8 : constant GLenum := 16#803C#;
GL_ALPHA12 : constant GLenum := 16#803D#;
GL_ALPHA16 : constant GLenum := 16#803E#;
GL_LUMINANCE4 : constant GLenum := 16#803F#;
GL_LUMINANCE8 : constant GLenum := 16#8040#;
GL_LUMINANCE12 : constant GLenum := 16#8041#;
GL_LUMINANCE16 : constant GLenum := 16#8042#;
GL_LUMINANCE4_ALPHA4 : constant GLenum := 16#8043#;
GL_LUMINANCE6_ALPHA2 : constant GLenum := 16#8044#;
GL_LUMINANCE8_ALPHA8 : constant GLenum := 16#8045#;
GL_LUMINANCE12_ALPHA4 : constant GLenum := 16#8046#;
GL_LUMINANCE12_ALPHA12 : constant GLenum := 16#8047#;
GL_LUMINANCE16_ALPHA16 : constant GLenum := 16#8048#;
GL_INTENSITY : constant GLenum := 16#8049#;
GL_INTENSITY4 : constant GLenum := 16#804A#;
GL_INTENSITY8 : constant GLenum := 16#804B#;
GL_INTENSITY12 : constant GLenum := 16#804C#;
GL_INTENSITY16 : constant GLenum := 16#804D#;
GL_R3_G3_B2 : constant GLenum := 16#2A10#;
GL_RGB4 : constant GLenum := 16#804F#;
GL_RGB5 : constant GLenum := 16#8050#;
GL_RGB8 : constant GLenum := 16#8051#;
GL_RGB10 : constant GLenum := 16#8052#;
GL_RGB12 : constant GLenum := 16#8053#;
GL_RGB16 : constant GLenum := 16#8054#;
GL_RGBA2 : constant GLenum := 16#8055#;
GL_RGBA4 : constant GLenum := 16#8056#;
GL_RGB5_A1 : constant GLenum := 16#8057#;
GL_RGBA8 : constant GLenum := 16#8058#;
GL_RGB10_A2 : constant GLenum := 16#8059#;
GL_RGBA12 : constant GLenum := 16#805A#;
GL_RGBA16 : constant GLenum := 16#805B#;
GL_CLIENT_PIXEL_STORE_BIT : constant GLenum := 16#00000001#;
GL_CLIENT_VERTEX_ARRAY_BIT : constant GLenum := 16#00000002#;
GL_ALL_CLIENT_ATTRIB_BITS : constant GLenum := 16#FFFFFFFF#;
GL_CLIENT_ALL_ATTRIB_BITS : constant GLenum := 16#FFFFFFFF#;
GL_RESCALE_NORMAL : constant GLenum := 16#803A#;
GL_CLAMP_TO_EDGE : constant GLenum := 16#812F#;
GL_MAX_ELEMENTS_VERTICES : constant GLenum := 16#80E8#;
GL_MAX_ELEMENTS_INDICES : constant GLenum := 16#80E9#;
GL_BGR : constant GLenum := 16#80E0#;
GL_BGRA : constant GLenum := 16#80E1#;
GL_UNSIGNED_BYTE_3_3_2 : constant GLenum := 16#8032#;
GL_UNSIGNED_BYTE_2_3_3_REV : constant GLenum := 16#8362#;
GL_UNSIGNED_SHORT_5_6_5 : constant GLenum := 16#8363#;
GL_UNSIGNED_SHORT_5_6_5_REV : constant GLenum := 16#8364#;
GL_UNSIGNED_SHORT_4_4_4_4 : constant GLenum := 16#8033#;
GL_UNSIGNED_SHORT_4_4_4_4_REV : constant GLenum := 16#8365#;
GL_UNSIGNED_SHORT_5_5_5_1 : constant GLenum := 16#8034#;
GL_UNSIGNED_SHORT_1_5_5_5_REV : constant GLenum := 16#8366#;
GL_UNSIGNED_INT_8_8_8_8 : constant GLenum := 16#8035#;
GL_UNSIGNED_INT_8_8_8_8_REV : constant GLenum := 16#8367#;
GL_UNSIGNED_INT_10_10_10_2 : constant GLenum := 16#8036#;
GL_UNSIGNED_INT_2_10_10_10_REV : constant GLenum := 16#8368#;
GL_LIGHT_MODEL_COLOR_CONTROL : constant GLenum := 16#81F8#;
GL_SINGLE_COLOR : constant GLenum := 16#81F9#;
GL_SEPARATE_SPECULAR_COLOR : constant GLenum := 16#81FA#;
GL_TEXTURE_MIN_LOD : constant GLenum := 16#813A#;
GL_TEXTURE_MAX_LOD : constant GLenum := 16#813B#;
GL_TEXTURE_BASE_LEVEL : constant GLenum := 16#813C#;
GL_TEXTURE_MAX_LEVEL : constant GLenum := 16#813D#;
GL_SMOOTH_POINT_SIZE_RANGE : constant GLenum := 16#0B12#;
GL_SMOOTH_POINT_SIZE_GRANULARITY : constant GLenum := 16#0B13#;
GL_SMOOTH_LINE_WIDTH_RANGE : constant GLenum := 16#0B22#;
GL_SMOOTH_LINE_WIDTH_GRANULARITY : constant GLenum := 16#0B23#;
GL_ALIASED_POINT_SIZE_RANGE : constant GLenum := 16#846D#;
GL_ALIASED_LINE_WIDTH_RANGE : constant GLenum := 16#846E#;
GL_PACK_SKIP_IMAGES : constant GLenum := 16#806B#;
GL_PACK_IMAGE_HEIGHT : constant GLenum := 16#806C#;
GL_UNPACK_SKIP_IMAGES : constant GLenum := 16#806D#;
GL_UNPACK_IMAGE_HEIGHT : constant GLenum := 16#806E#;
GL_TEXTURE_3D : constant GLenum := 16#806F#;
GL_PROXY_TEXTURE_3D : constant GLenum := 16#8070#;
GL_TEXTURE_DEPTH : constant GLenum := 16#8071#;
GL_TEXTURE_WRAP_R : constant GLenum := 16#8072#;
GL_MAX_3D_TEXTURE_SIZE : constant GLenum := 16#8073#;
GL_TEXTURE_BINDING_3D : constant GLenum := 16#806A#;
GL_COLOR_TABLE : constant GLenum := 16#80D0#;
GL_POST_CONVOLUTION_COLOR_TABLE : constant GLenum := 16#80D1#;
GL_POST_COLOR_MATRIX_COLOR_TABLE : constant GLenum := 16#80D2#;
GL_PROXY_COLOR_TABLE : constant GLenum := 16#80D3#;
GL_PROXY_POST_CONVOLUTION_COLOR_TABLE : constant GLenum := 16#80D4#;
GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE : constant GLenum := 16#80D5#;
GL_COLOR_TABLE_SCALE : constant GLenum := 16#80D6#;
GL_COLOR_TABLE_BIAS : constant GLenum := 16#80D7#;
GL_COLOR_TABLE_FORMAT : constant GLenum := 16#80D8#;
GL_COLOR_TABLE_WIDTH : constant GLenum := 16#80D9#;
GL_COLOR_TABLE_RED_SIZE : constant GLenum := 16#80DA#;
GL_COLOR_TABLE_GREEN_SIZE : constant GLenum := 16#80DB#;
GL_COLOR_TABLE_BLUE_SIZE : constant GLenum := 16#80DC#;
GL_COLOR_TABLE_ALPHA_SIZE : constant GLenum := 16#80DD#;
GL_COLOR_TABLE_LUMINANCE_SIZE : constant GLenum := 16#80DE#;
GL_COLOR_TABLE_INTENSITY_SIZE : constant GLenum := 16#80DF#;
GL_CONVOLUTION_1D : constant GLenum := 16#8010#;
GL_CONVOLUTION_2D : constant GLenum := 16#8011#;
GL_SEPARABLE_2D : constant GLenum := 16#8012#;
GL_CONVOLUTION_BORDER_MODE : constant GLenum := 16#8013#;
GL_CONVOLUTION_FILTER_SCALE : constant GLenum := 16#8014#;
GL_CONVOLUTION_FILTER_BIAS : constant GLenum := 16#8015#;
GL_REDUCE : constant GLenum := 16#8016#;
GL_CONVOLUTION_FORMAT : constant GLenum := 16#8017#;
GL_CONVOLUTION_WIDTH : constant GLenum := 16#8018#;
GL_CONVOLUTION_HEIGHT : constant GLenum := 16#8019#;
GL_MAX_CONVOLUTION_WIDTH : constant GLenum := 16#801A#;
GL_MAX_CONVOLUTION_HEIGHT : constant GLenum := 16#801B#;
GL_POST_CONVOLUTION_RED_SCALE : constant GLenum := 16#801C#;
GL_POST_CONVOLUTION_GREEN_SCALE : constant GLenum := 16#801D#;
GL_POST_CONVOLUTION_BLUE_SCALE : constant GLenum := 16#801E#;
GL_POST_CONVOLUTION_ALPHA_SCALE : constant GLenum := 16#801F#;
GL_POST_CONVOLUTION_RED_BIAS : constant GLenum := 16#8020#;
GL_POST_CONVOLUTION_GREEN_BIAS : constant GLenum := 16#8021#;
GL_POST_CONVOLUTION_BLUE_BIAS : constant GLenum := 16#8022#;
GL_POST_CONVOLUTION_ALPHA_BIAS : constant GLenum := 16#8023#;
GL_CONSTANT_BORDER : constant GLenum := 16#8151#;
GL_REPLICATE_BORDER : constant GLenum := 16#8153#;
GL_CONVOLUTION_BORDER_COLOR : constant GLenum := 16#8154#;
GL_COLOR_MATRIX : constant GLenum := 16#80B1#;
GL_COLOR_MATRIX_STACK_DEPTH : constant GLenum := 16#80B2#;
GL_MAX_COLOR_MATRIX_STACK_DEPTH : constant GLenum := 16#80B3#;
GL_POST_COLOR_MATRIX_RED_SCALE : constant GLenum := 16#80B4#;
GL_POST_COLOR_MATRIX_GREEN_SCALE : constant GLenum := 16#80B5#;
GL_POST_COLOR_MATRIX_BLUE_SCALE : constant GLenum := 16#80B6#;
GL_POST_COLOR_MATRIX_ALPHA_SCALE : constant GLenum := 16#80B7#;
GL_POST_COLOR_MATRIX_RED_BIAS : constant GLenum := 16#80B8#;
GL_POST_COLOR_MATRIX_GREEN_BIAS : constant GLenum := 16#80B9#;
GL_POST_COLOR_MATRIX_BLUE_BIAS : constant GLenum := 16#80BA#;
GL_POST_COLOR_MATRIX_ALPHA_BIAS : constant GLenum := 16#80BB#;
GL_HISTOGRAM : constant GLenum := 16#8024#;
GL_PROXY_HISTOGRAM : constant GLenum := 16#8025#;
GL_HISTOGRAM_WIDTH : constant GLenum := 16#8026#;
GL_HISTOGRAM_FORMAT : constant GLenum := 16#8027#;
GL_HISTOGRAM_RED_SIZE : constant GLenum := 16#8028#;
GL_HISTOGRAM_GREEN_SIZE : constant GLenum := 16#8029#;
GL_HISTOGRAM_BLUE_SIZE : constant GLenum := 16#802A#;
GL_HISTOGRAM_ALPHA_SIZE : constant GLenum := 16#802B#;
GL_HISTOGRAM_LUMINANCE_SIZE : constant GLenum := 16#802C#;
GL_HISTOGRAM_SINK : constant GLenum := 16#802D#;
GL_MINMAX : constant GLenum := 16#802E#;
GL_MINMAX_FORMAT : constant GLenum := 16#802F#;
GL_MINMAX_SINK : constant GLenum := 16#8030#;
GL_TABLE_TOO_LARGE : constant GLenum := 16#8031#;
GL_BLEND_EQUATION : constant GLenum := 16#8009#;
GL_MIN : constant GLenum := 16#8007#;
GL_MAX : constant GLenum := 16#8008#;
GL_FUNC_ADD : constant GLenum := 16#8006#;
GL_FUNC_SUBTRACT : constant GLenum := 16#800A#;
GL_FUNC_REVERSE_SUBTRACT : constant GLenum := 16#800B#;
GL_BLEND_COLOR : constant GLenum := 16#8005#;
GL_TEXTURE0 : constant GLenum := 16#84C0#;
GL_TEXTURE1 : constant GLenum := 16#84C1#;
GL_TEXTURE2 : constant GLenum := 16#84C2#;
GL_TEXTURE3 : constant GLenum := 16#84C3#;
GL_TEXTURE4 : constant GLenum := 16#84C4#;
GL_TEXTURE5 : constant GLenum := 16#84C5#;
GL_TEXTURE6 : constant GLenum := 16#84C6#;
GL_TEXTURE7 : constant GLenum := 16#84C7#;
GL_TEXTURE8 : constant GLenum := 16#84C8#;
GL_TEXTURE9 : constant GLenum := 16#84C9#;
GL_TEXTURE10 : constant GLenum := 16#84CA#;
GL_TEXTURE11 : constant GLenum := 16#84CB#;
GL_TEXTURE12 : constant GLenum := 16#84CC#;
GL_TEXTURE13 : constant GLenum := 16#84CD#;
GL_TEXTURE14 : constant GLenum := 16#84CE#;
GL_TEXTURE15 : constant GLenum := 16#84CF#;
GL_TEXTURE16 : constant GLenum := 16#84D0#;
GL_TEXTURE17 : constant GLenum := 16#84D1#;
GL_TEXTURE18 : constant GLenum := 16#84D2#;
GL_TEXTURE19 : constant GLenum := 16#84D3#;
GL_TEXTURE20 : constant GLenum := 16#84D4#;
GL_TEXTURE21 : constant GLenum := 16#84D5#;
GL_TEXTURE22 : constant GLenum := 16#84D6#;
GL_TEXTURE23 : constant GLenum := 16#84D7#;
GL_TEXTURE24 : constant GLenum := 16#84D8#;
GL_TEXTURE25 : constant GLenum := 16#84D9#;
GL_TEXTURE26 : constant GLenum := 16#84DA#;
GL_TEXTURE27 : constant GLenum := 16#84DB#;
GL_TEXTURE28 : constant GLenum := 16#84DC#;
GL_TEXTURE29 : constant GLenum := 16#84DD#;
GL_TEXTURE30 : constant GLenum := 16#84DE#;
GL_TEXTURE31 : constant GLenum := 16#84DF#;
GL_ACTIVE_TEXTURE : constant GLenum := 16#84E0#;
GL_CLIENT_ACTIVE_TEXTURE : constant GLenum := 16#84E1#;
GL_MAX_TEXTURE_UNITS : constant GLenum := 16#84E2#;
GL_NORMAL_MAP : constant GLenum := 16#8511#;
GL_REFLECTION_MAP : constant GLenum := 16#8512#;
GL_TEXTURE_CUBE_MAP : constant GLenum := 16#8513#;
GL_TEXTURE_BINDING_CUBE_MAP : constant GLenum := 16#8514#;
GL_TEXTURE_CUBE_MAP_POSITIVE_X : constant GLenum := 16#8515#;
GL_TEXTURE_CUBE_MAP_NEGATIVE_X : constant GLenum := 16#8516#;
GL_TEXTURE_CUBE_MAP_POSITIVE_Y : constant GLenum := 16#8517#;
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y : constant GLenum := 16#8518#;
GL_TEXTURE_CUBE_MAP_POSITIVE_Z : constant GLenum := 16#8519#;
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z : constant GLenum := 16#851A#;
GL_PROXY_TEXTURE_CUBE_MAP : constant GLenum := 16#851B#;
GL_MAX_CUBE_MAP_TEXTURE_SIZE : constant GLenum := 16#851C#;
GL_COMPRESSED_ALPHA : constant GLenum := 16#84E9#;
GL_COMPRESSED_LUMINANCE : constant GLenum := 16#84EA#;
GL_COMPRESSED_LUMINANCE_ALPHA : constant GLenum := 16#84EB#;
GL_COMPRESSED_INTENSITY : constant GLenum := 16#84EC#;
GL_COMPRESSED_RGB : constant GLenum := 16#84ED#;
GL_COMPRESSED_RGBA : constant GLenum := 16#84EE#;
GL_TEXTURE_COMPRESSION_HINT : constant GLenum := 16#84EF#;
GL_TEXTURE_COMPRESSED_IMAGE_SIZE : constant GLenum := 16#86A0#;
GL_TEXTURE_COMPRESSED : constant GLenum := 16#86A1#;
GL_NUM_COMPRESSED_TEXTURE_FORMATS : constant GLenum := 16#86A2#;
GL_COMPRESSED_TEXTURE_FORMATS : constant GLenum := 16#86A3#;
GL_MULTISAMPLE : constant GLenum := 16#809D#;
GL_SAMPLE_ALPHA_TO_COVERAGE : constant GLenum := 16#809E#;
GL_SAMPLE_ALPHA_TO_ONE : constant GLenum := 16#809F#;
GL_SAMPLE_COVERAGE : constant GLenum := 16#80A0#;
GL_SAMPLE_BUFFERS : constant GLenum := 16#80A8#;
GL_SAMPLES : constant GLenum := 16#80A9#;
GL_SAMPLE_COVERAGE_VALUE : constant GLenum := 16#80AA#;
GL_SAMPLE_COVERAGE_INVERT : constant GLenum := 16#80AB#;
GL_MULTISAMPLE_BIT : constant GLenum := 16#20000000#;
GL_TRANSPOSE_MODELVIEW_MATRIX : constant GLenum := 16#84E3#;
GL_TRANSPOSE_PROJECTION_MATRIX : constant GLenum := 16#84E4#;
GL_TRANSPOSE_TEXTURE_MATRIX : constant GLenum := 16#84E5#;
GL_TRANSPOSE_COLOR_MATRIX : constant GLenum := 16#84E6#;
GL_COMBINE : constant GLenum := 16#8570#;
GL_COMBINE_RGB : constant GLenum := 16#8571#;
GL_COMBINE_ALPHA : constant GLenum := 16#8572#;
GL_SOURCE0_RGB : constant GLenum := 16#8580#;
GL_SOURCE1_RGB : constant GLenum := 16#8581#;
GL_SOURCE2_RGB : constant GLenum := 16#8582#;
GL_SOURCE0_ALPHA : constant GLenum := 16#8588#;
GL_SOURCE1_ALPHA : constant GLenum := 16#8589#;
GL_SOURCE2_ALPHA : constant GLenum := 16#858A#;
GL_OPERAND0_RGB : constant GLenum := 16#8590#;
GL_OPERAND1_RGB : constant GLenum := 16#8591#;
GL_OPERAND2_RGB : constant GLenum := 16#8592#;
GL_OPERAND0_ALPHA : constant GLenum := 16#8598#;
GL_OPERAND1_ALPHA : constant GLenum := 16#8599#;
GL_OPERAND2_ALPHA : constant GLenum := 16#859A#;
GL_RGB_SCALE : constant GLenum := 16#8573#;
GL_ADD_SIGNED : constant GLenum := 16#8574#;
GL_INTERPOLATE : constant GLenum := 16#8575#;
GL_SUBTRACT : constant GLenum := 16#84E7#;
GL_CONSTANT : constant GLenum := 16#8576#;
GL_PRIMARY_COLOR : constant GLenum := 16#8577#;
GL_PREVIOUS : constant GLenum := 16#8578#;
GL_DOT3_RGB : constant GLenum := 16#86AE#;
GL_DOT3_RGBA : constant GLenum := 16#86AF#;
GL_CLAMP_TO_BORDER : constant GLenum := 16#812D#;
-- ////////////////////////////////////////////////////////////
-- // GL functions
-- ////////////////////////////////////////////////////////////
procedure glClearIndex (c : GLfloat);
procedure glClearColor
(red : GLclampf;
green : GLclampf;
blue : GLclampf;
alpha : GLclampf);
procedure glClear (mask : GLbitfield);
procedure glIndexMask (mask : GLuint);
procedure glColorMask
(red : GLboolean;
green : GLboolean;
blue : GLboolean;
alpha : GLboolean);
procedure glAlphaFunc (func : GLenum; ref : GLclampf);
procedure glBlendFunc (sfactor : GLenum; dfactor : GLenum);
procedure glLogicOp (opcode : GLenum);
procedure glCullFace (mode : GLenum);
procedure glFrontFace (mode : GLenum);
procedure glPointSize (size : GLfloat);
procedure glLineWidth (width : GLfloat);
procedure glLineStipple (factor : GLint; pattern : GLushort);
procedure glPolygonMode (face : GLenum; mode : GLenum);
procedure glPolygonOffset (factor : GLfloat; units : GLfloat);
procedure glPolygonStipple (mask : access GLubyte);
procedure glGetPolygonStipple (mask : access GLubyte);
procedure glEdgeFlag (flag : GLboolean);
procedure glEdgeFlagv (flag : access GLboolean);
procedure glScissor
(x : GLint;
y : GLint;
width : GLsizei;
height : GLsizei);
procedure glClipPlane (plane : GLenum; equation : access GLdouble);
procedure glGetClipPlane (plane : GLenum; equation : access GLdouble);
procedure glDrawBuffer (mode : GLenum);
procedure glReadBuffer (mode : GLenum);
procedure glEnable (cap : GLenum);
procedure glDisable (cap : GLenum);
function glIsEnabled (cap : GLenum) return GLboolean;
procedure glEnableClientState (cap : GLenum);
procedure glDisableClientState (cap : GLenum);
procedure glGetBooleanv (pname : GLenum; params : access GLboolean);
procedure glGetDoublev (pname : GLenum; params : access GLdouble);
procedure glGetFloatv (pname : GLenum; params : access GLfloat);
procedure glGetIntegerv (pname : GLenum; params : access GLint);
procedure glPushAttrib (mask : GLbitfield);
procedure glPopAttrib;
procedure glPushClientAttrib (mask : GLbitfield);
procedure glPopClientAttrib;
function glRenderMode (mode : GLenum) return GLint;
function glGetError return GLenum;
function glGetString (name : GLenum) return GLubyte_Ptr;
procedure glFinish;
procedure glFlush;
procedure glHint (target : GLenum; mode : GLenum);
procedure glClearDepth (depth : GLclampd);
procedure glDepthFunc (func : GLenum);
procedure glDepthMask (flag : GLboolean);
procedure glDepthRange (near_val : GLclampd; far_val : GLclampd);
procedure glClearAccum
(red : GLfloat;
green : GLfloat;
blue : GLfloat;
alpha : GLfloat);
procedure glAccum (op : GLenum; value : GLfloat);
procedure glMatrixMode (mode : GLenum);
procedure glOrtho
(left : GLdouble;
right : GLdouble;
bottom : GLdouble;
top : GLdouble;
near_val : GLdouble;
far_val : GLdouble);
procedure glFrustum
(left : GLdouble;
right : GLdouble;
bottom : GLdouble;
top : GLdouble;
near_val : GLdouble;
far_val : GLdouble);
procedure glViewport
(x : GLint;
y : GLint;
width : GLsizei;
height : GLsizei);
procedure glPushMatrix;
procedure glPopMatrix;
procedure glLoadIdentity;
procedure glLoadMatrixd (m : access GLdouble);
procedure glLoadMatrixf (m : access GLfloat);
procedure glMultMatrixd (m : access GLdouble);
procedure glMultMatrixf (m : access GLfloat);
procedure glRotated
(angle : GLdouble;
x : GLdouble;
y : GLdouble;
z : GLdouble);
procedure glRotatef
(angle : GLfloat;
x : GLfloat;
y : GLfloat;
z : GLfloat);
procedure glScaled (x : GLdouble; y : GLdouble; z : GLdouble);
procedure glScalef (x : GLfloat; y : GLfloat; z : GLfloat);
procedure glTranslated (x : GLdouble; y : GLdouble; z : GLdouble);
procedure glTranslatef (x : GLfloat; y : GLfloat; z : GLfloat);
function glIsList (list : GLuint) return GLboolean;
procedure glDeleteLists (list : GLuint; c_range : GLsizei);
function glGenLists (c_range : GLsizei) return GLuint;
procedure glNewList (list : GLuint; mode : GLenum);
procedure glEndList;
procedure glCallList (list : GLuint);
procedure glCallLists (n : GLsizei; c_type : GLenum; lists : GLvoid_Ptr);
procedure glListBase (base : GLuint);
procedure glBegin (mode : GLenum);
procedure glEnd;
procedure glVertex2d (x : GLdouble; y : GLdouble);
procedure glVertex2f (x : GLfloat; y : GLfloat);
procedure glVertex2i (x : GLint; y : GLint);
procedure glVertex2s (x : GLshort; y : GLshort);
procedure glVertex3d (x : GLdouble; y : GLdouble; z : GLdouble);
procedure glVertex3f (x : GLfloat; y : GLfloat; z : GLfloat);
procedure glVertex3i (x : GLint; y : GLint; z : GLint);
procedure glVertex3s (x : GLshort; y : GLshort; z : GLshort);
procedure glVertex4d
(x : GLdouble;
y : GLdouble;
z : GLdouble;
w : GLdouble);
procedure glVertex4f
(x : GLfloat;
y : GLfloat;
z : GLfloat;
w : GLfloat);
procedure glVertex4i
(x : GLint;
y : GLint;
z : GLint;
w : GLint);
procedure glVertex4s
(x : GLshort;
y : GLshort;
z : GLshort;
w : GLshort);
procedure glVertex2dv (v : access GLdouble);
procedure glVertex2fv (v : access GLfloat);
procedure glVertex2iv (v : access GLint);
procedure glVertex2sv (v : access GLshort);
procedure glVertex3dv (v : access GLdouble);
procedure glVertex3fv (v : access GLfloat);
procedure glVertex3iv (v : access GLint);
procedure glVertex3sv (v : access GLshort);
procedure glVertex4dv (v : access GLdouble);
procedure glVertex4fv (v : access GLfloat);
procedure glVertex4iv (v : access GLint);
procedure glVertex4sv (v : access GLshort);
procedure glNormal3b (nx : GLbyte; ny : GLbyte; nz : GLbyte);
procedure glNormal3d (nx : GLdouble; ny : GLdouble; nz : GLdouble);
procedure glNormal3f (nx : GLfloat; ny : GLfloat; nz : GLfloat);
procedure glNormal3i (nx : GLint; ny : GLint; nz : GLint);
procedure glNormal3s (nx : GLshort; ny : GLshort; nz : GLshort);
procedure glNormal3bv (v : access GLbyte);
procedure glNormal3dv (v : access GLdouble);
procedure glNormal3fv (v : access GLfloat);
procedure glNormal3iv (v : access GLint);
procedure glNormal3sv (v : access GLshort);
procedure glIndexd (c : GLdouble);
procedure glIndexf (c : GLfloat);
procedure glIndexi (c : GLint);
procedure glIndexs (c : GLshort);
procedure glIndexub (c : GLubyte);
procedure glIndexdv (c : access GLdouble);
procedure glIndexfv (c : access GLfloat);
procedure glIndexiv (c : access GLint);
procedure glIndexsv (c : access GLshort);
procedure glIndexubv (c : access GLubyte);
procedure glColor3b (red : GLbyte; green : GLbyte; blue : GLbyte);
procedure glColor3d (red : GLdouble; green : GLdouble; blue : GLdouble);
procedure glColor3f (red : GLfloat; green : GLfloat; blue : GLfloat);
procedure glColor3i (red : GLint; green : GLint; blue : GLint);
procedure glColor3s (red : GLshort; green : GLshort; blue : GLshort);
procedure glColor3ub (red : GLubyte; green : GLubyte; blue : GLubyte);
procedure glColor3ui (red : GLuint; green : GLuint; blue : GLuint);
procedure glColor3us (red : GLushort; green : GLushort; blue : GLushort);
procedure glColor4b
(red : GLbyte;
green : GLbyte;
blue : GLbyte;
alpha : GLbyte);
procedure glColor4d
(red : GLdouble;
green : GLdouble;
blue : GLdouble;
alpha : GLdouble);
procedure glColor4f
(red : GLfloat;
green : GLfloat;
blue : GLfloat;
alpha : GLfloat);
procedure glColor4i
(red : GLint;
green : GLint;
blue : GLint;
alpha : GLint);
procedure glColor4s
(red : GLshort;
green : GLshort;
blue : GLshort;
alpha : GLshort);
procedure glColor4ub
(red : GLubyte;
green : GLubyte;
blue : GLubyte;
alpha : GLubyte);
procedure glColor4ui
(red : GLuint;
green : GLuint;
blue : GLuint;
alpha : GLuint);
procedure glColor4us
(red : GLushort;
green : GLushort;
blue : GLushort;
alpha : GLushort);
procedure glColor3bv (v : access GLbyte);
procedure glColor3dv (v : access GLdouble);
procedure glColor3fv (v : access GLfloat);
procedure glColor3iv (v : access GLint);
procedure glColor3sv (v : access GLshort);
procedure glColor3ubv (v : access GLubyte);
procedure glColor3uiv (v : access GLuint);
procedure glColor3usv (v : access GLushort);
procedure glColor4bv (v : access GLbyte);
procedure glColor4dv (v : access GLdouble);
procedure glColor4fv (v : access GLfloat);
procedure glColor4iv (v : access GLint);
procedure glColor4sv (v : access GLshort);
procedure glColor4ubv (v : access GLubyte);
procedure glColor4uiv (v : access GLuint);
procedure glColor4usv (v : access GLushort);
procedure glTexCoord1d (s : GLdouble);
procedure glTexCoord1f (s : GLfloat);
procedure glTexCoord1i (s : GLint);
procedure glTexCoord1s (s : GLshort);
procedure glTexCoord2d (s : GLdouble; t : GLdouble);
procedure glTexCoord2f (s : GLfloat; t : GLfloat);
procedure glTexCoord2i (s : GLint; t : GLint);
procedure glTexCoord2s (s : GLshort; t : GLshort);
procedure glTexCoord3d (s : GLdouble; t : GLdouble; r : GLdouble);
procedure glTexCoord3f (s : GLfloat; t : GLfloat; r : GLfloat);
procedure glTexCoord3i (s : GLint; t : GLint; r : GLint);
procedure glTexCoord3s (s : GLshort; t : GLshort; r : GLshort);
procedure glTexCoord4d
(s : GLdouble;
t : GLdouble;
r : GLdouble;
q : GLdouble);
procedure glTexCoord4f
(s : GLfloat;
t : GLfloat;
r : GLfloat;
q : GLfloat);
procedure glTexCoord4i
(s : GLint;
t : GLint;
r : GLint;
q : GLint);
procedure glTexCoord4s
(s : GLshort;
t : GLshort;
r : GLshort;
q : GLshort);
procedure glTexCoord1dv (v : access GLdouble);
procedure glTexCoord1fv (v : access GLfloat);
procedure glTexCoord1iv (v : access GLint);
procedure glTexCoord1sv (v : access GLshort);
procedure glTexCoord2dv (v : access GLdouble);
procedure glTexCoord2fv (v : access GLfloat);
procedure glTexCoord2iv (v : access GLint);
procedure glTexCoord2sv (v : access GLshort);
procedure glTexCoord3dv (v : access GLdouble);
procedure glTexCoord3fv (v : access GLfloat);
procedure glTexCoord3iv (v : access GLint);
procedure glTexCoord3sv (v : access GLshort);
procedure glTexCoord4dv (v : access GLdouble);
procedure glTexCoord4fv (v : access GLfloat);
procedure glTexCoord4iv (v : access GLint);
procedure glTexCoord4sv (v : access GLshort);
procedure glRasterPos2d (x : GLdouble; y : GLdouble);
procedure glRasterPos2f (x : GLfloat; y : GLfloat);
procedure glRasterPos2i (x : GLint; y : GLint);
procedure glRasterPos2s (x : GLshort; y : GLshort);
procedure glRasterPos3d (x : GLdouble; y : GLdouble; z : GLdouble);
procedure glRasterPos3f (x : GLfloat; y : GLfloat; z : GLfloat);
procedure glRasterPos3i (x : GLint; y : GLint; z : GLint);
procedure glRasterPos3s (x : GLshort; y : GLshort; z : GLshort);
procedure glRasterPos4d
(x : GLdouble;
y : GLdouble;
z : GLdouble;
w : GLdouble);
procedure glRasterPos4f
(x : GLfloat;
y : GLfloat;
z : GLfloat;
w : GLfloat);
procedure glRasterPos4i
(x : GLint;
y : GLint;
z : GLint;
w : GLint);
procedure glRasterPos4s
(x : GLshort;
y : GLshort;
z : GLshort;
w : GLshort);
procedure glRasterPos2dv (v : access GLdouble);
procedure glRasterPos2fv (v : access GLfloat);
procedure glRasterPos2iv (v : access GLint);
procedure glRasterPos2sv (v : access GLshort);
procedure glRasterPos3dv (v : access GLdouble);
procedure glRasterPos3fv (v : access GLfloat);
procedure glRasterPos3iv (v : access GLint);
procedure glRasterPos3sv (v : access GLshort);
procedure glRasterPos4dv (v : access GLdouble);
procedure glRasterPos4fv (v : access GLfloat);
procedure glRasterPos4iv (v : access GLint);
procedure glRasterPos4sv (v : access GLshort);
procedure glRectd
(x1 : GLdouble;
y1 : GLdouble;
x2 : GLdouble;
y2 : GLdouble);
procedure glRectf
(x1 : GLfloat;
y1 : GLfloat;
x2 : GLfloat;
y2 : GLfloat);
procedure glRecti
(x1 : GLint;
y1 : GLint;
x2 : GLint;
y2 : GLint);
procedure glRects
(x1 : GLshort;
y1 : GLshort;
x2 : GLshort;
y2 : GLshort);
procedure glRectdv (v1 : access GLdouble; v2 : access GLdouble);
procedure glRectfv (v1 : access GLfloat; v2 : access GLfloat);
procedure glRectiv (v1 : access GLint; v2 : access GLint);
procedure glRectsv (v1 : access GLshort; v2 : access GLshort);
procedure glShadeModel (mode : GLenum);
procedure glLightf (light : GLenum; pname : GLenum; param : GLfloat);
procedure glLighti (light : GLenum; pname : GLenum; param : GLint);
procedure glLightfv (light : GLenum; pname : GLenum; params : access GLfloat);
procedure glLightiv (light : GLenum; pname : GLenum; params : access GLint);
procedure glGetLightfv (light : GLenum; pname : GLenum; params : access GLfloat);
procedure glGetLightiv (light : GLenum; pname : GLenum; params : access GLint);
procedure glLightModelf (pname : GLenum; param : GLfloat);
procedure glLightModeli (pname : GLenum; param : GLint);
procedure glLightModelfv (pname : GLenum; params : access GLfloat);
procedure glLightModeliv (pname : GLenum; params : access GLint);
procedure glMaterialf (face : GLenum; pname : GLenum; param : GLfloat);
procedure glMateriali (face : GLenum; pname : GLenum; param : GLint);
procedure glMaterialfv (face : GLenum; pname : GLenum; params : access GLfloat);
procedure glMaterialiv (face : GLenum; pname : GLenum; params : access GLint);
procedure glGetMaterialfv (face : GLenum; pname : GLenum; params : access GLfloat);
procedure glGetMaterialiv (face : GLenum; pname : GLenum; params : access GLint);
procedure glColorMaterial (face : GLenum; mode : GLenum);
procedure glPixelZoom (xfactor : GLfloat; yfactor : GLfloat);
procedure glPixelStoref (pname : GLenum; param : GLfloat);
procedure glPixelStorei (pname : GLenum; param : GLint);
procedure glPixelTransferf (pname : GLenum; param : GLfloat);
procedure glPixelTransferi (pname : GLenum; param : GLint);
procedure glPixelMapfv (map : GLenum; mapsize : GLint; values : access GLfloat);
procedure glPixelMapuiv (map : GLenum; mapsize : GLint; values : access GLuint);
procedure glPixelMapusv (map : GLenum; mapsize : GLint; values : access GLushort);
procedure glGetPixelMapfv (map : GLenum; values : access GLfloat);
procedure glGetPixelMapuiv (map : GLenum; values : access GLuint);
procedure glGetPixelMapusv (map : GLenum; values : access GLushort);
procedure glBitmap
(width : GLsizei;
height : GLsizei;
xorig : GLfloat;
yorig : GLfloat;
xmove : GLfloat;
ymove : GLfloat;
bitmap : access GLubyte);
procedure glReadPixels
(x : GLint;
y : GLint;
width : GLsizei;
height : GLsizei;
format : GLenum;
c_type : GLenum;
pixels : GLvoid_Ptr);
procedure glDrawPixels
(width : GLsizei;
height : GLsizei;
format : GLenum;
c_type : GLenum;
pixels : GLvoid_Ptr);
procedure glCopyPixels
(x : GLint;
y : GLint;
width : GLsizei;
height : GLsizei;
c_type : GLenum);
procedure glStencilFunc (func : GLenum; ref : GLint; mask : GLuint);
procedure glStencilMask (mask : GLuint);
procedure glStencilOp (fail : GLenum; zfail : GLenum; zpass : GLenum);
procedure glClearStencil (s : GLint);
procedure glTexGend (coord : GLenum; pname : GLenum; param : GLdouble);
procedure glTexGenf (coord : GLenum; pname : GLenum; param : GLfloat);
procedure glTexGeni (coord : GLenum; pname : GLenum; param : GLint);
procedure glTexGendv (coord : GLenum; pname : GLenum; params : access GLdouble);
procedure glTexGenfv (coord : GLenum; pname : GLenum; params : access GLfloat);
procedure glTexGeniv (coord : GLenum; pname : GLenum; params : access GLint);
procedure glGetTexGendv (coord : GLenum; pname : GLenum; params : access GLdouble);
procedure glGetTexGenfv (coord : GLenum; pname : GLenum; params : access GLfloat);
procedure glGetTexGeniv (coord : GLenum; pname : GLenum; params : access GLint);
procedure glTexEnvf (target : GLenum; pname : GLenum; param : GLfloat);
procedure glTexEnvi (target : GLenum; pname : GLenum; param : GLint);
procedure glTexEnvfv (target : GLenum; pname : GLenum; params : access GLfloat);
procedure glTexEnviv (target : GLenum; pname : GLenum; params : access GLint);
procedure glGetTexEnvfv (target : GLenum; pname : GLenum; params : access GLfloat);
procedure glGetTexEnviv (target : GLenum; pname : GLenum; params : access GLint);
procedure glTexParameterf (target : GLenum; pname : GLenum; param : GLfloat);
procedure glTexParameteri (target : GLenum; pname : GLenum; param : GLint);
procedure glTexParameterfv (target : GLenum; pname : GLenum; params : access GLfloat);
procedure glTexParameteriv (target : GLenum; pname : GLenum; params : access GLint);
procedure glGetTexParameterfv (target : GLenum; pname : GLenum; params : access GLfloat);
procedure glGetTexParameteriv (target : GLenum; pname : GLenum; params : access GLint);
procedure glGetTexLevelParameterfv
(target : GLenum;
level : GLint;
pname : GLenum;
params : access GLfloat);
procedure glGetTexLevelParameteriv
(target : GLenum;
level : GLint;
pname : GLenum;
params : access GLint);
procedure glTexImage1D
(target : GLenum;
level : GLint;
internalFormat : GLint;
width : GLsizei;
border : GLint;
format : GLenum;
c_type : GLenum;
pixels : GLvoid_Ptr);
procedure glTexImage2D
(target : GLenum;
level : GLint;
internalFormat : GLint;
width : GLsizei;
height : GLsizei;
border : GLint;
format : GLenum;
c_type : GLenum;
pixels : GLvoid_Ptr);
procedure glGetTexImage
(target : GLenum;
level : GLint;
format : GLenum;
c_type : GLenum;
pixels : GLvoid_Ptr);
procedure glMap1d
(target : GLenum;
u1 : GLdouble;
u2 : GLdouble;
stride : GLint;
order : GLint;
points : access GLdouble);
procedure glMap1f
(target : GLenum;
u1 : GLfloat;
u2 : GLfloat;
stride : GLint;
order : GLint;
points : access GLfloat);
procedure glMap2d
(target : GLenum;
u1 : GLdouble;
u2 : GLdouble;
ustride : GLint;
uorder : GLint;
v1 : GLdouble;
v2 : GLdouble;
vstride : GLint;
vorder : GLint;
points : access GLdouble);
procedure glMap2f
(target : GLenum;
u1 : GLfloat;
u2 : GLfloat;
ustride : GLint;
uorder : GLint;
v1 : GLfloat;
v2 : GLfloat;
vstride : GLint;
vorder : GLint;
points : access GLfloat);
procedure glGetMapdv (target : GLenum; query : GLenum; v : access GLdouble);
procedure glGetMapfv (target : GLenum; query : GLenum; v : access GLfloat);
procedure glGetMapiv (target : GLenum; query : GLenum; v : access GLint);
procedure glEvalCoord1d (u : GLdouble);
procedure glEvalCoord1f (u : GLfloat);
procedure glEvalCoord1dv (u : access GLdouble);
procedure glEvalCoord1fv (u : access GLfloat);
procedure glEvalCoord2d (u : GLdouble; v : GLdouble);
procedure glEvalCoord2f (u : GLfloat; v : GLfloat);
procedure glEvalCoord2dv (u : access GLdouble);
procedure glEvalCoord2fv (u : access GLfloat);
procedure glMapGrid1d (un : GLint; u1 : GLdouble; u2 : GLdouble);
procedure glMapGrid1f (un : GLint; u1 : GLfloat; u2 : GLfloat);
procedure glMapGrid2d
(un : GLint;
u1 : GLdouble;
u2 : GLdouble;
vn : GLint;
v1 : GLdouble;
v2 : GLdouble);
procedure glMapGrid2f
(un : GLint;
u1 : GLfloat;
u2 : GLfloat;
vn : GLint;
v1 : GLfloat;
v2 : GLfloat);
procedure glEvalPoint1 (i : GLint);
procedure glEvalPoint2 (i : GLint; j : GLint);
procedure glEvalMesh1 (mode : GLenum; i1 : GLint; i2 : GLint);
procedure glEvalMesh2
(mode : GLenum;
i1 : GLint;
i2 : GLint;
j1 : GLint;
j2 : GLint);
procedure glFogf (pname : GLenum; param : GLfloat);
procedure glFogi (pname : GLenum; param : GLint);
procedure glFogfv (pname : GLenum; params : access GLfloat);
procedure glFogiv (pname : GLenum; params : access GLint);
procedure glFeedbackBuffer (size : GLsizei; c_type : GLenum; buffer : access GLfloat);
procedure glPassThrough (token : GLfloat);
procedure glSelectBuffer (size : GLsizei; buffer : access GLuint);
procedure glInitNames;
procedure glLoadName (name : GLuint);
procedure glPushName (name : GLuint);
procedure glPopName;
procedure glGenTextures (n : GLsizei; textures : access GLuint);
procedure glDeleteTextures (n : GLsizei; textures : access GLuint);
procedure glBindTexture (target : GLenum; texture : GLuint);
procedure glPrioritizeTextures (n : GLsizei; textures : access GLuint; priorities : access GLclampf);
function glAreTexturesResident
(n : GLsizei;
textures : access GLuint;
residences : access GLboolean)
return GLboolean;
function glIsTexture (texture : GLuint) return GLboolean;
procedure glTexSubImage1D
(target : GLenum;
level : GLint;
xoffset : GLint;
width : GLsizei;
format : GLenum;
c_type : GLenum;
pixels : GLvoid_Ptr);
procedure glTexSubImage2D
(target : GLenum;
level : GLint;
xoffset : GLint;
yoffset : GLint;
width : GLsizei;
height : GLsizei;
format : GLenum;
c_type : GLenum;
pixels : GLvoid_Ptr);
procedure glCopyTexImage1D
(target : GLenum;
level : GLint;
internalformat : GLenum;
x : GLint;
y : GLint;
width : GLsizei;
border : GLint);
procedure glCopyTexImage2D
(target : GLenum;
level : GLint;
internalformat : GLenum;
x : GLint;
y : GLint;
width : GLsizei;
height : GLsizei;
border : GLint);
procedure glCopyTexSubImage1D
(target : GLenum;
level : GLint;
xoffset : GLint;
x : GLint;
y : GLint;
width : GLsizei);
procedure glCopyTexSubImage2D
(target : GLenum;
level : GLint;
xoffset : GLint;
yoffset : GLint;
x : GLint;
y : GLint;
width : GLsizei;
height : GLsizei);
procedure glVertexPointer
(size : GLint;
c_type : GLenum;
stride : GLsizei;
ptr : GLvoid_Ptr);
procedure glNormalPointer (c_type : GLenum; stride : GLsizei; ptr : GLvoid_Ptr);
procedure glColorPointer
(size : GLint;
c_type : GLenum;
stride : GLsizei;
ptr : GLvoid_Ptr);
procedure glIndexPointer (c_type : GLenum; stride : GLsizei; ptr : GLvoid_Ptr);
procedure glTexCoordPointer
(size : GLint;
c_type : GLenum;
stride : GLsizei;
ptr : GLvoid_Ptr);
procedure glEdgeFlagPointer (stride : GLsizei; ptr : GLvoid_Ptr);
procedure glGetPointerv (pname : GLenum; params : GLvoid_Ptr);
procedure glArrayElement (i : GLint);
procedure glDrawArrays (mode : GLenum; first : GLint; count : GLsizei);
procedure glDrawElements
(mode : GLenum;
count : GLsizei;
c_type : GLenum;
indices : GLvoid_Ptr);
procedure glInterleavedArrays (format : GLenum; stride : GLsizei; pointer : GLvoid_Ptr);
procedure glDrawRangeElements
(mode : GLenum;
start : GLuint;
c_end : GLuint;
count : GLsizei;
c_type : GLenum;
indices : GLvoid_Ptr);
procedure glTexImage3D
(target : GLenum;
level : GLint;
internalFormat : GLenum;
width : GLsizei;
height : GLsizei;
depth : GLsizei;
border : GLint;
format : GLenum;
c_type : GLenum;
pixels : GLvoid_Ptr);
procedure glTexSubImage3D
(target : GLenum;
level : GLint;
xoffset : GLint;
yoffset : GLint;
zoffset : GLint;
width : GLsizei;
height : GLsizei;
depth : GLsizei;
format : GLenum;
c_type : GLenum;
pixels : GLvoid_Ptr);
procedure glCopyTexSubImage3D
(target : GLenum;
level : GLint;
xoffset : GLint;
yoffset : GLint;
zoffset : GLint;
x : GLint;
y : GLint;
width : GLsizei;
height : GLsizei);
procedure glColorTable
(target : GLenum;
internalformat : GLenum;
width : GLsizei;
format : GLenum;
c_type : GLenum;
table : GLvoid_Ptr);
procedure glColorSubTable
(target : GLenum;
start : GLsizei;
count : GLsizei;
format : GLenum;
c_type : GLenum;
data : GLvoid_Ptr);
procedure glColorTableParameteriv (target : GLenum; pname : GLenum; params : access GLint);
procedure glColorTableParameterfv (target : GLenum; pname : GLenum; params : access GLfloat);
procedure glCopyColorSubTable
(target : GLenum;
start : GLsizei;
x : GLint;
y : GLint;
width : GLsizei);
procedure glCopyColorTable
(target : GLenum;
internalformat : GLenum;
x : GLint;
y : GLint;
width : GLsizei);
procedure glGetColorTable
(target : GLenum;
format : GLenum;
c_type : GLenum;
table : GLvoid_Ptr);
procedure glGetColorTableParameterfv (target : GLenum; pname : GLenum; params : access GLfloat);
procedure glGetColorTableParameteriv (target : GLenum; pname : GLenum; params : access GLint);
procedure glBlendEquation (mode : GLenum);
procedure glBlendColor
(red : GLclampf;
green : GLclampf;
blue : GLclampf;
alpha : GLclampf);
procedure glHistogram
(target : GLenum;
width : GLsizei;
internalformat : GLenum;
sink : GLboolean);
procedure glResetHistogram (target : GLenum);
procedure glGetHistogram
(target : GLenum;
reset : GLboolean;
format : GLenum;
c_type : GLenum;
values : GLvoid_Ptr);
procedure glGetHistogramParameterfv (target : GLenum; pname : GLenum; params : access GLfloat);
procedure glGetHistogramParameteriv (target : GLenum; pname : GLenum; params : access GLint);
procedure glMinmax (target : GLenum; internalformat : GLenum; sink : GLboolean);
procedure glResetMinmax (target : GLenum);
procedure glGetMinmax
(target : GLenum;
reset : GLboolean;
format : GLenum;
types : GLenum;
values : GLvoid_Ptr);
procedure glGetMinmaxParameterfv (target : GLenum; pname : GLenum; params : access GLfloat);
procedure glGetMinmaxParameteriv (target : GLenum; pname : GLenum; params : access GLint);
procedure glConvolutionFilter1D
(target : GLenum;
internalformat : GLenum;
width : GLsizei;
format : GLenum;
c_type : GLenum;
image : GLvoid_Ptr);
procedure glConvolutionFilter2D
(target : GLenum;
internalformat : GLenum;
width : GLsizei;
height : GLsizei;
format : GLenum;
c_type : GLenum;
image : GLvoid_Ptr);
procedure glConvolutionParameterf (target : GLenum; pname : GLenum; params : GLfloat);
procedure glConvolutionParameterfv (target : GLenum; pname : GLenum; params : access GLfloat);
procedure glConvolutionParameteri (target : GLenum; pname : GLenum; params : GLint);
procedure glConvolutionParameteriv (target : GLenum; pname : GLenum; params : access GLint);
procedure glCopyConvolutionFilter1D
(target : GLenum;
internalformat : GLenum;
x : GLint;
y : GLint;
width : GLsizei);
procedure glCopyConvolutionFilter2D
(target : GLenum;
internalformat : GLenum;
x : GLint;
y : GLint;
width : GLsizei;
height : GLsizei);
procedure glGetConvolutionFilter
(target : GLenum;
format : GLenum;
c_type : GLenum;
image : GLvoid_Ptr);
procedure glGetConvolutionParameterfv (target : GLenum; pname : GLenum; params : access GLfloat);
procedure glGetConvolutionParameteriv (target : GLenum; pname : GLenum; params : access GLint);
procedure glSeparableFilter2D
(target : GLenum;
internalformat : GLenum;
width : GLsizei;
height : GLsizei;
format : GLenum;
c_type : GLenum;
row : GLvoid_Ptr;
column : GLvoid_Ptr);
procedure glGetSeparableFilter
(target : GLenum;
format : GLenum;
c_type : GLenum;
row : GLvoid_Ptr;
column : GLvoid_Ptr;
span : GLvoid_Ptr);
procedure glActiveTexture (texture : GLenum);
procedure glClientActiveTexture (texture : GLenum);
procedure glCompressedTexImage1D
(target : GLenum;
level : GLint;
internalformat : GLenum;
width : GLsizei;
border : GLint;
imageSize : GLsizei;
data : GLvoid_Ptr);
procedure glCompressedTexImage2D
(target : GLenum;
level : GLint;
internalformat : GLenum;
width : GLsizei;
height : GLsizei;
border : GLint;
imageSize : GLsizei;
data : GLvoid_Ptr);
procedure glCompressedTexImage3D
(target : GLenum;
level : GLint;
internalformat : GLenum;
width : GLsizei;
height : GLsizei;
depth : GLsizei;
border : GLint;
imageSize : GLsizei;
data : GLvoid_Ptr);
procedure glCompressedTexSubImage1D
(target : GLenum;
level : GLint;
xoffset : GLint;
width : GLsizei;
format : GLenum;
imageSize : GLsizei;
data : GLvoid_Ptr);
procedure glCompressedTexSubImage2D
(target : GLenum;
level : GLint;
xoffset : GLint;
yoffset : GLint;
width : GLsizei;
height : GLsizei;
format : GLenum;
imageSize : GLsizei;
data : GLvoid_Ptr);
procedure glCompressedTexSubImage3D
(target : GLenum;
level : GLint;
xoffset : GLint;
yoffset : GLint;
zoffset : GLint;
width : GLsizei;
height : GLsizei;
depth : GLsizei;
format : GLenum;
imageSize : GLsizei;
data : GLvoid_Ptr);
procedure glGetCompressedTexImage (target : GLenum; lod : GLint; img : GLvoid_Ptr);
procedure glMultiTexCoord1d (target : GLenum; s : GLdouble);
procedure glMultiTexCoord1dv (target : GLenum; v : access GLdouble);
procedure glMultiTexCoord1f (target : GLenum; s : GLfloat);
procedure glMultiTexCoord1fv (target : GLenum; v : access GLfloat);
procedure glMultiTexCoord1i (target : GLenum; s : GLint);
procedure glMultiTexCoord1iv (target : GLenum; v : access GLint);
procedure glMultiTexCoord1s (target : GLenum; s : GLshort);
procedure glMultiTexCoord1sv (target : GLenum; v : access GLshort);
procedure glMultiTexCoord2d (target : GLenum; s : GLdouble; t : GLdouble);
procedure glMultiTexCoord2dv (target : GLenum; v : access GLdouble);
procedure glMultiTexCoord2f (target : GLenum; s : GLfloat; t : GLfloat);
procedure glMultiTexCoord2fv (target : GLenum; v : access GLfloat);
procedure glMultiTexCoord2i (target : GLenum; s : GLint; t : GLint);
procedure glMultiTexCoord2iv (target : GLenum; v : access GLint);
procedure glMultiTexCoord2s (target : GLenum; s : GLshort; t : GLshort);
procedure glMultiTexCoord2sv (target : GLenum; v : access GLshort);
procedure glMultiTexCoord3d
(target : GLenum;
s : GLdouble;
t : GLdouble;
r : GLdouble);
procedure glMultiTexCoord3dv (target : GLenum; v : access GLdouble);
procedure glMultiTexCoord3f
(target : GLenum;
s : GLfloat;
t : GLfloat;
r : GLfloat);
procedure glMultiTexCoord3fv (target : GLenum; v : access GLfloat);
procedure glMultiTexCoord3i
(target : GLenum;
s : GLint;
t : GLint;
r : GLint);
procedure glMultiTexCoord3iv (target : GLenum; v : access GLint);
procedure glMultiTexCoord3s
(target : GLenum;
s : GLshort;
t : GLshort;
r : GLshort);
procedure glMultiTexCoord3sv (target : GLenum; v : access GLshort);
procedure glMultiTexCoord4d
(target : GLenum;
s : GLdouble;
t : GLdouble;
r : GLdouble;
q : GLdouble);
procedure glMultiTexCoord4dv (target : GLenum; v : access GLdouble);
procedure glMultiTexCoord4f
(target : GLenum;
s : GLfloat;
t : GLfloat;
r : GLfloat;
q : GLfloat);
procedure glMultiTexCoord4fv (target : GLenum; v : access GLfloat);
procedure glMultiTexCoord4i
(target : GLenum;
s : GLint;
t : GLint;
r : GLint;
q : GLint);
procedure glMultiTexCoord4iv (target : GLenum; v : access GLint);
procedure glMultiTexCoord4s
(target : GLenum;
s : GLshort;
t : GLshort;
r : GLshort;
q : GLshort);
procedure glMultiTexCoord4sv (target : GLenum; v : access GLshort);
procedure glLoadTransposeMatrixd (m : access GLdouble);
procedure glLoadTransposeMatrixf (m : access GLfloat);
procedure glMultTransposeMatrixd (m : access GLdouble);
procedure glMultTransposeMatrixf (m : access GLfloat);
procedure glSampleCoverage (value : GLclampf; invert : GLboolean);
procedure glSamplePass (pass : GLenum);
private
pragma Import (Stdcall, glClearIndex, "glClearIndex");
pragma Import (Stdcall, glClearColor, "glClearColor");
pragma Import (Stdcall, glClear, "glClear");
pragma Import (Stdcall, glIndexMask, "glIndexMask");
pragma Import (Stdcall, glColorMask, "glColorMask");
pragma Import (Stdcall, glAlphaFunc, "glAlphaFunc");
pragma Import (Stdcall, glBlendFunc, "glBlendFunc");
pragma Import (Stdcall, glLogicOp, "glLogicOp");
pragma Import (Stdcall, glCullFace, "glCullFace");
pragma Import (Stdcall, glFrontFace, "glFrontFace");
pragma Import (Stdcall, glPointSize, "glPointSize");
pragma Import (Stdcall, glLineWidth, "glLineWidth");
pragma Import (Stdcall, glLineStipple, "glLineStipple");
pragma Import (Stdcall, glPolygonMode, "glPolygonMode");
pragma Import (Stdcall, glPolygonOffset, "glPolygonOffset");
pragma Import (Stdcall, glPolygonStipple, "glPolygonStipple");
pragma Import (Stdcall, glGetPolygonStipple, "glGetPolygonStipple");
pragma Import (Stdcall, glEdgeFlag, "glEdgeFlag");
pragma Import (Stdcall, glEdgeFlagv, "glEdgeFlagv");
pragma Import (Stdcall, glScissor, "glScissor");
pragma Import (Stdcall, glClipPlane, "glClipPlane");
pragma Import (Stdcall, glGetClipPlane, "glGetClipPlane");
pragma Import (Stdcall, glDrawBuffer, "glDrawBuffer");
pragma Import (Stdcall, glReadBuffer, "glReadBuffer");
pragma Import (Stdcall, glEnable, "glEnable");
pragma Import (Stdcall, glDisable, "glDisable");
pragma Import (Stdcall, glIsEnabled, "glIsEnabled");
pragma Import (Stdcall, glEnableClientState, "glEnableClientState");
pragma Import (Stdcall, glDisableClientState, "glDisableClientState");
pragma Import (Stdcall, glGetBooleanv, "glGetBooleanv");
pragma Import (Stdcall, glGetDoublev, "glGetDoublev");
pragma Import (Stdcall, glGetFloatv, "glGetFloatv");
pragma Import (Stdcall, glGetIntegerv, "glGetIntegerv");
pragma Import (Stdcall, glPushAttrib, "glPushAttrib");
pragma Import (Stdcall, glPopAttrib, "glPopAttrib");
pragma Import (Stdcall, glPushClientAttrib, "glPushClientAttrib");
pragma Import (Stdcall, glPopClientAttrib, "glPopClientAttrib");
pragma Import (Stdcall, glRenderMode, "glRenderMode");
pragma Import (Stdcall, glGetError, "glGetError");
pragma Import (Stdcall, glGetString, "glGetString");
pragma Import (Stdcall, glFinish, "glFinish");
pragma Import (Stdcall, glFlush, "glFlush");
pragma Import (Stdcall, glHint, "glHint");
pragma Import (Stdcall, glClearDepth, "glClearDepth");
pragma Import (Stdcall, glDepthFunc, "glDepthFunc");
pragma Import (Stdcall, glDepthMask, "glDepthMask");
pragma Import (Stdcall, glDepthRange, "glDepthRange");
pragma Import (Stdcall, glClearAccum, "glClearAccum");
pragma Import (Stdcall, glAccum, "glAccum");
pragma Import (Stdcall, glMatrixMode, "glMatrixMode");
pragma Import (Stdcall, glOrtho, "glOrtho");
pragma Import (Stdcall, glFrustum, "glFrustum");
pragma Import (Stdcall, glViewport, "glViewport");
pragma Import (Stdcall, glPushMatrix, "glPushMatrix");
pragma Import (Stdcall, glPopMatrix, "glPopMatrix");
pragma Import (Stdcall, glLoadIdentity, "glLoadIdentity");
pragma Import (Stdcall, glLoadMatrixd, "glLoadMatrixd");
pragma Import (Stdcall, glLoadMatrixf, "glLoadMatrixf");
pragma Import (Stdcall, glMultMatrixd, "glMultMatrixd");
pragma Import (Stdcall, glMultMatrixf, "glMultMatrixf");
pragma Import (Stdcall, glRotated, "glRotated");
pragma Import (Stdcall, glRotatef, "glRotatef");
pragma Import (Stdcall, glScaled, "glScaled");
pragma Import (Stdcall, glScalef, "glScalef");
pragma Import (Stdcall, glTranslated, "glTranslated");
pragma Import (Stdcall, glTranslatef, "glTranslatef");
pragma Import (Stdcall, glIsList, "glIsList");
pragma Import (Stdcall, glDeleteLists, "glDeleteLists");
pragma Import (Stdcall, glGenLists, "glGenLists");
pragma Import (Stdcall, glNewList, "glNewList");
pragma Import (Stdcall, glEndList, "glEndList");
pragma Import (Stdcall, glCallList, "glCallList");
pragma Import (Stdcall, glCallLists, "glCallLists");
pragma Import (Stdcall, glListBase, "glListBase");
pragma Import (Stdcall, glBegin, "glBegin");
pragma Import (Stdcall, glEnd, "glEnd");
pragma Import (Stdcall, glVertex2d, "glVertex2d");
pragma Import (Stdcall, glVertex2f, "glVertex2f");
pragma Import (Stdcall, glVertex2i, "glVertex2i");
pragma Import (Stdcall, glVertex2s, "glVertex2s");
pragma Import (Stdcall, glVertex3d, "glVertex3d");
pragma Import (Stdcall, glVertex3f, "glVertex3f");
pragma Import (Stdcall, glVertex3i, "glVertex3i");
pragma Import (Stdcall, glVertex3s, "glVertex3s");
pragma Import (Stdcall, glVertex4d, "glVertex4d");
pragma Import (Stdcall, glVertex4f, "glVertex4f");
pragma Import (Stdcall, glVertex4i, "glVertex4i");
pragma Import (Stdcall, glVertex4s, "glVertex4s");
pragma Import (Stdcall, glVertex2dv, "glVertex2dv");
pragma Import (Stdcall, glVertex2fv, "glVertex2fv");
pragma Import (Stdcall, glVertex2iv, "glVertex2iv");
pragma Import (Stdcall, glVertex2sv, "glVertex2sv");
pragma Import (Stdcall, glVertex3dv, "glVertex3dv");
pragma Import (Stdcall, glVertex3fv, "glVertex3fv");
pragma Import (Stdcall, glVertex3iv, "glVertex3iv");
pragma Import (Stdcall, glVertex3sv, "glVertex3sv");
pragma Import (Stdcall, glVertex4dv, "glVertex4dv");
pragma Import (Stdcall, glVertex4fv, "glVertex4fv");
pragma Import (Stdcall, glVertex4iv, "glVertex4iv");
pragma Import (Stdcall, glVertex4sv, "glVertex4sv");
pragma Import (Stdcall, glNormal3b, "glNormal3b");
pragma Import (Stdcall, glNormal3d, "glNormal3d");
pragma Import (Stdcall, glNormal3f, "glNormal3f");
pragma Import (Stdcall, glNormal3i, "glNormal3i");
pragma Import (Stdcall, glNormal3s, "glNormal3s");
pragma Import (Stdcall, glNormal3bv, "glNormal3bv");
pragma Import (Stdcall, glNormal3dv, "glNormal3dv");
pragma Import (Stdcall, glNormal3fv, "glNormal3fv");
pragma Import (Stdcall, glNormal3iv, "glNormal3iv");
pragma Import (Stdcall, glNormal3sv, "glNormal3sv");
pragma Import (Stdcall, glIndexd, "glIndexd");
pragma Import (Stdcall, glIndexf, "glIndexf");
pragma Import (Stdcall, glIndexi, "glIndexi");
pragma Import (Stdcall, glIndexs, "glIndexs");
pragma Import (Stdcall, glIndexub, "glIndexub");
pragma Import (Stdcall, glIndexdv, "glIndexdv");
pragma Import (Stdcall, glIndexfv, "glIndexfv");
pragma Import (Stdcall, glIndexiv, "glIndexiv");
pragma Import (Stdcall, glIndexsv, "glIndexsv");
pragma Import (Stdcall, glIndexubv, "glIndexubv");
pragma Import (Stdcall, glColor3b, "glColor3b");
pragma Import (Stdcall, glColor3d, "glColor3d");
pragma Import (Stdcall, glColor3f, "glColor3f");
pragma Import (Stdcall, glColor3i, "glColor3i");
pragma Import (Stdcall, glColor3s, "glColor3s");
pragma Import (Stdcall, glColor3ub, "glColor3ub");
pragma Import (Stdcall, glColor3ui, "glColor3ui");
pragma Import (Stdcall, glColor3us, "glColor3us");
pragma Import (Stdcall, glColor4b, "glColor4b");
pragma Import (Stdcall, glColor4d, "glColor4d");
pragma Import (Stdcall, glColor4f, "glColor4f");
pragma Import (Stdcall, glColor4i, "glColor4i");
pragma Import (Stdcall, glColor4s, "glColor4s");
pragma Import (Stdcall, glColor4ub, "glColor4ub");
pragma Import (Stdcall, glColor4ui, "glColor4ui");
pragma Import (Stdcall, glColor4us, "glColor4us");
pragma Import (Stdcall, glColor3bv, "glColor3bv");
pragma Import (Stdcall, glColor3dv, "glColor3dv");
pragma Import (Stdcall, glColor3fv, "glColor3fv");
pragma Import (Stdcall, glColor3iv, "glColor3iv");
pragma Import (Stdcall, glColor3sv, "glColor3sv");
pragma Import (Stdcall, glColor3ubv, "glColor3ubv");
pragma Import (Stdcall, glColor3uiv, "glColor3uiv");
pragma Import (Stdcall, glColor3usv, "glColor3usv");
pragma Import (Stdcall, glColor4bv, "glColor4bv");
pragma Import (Stdcall, glColor4dv, "glColor4dv");
pragma Import (Stdcall, glColor4fv, "glColor4fv");
pragma Import (Stdcall, glColor4iv, "glColor4iv");
pragma Import (Stdcall, glColor4sv, "glColor4sv");
pragma Import (Stdcall, glColor4ubv, "glColor4ubv");
pragma Import (Stdcall, glColor4uiv, "glColor4uiv");
pragma Import (Stdcall, glColor4usv, "glColor4usv");
pragma Import (Stdcall, glTexCoord1d, "glTexCoord1d");
pragma Import (Stdcall, glTexCoord1f, "glTexCoord1f");
pragma Import (Stdcall, glTexCoord1i, "glTexCoord1i");
pragma Import (Stdcall, glTexCoord1s, "glTexCoord1s");
pragma Import (Stdcall, glTexCoord2d, "glTexCoord2d");
pragma Import (Stdcall, glTexCoord2f, "glTexCoord2f");
pragma Import (Stdcall, glTexCoord2i, "glTexCoord2i");
pragma Import (Stdcall, glTexCoord2s, "glTexCoord2s");
pragma Import (Stdcall, glTexCoord3d, "glTexCoord3d");
pragma Import (Stdcall, glTexCoord3f, "glTexCoord3f");
pragma Import (Stdcall, glTexCoord3i, "glTexCoord3i");
pragma Import (Stdcall, glTexCoord3s, "glTexCoord3s");
pragma Import (Stdcall, glTexCoord4d, "glTexCoord4d");
pragma Import (Stdcall, glTexCoord4f, "glTexCoord4f");
pragma Import (Stdcall, glTexCoord4i, "glTexCoord4i");
pragma Import (Stdcall, glTexCoord4s, "glTexCoord4s");
pragma Import (Stdcall, glTexCoord1dv, "glTexCoord1dv");
pragma Import (Stdcall, glTexCoord1fv, "glTexCoord1fv");
pragma Import (Stdcall, glTexCoord1iv, "glTexCoord1iv");
pragma Import (Stdcall, glTexCoord1sv, "glTexCoord1sv");
pragma Import (Stdcall, glTexCoord2dv, "glTexCoord2dv");
pragma Import (Stdcall, glTexCoord2fv, "glTexCoord2fv");
pragma Import (Stdcall, glTexCoord2iv, "glTexCoord2iv");
pragma Import (Stdcall, glTexCoord2sv, "glTexCoord2sv");
pragma Import (Stdcall, glTexCoord3dv, "glTexCoord3dv");
pragma Import (Stdcall, glTexCoord3fv, "glTexCoord3fv");
pragma Import (Stdcall, glTexCoord3iv, "glTexCoord3iv");
pragma Import (Stdcall, glTexCoord3sv, "glTexCoord3sv");
pragma Import (Stdcall, glTexCoord4dv, "glTexCoord4dv");
pragma Import (Stdcall, glTexCoord4fv, "glTexCoord4fv");
pragma Import (Stdcall, glTexCoord4iv, "glTexCoord4iv");
pragma Import (Stdcall, glTexCoord4sv, "glTexCoord4sv");
pragma Import (Stdcall, glRasterPos2d, "glRasterPos2d");
pragma Import (Stdcall, glRasterPos2f, "glRasterPos2f");
pragma Import (Stdcall, glRasterPos2i, "glRasterPos2i");
pragma Import (Stdcall, glRasterPos2s, "glRasterPos2s");
pragma Import (Stdcall, glRasterPos3d, "glRasterPos3d");
pragma Import (Stdcall, glRasterPos3f, "glRasterPos3f");
pragma Import (Stdcall, glRasterPos3i, "glRasterPos3i");
pragma Import (Stdcall, glRasterPos3s, "glRasterPos3s");
pragma Import (Stdcall, glRasterPos4d, "glRasterPos4d");
pragma Import (Stdcall, glRasterPos4f, "glRasterPos4f");
pragma Import (Stdcall, glRasterPos4i, "glRasterPos4i");
pragma Import (Stdcall, glRasterPos4s, "glRasterPos4s");
pragma Import (Stdcall, glRasterPos2dv, "glRasterPos2dv");
pragma Import (Stdcall, glRasterPos2fv, "glRasterPos2fv");
pragma Import (Stdcall, glRasterPos2iv, "glRasterPos2iv");
pragma Import (Stdcall, glRasterPos2sv, "glRasterPos2sv");
pragma Import (Stdcall, glRasterPos3dv, "glRasterPos3dv");
pragma Import (Stdcall, glRasterPos3fv, "glRasterPos3fv");
pragma Import (Stdcall, glRasterPos3iv, "glRasterPos3iv");
pragma Import (Stdcall, glRasterPos3sv, "glRasterPos3sv");
pragma Import (Stdcall, glRasterPos4dv, "glRasterPos4dv");
pragma Import (Stdcall, glRasterPos4fv, "glRasterPos4fv");
pragma Import (Stdcall, glRasterPos4iv, "glRasterPos4iv");
pragma Import (Stdcall, glRasterPos4sv, "glRasterPos4sv");
pragma Import (Stdcall, glRectd, "glRectd");
pragma Import (Stdcall, glRectf, "glRectf");
pragma Import (Stdcall, glRecti, "glRecti");
pragma Import (Stdcall, glRects, "glRects");
pragma Import (Stdcall, glRectdv, "glRectdv");
pragma Import (Stdcall, glRectfv, "glRectfv");
pragma Import (Stdcall, glRectiv, "glRectiv");
pragma Import (Stdcall, glRectsv, "glRectsv");
pragma Import (Stdcall, glShadeModel, "glShadeModel");
pragma Import (Stdcall, glLightf, "glLightf");
pragma Import (Stdcall, glLighti, "glLighti");
pragma Import (Stdcall, glLightfv, "glLightfv");
pragma Import (Stdcall, glLightiv, "glLightiv");
pragma Import (Stdcall, glGetLightfv, "glGetLightfv");
pragma Import (Stdcall, glGetLightiv, "glGetLightiv");
pragma Import (Stdcall, glLightModelf, "glLightModelf");
pragma Import (Stdcall, glLightModeli, "glLightModeli");
pragma Import (Stdcall, glLightModelfv, "glLightModelfv");
pragma Import (Stdcall, glLightModeliv, "glLightModeliv");
pragma Import (Stdcall, glMaterialf, "glMaterialf");
pragma Import (Stdcall, glMateriali, "glMateriali");
pragma Import (Stdcall, glMaterialfv, "glMaterialfv");
pragma Import (Stdcall, glMaterialiv, "glMaterialiv");
pragma Import (Stdcall, glGetMaterialfv, "glGetMaterialfv");
pragma Import (Stdcall, glGetMaterialiv, "glGetMaterialiv");
pragma Import (Stdcall, glColorMaterial, "glColorMaterial");
pragma Import (Stdcall, glPixelZoom, "glPixelZoom");
pragma Import (Stdcall, glPixelStoref, "glPixelStoref");
pragma Import (Stdcall, glPixelStorei, "glPixelStorei");
pragma Import (Stdcall, glPixelTransferf, "glPixelTransferf");
pragma Import (Stdcall, glPixelTransferi, "glPixelTransferi");
pragma Import (Stdcall, glPixelMapfv, "glPixelMapfv");
pragma Import (Stdcall, glPixelMapuiv, "glPixelMapuiv");
pragma Import (Stdcall, glPixelMapusv, "glPixelMapusv");
pragma Import (Stdcall, glGetPixelMapfv, "glGetPixelMapfv");
pragma Import (Stdcall, glGetPixelMapuiv, "glGetPixelMapuiv");
pragma Import (Stdcall, glGetPixelMapusv, "glGetPixelMapusv");
pragma Import (Stdcall, glBitmap, "glBitmap");
pragma Import (Stdcall, glReadPixels, "glReadPixels");
pragma Import (Stdcall, glDrawPixels, "glDrawPixels");
pragma Import (Stdcall, glCopyPixels, "glCopyPixels");
pragma Import (Stdcall, glStencilFunc, "glStencilFunc");
pragma Import (Stdcall, glStencilMask, "glStencilMask");
pragma Import (Stdcall, glStencilOp, "glStencilOp");
pragma Import (Stdcall, glClearStencil, "glClearStencil");
pragma Import (Stdcall, glTexGend, "glTexGend");
pragma Import (Stdcall, glTexGenf, "glTexGenf");
pragma Import (Stdcall, glTexGeni, "glTexGeni");
pragma Import (Stdcall, glTexGendv, "glTexGendv");
pragma Import (Stdcall, glTexGenfv, "glTexGenfv");
pragma Import (Stdcall, glTexGeniv, "glTexGeniv");
pragma Import (Stdcall, glGetTexGendv, "glGetTexGendv");
pragma Import (Stdcall, glGetTexGenfv, "glGetTexGenfv");
pragma Import (Stdcall, glGetTexGeniv, "glGetTexGeniv");
pragma Import (Stdcall, glTexEnvf, "glTexEnvf");
pragma Import (Stdcall, glTexEnvi, "glTexEnvi");
pragma Import (Stdcall, glTexEnvfv, "glTexEnvfv");
pragma Import (Stdcall, glTexEnviv, "glTexEnviv");
pragma Import (Stdcall, glGetTexEnvfv, "glGetTexEnvfv");
pragma Import (Stdcall, glGetTexEnviv, "glGetTexEnviv");
pragma Import (Stdcall, glTexParameterf, "glTexParameterf");
pragma Import (Stdcall, glTexParameteri, "glTexParameteri");
pragma Import (Stdcall, glTexParameterfv, "glTexParameterfv");
pragma Import (Stdcall, glTexParameteriv, "glTexParameteriv");
pragma Import (Stdcall, glGetTexParameterfv, "glGetTexParameterfv");
pragma Import (Stdcall, glGetTexParameteriv, "glGetTexParameteriv");
pragma Import (Stdcall, glGetTexLevelParameterfv, "glGetTexLevelParameterfv");
pragma Import (Stdcall, glGetTexLevelParameteriv, "glGetTexLevelParameteriv");
pragma Import (Stdcall, glTexImage1D, "glTexImage1D");
pragma Import (Stdcall, glTexImage2D, "glTexImage2D");
pragma Import (Stdcall, glGetTexImage, "glGetTexImage");
pragma Import (Stdcall, glMap1d, "glMap1d");
pragma Import (Stdcall, glMap1f, "glMap1f");
pragma Import (Stdcall, glMap2d, "glMap2d");
pragma Import (Stdcall, glMap2f, "glMap2f");
pragma Import (Stdcall, glGetMapdv, "glGetMapdv");
pragma Import (Stdcall, glGetMapfv, "glGetMapfv");
pragma Import (Stdcall, glGetMapiv, "glGetMapiv");
pragma Import (Stdcall, glEvalCoord1d, "glEvalCoord1d");
pragma Import (Stdcall, glEvalCoord1f, "glEvalCoord1f");
pragma Import (Stdcall, glEvalCoord1dv, "glEvalCoord1dv");
pragma Import (Stdcall, glEvalCoord1fv, "glEvalCoord1fv");
pragma Import (Stdcall, glEvalCoord2d, "glEvalCoord2d");
pragma Import (Stdcall, glEvalCoord2f, "glEvalCoord2f");
pragma Import (Stdcall, glEvalCoord2dv, "glEvalCoord2dv");
pragma Import (Stdcall, glEvalCoord2fv, "glEvalCoord2fv");
pragma Import (Stdcall, glMapGrid1d, "glMapGrid1d");
pragma Import (Stdcall, glMapGrid1f, "glMapGrid1f");
pragma Import (Stdcall, glMapGrid2d, "glMapGrid2d");
pragma Import (Stdcall, glMapGrid2f, "glMapGrid2f");
pragma Import (Stdcall, glEvalPoint1, "glEvalPoint1");
pragma Import (Stdcall, glEvalPoint2, "glEvalPoint2");
pragma Import (Stdcall, glEvalMesh1, "glEvalMesh1");
pragma Import (Stdcall, glEvalMesh2, "glEvalMesh2");
pragma Import (Stdcall, glFogf, "glFogf");
pragma Import (Stdcall, glFogi, "glFogi");
pragma Import (Stdcall, glFogfv, "glFogfv");
pragma Import (Stdcall, glFogiv, "glFogiv");
pragma Import (Stdcall, glFeedbackBuffer, "glFeedbackBuffer");
pragma Import (Stdcall, glPassThrough, "glPassThrough");
pragma Import (Stdcall, glSelectBuffer, "glSelectBuffer");
pragma Import (Stdcall, glInitNames, "glInitNames");
pragma Import (Stdcall, glLoadName, "glLoadName");
pragma Import (Stdcall, glPushName, "glPushName");
pragma Import (Stdcall, glPopName, "glPopName");
pragma Import (Stdcall, glGenTextures, "glGenTextures");
pragma Import (Stdcall, glDeleteTextures, "glDeleteTextures");
pragma Import (Stdcall, glBindTexture, "glBindTexture");
pragma Import (Stdcall, glPrioritizeTextures, "glPrioritizeTextures");
pragma Import (Stdcall, glAreTexturesResident, "glAreTexturesResident");
pragma Import (Stdcall, glIsTexture, "glIsTexture");
pragma Import (Stdcall, glTexSubImage1D, "glTexSubImage1D");
pragma Import (Stdcall, glTexSubImage2D, "glTexSubImage2D");
pragma Import (Stdcall, glCopyTexImage1D, "glCopyTexImage1D");
pragma Import (Stdcall, glCopyTexImage2D, "glCopyTexImage2D");
pragma Import (Stdcall, glCopyTexSubImage1D, "glCopyTexSubImage1D");
pragma Import (Stdcall, glCopyTexSubImage2D, "glCopyTexSubImage2D");
pragma Import (Stdcall, glVertexPointer, "glVertexPointer");
pragma Import (Stdcall, glNormalPointer, "glNormalPointer");
pragma Import (Stdcall, glColorPointer, "glColorPointer");
pragma Import (Stdcall, glIndexPointer, "glIndexPointer");
pragma Import (Stdcall, glTexCoordPointer, "glTexCoordPointer");
pragma Import (Stdcall, glEdgeFlagPointer, "glEdgeFlagPointer");
pragma Import (Stdcall, glGetPointerv, "glGetPointerv");
pragma Import (Stdcall, glArrayElement, "glArrayElement");
pragma Import (Stdcall, glDrawArrays, "glDrawArrays");
pragma Import (Stdcall, glDrawElements, "glDrawElements");
pragma Import (Stdcall, glInterleavedArrays, "glInterleavedArrays");
pragma Import (Stdcall, glDrawRangeElements, "glDrawRangeElements");
pragma Import (Stdcall, glTexImage3D, "glTexImage3D");
pragma Import (Stdcall, glTexSubImage3D, "glTexSubImage3D");
pragma Import (Stdcall, glCopyTexSubImage3D, "glCopyTexSubImage3D");
pragma Import (Stdcall, glColorTable, "glColorTable");
pragma Import (Stdcall, glColorSubTable, "glColorSubTable");
pragma Import (Stdcall, glColorTableParameteriv, "glColorTableParameteriv");
pragma Import (Stdcall, glColorTableParameterfv, "glColorTableParameterfv");
pragma Import (Stdcall, glCopyColorSubTable, "glCopyColorSubTable");
pragma Import (Stdcall, glCopyColorTable, "glCopyColorTable");
pragma Import (Stdcall, glGetColorTable, "glGetColorTable");
pragma Import (Stdcall, glGetColorTableParameterfv, "glGetColorTableParameterfv");
pragma Import (Stdcall, glGetColorTableParameteriv, "glGetColorTableParameteriv");
pragma Import (Stdcall, glBlendEquation, "glBlendEquation");
pragma Import (Stdcall, glBlendColor, "glBlendColor");
pragma Import (Stdcall, glHistogram, "glHistogram");
pragma Import (Stdcall, glResetHistogram, "glResetHistogram");
pragma Import (Stdcall, glGetHistogram, "glGetHistogram");
pragma Import (Stdcall, glGetHistogramParameterfv, "glGetHistogramParameterfv");
pragma Import (Stdcall, glGetHistogramParameteriv, "glGetHistogramParameteriv");
pragma Import (Stdcall, glMinmax, "glMinmax");
pragma Import (Stdcall, glResetMinmax, "glResetMinmax");
pragma Import (Stdcall, glGetMinmax, "glGetMinmax");
pragma Import (Stdcall, glGetMinmaxParameterfv, "glGetMinmaxParameterfv");
pragma Import (Stdcall, glGetMinmaxParameteriv, "glGetMinmaxParameteriv");
pragma Import (Stdcall, glConvolutionFilter1D, "glConvolutionFilter1D");
pragma Import (Stdcall, glConvolutionFilter2D, "glConvolutionFilter2D");
pragma Import (Stdcall, glConvolutionParameterf, "glConvolutionParameterf");
pragma Import (Stdcall, glConvolutionParameterfv, "glConvolutionParameterfv");
pragma Import (Stdcall, glConvolutionParameteri, "glConvolutionParameteri");
pragma Import (Stdcall, glConvolutionParameteriv, "glConvolutionParameteriv");
pragma Import (Stdcall, glCopyConvolutionFilter1D, "glCopyConvolutionFilter1D");
pragma Import (Stdcall, glCopyConvolutionFilter2D, "glCopyConvolutionFilter2D");
pragma Import (Stdcall, glGetConvolutionFilter, "glGetConvolutionFilter");
pragma Import (Stdcall, glGetConvolutionParameterfv, "glGetConvolutionParameterfv");
pragma Import (Stdcall, glGetConvolutionParameteriv, "glGetConvolutionParameteriv");
pragma Import (Stdcall, glSeparableFilter2D, "glSeparableFilter2D");
pragma Import (Stdcall, glGetSeparableFilter, "glGetSeparableFilter");
pragma Import (Stdcall, glActiveTexture, "glActiveTexture");
pragma Import (Stdcall, glClientActiveTexture, "glClientActiveTexture");
pragma Import (Stdcall, glCompressedTexImage1D, "glCompressedTexImage1D");
pragma Import (Stdcall, glCompressedTexImage2D, "glCompressedTexImage2D");
pragma Import (Stdcall, glCompressedTexImage3D, "glCompressedTexImage3D");
pragma Import (Stdcall, glCompressedTexSubImage1D, "glCompressedTexSubImage1D");
pragma Import (Stdcall, glCompressedTexSubImage2D, "glCompressedTexSubImage2D");
pragma Import (Stdcall, glCompressedTexSubImage3D, "glCompressedTexSubImage3D");
pragma Import (Stdcall, glGetCompressedTexImage, "glGetCompressedTexImage");
pragma Import (Stdcall, glMultiTexCoord1d, "glMultiTexCoord1d");
pragma Import (Stdcall, glMultiTexCoord1dv, "glMultiTexCoord1dv");
pragma Import (Stdcall, glMultiTexCoord1f, "glMultiTexCoord1f");
pragma Import (Stdcall, glMultiTexCoord1fv, "glMultiTexCoord1fv");
pragma Import (Stdcall, glMultiTexCoord1i, "glMultiTexCoord1i");
pragma Import (Stdcall, glMultiTexCoord1iv, "glMultiTexCoord1iv");
pragma Import (Stdcall, glMultiTexCoord1s, "glMultiTexCoord1s");
pragma Import (Stdcall, glMultiTexCoord1sv, "glMultiTexCoord1sv");
pragma Import (Stdcall, glMultiTexCoord2d, "glMultiTexCoord2d");
pragma Import (Stdcall, glMultiTexCoord2dv, "glMultiTexCoord2dv");
pragma Import (Stdcall, glMultiTexCoord2f, "glMultiTexCoord2f");
pragma Import (Stdcall, glMultiTexCoord2fv, "glMultiTexCoord2fv");
pragma Import (Stdcall, glMultiTexCoord2i, "glMultiTexCoord2i");
pragma Import (Stdcall, glMultiTexCoord2iv, "glMultiTexCoord2iv");
pragma Import (Stdcall, glMultiTexCoord2s, "glMultiTexCoord2s");
pragma Import (Stdcall, glMultiTexCoord2sv, "glMultiTexCoord2sv");
pragma Import (Stdcall, glMultiTexCoord3d, "glMultiTexCoord3d");
pragma Import (Stdcall, glMultiTexCoord3dv, "glMultiTexCoord3dv");
pragma Import (Stdcall, glMultiTexCoord3f, "glMultiTexCoord3f");
pragma Import (Stdcall, glMultiTexCoord3fv, "glMultiTexCoord3fv");
pragma Import (Stdcall, glMultiTexCoord3i, "glMultiTexCoord3i");
pragma Import (Stdcall, glMultiTexCoord3iv, "glMultiTexCoord3iv");
pragma Import (Stdcall, glMultiTexCoord3s, "glMultiTexCoord3s");
pragma Import (Stdcall, glMultiTexCoord3sv, "glMultiTexCoord3sv");
pragma Import (Stdcall, glMultiTexCoord4d, "glMultiTexCoord4d");
pragma Import (Stdcall, glMultiTexCoord4dv, "glMultiTexCoord4dv");
pragma Import (Stdcall, glMultiTexCoord4f, "glMultiTexCoord4f");
pragma Import (Stdcall, glMultiTexCoord4fv, "glMultiTexCoord4fv");
pragma Import (Stdcall, glMultiTexCoord4i, "glMultiTexCoord4i");
pragma Import (Stdcall, glMultiTexCoord4iv, "glMultiTexCoord4iv");
pragma Import (Stdcall, glMultiTexCoord4s, "glMultiTexCoord4s");
pragma Import (Stdcall, glMultiTexCoord4sv, "glMultiTexCoord4sv");
pragma Import (Stdcall, glLoadTransposeMatrixd, "glLoadTransposeMatrixd");
pragma Import (Stdcall, glLoadTransposeMatrixf, "glLoadTransposeMatrixf");
pragma Import (Stdcall, glMultTransposeMatrixd, "glMultTransposeMatrixd");
pragma Import (Stdcall, glMultTransposeMatrixf, "glMultTransposeMatrixf");
pragma Import (Stdcall, glSampleCoverage, "glSampleCoverage");
pragma Import (Stdcall, glSamplePass, "glSamplePass");
end Sf.Window.GL;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-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$
------------------------------------------------------------------------------
with AMF.Internals.UML_Named_Elements;
with AMF.UML.Activities;
with AMF.UML.Activity_Edges.Collections;
with AMF.UML.Activity_Groups.Collections;
with AMF.UML.Activity_Nodes.Collections;
with AMF.UML.Activity_Partitions.Collections;
with AMF.UML.Classifiers.Collections;
with AMF.UML.Constraints.Collections;
with AMF.UML.Dependencies.Collections;
with AMF.UML.Exception_Handlers.Collections;
with AMF.UML.Input_Pins.Collections;
with AMF.UML.Interruptible_Activity_Regions.Collections;
with AMF.UML.Named_Elements;
with AMF.UML.Namespaces;
with AMF.UML.Output_Pins.Collections;
with AMF.UML.Packages.Collections;
with AMF.UML.Raise_Exception_Actions;
with AMF.UML.Redefinable_Elements.Collections;
with AMF.UML.String_Expressions;
with AMF.UML.Structured_Activity_Nodes;
with AMF.Visitors;
package AMF.Internals.UML_Raise_Exception_Actions is
type UML_Raise_Exception_Action_Proxy is
limited new AMF.Internals.UML_Named_Elements.UML_Named_Element_Proxy
and AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action with null record;
overriding function Get_Exception
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Input_Pins.UML_Input_Pin_Access;
-- Getter of RaiseExceptionAction::exception.
--
-- An input pin whose value becomes an exception object.
overriding procedure Set_Exception
(Self : not null access UML_Raise_Exception_Action_Proxy;
To : AMF.UML.Input_Pins.UML_Input_Pin_Access);
-- Setter of RaiseExceptionAction::exception.
--
-- An input pin whose value becomes an exception object.
overriding function Get_Context
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Classifiers.UML_Classifier_Access;
-- Getter of Action::context.
--
-- The classifier that owns the behavior of which this action is a part.
overriding function Get_Input
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Input_Pins.Collections.Ordered_Set_Of_UML_Input_Pin;
-- Getter of Action::input.
--
-- The ordered set of input pins connected to the Action. These are among
-- the total set of inputs.
overriding function Get_Is_Locally_Reentrant
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return Boolean;
-- Getter of Action::isLocallyReentrant.
--
-- If true, the action can begin a new, concurrent execution, even if
-- there is already another execution of the action ongoing. If false, the
-- action cannot begin a new execution until any previous execution has
-- completed.
overriding procedure Set_Is_Locally_Reentrant
(Self : not null access UML_Raise_Exception_Action_Proxy;
To : Boolean);
-- Setter of Action::isLocallyReentrant.
--
-- If true, the action can begin a new, concurrent execution, even if
-- there is already another execution of the action ongoing. If false, the
-- action cannot begin a new execution until any previous execution has
-- completed.
overriding function Get_Local_Postcondition
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Constraints.Collections.Set_Of_UML_Constraint;
-- Getter of Action::localPostcondition.
--
-- Constraint that must be satisfied when executed is completed.
overriding function Get_Local_Precondition
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Constraints.Collections.Set_Of_UML_Constraint;
-- Getter of Action::localPrecondition.
--
-- Constraint that must be satisfied when execution is started.
overriding function Get_Output
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Output_Pins.Collections.Ordered_Set_Of_UML_Output_Pin;
-- Getter of Action::output.
--
-- The ordered set of output pins connected to the Action. The action
-- places its results onto pins in this set.
overriding function Get_Handler
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Exception_Handlers.Collections.Set_Of_UML_Exception_Handler;
-- Getter of ExecutableNode::handler.
--
-- A set of exception handlers that are examined if an uncaught exception
-- propagates to the outer level of the executable node.
overriding function Get_Activity
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Activities.UML_Activity_Access;
-- Getter of ActivityNode::activity.
--
-- Activity containing the node.
overriding procedure Set_Activity
(Self : not null access UML_Raise_Exception_Action_Proxy;
To : AMF.UML.Activities.UML_Activity_Access);
-- Setter of ActivityNode::activity.
--
-- Activity containing the node.
overriding function Get_In_Group
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Activity_Groups.Collections.Set_Of_UML_Activity_Group;
-- Getter of ActivityNode::inGroup.
--
-- Groups containing the node.
overriding function Get_In_Interruptible_Region
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Interruptible_Activity_Regions.Collections.Set_Of_UML_Interruptible_Activity_Region;
-- Getter of ActivityNode::inInterruptibleRegion.
--
-- Interruptible regions containing the node.
overriding function Get_In_Partition
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Activity_Partitions.Collections.Set_Of_UML_Activity_Partition;
-- Getter of ActivityNode::inPartition.
--
-- Partitions containing the node.
overriding function Get_In_Structured_Node
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access;
-- Getter of ActivityNode::inStructuredNode.
--
-- Structured activity node containing the node.
overriding procedure Set_In_Structured_Node
(Self : not null access UML_Raise_Exception_Action_Proxy;
To : AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access);
-- Setter of ActivityNode::inStructuredNode.
--
-- Structured activity node containing the node.
overriding function Get_Incoming
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Activity_Edges.Collections.Set_Of_UML_Activity_Edge;
-- Getter of ActivityNode::incoming.
--
-- Edges that have the node as target.
overriding function Get_Outgoing
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Activity_Edges.Collections.Set_Of_UML_Activity_Edge;
-- Getter of ActivityNode::outgoing.
--
-- Edges that have the node as source.
overriding function Get_Redefined_Node
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Activity_Nodes.Collections.Set_Of_UML_Activity_Node;
-- Getter of ActivityNode::redefinedNode.
--
-- Inherited nodes replaced by this node in a specialization of the
-- activity.
overriding function Get_Is_Leaf
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return Boolean;
-- Getter of RedefinableElement::isLeaf.
--
-- Indicates whether it is possible to further redefine a
-- RedefinableElement. If the value is true, then it is not possible to
-- further redefine the RedefinableElement. Note that this property is
-- preserved through package merge operations; that is, the capability to
-- redefine a RedefinableElement (i.e., isLeaf=false) must be preserved in
-- the resulting RedefinableElement of a package merge operation where a
-- RedefinableElement with isLeaf=false is merged with a matching
-- RedefinableElement with isLeaf=true: the resulting RedefinableElement
-- will have isLeaf=false. Default value is false.
overriding procedure Set_Is_Leaf
(Self : not null access UML_Raise_Exception_Action_Proxy;
To : Boolean);
-- Setter of RedefinableElement::isLeaf.
--
-- Indicates whether it is possible to further redefine a
-- RedefinableElement. If the value is true, then it is not possible to
-- further redefine the RedefinableElement. Note that this property is
-- preserved through package merge operations; that is, the capability to
-- redefine a RedefinableElement (i.e., isLeaf=false) must be preserved in
-- the resulting RedefinableElement of a package merge operation where a
-- RedefinableElement with isLeaf=false is merged with a matching
-- RedefinableElement with isLeaf=true: the resulting RedefinableElement
-- will have isLeaf=false. Default value is false.
overriding function Get_Redefined_Element
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Redefinable_Elements.Collections.Set_Of_UML_Redefinable_Element;
-- Getter of RedefinableElement::redefinedElement.
--
-- The redefinable element that is being redefined by this element.
overriding function Get_Redefinition_Context
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier;
-- Getter of RedefinableElement::redefinitionContext.
--
-- References the contexts that this element may be redefined from.
overriding function Get_Client_Dependency
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Dependencies.Collections.Set_Of_UML_Dependency;
-- Getter of NamedElement::clientDependency.
--
-- Indicates the dependencies that reference the client.
overriding function Get_Name_Expression
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.String_Expressions.UML_String_Expression_Access;
-- Getter of NamedElement::nameExpression.
--
-- The string expression used to define the name of this named element.
overriding procedure Set_Name_Expression
(Self : not null access UML_Raise_Exception_Action_Proxy;
To : AMF.UML.String_Expressions.UML_String_Expression_Access);
-- Setter of NamedElement::nameExpression.
--
-- The string expression used to define the name of this named element.
overriding function Get_Namespace
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Namespaces.UML_Namespace_Access;
-- Getter of NamedElement::namespace.
--
-- Specifies the namespace that owns the NamedElement.
overriding function Get_Qualified_Name
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.Optional_String;
-- Getter of NamedElement::qualifiedName.
--
-- A name which allows the NamedElement to be identified within a
-- hierarchy of nested Namespaces. It is constructed from the names of the
-- containing namespaces starting at the root of the hierarchy and ending
-- with the name of the NamedElement itself.
overriding function Context
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Classifiers.UML_Classifier_Access;
-- Operation Action::context.
--
-- Missing derivation for Action::/context : Classifier
overriding function Is_Consistent_With
(Self : not null access constant UML_Raise_Exception_Action_Proxy;
Redefinee : AMF.UML.Redefinable_Elements.UML_Redefinable_Element_Access)
return Boolean;
-- Operation RedefinableElement::isConsistentWith.
--
-- The query isConsistentWith() specifies, for any two RedefinableElements
-- in a context in which redefinition is possible, whether redefinition
-- would be logically consistent. By default, this is false; this
-- operation must be overridden for subclasses of RedefinableElement to
-- define the consistency conditions.
overriding function Is_Redefinition_Context_Valid
(Self : not null access constant UML_Raise_Exception_Action_Proxy;
Redefined : AMF.UML.Redefinable_Elements.UML_Redefinable_Element_Access)
return Boolean;
-- Operation RedefinableElement::isRedefinitionContextValid.
--
-- The query isRedefinitionContextValid() specifies whether the
-- redefinition contexts of this RedefinableElement are properly related
-- to the redefinition contexts of the specified RedefinableElement to
-- allow this element to redefine the other. By default at least one of
-- the redefinition contexts of this element must be a specialization of
-- at least one of the redefinition contexts of the specified element.
overriding function All_Owning_Packages
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Packages.Collections.Set_Of_UML_Package;
-- Operation NamedElement::allOwningPackages.
--
-- The query allOwningPackages() returns all the directly or indirectly
-- owning packages.
overriding function Is_Distinguishable_From
(Self : not null access constant UML_Raise_Exception_Action_Proxy;
N : AMF.UML.Named_Elements.UML_Named_Element_Access;
Ns : AMF.UML.Namespaces.UML_Namespace_Access)
return Boolean;
-- Operation NamedElement::isDistinguishableFrom.
--
-- The query isDistinguishableFrom() determines whether two NamedElements
-- may logically co-exist within a Namespace. By default, two named
-- elements are distinguishable if (a) they have unrelated types or (b)
-- they have related types but different names.
overriding function Namespace
(Self : not null access constant UML_Raise_Exception_Action_Proxy)
return AMF.UML.Namespaces.UML_Namespace_Access;
-- Operation NamedElement::namespace.
--
-- Missing derivation for NamedElement::/namespace : Namespace
overriding procedure Enter_Element
(Self : not null access constant UML_Raise_Exception_Action_Proxy;
Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
Control : in out AMF.Visitors.Traverse_Control);
-- Dispatch call to corresponding subprogram of visitor interface.
overriding procedure Leave_Element
(Self : not null access constant UML_Raise_Exception_Action_Proxy;
Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
Control : in out AMF.Visitors.Traverse_Control);
-- Dispatch call to corresponding subprogram of visitor interface.
overriding procedure Visit_Element
(Self : not null access constant UML_Raise_Exception_Action_Proxy;
Iterator : in out AMF.Visitors.Abstract_Iterator'Class;
Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
Control : in out AMF.Visitors.Traverse_Control);
-- Dispatch call to corresponding subprogram of iterator interface.
end AMF.Internals.UML_Raise_Exception_Actions;
|
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
limited with Program.Elements.Pragmas;
limited with Program.Elements.Defining_Names;
limited with Program.Elements.Defining_Identifiers;
limited with Program.Elements.Defining_Character_Literals;
limited with Program.Elements.Defining_Operator_Symbols;
limited with Program.Elements.Defining_Expanded_Names;
limited with Program.Elements.Declarations;
limited with Program.Elements.Type_Declarations;
limited with Program.Elements.Task_Type_Declarations;
limited with Program.Elements.Protected_Type_Declarations;
limited with Program.Elements.Subtype_Declarations;
limited with Program.Elements.Object_Declarations;
limited with Program.Elements.Single_Task_Declarations;
limited with Program.Elements.Single_Protected_Declarations;
limited with Program.Elements.Number_Declarations;
limited with Program.Elements.Enumeration_Literal_Specifications;
limited with Program.Elements.Discriminant_Specifications;
limited with Program.Elements.Component_Declarations;
limited with Program.Elements.Loop_Parameter_Specifications;
limited with Program.Elements.Generalized_Iterator_Specifications;
limited with Program.Elements.Element_Iterator_Specifications;
limited with Program.Elements.Procedure_Declarations;
limited with Program.Elements.Function_Declarations;
limited with Program.Elements.Parameter_Specifications;
limited with Program.Elements.Procedure_Body_Declarations;
limited with Program.Elements.Function_Body_Declarations;
limited with Program.Elements.Return_Object_Specifications;
limited with Program.Elements.Package_Declarations;
limited with Program.Elements.Package_Body_Declarations;
limited with Program.Elements.Object_Renaming_Declarations;
limited with Program.Elements.Exception_Renaming_Declarations;
limited with Program.Elements.Procedure_Renaming_Declarations;
limited with Program.Elements.Function_Renaming_Declarations;
limited with Program.Elements.Package_Renaming_Declarations;
limited with Program.Elements.Generic_Package_Renaming_Declarations;
limited with Program.Elements.Generic_Procedure_Renaming_Declarations;
limited with Program.Elements.Generic_Function_Renaming_Declarations;
limited with Program.Elements.Task_Body_Declarations;
limited with Program.Elements.Protected_Body_Declarations;
limited with Program.Elements.Entry_Declarations;
limited with Program.Elements.Entry_Body_Declarations;
limited with Program.Elements.Entry_Index_Specifications;
limited with Program.Elements.Procedure_Body_Stubs;
limited with Program.Elements.Function_Body_Stubs;
limited with Program.Elements.Package_Body_Stubs;
limited with Program.Elements.Task_Body_Stubs;
limited with Program.Elements.Protected_Body_Stubs;
limited with Program.Elements.Exception_Declarations;
limited with Program.Elements.Choice_Parameter_Specifications;
limited with Program.Elements.Generic_Package_Declarations;
limited with Program.Elements.Generic_Procedure_Declarations;
limited with Program.Elements.Generic_Function_Declarations;
limited with Program.Elements.Package_Instantiations;
limited with Program.Elements.Procedure_Instantiations;
limited with Program.Elements.Function_Instantiations;
limited with Program.Elements.Formal_Object_Declarations;
limited with Program.Elements.Formal_Type_Declarations;
limited with Program.Elements.Formal_Procedure_Declarations;
limited with Program.Elements.Formal_Function_Declarations;
limited with Program.Elements.Formal_Package_Declarations;
limited with Program.Elements.Definitions;
limited with Program.Elements.Type_Definitions;
limited with Program.Elements.Subtype_Indications;
limited with Program.Elements.Constraints;
limited with Program.Elements.Component_Definitions;
limited with Program.Elements.Discrete_Ranges;
limited with Program.Elements.Discrete_Subtype_Indications;
limited with Program.Elements.Discrete_Range_Attribute_References;
limited with Program.Elements.Discrete_Simple_Expression_Ranges;
limited with Program.Elements.Unknown_Discriminant_Parts;
limited with Program.Elements.Known_Discriminant_Parts;
limited with Program.Elements.Record_Definitions;
limited with Program.Elements.Null_Components;
limited with Program.Elements.Variant_Parts;
limited with Program.Elements.Variants;
limited with Program.Elements.Others_Choices;
limited with Program.Elements.Anonymous_Access_Definitions;
limited with Program.Elements.Anonymous_Access_To_Objects;
limited with Program.Elements.Anonymous_Access_To_Procedures;
limited with Program.Elements.Anonymous_Access_To_Functions;
limited with Program.Elements.Private_Type_Definitions;
limited with Program.Elements.Private_Extension_Definitions;
limited with Program.Elements.Incomplete_Type_Definitions;
limited with Program.Elements.Task_Definitions;
limited with Program.Elements.Protected_Definitions;
limited with Program.Elements.Formal_Type_Definitions;
limited with Program.Elements.Aspect_Specifications;
limited with Program.Elements.Real_Range_Specifications;
limited with Program.Elements.Expressions;
limited with Program.Elements.Numeric_Literals;
limited with Program.Elements.String_Literals;
limited with Program.Elements.Identifiers;
limited with Program.Elements.Operator_Symbols;
limited with Program.Elements.Character_Literals;
limited with Program.Elements.Explicit_Dereferences;
limited with Program.Elements.Infix_Operators;
limited with Program.Elements.Function_Calls;
limited with Program.Elements.Indexed_Components;
limited with Program.Elements.Slices;
limited with Program.Elements.Selected_Components;
limited with Program.Elements.Attribute_References;
limited with Program.Elements.Record_Aggregates;
limited with Program.Elements.Extension_Aggregates;
limited with Program.Elements.Array_Aggregates;
limited with Program.Elements.Short_Circuit_Operations;
limited with Program.Elements.Membership_Tests;
limited with Program.Elements.Null_Literals;
limited with Program.Elements.Parenthesized_Expressions;
limited with Program.Elements.Raise_Expressions;
limited with Program.Elements.Type_Conversions;
limited with Program.Elements.Qualified_Expressions;
limited with Program.Elements.Allocators;
limited with Program.Elements.Case_Expressions;
limited with Program.Elements.If_Expressions;
limited with Program.Elements.Quantified_Expressions;
limited with Program.Elements.Associations;
limited with Program.Elements.Discriminant_Associations;
limited with Program.Elements.Record_Component_Associations;
limited with Program.Elements.Array_Component_Associations;
limited with Program.Elements.Parameter_Associations;
limited with Program.Elements.Formal_Package_Associations;
limited with Program.Elements.Statements;
limited with Program.Elements.Null_Statements;
limited with Program.Elements.Assignment_Statements;
limited with Program.Elements.If_Statements;
limited with Program.Elements.Case_Statements;
limited with Program.Elements.Loop_Statements;
limited with Program.Elements.While_Loop_Statements;
limited with Program.Elements.For_Loop_Statements;
limited with Program.Elements.Block_Statements;
limited with Program.Elements.Exit_Statements;
limited with Program.Elements.Goto_Statements;
limited with Program.Elements.Call_Statements;
limited with Program.Elements.Simple_Return_Statements;
limited with Program.Elements.Extended_Return_Statements;
limited with Program.Elements.Accept_Statements;
limited with Program.Elements.Requeue_Statements;
limited with Program.Elements.Delay_Statements;
limited with Program.Elements.Terminate_Alternative_Statements;
limited with Program.Elements.Select_Statements;
limited with Program.Elements.Abort_Statements;
limited with Program.Elements.Raise_Statements;
limited with Program.Elements.Code_Statements;
limited with Program.Elements.Paths;
limited with Program.Elements.Elsif_Paths;
limited with Program.Elements.Case_Paths;
limited with Program.Elements.Select_Paths;
limited with Program.Elements.Case_Expression_Paths;
limited with Program.Elements.Elsif_Expression_Paths;
limited with Program.Elements.Clauses;
limited with Program.Elements.Use_Clauses;
limited with Program.Elements.With_Clauses;
limited with Program.Elements.Representation_Clauses;
limited with Program.Elements.Component_Clauses;
limited with Program.Elements.Derived_Types;
limited with Program.Elements.Derived_Record_Extensions;
limited with Program.Elements.Enumeration_Types;
limited with Program.Elements.Signed_Integer_Types;
limited with Program.Elements.Modular_Types;
limited with Program.Elements.Root_Types;
limited with Program.Elements.Floating_Point_Types;
limited with Program.Elements.Ordinary_Fixed_Point_Types;
limited with Program.Elements.Decimal_Fixed_Point_Types;
limited with Program.Elements.Unconstrained_Array_Types;
limited with Program.Elements.Constrained_Array_Types;
limited with Program.Elements.Record_Types;
limited with Program.Elements.Interface_Types;
limited with Program.Elements.Object_Access_Types;
limited with Program.Elements.Procedure_Access_Types;
limited with Program.Elements.Function_Access_Types;
limited with Program.Elements.Formal_Private_Type_Definitions;
limited with Program.Elements.Formal_Derived_Type_Definitions;
limited with Program.Elements.Formal_Discrete_Type_Definitions;
limited with Program.Elements.Formal_Signed_Integer_Type_Definitions;
limited with Program.Elements.Formal_Modular_Type_Definitions;
limited with Program.Elements.Formal_Floating_Point_Definitions;
limited with Program.Elements.Formal_Ordinary_Fixed_Point_Definitions;
limited with Program.Elements.Formal_Decimal_Fixed_Point_Definitions;
limited with Program.Elements.Formal_Unconstrained_Array_Types;
limited with Program.Elements.Formal_Constrained_Array_Types;
limited with Program.Elements.Formal_Access_Types;
limited with Program.Elements.Formal_Object_Access_Types;
limited with Program.Elements.Formal_Procedure_Access_Types;
limited with Program.Elements.Formal_Function_Access_Types;
limited with Program.Elements.Formal_Interface_Types;
limited with Program.Elements.Access_Types;
limited with Program.Elements.Range_Attribute_References;
limited with Program.Elements.Simple_Expression_Ranges;
limited with Program.Elements.Digits_Constraints;
limited with Program.Elements.Delta_Constraints;
limited with Program.Elements.Index_Constraints;
limited with Program.Elements.Discriminant_Constraints;
limited with Program.Elements.Attribute_Definition_Clauses;
limited with Program.Elements.Enumeration_Representation_Clauses;
limited with Program.Elements.Record_Representation_Clauses;
limited with Program.Elements.At_Clauses;
limited with Program.Elements.Exception_Handlers;
limited with Program.Element_Visitors;
limited with Program.Element_Iterators;
package Program.Elements is
pragma Pure (Program.Elements);
type Element is limited interface;
type Element_Access is access all Element'Class with Storage_Size => 0;
function Assigned (Self : access Element'Class) return Boolean
is (Self /= null);
not overriding function Is_Pragma (Self : Element) return Boolean
is abstract;
not overriding function Is_Defining_Name (Self : Element) return Boolean
is abstract;
not overriding function Is_Defining_Identifier
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Defining_Identifier'Result then Self.Is_Defining_Name);
not overriding function Is_Defining_Character_Literal
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Defining_Character_Literal'Result then Self.Is_Defining_Name);
not overriding function Is_Defining_Operator_Symbol
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Defining_Operator_Symbol'Result then Self.Is_Defining_Name);
not overriding function Is_Defining_Expanded_Name
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Defining_Expanded_Name'Result then Self.Is_Defining_Name);
not overriding function Is_Declaration (Self : Element) return Boolean
is abstract;
not overriding function Is_Type_Declaration (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Type_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Task_Type_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Task_Type_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Protected_Type_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Protected_Type_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Subtype_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Subtype_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Object_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Object_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Single_Task_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Single_Task_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Single_Protected_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Single_Protected_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Number_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Number_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Enumeration_Literal_Specification
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Enumeration_Literal_Specification'Result
then Self.Is_Declaration);
not overriding function Is_Discriminant_Specification
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Discriminant_Specification'Result then Self.Is_Declaration);
not overriding function Is_Component_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Component_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Loop_Parameter_Specification
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Loop_Parameter_Specification'Result then Self.Is_Declaration);
not overriding function Is_Generalized_Iterator_Specification
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Generalized_Iterator_Specification'Result
then Self.Is_Declaration);
not overriding function Is_Element_Iterator_Specification
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Element_Iterator_Specification'Result then Self.Is_Declaration);
not overriding function Is_Procedure_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Procedure_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Function_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Function_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Parameter_Specification
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Parameter_Specification'Result then Self.Is_Declaration);
not overriding function Is_Procedure_Body_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Procedure_Body_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Function_Body_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Function_Body_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Return_Object_Specification
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Return_Object_Specification'Result then Self.Is_Declaration);
not overriding function Is_Package_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Package_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Package_Body_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Package_Body_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Object_Renaming_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Object_Renaming_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Exception_Renaming_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Exception_Renaming_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Procedure_Renaming_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Procedure_Renaming_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Function_Renaming_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Function_Renaming_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Package_Renaming_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Package_Renaming_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Generic_Package_Renaming_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Generic_Package_Renaming_Declaration'Result
then Self.Is_Declaration);
not overriding function Is_Generic_Procedure_Renaming_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Generic_Procedure_Renaming_Declaration'Result
then Self.Is_Declaration);
not overriding function Is_Generic_Function_Renaming_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Generic_Function_Renaming_Declaration'Result
then Self.Is_Declaration);
not overriding function Is_Task_Body_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Task_Body_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Protected_Body_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Protected_Body_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Entry_Declaration (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Entry_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Entry_Body_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Entry_Body_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Entry_Index_Specification
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Entry_Index_Specification'Result then Self.Is_Declaration);
not overriding function Is_Procedure_Body_Stub
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Procedure_Body_Stub'Result then Self.Is_Declaration);
not overriding function Is_Function_Body_Stub
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Function_Body_Stub'Result then Self.Is_Declaration);
not overriding function Is_Package_Body_Stub (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Package_Body_Stub'Result then Self.Is_Declaration);
not overriding function Is_Task_Body_Stub (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Task_Body_Stub'Result then Self.Is_Declaration);
not overriding function Is_Protected_Body_Stub
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Protected_Body_Stub'Result then Self.Is_Declaration);
not overriding function Is_Exception_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Exception_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Choice_Parameter_Specification
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Choice_Parameter_Specification'Result then Self.Is_Declaration);
not overriding function Is_Generic_Package_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Generic_Package_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Generic_Procedure_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Generic_Procedure_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Generic_Function_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Generic_Function_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Package_Instantiation
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Package_Instantiation'Result then Self.Is_Declaration);
not overriding function Is_Procedure_Instantiation
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Procedure_Instantiation'Result then Self.Is_Declaration);
not overriding function Is_Function_Instantiation
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Function_Instantiation'Result then Self.Is_Declaration);
not overriding function Is_Formal_Object_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Object_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Formal_Type_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Type_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Formal_Procedure_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Procedure_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Formal_Function_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Function_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Formal_Package_Declaration
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Package_Declaration'Result then Self.Is_Declaration);
not overriding function Is_Definition (Self : Element) return Boolean
is abstract;
not overriding function Is_Type_Definition (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Type_Definition'Result then Self.Is_Definition);
not overriding function Is_Subtype_Indication
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Subtype_Indication'Result then Self.Is_Definition);
not overriding function Is_Constraint (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Constraint'Result then Self.Is_Definition);
not overriding function Is_Component_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Component_Definition'Result then Self.Is_Definition);
not overriding function Is_Discrete_Range (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Discrete_Range'Result then Self.Is_Definition);
not overriding function Is_Discrete_Subtype_Indication
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Discrete_Subtype_Indication'Result then Self.Is_Discrete_Range);
not overriding function Is_Discrete_Range_Attribute_Reference
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Discrete_Range_Attribute_Reference'Result
then Self.Is_Discrete_Range);
not overriding function Is_Discrete_Simple_Expression_Range
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Discrete_Simple_Expression_Range'Result
then Self.Is_Discrete_Range);
not overriding function Is_Unknown_Discriminant_Part
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Unknown_Discriminant_Part'Result then Self.Is_Definition);
not overriding function Is_Known_Discriminant_Part
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Known_Discriminant_Part'Result then Self.Is_Definition);
not overriding function Is_Record_Definition (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Record_Definition'Result then Self.Is_Definition);
not overriding function Is_Null_Component (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Null_Component'Result then Self.Is_Definition);
not overriding function Is_Variant_Part (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Variant_Part'Result then Self.Is_Definition);
not overriding function Is_Variant (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Variant'Result then Self.Is_Definition);
not overriding function Is_Others_Choice (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Others_Choice'Result then Self.Is_Definition);
not overriding function Is_Anonymous_Access_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Anonymous_Access_Definition'Result then Self.Is_Definition);
not overriding function Is_Anonymous_Access_To_Object
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Anonymous_Access_To_Object'Result
then Self.Is_Anonymous_Access_Definition);
not overriding function Is_Anonymous_Access_To_Procedure
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Anonymous_Access_To_Procedure'Result
then Self.Is_Anonymous_Access_Definition);
not overriding function Is_Anonymous_Access_To_Function
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Anonymous_Access_To_Function'Result
then Self.Is_Anonymous_Access_Definition);
not overriding function Is_Private_Type_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Private_Type_Definition'Result then Self.Is_Definition);
not overriding function Is_Private_Extension_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Private_Extension_Definition'Result then Self.Is_Definition);
not overriding function Is_Incomplete_Type_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Incomplete_Type_Definition'Result then Self.Is_Definition);
not overriding function Is_Task_Definition (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Task_Definition'Result then Self.Is_Definition);
not overriding function Is_Protected_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Protected_Definition'Result then Self.Is_Definition);
not overriding function Is_Formal_Type_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Type_Definition'Result then Self.Is_Definition);
not overriding function Is_Aspect_Specification
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Aspect_Specification'Result then Self.Is_Definition);
not overriding function Is_Real_Range_Specification
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Real_Range_Specification'Result then Self.Is_Definition);
not overriding function Is_Expression (Self : Element) return Boolean
is abstract;
not overriding function Is_Numeric_Literal (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Numeric_Literal'Result then Self.Is_Expression);
not overriding function Is_String_Literal (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_String_Literal'Result then Self.Is_Expression);
not overriding function Is_Identifier (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Identifier'Result then Self.Is_Expression);
not overriding function Is_Operator_Symbol (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Operator_Symbol'Result then Self.Is_Expression);
not overriding function Is_Character_Literal (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Character_Literal'Result then Self.Is_Expression);
not overriding function Is_Explicit_Dereference
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Explicit_Dereference'Result then Self.Is_Expression);
not overriding function Is_Infix_Operator (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Infix_Operator'Result then Self.Is_Expression);
not overriding function Is_Function_Call (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Function_Call'Result then Self.Is_Expression);
not overriding function Is_Indexed_Component (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Indexed_Component'Result then Self.Is_Expression);
not overriding function Is_Slice (Self : Element) return Boolean is abstract
with Post'Class => (if Is_Slice'Result then Self.Is_Expression);
not overriding function Is_Selected_Component
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Selected_Component'Result then Self.Is_Expression);
not overriding function Is_Attribute_Reference
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Attribute_Reference'Result then Self.Is_Expression);
not overriding function Is_Record_Aggregate (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Record_Aggregate'Result then Self.Is_Expression);
not overriding function Is_Extension_Aggregate
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Extension_Aggregate'Result then Self.Is_Expression);
not overriding function Is_Array_Aggregate (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Array_Aggregate'Result then Self.Is_Expression);
not overriding function Is_Short_Circuit_Operation
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Short_Circuit_Operation'Result then Self.Is_Expression);
not overriding function Is_Membership_Test (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Membership_Test'Result then Self.Is_Expression);
not overriding function Is_Null_Literal (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Null_Literal'Result then Self.Is_Expression);
not overriding function Is_Parenthesized_Expression
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Parenthesized_Expression'Result then Self.Is_Expression);
not overriding function Is_Raise_Expression (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Raise_Expression'Result then Self.Is_Expression);
not overriding function Is_Type_Conversion (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Type_Conversion'Result then Self.Is_Expression);
not overriding function Is_Qualified_Expression
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Qualified_Expression'Result then Self.Is_Expression);
not overriding function Is_Allocator (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Allocator'Result then Self.Is_Expression);
not overriding function Is_Case_Expression (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Case_Expression'Result then Self.Is_Expression);
not overriding function Is_If_Expression (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_If_Expression'Result then Self.Is_Expression);
not overriding function Is_Quantified_Expression
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Quantified_Expression'Result then Self.Is_Expression);
not overriding function Is_Association (Self : Element) return Boolean
is abstract;
not overriding function Is_Discriminant_Association
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Discriminant_Association'Result then Self.Is_Association);
not overriding function Is_Record_Component_Association
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Record_Component_Association'Result then Self.Is_Association);
not overriding function Is_Array_Component_Association
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Array_Component_Association'Result then Self.Is_Association);
not overriding function Is_Parameter_Association
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Parameter_Association'Result then Self.Is_Association);
not overriding function Is_Formal_Package_Association
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Package_Association'Result then Self.Is_Association);
not overriding function Is_Statement (Self : Element) return Boolean
is abstract;
not overriding function Is_Null_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Null_Statement'Result then Self.Is_Statement);
not overriding function Is_Assignment_Statement
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Assignment_Statement'Result then Self.Is_Statement);
not overriding function Is_If_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_If_Statement'Result then Self.Is_Statement);
not overriding function Is_Case_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Case_Statement'Result then Self.Is_Statement);
not overriding function Is_Loop_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Loop_Statement'Result then Self.Is_Statement);
not overriding function Is_While_Loop_Statement
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_While_Loop_Statement'Result then Self.Is_Statement);
not overriding function Is_For_Loop_Statement
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_For_Loop_Statement'Result then Self.Is_Statement);
not overriding function Is_Block_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Block_Statement'Result then Self.Is_Statement);
not overriding function Is_Exit_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Exit_Statement'Result then Self.Is_Statement);
not overriding function Is_Goto_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Goto_Statement'Result then Self.Is_Statement);
not overriding function Is_Call_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Call_Statement'Result then Self.Is_Statement);
not overriding function Is_Simple_Return_Statement
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Simple_Return_Statement'Result then Self.Is_Statement);
not overriding function Is_Extended_Return_Statement
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Extended_Return_Statement'Result then Self.Is_Statement);
not overriding function Is_Accept_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Accept_Statement'Result then Self.Is_Statement);
not overriding function Is_Requeue_Statement (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Requeue_Statement'Result then Self.Is_Statement);
not overriding function Is_Delay_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Delay_Statement'Result then Self.Is_Statement);
not overriding function Is_Terminate_Alternative_Statement
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Terminate_Alternative_Statement'Result then Self.Is_Statement);
not overriding function Is_Select_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Select_Statement'Result then Self.Is_Statement);
not overriding function Is_Abort_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Abort_Statement'Result then Self.Is_Statement);
not overriding function Is_Raise_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Raise_Statement'Result then Self.Is_Statement);
not overriding function Is_Code_Statement (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Code_Statement'Result then Self.Is_Statement);
not overriding function Is_Path (Self : Element) return Boolean is abstract;
not overriding function Is_Elsif_Path (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Elsif_Path'Result then Self.Is_Path);
not overriding function Is_Case_Path (Self : Element) return Boolean
is abstract with Post'Class => (if Is_Case_Path'Result then Self.Is_Path);
not overriding function Is_Select_Path (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Select_Path'Result then Self.Is_Path);
not overriding function Is_Case_Expression_Path
(Self : Element)
return Boolean is abstract
with Post'Class => (if Is_Case_Expression_Path'Result then Self.Is_Path);
not overriding function Is_Elsif_Expression_Path
(Self : Element)
return Boolean is abstract
with Post'Class => (if Is_Elsif_Expression_Path'Result then Self.Is_Path);
not overriding function Is_Clause (Self : Element) return Boolean
is abstract;
not overriding function Is_Use_Clause (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Use_Clause'Result then Self.Is_Clause);
not overriding function Is_With_Clause (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_With_Clause'Result then Self.Is_Clause);
not overriding function Is_Representation_Clause
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Representation_Clause'Result then Self.Is_Clause);
not overriding function Is_Component_Clause (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Component_Clause'Result then Self.Is_Clause);
not overriding function Is_Derived_Type (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Derived_Type'Result then Self.Is_Type_Definition);
not overriding function Is_Derived_Record_Extension
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Derived_Record_Extension'Result then Self.Is_Type_Definition);
not overriding function Is_Enumeration_Type (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Enumeration_Type'Result then Self.Is_Type_Definition);
not overriding function Is_Signed_Integer_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Signed_Integer_Type'Result then Self.Is_Type_Definition);
not overriding function Is_Modular_Type (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Modular_Type'Result then Self.Is_Type_Definition);
not overriding function Is_Root_Type (Self : Element) return Boolean
is abstract
with Post'Class => (if Is_Root_Type'Result then Self.Is_Type_Definition);
not overriding function Is_Floating_Point_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Floating_Point_Type'Result then Self.Is_Type_Definition);
not overriding function Is_Ordinary_Fixed_Point_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Ordinary_Fixed_Point_Type'Result then Self.Is_Type_Definition);
not overriding function Is_Decimal_Fixed_Point_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Decimal_Fixed_Point_Type'Result then Self.Is_Type_Definition);
not overriding function Is_Unconstrained_Array_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Unconstrained_Array_Type'Result then Self.Is_Type_Definition);
not overriding function Is_Constrained_Array_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Constrained_Array_Type'Result then Self.Is_Type_Definition);
not overriding function Is_Record_Type (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Record_Type'Result then Self.Is_Type_Definition);
not overriding function Is_Interface_Type (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Interface_Type'Result then Self.Is_Type_Definition);
not overriding function Is_Object_Access_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Object_Access_Type'Result then Self.Is_Access_Type);
not overriding function Is_Procedure_Access_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Procedure_Access_Type'Result then Self.Is_Access_Type);
not overriding function Is_Function_Access_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Function_Access_Type'Result then Self.Is_Access_Type);
not overriding function Is_Formal_Private_Type_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Private_Type_Definition'Result
then Self.Is_Formal_Type_Definition);
not overriding function Is_Formal_Derived_Type_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Derived_Type_Definition'Result
then Self.Is_Formal_Type_Definition);
not overriding function Is_Formal_Discrete_Type_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Discrete_Type_Definition'Result
then Self.Is_Formal_Type_Definition);
not overriding function Is_Formal_Signed_Integer_Type_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Signed_Integer_Type_Definition'Result
then Self.Is_Formal_Type_Definition);
not overriding function Is_Formal_Modular_Type_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Modular_Type_Definition'Result
then Self.Is_Formal_Type_Definition);
not overriding function Is_Formal_Floating_Point_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Floating_Point_Definition'Result
then Self.Is_Formal_Type_Definition);
not overriding function Is_Formal_Ordinary_Fixed_Point_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Ordinary_Fixed_Point_Definition'Result
then Self.Is_Formal_Type_Definition);
not overriding function Is_Formal_Decimal_Fixed_Point_Definition
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Decimal_Fixed_Point_Definition'Result
then Self.Is_Formal_Type_Definition);
not overriding function Is_Formal_Unconstrained_Array_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Unconstrained_Array_Type'Result
then Self.Is_Formal_Type_Definition);
not overriding function Is_Formal_Constrained_Array_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Constrained_Array_Type'Result
then Self.Is_Formal_Type_Definition);
not overriding function Is_Formal_Access_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Access_Type'Result then Self.Is_Formal_Type_Definition);
not overriding function Is_Formal_Object_Access_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Object_Access_Type'Result
then Self.Is_Formal_Access_Type);
not overriding function Is_Formal_Procedure_Access_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Procedure_Access_Type'Result
then Self.Is_Formal_Access_Type);
not overriding function Is_Formal_Function_Access_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Function_Access_Type'Result
then Self.Is_Formal_Access_Type);
not overriding function Is_Formal_Interface_Type
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Formal_Interface_Type'Result
then Self.Is_Formal_Type_Definition);
not overriding function Is_Access_Type (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Access_Type'Result then Self.Is_Type_Definition);
not overriding function Is_Range_Attribute_Reference
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Range_Attribute_Reference'Result then Self.Is_Constraint);
not overriding function Is_Simple_Expression_Range
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Simple_Expression_Range'Result then Self.Is_Constraint);
not overriding function Is_Digits_Constraint (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Digits_Constraint'Result then Self.Is_Constraint);
not overriding function Is_Delta_Constraint (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Delta_Constraint'Result then Self.Is_Constraint);
not overriding function Is_Index_Constraint (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_Index_Constraint'Result then Self.Is_Constraint);
not overriding function Is_Discriminant_Constraint
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Discriminant_Constraint'Result then Self.Is_Constraint);
not overriding function Is_Attribute_Definition_Clause
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Attribute_Definition_Clause'Result
then Self.Is_Representation_Clause);
not overriding function Is_Enumeration_Representation_Clause
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Enumeration_Representation_Clause'Result
then Self.Is_Representation_Clause);
not overriding function Is_Record_Representation_Clause
(Self : Element)
return Boolean is abstract
with Post'Class =>
(if Is_Record_Representation_Clause'Result
then Self.Is_Representation_Clause);
not overriding function Is_At_Clause (Self : Element) return Boolean
is abstract
with Post'Class =>
(if Is_At_Clause'Result then Self.Is_Representation_Clause);
not overriding function Is_Exception_Handler (Self : Element) return Boolean
is abstract;
function To_Element (Self : access Element'Class) return Element_Access
is (Element_Access (Self));
function To_Pragma
(Self : access Element'Class)
return Program.Elements.Pragmas.Pragma_Access
with Pre => not Self.Assigned or else Self.Is_Pragma;
function To_Defining_Name
(Self : access Element'Class)
return Program.Elements.Defining_Names.Defining_Name_Access
with Pre => not Self.Assigned or else Self.Is_Defining_Name;
function To_Defining_Identifier
(Self : access Element'Class)
return Program.Elements.Defining_Identifiers.Defining_Identifier_Access
with Pre => not Self.Assigned or else Self.Is_Defining_Identifier;
function To_Defining_Character_Literal
(Self : access Element'Class)
return Program.Elements.Defining_Character_Literals
.Defining_Character_Literal_Access
with Pre => not Self.Assigned or else Self.Is_Defining_Character_Literal;
function To_Defining_Operator_Symbol
(Self : access Element'Class)
return Program.Elements.Defining_Operator_Symbols
.Defining_Operator_Symbol_Access
with Pre => not Self.Assigned or else Self.Is_Defining_Operator_Symbol;
function To_Defining_Expanded_Name
(Self : access Element'Class)
return Program.Elements.Defining_Expanded_Names
.Defining_Expanded_Name_Access
with Pre => not Self.Assigned or else Self.Is_Defining_Expanded_Name;
function To_Declaration
(Self : access Element'Class)
return Program.Elements.Declarations.Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Declaration;
function To_Type_Declaration
(Self : access Element'Class)
return Program.Elements.Type_Declarations.Type_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Type_Declaration;
function To_Task_Type_Declaration
(Self : access Element'Class)
return Program.Elements.Task_Type_Declarations
.Task_Type_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Task_Type_Declaration;
function To_Protected_Type_Declaration
(Self : access Element'Class)
return Program.Elements.Protected_Type_Declarations
.Protected_Type_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Protected_Type_Declaration;
function To_Subtype_Declaration
(Self : access Element'Class)
return Program.Elements.Subtype_Declarations.Subtype_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Subtype_Declaration;
function To_Object_Declaration
(Self : access Element'Class)
return Program.Elements.Object_Declarations.Object_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Object_Declaration;
function To_Single_Task_Declaration
(Self : access Element'Class)
return Program.Elements.Single_Task_Declarations
.Single_Task_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Single_Task_Declaration;
function To_Single_Protected_Declaration
(Self : access Element'Class)
return Program.Elements.Single_Protected_Declarations
.Single_Protected_Declaration_Access
with Pre =>
not Self.Assigned or else Self.Is_Single_Protected_Declaration;
function To_Number_Declaration
(Self : access Element'Class)
return Program.Elements.Number_Declarations.Number_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Number_Declaration;
function To_Enumeration_Literal_Specification
(Self : access Element'Class)
return Program.Elements.Enumeration_Literal_Specifications
.Enumeration_Literal_Specification_Access
with Pre =>
not Self.Assigned or else Self.Is_Enumeration_Literal_Specification;
function To_Discriminant_Specification
(Self : access Element'Class)
return Program.Elements.Discriminant_Specifications
.Discriminant_Specification_Access
with Pre => not Self.Assigned or else Self.Is_Discriminant_Specification;
function To_Component_Declaration
(Self : access Element'Class)
return Program.Elements.Component_Declarations
.Component_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Component_Declaration;
function To_Loop_Parameter_Specification
(Self : access Element'Class)
return Program.Elements.Loop_Parameter_Specifications
.Loop_Parameter_Specification_Access
with Pre =>
not Self.Assigned or else Self.Is_Loop_Parameter_Specification;
function To_Generalized_Iterator_Specification
(Self : access Element'Class)
return Program.Elements.Generalized_Iterator_Specifications
.Generalized_Iterator_Specification_Access
with Pre =>
not Self.Assigned or else Self.Is_Generalized_Iterator_Specification;
function To_Element_Iterator_Specification
(Self : access Element'Class)
return Program.Elements.Element_Iterator_Specifications
.Element_Iterator_Specification_Access
with Pre =>
not Self.Assigned or else Self.Is_Element_Iterator_Specification;
function To_Procedure_Declaration
(Self : access Element'Class)
return Program.Elements.Procedure_Declarations
.Procedure_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Procedure_Declaration;
function To_Function_Declaration
(Self : access Element'Class)
return Program.Elements.Function_Declarations.Function_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Function_Declaration;
function To_Parameter_Specification
(Self : access Element'Class)
return Program.Elements.Parameter_Specifications
.Parameter_Specification_Access
with Pre => not Self.Assigned or else Self.Is_Parameter_Specification;
function To_Procedure_Body_Declaration
(Self : access Element'Class)
return Program.Elements.Procedure_Body_Declarations
.Procedure_Body_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Procedure_Body_Declaration;
function To_Function_Body_Declaration
(Self : access Element'Class)
return Program.Elements.Function_Body_Declarations
.Function_Body_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Function_Body_Declaration;
function To_Return_Object_Specification
(Self : access Element'Class)
return Program.Elements.Return_Object_Specifications
.Return_Object_Specification_Access
with Pre => not Self.Assigned or else Self.Is_Return_Object_Specification;
function To_Package_Declaration
(Self : access Element'Class)
return Program.Elements.Package_Declarations.Package_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Package_Declaration;
function To_Package_Body_Declaration
(Self : access Element'Class)
return Program.Elements.Package_Body_Declarations
.Package_Body_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Package_Body_Declaration;
function To_Object_Renaming_Declaration
(Self : access Element'Class)
return Program.Elements.Object_Renaming_Declarations
.Object_Renaming_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Object_Renaming_Declaration;
function To_Exception_Renaming_Declaration
(Self : access Element'Class)
return Program.Elements.Exception_Renaming_Declarations
.Exception_Renaming_Declaration_Access
with Pre =>
not Self.Assigned or else Self.Is_Exception_Renaming_Declaration;
function To_Procedure_Renaming_Declaration
(Self : access Element'Class)
return Program.Elements.Procedure_Renaming_Declarations
.Procedure_Renaming_Declaration_Access
with Pre =>
not Self.Assigned or else Self.Is_Procedure_Renaming_Declaration;
function To_Function_Renaming_Declaration
(Self : access Element'Class)
return Program.Elements.Function_Renaming_Declarations
.Function_Renaming_Declaration_Access
with Pre =>
not Self.Assigned or else Self.Is_Function_Renaming_Declaration;
function To_Package_Renaming_Declaration
(Self : access Element'Class)
return Program.Elements.Package_Renaming_Declarations
.Package_Renaming_Declaration_Access
with Pre =>
not Self.Assigned or else Self.Is_Package_Renaming_Declaration;
function To_Generic_Package_Renaming_Declaration
(Self : access Element'Class)
return Program.Elements.Generic_Package_Renaming_Declarations
.Generic_Package_Renaming_Declaration_Access
with Pre =>
not Self.Assigned or else Self.Is_Generic_Package_Renaming_Declaration;
function To_Generic_Procedure_Renaming_Declaration
(Self : access Element'Class)
return Program.Elements.Generic_Procedure_Renaming_Declarations
.Generic_Procedure_Renaming_Declaration_Access
with Pre =>
not Self.Assigned
or else Self.Is_Generic_Procedure_Renaming_Declaration;
function To_Generic_Function_Renaming_Declaration
(Self : access Element'Class)
return Program.Elements.Generic_Function_Renaming_Declarations
.Generic_Function_Renaming_Declaration_Access
with Pre =>
not Self.Assigned or else Self.Is_Generic_Function_Renaming_Declaration;
function To_Task_Body_Declaration
(Self : access Element'Class)
return Program.Elements.Task_Body_Declarations
.Task_Body_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Task_Body_Declaration;
function To_Protected_Body_Declaration
(Self : access Element'Class)
return Program.Elements.Protected_Body_Declarations
.Protected_Body_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Protected_Body_Declaration;
function To_Entry_Declaration
(Self : access Element'Class)
return Program.Elements.Entry_Declarations.Entry_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Entry_Declaration;
function To_Entry_Body_Declaration
(Self : access Element'Class)
return Program.Elements.Entry_Body_Declarations
.Entry_Body_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Entry_Body_Declaration;
function To_Entry_Index_Specification
(Self : access Element'Class)
return Program.Elements.Entry_Index_Specifications
.Entry_Index_Specification_Access
with Pre => not Self.Assigned or else Self.Is_Entry_Index_Specification;
function To_Procedure_Body_Stub
(Self : access Element'Class)
return Program.Elements.Procedure_Body_Stubs.Procedure_Body_Stub_Access
with Pre => not Self.Assigned or else Self.Is_Procedure_Body_Stub;
function To_Function_Body_Stub
(Self : access Element'Class)
return Program.Elements.Function_Body_Stubs.Function_Body_Stub_Access
with Pre => not Self.Assigned or else Self.Is_Function_Body_Stub;
function To_Package_Body_Stub
(Self : access Element'Class)
return Program.Elements.Package_Body_Stubs.Package_Body_Stub_Access
with Pre => not Self.Assigned or else Self.Is_Package_Body_Stub;
function To_Task_Body_Stub
(Self : access Element'Class)
return Program.Elements.Task_Body_Stubs.Task_Body_Stub_Access
with Pre => not Self.Assigned or else Self.Is_Task_Body_Stub;
function To_Protected_Body_Stub
(Self : access Element'Class)
return Program.Elements.Protected_Body_Stubs.Protected_Body_Stub_Access
with Pre => not Self.Assigned or else Self.Is_Protected_Body_Stub;
function To_Exception_Declaration
(Self : access Element'Class)
return Program.Elements.Exception_Declarations
.Exception_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Exception_Declaration;
function To_Choice_Parameter_Specification
(Self : access Element'Class)
return Program.Elements.Choice_Parameter_Specifications
.Choice_Parameter_Specification_Access
with Pre =>
not Self.Assigned or else Self.Is_Choice_Parameter_Specification;
function To_Generic_Package_Declaration
(Self : access Element'Class)
return Program.Elements.Generic_Package_Declarations
.Generic_Package_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Generic_Package_Declaration;
function To_Generic_Procedure_Declaration
(Self : access Element'Class)
return Program.Elements.Generic_Procedure_Declarations
.Generic_Procedure_Declaration_Access
with Pre =>
not Self.Assigned or else Self.Is_Generic_Procedure_Declaration;
function To_Generic_Function_Declaration
(Self : access Element'Class)
return Program.Elements.Generic_Function_Declarations
.Generic_Function_Declaration_Access
with Pre =>
not Self.Assigned or else Self.Is_Generic_Function_Declaration;
function To_Package_Instantiation
(Self : access Element'Class)
return Program.Elements.Package_Instantiations
.Package_Instantiation_Access
with Pre => not Self.Assigned or else Self.Is_Package_Instantiation;
function To_Procedure_Instantiation
(Self : access Element'Class)
return Program.Elements.Procedure_Instantiations
.Procedure_Instantiation_Access
with Pre => not Self.Assigned or else Self.Is_Procedure_Instantiation;
function To_Function_Instantiation
(Self : access Element'Class)
return Program.Elements.Function_Instantiations
.Function_Instantiation_Access
with Pre => not Self.Assigned or else Self.Is_Function_Instantiation;
function To_Formal_Object_Declaration
(Self : access Element'Class)
return Program.Elements.Formal_Object_Declarations
.Formal_Object_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Formal_Object_Declaration;
function To_Formal_Type_Declaration
(Self : access Element'Class)
return Program.Elements.Formal_Type_Declarations
.Formal_Type_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Formal_Type_Declaration;
function To_Formal_Procedure_Declaration
(Self : access Element'Class)
return Program.Elements.Formal_Procedure_Declarations
.Formal_Procedure_Declaration_Access
with Pre =>
not Self.Assigned or else Self.Is_Formal_Procedure_Declaration;
function To_Formal_Function_Declaration
(Self : access Element'Class)
return Program.Elements.Formal_Function_Declarations
.Formal_Function_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Formal_Function_Declaration;
function To_Formal_Package_Declaration
(Self : access Element'Class)
return Program.Elements.Formal_Package_Declarations
.Formal_Package_Declaration_Access
with Pre => not Self.Assigned or else Self.Is_Formal_Package_Declaration;
function To_Definition
(Self : access Element'Class)
return Program.Elements.Definitions.Definition_Access
with Pre => not Self.Assigned or else Self.Is_Definition;
function To_Type_Definition
(Self : access Element'Class)
return Program.Elements.Type_Definitions.Type_Definition_Access
with Pre => not Self.Assigned or else Self.Is_Type_Definition;
function To_Subtype_Indication
(Self : access Element'Class)
return Program.Elements.Subtype_Indications.Subtype_Indication_Access
with Pre => not Self.Assigned or else Self.Is_Subtype_Indication;
function To_Constraint
(Self : access Element'Class)
return Program.Elements.Constraints.Constraint_Access
with Pre => not Self.Assigned or else Self.Is_Constraint;
function To_Component_Definition
(Self : access Element'Class)
return Program.Elements.Component_Definitions.Component_Definition_Access
with Pre => not Self.Assigned or else Self.Is_Component_Definition;
function To_Discrete_Range
(Self : access Element'Class)
return Program.Elements.Discrete_Ranges.Discrete_Range_Access
with Pre => not Self.Assigned or else Self.Is_Discrete_Range;
function To_Discrete_Subtype_Indication
(Self : access Element'Class)
return Program.Elements.Discrete_Subtype_Indications
.Discrete_Subtype_Indication_Access
with Pre => not Self.Assigned or else Self.Is_Discrete_Subtype_Indication;
function To_Discrete_Range_Attribute_Reference
(Self : access Element'Class)
return Program.Elements.Discrete_Range_Attribute_References
.Discrete_Range_Attribute_Reference_Access
with Pre =>
not Self.Assigned or else Self.Is_Discrete_Range_Attribute_Reference;
function To_Discrete_Simple_Expression_Range
(Self : access Element'Class)
return Program.Elements.Discrete_Simple_Expression_Ranges
.Discrete_Simple_Expression_Range_Access
with Pre =>
not Self.Assigned or else Self.Is_Discrete_Simple_Expression_Range;
function To_Unknown_Discriminant_Part
(Self : access Element'Class)
return Program.Elements.Unknown_Discriminant_Parts
.Unknown_Discriminant_Part_Access
with Pre => not Self.Assigned or else Self.Is_Unknown_Discriminant_Part;
function To_Known_Discriminant_Part
(Self : access Element'Class)
return Program.Elements.Known_Discriminant_Parts
.Known_Discriminant_Part_Access
with Pre => not Self.Assigned or else Self.Is_Known_Discriminant_Part;
function To_Record_Definition
(Self : access Element'Class)
return Program.Elements.Record_Definitions.Record_Definition_Access
with Pre => not Self.Assigned or else Self.Is_Record_Definition;
function To_Null_Component
(Self : access Element'Class)
return Program.Elements.Null_Components.Null_Component_Access
with Pre => not Self.Assigned or else Self.Is_Null_Component;
function To_Variant_Part
(Self : access Element'Class)
return Program.Elements.Variant_Parts.Variant_Part_Access
with Pre => not Self.Assigned or else Self.Is_Variant_Part;
function To_Variant
(Self : access Element'Class)
return Program.Elements.Variants.Variant_Access
with Pre => not Self.Assigned or else Self.Is_Variant;
function To_Others_Choice
(Self : access Element'Class)
return Program.Elements.Others_Choices.Others_Choice_Access
with Pre => not Self.Assigned or else Self.Is_Others_Choice;
function To_Anonymous_Access_Definition
(Self : access Element'Class)
return Program.Elements.Anonymous_Access_Definitions
.Anonymous_Access_Definition_Access
with Pre => not Self.Assigned or else Self.Is_Anonymous_Access_Definition;
function To_Anonymous_Access_To_Object
(Self : access Element'Class)
return Program.Elements.Anonymous_Access_To_Objects
.Anonymous_Access_To_Object_Access
with Pre => not Self.Assigned or else Self.Is_Anonymous_Access_To_Object;
function To_Anonymous_Access_To_Procedure
(Self : access Element'Class)
return Program.Elements.Anonymous_Access_To_Procedures
.Anonymous_Access_To_Procedure_Access
with Pre =>
not Self.Assigned or else Self.Is_Anonymous_Access_To_Procedure;
function To_Anonymous_Access_To_Function
(Self : access Element'Class)
return Program.Elements.Anonymous_Access_To_Functions
.Anonymous_Access_To_Function_Access
with Pre =>
not Self.Assigned or else Self.Is_Anonymous_Access_To_Function;
function To_Private_Type_Definition
(Self : access Element'Class)
return Program.Elements.Private_Type_Definitions
.Private_Type_Definition_Access
with Pre => not Self.Assigned or else Self.Is_Private_Type_Definition;
function To_Private_Extension_Definition
(Self : access Element'Class)
return Program.Elements.Private_Extension_Definitions
.Private_Extension_Definition_Access
with Pre =>
not Self.Assigned or else Self.Is_Private_Extension_Definition;
function To_Incomplete_Type_Definition
(Self : access Element'Class)
return Program.Elements.Incomplete_Type_Definitions
.Incomplete_Type_Definition_Access
with Pre => not Self.Assigned or else Self.Is_Incomplete_Type_Definition;
function To_Task_Definition
(Self : access Element'Class)
return Program.Elements.Task_Definitions.Task_Definition_Access
with Pre => not Self.Assigned or else Self.Is_Task_Definition;
function To_Protected_Definition
(Self : access Element'Class)
return Program.Elements.Protected_Definitions.Protected_Definition_Access
with Pre => not Self.Assigned or else Self.Is_Protected_Definition;
function To_Formal_Type_Definition
(Self : access Element'Class)
return Program.Elements.Formal_Type_Definitions
.Formal_Type_Definition_Access
with Pre => not Self.Assigned or else Self.Is_Formal_Type_Definition;
function To_Aspect_Specification
(Self : access Element'Class)
return Program.Elements.Aspect_Specifications.Aspect_Specification_Access
with Pre => not Self.Assigned or else Self.Is_Aspect_Specification;
function To_Real_Range_Specification
(Self : access Element'Class)
return Program.Elements.Real_Range_Specifications
.Real_Range_Specification_Access
with Pre => not Self.Assigned or else Self.Is_Real_Range_Specification;
function To_Expression
(Self : access Element'Class)
return Program.Elements.Expressions.Expression_Access
with Pre => not Self.Assigned or else Self.Is_Expression;
function To_Numeric_Literal
(Self : access Element'Class)
return Program.Elements.Numeric_Literals.Numeric_Literal_Access
with Pre => not Self.Assigned or else Self.Is_Numeric_Literal;
function To_String_Literal
(Self : access Element'Class)
return Program.Elements.String_Literals.String_Literal_Access
with Pre => not Self.Assigned or else Self.Is_String_Literal;
function To_Identifier
(Self : access Element'Class)
return Program.Elements.Identifiers.Identifier_Access
with Pre => not Self.Assigned or else Self.Is_Identifier;
function To_Operator_Symbol
(Self : access Element'Class)
return Program.Elements.Operator_Symbols.Operator_Symbol_Access
with Pre => not Self.Assigned or else Self.Is_Operator_Symbol;
function To_Character_Literal
(Self : access Element'Class)
return Program.Elements.Character_Literals.Character_Literal_Access
with Pre => not Self.Assigned or else Self.Is_Character_Literal;
function To_Explicit_Dereference
(Self : access Element'Class)
return Program.Elements.Explicit_Dereferences.Explicit_Dereference_Access
with Pre => not Self.Assigned or else Self.Is_Explicit_Dereference;
function To_Infix_Operator
(Self : access Element'Class)
return Program.Elements.Infix_Operators.Infix_Operator_Access
with Pre => not Self.Assigned or else Self.Is_Infix_Operator;
function To_Function_Call
(Self : access Element'Class)
return Program.Elements.Function_Calls.Function_Call_Access
with Pre => not Self.Assigned or else Self.Is_Function_Call;
function To_Indexed_Component
(Self : access Element'Class)
return Program.Elements.Indexed_Components.Indexed_Component_Access
with Pre => not Self.Assigned or else Self.Is_Indexed_Component;
function To_Slice
(Self : access Element'Class)
return Program.Elements.Slices.Slice_Access
with Pre => not Self.Assigned or else Self.Is_Slice;
function To_Selected_Component
(Self : access Element'Class)
return Program.Elements.Selected_Components.Selected_Component_Access
with Pre => not Self.Assigned or else Self.Is_Selected_Component;
function To_Attribute_Reference
(Self : access Element'Class)
return Program.Elements.Attribute_References.Attribute_Reference_Access
with Pre => not Self.Assigned or else Self.Is_Attribute_Reference;
function To_Record_Aggregate
(Self : access Element'Class)
return Program.Elements.Record_Aggregates.Record_Aggregate_Access
with Pre => not Self.Assigned or else Self.Is_Record_Aggregate;
function To_Extension_Aggregate
(Self : access Element'Class)
return Program.Elements.Extension_Aggregates.Extension_Aggregate_Access
with Pre => not Self.Assigned or else Self.Is_Extension_Aggregate;
function To_Array_Aggregate
(Self : access Element'Class)
return Program.Elements.Array_Aggregates.Array_Aggregate_Access
with Pre => not Self.Assigned or else Self.Is_Array_Aggregate;
function To_Short_Circuit_Operation
(Self : access Element'Class)
return Program.Elements.Short_Circuit_Operations
.Short_Circuit_Operation_Access
with Pre => not Self.Assigned or else Self.Is_Short_Circuit_Operation;
function To_Membership_Test
(Self : access Element'Class)
return Program.Elements.Membership_Tests.Membership_Test_Access
with Pre => not Self.Assigned or else Self.Is_Membership_Test;
function To_Null_Literal
(Self : access Element'Class)
return Program.Elements.Null_Literals.Null_Literal_Access
with Pre => not Self.Assigned or else Self.Is_Null_Literal;
function To_Parenthesized_Expression
(Self : access Element'Class)
return Program.Elements.Parenthesized_Expressions
.Parenthesized_Expression_Access
with Pre => not Self.Assigned or else Self.Is_Parenthesized_Expression;
function To_Raise_Expression
(Self : access Element'Class)
return Program.Elements.Raise_Expressions.Raise_Expression_Access
with Pre => not Self.Assigned or else Self.Is_Raise_Expression;
function To_Type_Conversion
(Self : access Element'Class)
return Program.Elements.Type_Conversions.Type_Conversion_Access
with Pre => not Self.Assigned or else Self.Is_Type_Conversion;
function To_Qualified_Expression
(Self : access Element'Class)
return Program.Elements.Qualified_Expressions.Qualified_Expression_Access
with Pre => not Self.Assigned or else Self.Is_Qualified_Expression;
function To_Allocator
(Self : access Element'Class)
return Program.Elements.Allocators.Allocator_Access
with Pre => not Self.Assigned or else Self.Is_Allocator;
function To_Case_Expression
(Self : access Element'Class)
return Program.Elements.Case_Expressions.Case_Expression_Access
with Pre => not Self.Assigned or else Self.Is_Case_Expression;
function To_If_Expression
(Self : access Element'Class)
return Program.Elements.If_Expressions.If_Expression_Access
with Pre => not Self.Assigned or else Self.Is_If_Expression;
function To_Quantified_Expression
(Self : access Element'Class)
return Program.Elements.Quantified_Expressions
.Quantified_Expression_Access
with Pre => not Self.Assigned or else Self.Is_Quantified_Expression;
function To_Association
(Self : access Element'Class)
return Program.Elements.Associations.Association_Access
with Pre => not Self.Assigned or else Self.Is_Association;
function To_Discriminant_Association
(Self : access Element'Class)
return Program.Elements.Discriminant_Associations
.Discriminant_Association_Access
with Pre => not Self.Assigned or else Self.Is_Discriminant_Association;
function To_Record_Component_Association
(Self : access Element'Class)
return Program.Elements.Record_Component_Associations
.Record_Component_Association_Access
with Pre =>
not Self.Assigned or else Self.Is_Record_Component_Association;
function To_Array_Component_Association
(Self : access Element'Class)
return Program.Elements.Array_Component_Associations
.Array_Component_Association_Access
with Pre => not Self.Assigned or else Self.Is_Array_Component_Association;
function To_Parameter_Association
(Self : access Element'Class)
return Program.Elements.Parameter_Associations
.Parameter_Association_Access
with Pre => not Self.Assigned or else Self.Is_Parameter_Association;
function To_Formal_Package_Association
(Self : access Element'Class)
return Program.Elements.Formal_Package_Associations
.Formal_Package_Association_Access
with Pre => not Self.Assigned or else Self.Is_Formal_Package_Association;
function To_Statement
(Self : access Element'Class)
return Program.Elements.Statements.Statement_Access
with Pre => not Self.Assigned or else Self.Is_Statement;
function To_Null_Statement
(Self : access Element'Class)
return Program.Elements.Null_Statements.Null_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Null_Statement;
function To_Assignment_Statement
(Self : access Element'Class)
return Program.Elements.Assignment_Statements.Assignment_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Assignment_Statement;
function To_If_Statement
(Self : access Element'Class)
return Program.Elements.If_Statements.If_Statement_Access
with Pre => not Self.Assigned or else Self.Is_If_Statement;
function To_Case_Statement
(Self : access Element'Class)
return Program.Elements.Case_Statements.Case_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Case_Statement;
function To_Loop_Statement
(Self : access Element'Class)
return Program.Elements.Loop_Statements.Loop_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Loop_Statement;
function To_While_Loop_Statement
(Self : access Element'Class)
return Program.Elements.While_Loop_Statements.While_Loop_Statement_Access
with Pre => not Self.Assigned or else Self.Is_While_Loop_Statement;
function To_For_Loop_Statement
(Self : access Element'Class)
return Program.Elements.For_Loop_Statements.For_Loop_Statement_Access
with Pre => not Self.Assigned or else Self.Is_For_Loop_Statement;
function To_Block_Statement
(Self : access Element'Class)
return Program.Elements.Block_Statements.Block_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Block_Statement;
function To_Exit_Statement
(Self : access Element'Class)
return Program.Elements.Exit_Statements.Exit_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Exit_Statement;
function To_Goto_Statement
(Self : access Element'Class)
return Program.Elements.Goto_Statements.Goto_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Goto_Statement;
function To_Call_Statement
(Self : access Element'Class)
return Program.Elements.Call_Statements.Call_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Call_Statement;
function To_Simple_Return_Statement
(Self : access Element'Class)
return Program.Elements.Simple_Return_Statements
.Simple_Return_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Simple_Return_Statement;
function To_Extended_Return_Statement
(Self : access Element'Class)
return Program.Elements.Extended_Return_Statements
.Extended_Return_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Extended_Return_Statement;
function To_Accept_Statement
(Self : access Element'Class)
return Program.Elements.Accept_Statements.Accept_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Accept_Statement;
function To_Requeue_Statement
(Self : access Element'Class)
return Program.Elements.Requeue_Statements.Requeue_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Requeue_Statement;
function To_Delay_Statement
(Self : access Element'Class)
return Program.Elements.Delay_Statements.Delay_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Delay_Statement;
function To_Terminate_Alternative_Statement
(Self : access Element'Class)
return Program.Elements.Terminate_Alternative_Statements
.Terminate_Alternative_Statement_Access
with Pre =>
not Self.Assigned or else Self.Is_Terminate_Alternative_Statement;
function To_Select_Statement
(Self : access Element'Class)
return Program.Elements.Select_Statements.Select_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Select_Statement;
function To_Abort_Statement
(Self : access Element'Class)
return Program.Elements.Abort_Statements.Abort_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Abort_Statement;
function To_Raise_Statement
(Self : access Element'Class)
return Program.Elements.Raise_Statements.Raise_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Raise_Statement;
function To_Code_Statement
(Self : access Element'Class)
return Program.Elements.Code_Statements.Code_Statement_Access
with Pre => not Self.Assigned or else Self.Is_Code_Statement;
function To_Path
(Self : access Element'Class)
return Program.Elements.Paths.Path_Access
with Pre => not Self.Assigned or else Self.Is_Path;
function To_Elsif_Path
(Self : access Element'Class)
return Program.Elements.Elsif_Paths.Elsif_Path_Access
with Pre => not Self.Assigned or else Self.Is_Elsif_Path;
function To_Case_Path
(Self : access Element'Class)
return Program.Elements.Case_Paths.Case_Path_Access
with Pre => not Self.Assigned or else Self.Is_Case_Path;
function To_Select_Path
(Self : access Element'Class)
return Program.Elements.Select_Paths.Select_Path_Access
with Pre => not Self.Assigned or else Self.Is_Select_Path;
function To_Case_Expression_Path
(Self : access Element'Class)
return Program.Elements.Case_Expression_Paths.Case_Expression_Path_Access
with Pre => not Self.Assigned or else Self.Is_Case_Expression_Path;
function To_Elsif_Expression_Path
(Self : access Element'Class)
return Program.Elements.Elsif_Expression_Paths
.Elsif_Expression_Path_Access
with Pre => not Self.Assigned or else Self.Is_Elsif_Expression_Path;
function To_Clause
(Self : access Element'Class)
return Program.Elements.Clauses.Clause_Access
with Pre => not Self.Assigned or else Self.Is_Clause;
function To_Use_Clause
(Self : access Element'Class)
return Program.Elements.Use_Clauses.Use_Clause_Access
with Pre => not Self.Assigned or else Self.Is_Use_Clause;
function To_With_Clause
(Self : access Element'Class)
return Program.Elements.With_Clauses.With_Clause_Access
with Pre => not Self.Assigned or else Self.Is_With_Clause;
function To_Representation_Clause
(Self : access Element'Class)
return Program.Elements.Representation_Clauses
.Representation_Clause_Access
with Pre => not Self.Assigned or else Self.Is_Representation_Clause;
function To_Component_Clause
(Self : access Element'Class)
return Program.Elements.Component_Clauses.Component_Clause_Access
with Pre => not Self.Assigned or else Self.Is_Component_Clause;
function To_Derived_Type
(Self : access Element'Class)
return Program.Elements.Derived_Types.Derived_Type_Access
with Pre => not Self.Assigned or else Self.Is_Derived_Type;
function To_Derived_Record_Extension
(Self : access Element'Class)
return Program.Elements.Derived_Record_Extensions
.Derived_Record_Extension_Access
with Pre => not Self.Assigned or else Self.Is_Derived_Record_Extension;
function To_Enumeration_Type
(Self : access Element'Class)
return Program.Elements.Enumeration_Types.Enumeration_Type_Access
with Pre => not Self.Assigned or else Self.Is_Enumeration_Type;
function To_Signed_Integer_Type
(Self : access Element'Class)
return Program.Elements.Signed_Integer_Types.Signed_Integer_Type_Access
with Pre => not Self.Assigned or else Self.Is_Signed_Integer_Type;
function To_Modular_Type
(Self : access Element'Class)
return Program.Elements.Modular_Types.Modular_Type_Access
with Pre => not Self.Assigned or else Self.Is_Modular_Type;
function To_Root_Type
(Self : access Element'Class)
return Program.Elements.Root_Types.Root_Type_Access
with Pre => not Self.Assigned or else Self.Is_Root_Type;
function To_Floating_Point_Type
(Self : access Element'Class)
return Program.Elements.Floating_Point_Types.Floating_Point_Type_Access
with Pre => not Self.Assigned or else Self.Is_Floating_Point_Type;
function To_Ordinary_Fixed_Point_Type
(Self : access Element'Class)
return Program.Elements.Ordinary_Fixed_Point_Types
.Ordinary_Fixed_Point_Type_Access
with Pre => not Self.Assigned or else Self.Is_Ordinary_Fixed_Point_Type;
function To_Decimal_Fixed_Point_Type
(Self : access Element'Class)
return Program.Elements.Decimal_Fixed_Point_Types
.Decimal_Fixed_Point_Type_Access
with Pre => not Self.Assigned or else Self.Is_Decimal_Fixed_Point_Type;
function To_Unconstrained_Array_Type
(Self : access Element'Class)
return Program.Elements.Unconstrained_Array_Types
.Unconstrained_Array_Type_Access
with Pre => not Self.Assigned or else Self.Is_Unconstrained_Array_Type;
function To_Constrained_Array_Type
(Self : access Element'Class)
return Program.Elements.Constrained_Array_Types
.Constrained_Array_Type_Access
with Pre => not Self.Assigned or else Self.Is_Constrained_Array_Type;
function To_Record_Type
(Self : access Element'Class)
return Program.Elements.Record_Types.Record_Type_Access
with Pre => not Self.Assigned or else Self.Is_Record_Type;
function To_Interface_Type
(Self : access Element'Class)
return Program.Elements.Interface_Types.Interface_Type_Access
with Pre => not Self.Assigned or else Self.Is_Interface_Type;
function To_Object_Access_Type
(Self : access Element'Class)
return Program.Elements.Object_Access_Types.Object_Access_Type_Access
with Pre => not Self.Assigned or else Self.Is_Object_Access_Type;
function To_Procedure_Access_Type
(Self : access Element'Class)
return Program.Elements.Procedure_Access_Types
.Procedure_Access_Type_Access
with Pre => not Self.Assigned or else Self.Is_Procedure_Access_Type;
function To_Function_Access_Type
(Self : access Element'Class)
return Program.Elements.Function_Access_Types.Function_Access_Type_Access
with Pre => not Self.Assigned or else Self.Is_Function_Access_Type;
function To_Formal_Private_Type_Definition
(Self : access Element'Class)
return Program.Elements.Formal_Private_Type_Definitions
.Formal_Private_Type_Definition_Access
with Pre =>
not Self.Assigned or else Self.Is_Formal_Private_Type_Definition;
function To_Formal_Derived_Type_Definition
(Self : access Element'Class)
return Program.Elements.Formal_Derived_Type_Definitions
.Formal_Derived_Type_Definition_Access
with Pre =>
not Self.Assigned or else Self.Is_Formal_Derived_Type_Definition;
function To_Formal_Discrete_Type_Definition
(Self : access Element'Class)
return Program.Elements.Formal_Discrete_Type_Definitions
.Formal_Discrete_Type_Definition_Access
with Pre =>
not Self.Assigned or else Self.Is_Formal_Discrete_Type_Definition;
function To_Formal_Signed_Integer_Type_Definition
(Self : access Element'Class)
return Program.Elements.Formal_Signed_Integer_Type_Definitions
.Formal_Signed_Integer_Type_Definition_Access
with Pre =>
not Self.Assigned or else Self.Is_Formal_Signed_Integer_Type_Definition;
function To_Formal_Modular_Type_Definition
(Self : access Element'Class)
return Program.Elements.Formal_Modular_Type_Definitions
.Formal_Modular_Type_Definition_Access
with Pre =>
not Self.Assigned or else Self.Is_Formal_Modular_Type_Definition;
function To_Formal_Floating_Point_Definition
(Self : access Element'Class)
return Program.Elements.Formal_Floating_Point_Definitions
.Formal_Floating_Point_Definition_Access
with Pre =>
not Self.Assigned or else Self.Is_Formal_Floating_Point_Definition;
function To_Formal_Ordinary_Fixed_Point_Definition
(Self : access Element'Class)
return Program.Elements.Formal_Ordinary_Fixed_Point_Definitions
.Formal_Ordinary_Fixed_Point_Definition_Access
with Pre =>
not Self.Assigned
or else Self.Is_Formal_Ordinary_Fixed_Point_Definition;
function To_Formal_Decimal_Fixed_Point_Definition
(Self : access Element'Class)
return Program.Elements.Formal_Decimal_Fixed_Point_Definitions
.Formal_Decimal_Fixed_Point_Definition_Access
with Pre =>
not Self.Assigned or else Self.Is_Formal_Decimal_Fixed_Point_Definition;
function To_Formal_Unconstrained_Array_Type
(Self : access Element'Class)
return Program.Elements.Formal_Unconstrained_Array_Types
.Formal_Unconstrained_Array_Type_Access
with Pre =>
not Self.Assigned or else Self.Is_Formal_Unconstrained_Array_Type;
function To_Formal_Constrained_Array_Type
(Self : access Element'Class)
return Program.Elements.Formal_Constrained_Array_Types
.Formal_Constrained_Array_Type_Access
with Pre =>
not Self.Assigned or else Self.Is_Formal_Constrained_Array_Type;
function To_Formal_Access_Type
(Self : access Element'Class)
return Program.Elements.Formal_Access_Types.Formal_Access_Type_Access
with Pre => not Self.Assigned or else Self.Is_Formal_Access_Type;
function To_Formal_Object_Access_Type
(Self : access Element'Class)
return Program.Elements.Formal_Object_Access_Types
.Formal_Object_Access_Type_Access
with Pre => not Self.Assigned or else Self.Is_Formal_Object_Access_Type;
function To_Formal_Procedure_Access_Type
(Self : access Element'Class)
return Program.Elements.Formal_Procedure_Access_Types
.Formal_Procedure_Access_Type_Access
with Pre =>
not Self.Assigned or else Self.Is_Formal_Procedure_Access_Type;
function To_Formal_Function_Access_Type
(Self : access Element'Class)
return Program.Elements.Formal_Function_Access_Types
.Formal_Function_Access_Type_Access
with Pre => not Self.Assigned or else Self.Is_Formal_Function_Access_Type;
function To_Formal_Interface_Type
(Self : access Element'Class)
return Program.Elements.Formal_Interface_Types
.Formal_Interface_Type_Access
with Pre => not Self.Assigned or else Self.Is_Formal_Interface_Type;
function To_Access_Type
(Self : access Element'Class)
return Program.Elements.Access_Types.Access_Type_Access
with Pre => not Self.Assigned or else Self.Is_Access_Type;
function To_Range_Attribute_Reference
(Self : access Element'Class)
return Program.Elements.Range_Attribute_References
.Range_Attribute_Reference_Access
with Pre => not Self.Assigned or else Self.Is_Range_Attribute_Reference;
function To_Simple_Expression_Range
(Self : access Element'Class)
return Program.Elements.Simple_Expression_Ranges
.Simple_Expression_Range_Access
with Pre => not Self.Assigned or else Self.Is_Simple_Expression_Range;
function To_Digits_Constraint
(Self : access Element'Class)
return Program.Elements.Digits_Constraints.Digits_Constraint_Access
with Pre => not Self.Assigned or else Self.Is_Digits_Constraint;
function To_Delta_Constraint
(Self : access Element'Class)
return Program.Elements.Delta_Constraints.Delta_Constraint_Access
with Pre => not Self.Assigned or else Self.Is_Delta_Constraint;
function To_Index_Constraint
(Self : access Element'Class)
return Program.Elements.Index_Constraints.Index_Constraint_Access
with Pre => not Self.Assigned or else Self.Is_Index_Constraint;
function To_Discriminant_Constraint
(Self : access Element'Class)
return Program.Elements.Discriminant_Constraints
.Discriminant_Constraint_Access
with Pre => not Self.Assigned or else Self.Is_Discriminant_Constraint;
function To_Attribute_Definition_Clause
(Self : access Element'Class)
return Program.Elements.Attribute_Definition_Clauses
.Attribute_Definition_Clause_Access
with Pre => not Self.Assigned or else Self.Is_Attribute_Definition_Clause;
function To_Enumeration_Representation_Clause
(Self : access Element'Class)
return Program.Elements.Enumeration_Representation_Clauses
.Enumeration_Representation_Clause_Access
with Pre =>
not Self.Assigned or else Self.Is_Enumeration_Representation_Clause;
function To_Record_Representation_Clause
(Self : access Element'Class)
return Program.Elements.Record_Representation_Clauses
.Record_Representation_Clause_Access
with Pre =>
not Self.Assigned or else Self.Is_Record_Representation_Clause;
function To_At_Clause
(Self : access Element'Class)
return Program.Elements.At_Clauses.At_Clause_Access
with Pre => not Self.Assigned or else Self.Is_At_Clause;
function To_Exception_Handler
(Self : access Element'Class)
return Program.Elements.Exception_Handlers.Exception_Handler_Access
with Pre => not Self.Assigned or else Self.Is_Exception_Handler;
not overriding procedure Visit
(Self : not null access Element;
Visitor : in out Program.Element_Visitors.Element_Visitor'Class)
is abstract;
not overriding function Enclosing_Element
(Self : Element)
return Program.Elements.Element_Access is abstract;
not overriding function Is_Part_Of_Implicit (Self : Element) return Boolean
is abstract;
not overriding function Is_Part_Of_Inherited (Self : Element) return Boolean
is abstract;
not overriding function Is_Part_Of_Instance (Self : Element) return Boolean
is abstract;
function Each_Enclosing_Element
(Self : not null access Element'Class)
return Program.Element_Iterators.Enclosing_Element_Iterator;
function Each_Child
(Self : not null access Element'Class)
return Program.Element_Iterators.Child_Iterator;
function Each_Child
(Self : not null access Element'Class;
Filter : Program.Element_Iterators.Element_Checker)
return Program.Element_Iterators.Child_Iterator;
end Program.Elements;
|
with Ada.Containers; use Ada.Containers;
package body Heap is
subtype index is Underlying_Vector.Extended_Index;
procedure Insert(hp : in out Heap;
element : in Element_Type) is
begin
hp.vector.Append(element);
declare
current_loc : index := hp.vector.Last_Index;
begin
while current_loc > 1 loop
declare
parent_loc : constant index := current_loc / 2;
parent : constant Element_Type := hp.vector.Element(current_loc / 2);
begin
exit when parent <= element;
hp.vector.Swap(current_loc, parent_loc);
current_loc := parent_loc;
end;
end loop;
end;
end Insert;
procedure Remove(hp : in out Heap) is
element : Element_Type;
begin
Remove(hp, element);
end Remove;
procedure Remove(hp : in out Heap;
element : out Element_Type) is
begin
if hp.vector.Is_Empty then
raise Constraint_Error;
end if;
element := hp.vector.First_Element;
if hp.vector.Length > 1 then
hp.vector.Swap(hp.vector.First, hp.vector.Last);
hp.vector.Delete_Last;
declare
parent_loc : index := hp.vector.First_Index;
parent : constant Element_Type := hp.vector.First_Element;
begin
loop
declare
left : constant index := 2*parent_loc;
right : constant index := 2*parent_loc + 1;
smallest : index := parent_loc;
begin
if left <= hp.vector.Last_Index and then
hp.vector.Element(left) <= parent then
smallest := left;
end if;
if right <= hp.vector.Last_Index and then
hp.vector.Element(right) <= hp.vector.Element(smallest) then
smallest := right;
end if;
exit when smallest = parent_loc;
hp.vector.Swap(parent_loc, smallest);
parent_loc := smallest;
end;
end loop;
end;
else
hp.vector.Delete_Last;
end if;
end Remove;
procedure Replace_Head(hp : in out Heap;
element : in Element_Type) is
current_loc : index;
begin
if hp.vector.Is_Empty then
raise Constraint_Error;
end if;
current_loc := hp.vector.First_Index;
hp.vector.Replace_Element(current_loc, element);
while current_loc * 2 <= hp.vector.Last_Index loop
declare
min_child_loc : index := current_loc * 2;
begin
if min_child_loc < hp.vector.Last_Index then
if hp.vector.Element(min_child_loc + 1) <=
hp.vector.Element(min_child_loc) then
min_child_loc := min_child_loc + 1;
end if;
end if;
exit when element <= hp.vector.Element(min_child_loc);
hp.vector.Swap(current_loc, min_child_loc);
current_loc := min_child_loc;
end;
end loop;
end Replace_Head;
function Is_Empty(hp : in Heap) return Boolean is
begin
return hp.vector.Is_Empty;
end Is_Empty;
function Peek(hp : in Heap) return Element_Type is
begin
if hp.vector.Is_Empty then
raise Constraint_Error;
end if;
return hp.vector.First_Element;
end Peek;
end Heap;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- S E M _ I N T R --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2007, 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. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING3. If not, go to --
-- http://www.gnu.org/licenses for a complete copy of the license. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- Processing for intrinsic subprogram declarations
with Types; use Types;
package Sem_Intr is
procedure Check_Intrinsic_Call (N : Node_Id);
-- Perform legality check for intrinsic call N (which is either function
-- call or a procedure call node). All the normal semantic checks have
-- been performed already. Check_Intrinsic_Call applies any additional
-- checks required by the fact that an intrinsic subprogram is involved.
procedure Check_Intrinsic_Subprogram (E : Entity_Id; N : Node_Id);
-- Special processing for pragma Import or pragma Interface when the
-- convention is Intrinsic. E is the Entity_Id of the spec of the
-- subprogram, and N is the second (subprogram) argument of the pragma.
-- Check_Intrinsic_Subprogram checks that the referenced subprogram is
-- known as an intrinsic and has an appropriate profile. If so the flag
-- Is_Intrinsic_Subprogram is set, otherwise an error message is posted.
end Sem_Intr;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- SYSTEM.MACHINE_STATE_OPERATIONS --
-- --
-- S p e c --
-- --
-- Copyright (C) 1999-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. --
-- --
------------------------------------------------------------------------------
pragma Compiler_Unit_Warning;
with System.Storage_Elements;
package System.Machine_State_Operations is
subtype Code_Loc is System.Address;
-- Code location used in building exception tables and for call addresses
-- when propagating an exception (also traceback table) Values of this
-- type are created by using Label'Address or extracted from machine
-- states using Get_Code_Loc.
type Machine_State is new System.Address;
-- The table based exception handling approach (see a-except.adb) isolates
-- the target dependent aspects using an abstract data type interface
-- to the type Machine_State, which is represented as a System.Address
-- value (presumably implemented as a pointer to an appropriate record
-- structure).
function Machine_State_Length return System.Storage_Elements.Storage_Offset;
-- Function to determine the length of the Storage_Array needed to hold
-- a machine state. The machine state will always be maximally aligned.
-- The value returned is a constant that will be used to allocate space
-- for a machine state value.
function Allocate_Machine_State return Machine_State;
-- Allocate the required space for a Machine_State
procedure Free_Machine_State (M : in out Machine_State);
-- Free the dynamic memory taken by Machine_State
-- The initial value of type Machine_State is created by the low level
-- routine that actually raises an exception using the special builtin
-- _builtin_machine_state. This value will typically encode the value of
-- the program counter, and relevant registers. The following operations
-- are defined on Machine_State values:
function Get_Code_Loc (M : Machine_State) return Code_Loc;
-- This function extracts the program counter value from a machine state,
-- which the caller uses for searching the exception tables, and also for
-- recording entries in the traceback table. The call returns a value of
-- Null_Loc if the machine state represents the outer level, or some other
-- frame for which no information can be provided.
procedure Pop_Frame (M : Machine_State);
-- This procedure pops the machine state M so that it represents the
-- call point, as though the current subprogram had returned. It changes
-- only the value referenced by M, and does not affect the current stack
-- environment.
function Fetch_Code (Loc : Code_Loc) return Code_Loc;
-- Some architectures (notably HPUX) use a descriptor to describe a
-- subprogram address. This function computes the actual starting
-- address of the code from Loc.
--
-- Do not add pragma Inline to this function: there is a curious
-- interaction between rtsfind and front-end inlining. The exception
-- declaration in s-auxdec calls rtsfind, which forces several other system
-- packages to be compiled. Some of those have a pragma Inline, and we
-- compile the corresponding bodies so that inlining can take place. One
-- of these packages is s-mastop, which depends on s-auxdec, which is still
-- being compiled: we have not seen all the declarations in it yet, so we
-- get confused semantic errors ???
procedure Set_Machine_State (M : Machine_State);
-- This routine sets M from the current machine state. It is called when an
-- exception is initially signalled to initialize the state.
end System.Machine_State_Operations;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . W I D E _ W I D E _ T E X T _ I O . C O M P L E X _ A U X --
-- --
-- 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. --
-- --
------------------------------------------------------------------------------
with Ada.Wide_Wide_Text_IO.Generic_Aux; use Ada.Wide_Wide_Text_IO.Generic_Aux;
with Ada.Wide_Wide_Text_IO.Float_Aux;
with System.Img_Real; use System.Img_Real;
package body Ada.Wide_Wide_Text_IO.Complex_Aux is
package Aux renames Ada.Wide_Wide_Text_IO.Float_Aux;
---------
-- Get --
---------
procedure Get
(File : File_Type;
ItemR : out Long_Long_Float;
ItemI : out Long_Long_Float;
Width : Field)
is
Buf : String (1 .. Field'Last);
Stop : Integer := 0;
Ptr : aliased Integer;
Paren : Boolean := False;
begin
-- General note for following code, exceptions from the calls
-- to Get for components of the complex value are propagated.
if Width /= 0 then
Load_Width (File, Width, Buf, Stop);
Gets (Buf (1 .. Stop), ItemR, ItemI, Ptr);
for J in Ptr + 1 .. Stop loop
if not Is_Blank (Buf (J)) then
raise Data_Error;
end if;
end loop;
-- Case of width = 0
else
Load_Skip (File);
Ptr := 0;
Load (File, Buf, Ptr, '(', Paren);
Aux.Get (File, ItemR, 0);
Load_Skip (File);
Load (File, Buf, Ptr, ',');
Aux.Get (File, ItemI, 0);
if Paren then
Load_Skip (File);
Load (File, Buf, Ptr, ')', Paren);
if not Paren then
raise Data_Error;
end if;
end if;
end if;
end Get;
----------
-- Gets --
----------
procedure Gets
(From : String;
ItemR : out Long_Long_Float;
ItemI : out Long_Long_Float;
Last : out Positive)
is
Paren : Boolean;
Pos : Integer;
begin
String_Skip (From, Pos);
if From (Pos) = '(' then
Pos := Pos + 1;
Paren := True;
else
Paren := False;
end if;
Aux.Gets (From (Pos .. From'Last), ItemR, Pos);
String_Skip (From (Pos + 1 .. From'Last), Pos);
if From (Pos) = ',' then
Pos := Pos + 1;
end if;
Aux.Gets (From (Pos .. From'Last), ItemI, Pos);
if Paren then
String_Skip (From (Pos + 1 .. From'Last), Pos);
if From (Pos) /= ')' then
raise Data_Error;
end if;
end if;
Last := Pos;
end Gets;
---------
-- Put --
---------
procedure Put
(File : File_Type;
ItemR : Long_Long_Float;
ItemI : Long_Long_Float;
Fore : Field;
Aft : Field;
Exp : Field)
is
begin
Put (File, '(');
Aux.Put (File, ItemR, Fore, Aft, Exp);
Put (File, ',');
Aux.Put (File, ItemI, Fore, Aft, Exp);
Put (File, ')');
end Put;
----------
-- Puts --
----------
procedure Puts
(To : out String;
ItemR : Long_Long_Float;
ItemI : Long_Long_Float;
Aft : Field;
Exp : Field)
is
I_String : String (1 .. 3 * Field'Last);
R_String : String (1 .. 3 * Field'Last);
Iptr : Natural;
Rptr : Natural;
begin
-- Both parts are initially converted with a Fore of 0
Rptr := 0;
Set_Image_Real (ItemR, R_String, Rptr, 0, Aft, Exp);
Iptr := 0;
Set_Image_Real (ItemI, I_String, Iptr, 0, Aft, Exp);
-- Check room for both parts plus parens plus comma (RM G.1.3(34))
if Rptr + Iptr + 3 > To'Length then
raise Layout_Error;
end if;
-- If there is room, layout result according to (RM G.1.3(31-33))
To (To'First) := '(';
To (To'First + 1 .. To'First + Rptr) := R_String (1 .. Rptr);
To (To'First + Rptr + 1) := ',';
To (To'Last) := ')';
To (To'Last - Iptr .. To'Last - 1) := I_String (1 .. Iptr);
for J in To'First + Rptr + 2 .. To'Last - Iptr - 1 loop
To (J) := ' ';
end loop;
end Puts;
end Ada.Wide_Wide_Text_IO.Complex_Aux;
|
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, Luke A. Guest
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the use of this software.
--
-- Permission is granted to anyone to use this software for any purpose,
-- including commercial applications, and to alter it and redistribute it
-- freely, subject to the following restrictions:
--
-- 1. The origin of this software must not be misrepresented; you must not
-- claim that you wrote the original software. If you use this software
-- in a product, an acknowledgment in the product documentation would be
-- appreciated but is not required.
--
-- 2. Altered source versions must be plainly marked as such, and must not be
-- misrepresented as being the original software.
--
-- 3. This notice may not be removed or altered from any source
-- distribution.
--------------------------------------------------------------------------------------------------------------------
-- SDL.Events.Events
--
-- Combines all of the various event types into a single variant record to match the union in the SDL library. Not
-- the nicest of names for the package, but it works.
--------------------------------------------------------------------------------------------------------------------
with SDL.Events.Windows;
with SDL.Events.Keyboards;
with SDL.Events.Mice;
with SDL.Events.Joysticks;
with SDL.Events.Controllers;
with SDL.Events.Touches;
with SDL.Events.Files;
package SDL.Events.Events is
pragma Preelaborate;
type Event_Selector is (Is_Event,
Is_Window_Event,
Is_Keyboard_Event,
Is_Text_Editing_Event,
Is_Text_Input_Event,
Is_Mouse_Motion_Event,
Is_Mouse_Button_Event,
Is_Mouse_Wheel_Event,
Is_Joystick_Axis_Event,
Is_Joystick_Ball_Event,
Is_Joystick_Hat_Event,
Is_Joystick_Button_Event,
Is_Joystick_Device_Event,
Is_Controller_Axis_Event,
Is_Controller_Button_Event,
Is_Controller_Device_Event,
Is_Touch_Finger_Event,
Is_Touch_Multi_Gesture_Event,
Is_Touch_Dollar_Gesture,
Is_Drop_Event);
type Events (Event_Type : Event_Selector := Is_Event) is
record
case Event_Type is
when Is_Window_Event =>
Window : SDL.Events.Windows.Window_Events;
when Is_Keyboard_Event =>
Keyboard : SDL.Events.Keyboards.Keyboard_Events;
when Is_Text_Editing_Event =>
Text_Editing : SDL.Events.Keyboards.Text_Editing_Events;
when Is_Text_Input_Event =>
Text_Input : SDL.Events.Keyboards.Text_Input_Events;
when Is_Mouse_Motion_Event =>
Mouse_Motion : SDL.Events.Mice.Motion_Events;
when Is_Mouse_Button_Event =>
Mouse_Button : SDL.Events.Mice.Button_Events;
when Is_Mouse_Wheel_Event =>
Mouse_Wheel : SDL.Events.Mice.Wheel_Events;
when Is_Joystick_Axis_Event =>
Joystick_Axis : SDL.Events.Joysticks.Axis_Events;
when Is_Joystick_Ball_Event =>
Joystick_Ball : SDL.Events.Joysticks.Ball_Events;
when Is_Joystick_Hat_Event =>
Joystick_Hat : SDL.Events.Joysticks.Hat_Events;
when Is_Joystick_Button_Event =>
Joystick_Button : SDL.Events.Joysticks.Button_Events;
when Is_Joystick_Device_Event =>
Joystick_Device : SDL.Events.Joysticks.Device_Events;
when Is_Controller_Axis_Event =>
Controller_Axis : SDL.Events.Controllers.Axis_Events;
when Is_Controller_Button_Event =>
Controller_Button : SDL.Events.Controllers.Button_Events;
when Is_Controller_Device_Event =>
Controller_Device : SDL.Events.Controllers.Device_Events;
when Is_Touch_Finger_Event =>
Touch_Finger : SDL.Events.Touches.Finger_Events;
when Is_Touch_Multi_Gesture_Event =>
Touch_Multi_Gesture : SDL.Events.Touches.Multi_Gesture_Events;
when Is_Touch_Dollar_Gesture =>
Touch_Dollar_Gesture : SDL.Events.Touches.Dollar_Events;
when Is_Drop_Event =>
Drop : SDL.Events.Files.Drop_Events;
when others =>
Common : Common_Events;
end case;
end record with
Unchecked_Union,
Convention => C;
-- Some error occurred while polling/waiting for events.
Event_Error : exception;
-- Poll for currently pending events.
--
-- If the are any pending events, the next event is removed from the queue
-- and stored in Event, and then this returns True. Otherwise, this does
-- nothing and returns False.
function Poll (Event : out Events) return Boolean with
Inline => True;
-- Wait until an event is pending.
--
-- If there are any pending events, the next event is removed from
-- the queue and stored in Event.
procedure Wait (Event : out Events);
end SDL.Events.Events;
|
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- This software was developed by John Self of the Arcadia project
-- at the University of California, Irvine.
--
-- Redistribution and use in source and binary forms are permitted
-- provided that the above copyright notice and this paragraph are
-- duplicated in all such forms and that any documentation,
-- advertising materials, and other materials related to such
-- distribution and use acknowledge that the software was developed
-- by the University of California, Irvine. The name of the
-- University may not be used to endorse or promote products derived
-- from this software without specific prior written permission.
-- THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-- WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-- TITLE external_file_manager
-- AUTHOR: John Self (UCI)
-- DESCRIPTION opens external files for other functions
-- NOTES This package opens external files, and thus may be system dependent
-- because of limitations on file names.
-- This version is for the VADS 5.5 Ada development system.
-- $Header: /co/ua/self/arcadia/aflex/ada/src/RCS/file_managerS.a,v 1.4 90/01/12 15:20:00 self Exp Locker: self $
with TEXT_IO; use TEXT_IO;
package EXTERNAL_FILE_MANAGER is
function Standard_Error return Text_IO.FILE_TYPE;
Default_Error_File_Name : constant String := "/dev/tty";
Error_File_Name : String(1..80) := Default_Error_File_Name &
(Default_Error_File_Name'length + 1..80 => ' ');
Error_File_Name_Length : natural := Default_Error_File_Name'length;
procedure GET_IO_FILE(F : in out FILE_TYPE);
procedure GET_DFA_FILE(F : in out FILE_TYPE);
procedure GET_SCANNER_FILE(F : in out FILE_TYPE);
procedure GET_BACKTRACK_FILE(F : in out FILE_TYPE);
procedure INITIALIZE_FILES;
procedure Set_Error_File_Name ( New_Name: in String );
end EXTERNAL_FILE_MANAGER;
|
-- Copyright 2010-2019 Free Software Foundation, Inc.
--
-- 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/>.
package Mixed is
procedure Start_Test;
end Mixed;
|
-- C86004C2M.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 IF THE SPECIFICATION OF A LIBRARY SUBPROGRAM HAS A
-- "WITH" CLAUSE FOR A GENERIC SUBPROGRAM INSTANTIATION M, THEN IN
-- THE FORMAL PART AND IN THE BODY (A SUBUNIT IN ANOTHER FILE),
-- "STANDARD.M" IS A LEGAL NAME FOR THE SUBPROGRAM M.
-- SEPARATE FILES ARE:
-- C86004C0 A GENERIC LIBRARY FUNCTION AND A LIBRARY SUBPROGRAM
-- DECLARING A SEPARATE SUBUNIT.
-- C86004C1 A SUBUNIT FOR THE C86004C0 PARENT.
-- C86004C2M MAIN PROCEDURE USING THE SUBPROGRAM OF C86004C0.
-- HISTORY:
-- DHH 09/14/88 CREATED ORIGINAL TEST.
WITH C86004C01;
WITH REPORT; USE REPORT;
PROCEDURE C86004C2M IS
BEGIN
C86004C01(IDENT_INT(0));
END C86004C2M;
|
package body Numeric_Tests is
function Is_Numeric (Item : in String) return Boolean is
Dummy : Float;
begin
Dummy := Float'Value (Item);
return True;
exception
when others =>
return False;
end Is_Numeric;
end Numeric_Tests;
|
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
-- with GStreamer.GST_Low_Level.glib_2_0_gobject_gparam_h;
with glib;
with glib.Values;
with System;
package GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstparamspecs_h is
-- unsupported macro: GST_PARAM_CONTROLLABLE (1 << (G_PARAM_USER_SHIFT + 1))
-- unsupported macro: GST_PARAM_MUTABLE_READY (1 << (G_PARAM_USER_SHIFT + 2))
-- unsupported macro: GST_PARAM_MUTABLE_PAUSED (1 << (G_PARAM_USER_SHIFT + 3))
-- unsupported macro: GST_PARAM_MUTABLE_PLAYING (1 << (G_PARAM_USER_SHIFT + 4))
-- unsupported macro: GST_PARAM_USER_SHIFT (1 << (G_PARAM_USER_SHIFT + 8))
-- unsupported macro: GST_TYPE_PARAM_FRACTION (gst_param_spec_fraction_get_type ())
-- arg-macro: function GST_IS_PARAM_SPEC_FRACTION (pspec)
-- return G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GST_TYPE_PARAM_FRACTION);
-- arg-macro: function GST_PARAM_SPEC_FRACTION (pspec)
-- return G_TYPE_CHECK_INSTANCE_CAST ((pspec), GST_TYPE_PARAM_FRACTION, GstParamSpecFraction);
-- GStreamer - GParamSpecs for some of our types
-- * Copyright (C) 2007 Tim-Philipp Müller <tim centricular net>
-- *
-- * This library is free software; you can redistribute it and/or
-- * modify it under the terms of the GNU Library 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
-- * Library General Public License for more details.
-- *
-- * You should have received a copy of the GNU Library 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.
--
-- --- paramspec flags
--*
-- * GST_PARAM_CONTROLLABLE:
-- *
-- * Use this flag on GObject properties to signal they can make sense to be.
-- * controlled over time. This hint is used by the GstController.
--
--*
-- * GST_PARAM_MUTABLE_READY:
-- *
-- * Use this flag on GObject properties of GstElements to indicate that
-- * they can be changed when the element is in the READY or lower state.
-- *
-- * Since: 0.10.23
--
--*
-- * GST_PARAM_MUTABLE_PAUSED:
-- *
-- * Use this flag on GObject properties of GstElements to indicate that
-- * they can be changed when the element is in the PAUSED or lower state.
-- * This flag implies GST_PARAM_MUTABLE_READY.
-- *
-- * Since: 0.10.23
--
--*
-- * GST_PARAM_MUTABLE_PLAYING:
-- *
-- * Use this flag on GObject properties of GstElements to indicate that
-- * they can be changed when the element is in the PLAYING or lower state.
-- * This flag implies GST_PARAM_MUTABLE_PAUSED.
-- *
-- * Since: 0.10.23
--
--*
-- * GST_PARAM_USER_SHIFT:
-- *
-- * Bits based on GST_PARAM_USER_SHIFT can be used by 3rd party applications.
--
-- --- type macros ---
-- --- get_type functions ---
function gst_param_spec_fraction_get_type return GLIB.GType; -- gst/gstparamspecs.h:86
pragma Import (C, gst_param_spec_fraction_get_type, "gst_param_spec_fraction_get_type");
-- --- typedefs & structures ---
type GstParamSpecFraction;
--subtype GstParamSpecFraction is u_GstParamSpecFraction; -- gst/gstparamspecs.h:91
--*
-- * GstParamSpecFraction:
-- * @parent_instance: super class
-- * @min_num: minimal numerator
-- * @min_den: minimal denominator
-- * @max_num: maximal numerator
-- * @max_den: maximal denominator
-- * @def_num: default numerator
-- * @def_den: default denominator
-- *
-- * A GParamSpec derived structure that contains the meta data for fractional
-- * properties.
--
type GstParamSpecFraction is record
parent_instance : aliased GStreamer.GST_Low_Level.glib_2_0_gobject_gparam_h.GParamSpec; -- gst/gstparamspecs.h:107
min_num : aliased GLIB.gint; -- gst/gstparamspecs.h:109
min_den : aliased GLIB.gint; -- gst/gstparamspecs.h:109
max_num : aliased GLIB.gint; -- gst/gstparamspecs.h:110
max_den : aliased GLIB.gint; -- gst/gstparamspecs.h:110
def_num : aliased GLIB.gint; -- gst/gstparamspecs.h:111
def_den : aliased GLIB.gint; -- gst/gstparamspecs.h:111
end record;
pragma Convention (C_Pass_By_Copy, GstParamSpecFraction); -- gst/gstparamspecs.h:106
-- --- GParamSpec prototypes ---
function gst_param_spec_fraction
(name : access GLIB.gchar;
nick : access GLIB.gchar;
blurb : access GLIB.gchar;
min_num : GLIB.gint;
min_denom : GLIB.gint;
max_num : GLIB.gint;
max_denom : GLIB.gint;
default_num : GLIB.gint;
default_denom : GLIB.gint;
flags : GStreamer.GST_Low_Level.glib_2_0_gobject_gparam_h.GParamFlags) return access GStreamer.GST_Low_Level.glib_2_0_gobject_gparam_h.GParamSpec; -- gst/gstparamspecs.h:117
pragma Import (C, gst_param_spec_fraction, "gst_param_spec_fraction");
end GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstparamspecs_h;
|
----------------------------------------
-- Copyright (C) 2019 Dmitriy Shadrin --
-- All rights reserved. --
----------------------------------------
with Ada.Finalization;
with Formatted_Output; use Formatted_Output;
with Formatted_Output.Integer_Output;
with Ada.Unchecked_Conversion;
--------------------------------------------------------------------------------
package Pal is
-----------------------------------------------------------------------------
subtype int8_t is Integer range -2 ** 7 .. 2 ** 7 - 1;
subtype int16_t is Integer range -2 ** 15 .. 2 ** 15 - 1;
subtype int32_t is Integer range -2 ** 31 .. 2 ** 31 - 1;
subtype int64_t is Long_Long_Integer range -2 ** 63 .. 2 ** 63 - 1;
subtype uint8_t is Integer range 0 .. 2 ** 7 - 1;
subtype uint16_t is Integer range 0 .. 2 ** 15 - 1;
subtype uint32_t is Integer range 0 .. 2 ** 31 - 1;
subtype uint64_t is Long_Long_Integer range 0 .. 2 ** 63 - 1;
subtype bool is Boolean;
AtomicRelaxed : constant := 0;
AtomicConsume : constant := 1;
AtomicAcquire : constant := 2;
AtomicRelease : constant := 3;
AtomicAcqRel : constant := 4;
AtomicSeqCst : constant := 5;
subtype MemModel is Integer range AtomicRelaxed .. AtomicSeqCst;
-----------------------------------------------------------------------------
package Formatter_Integer is new Formatted_Output.Integer_Output (Integer);
use Formatter_Integer;
-----------------------------------------------------------------------------
-- https://code.i-harness.com/ru/docs/gcc~7/_005f_005fatomic-builtins
function Atomic_Load_32 (ptr : not null access uint32_t;
memorder : MemModel := AtomicSeqCst) return uint32_t;
pragma Import (Intrinsic, Atomic_Load_32, "__atomic_load_4");
-----------------------------------------------------------------------------
procedure Atomic_Store_32 (var : not null access uint32_t;
val : uint32_t;
memorder : MemModel := AtomicSeqCst);
pragma Import (Intrinsic, Atomic_Store_32, "__atomic_store_4");
-----------------------------------------------------------------------------
function Atomic_Add_Fetch_32 (ptr : not null access uint32_t;
val : uint32_t;
memorder : MemModel := AtomicSeqCst) return uint32_t;
pragma Import (Intrinsic, Atomic_Add_Fetch_32, "__atomic_add_fetch_4");
-----------------------------------------------------------------------------
function Atomic_Sub_Fetch_32 (ptr : not null access uint32_t;
val : uint32_t;
memorder : MemModel := AtomicSeqCst) return uint32_t;
pragma Import (Intrinsic, Atomic_Sub_Fetch_32, "__atomic_sub_fetch_4");
-----------------------------------------------------------------------------
generic
type TypeName is private;
type SharedObject is access all TypeName;
package Smart_Ptr is
type Shared_Ptr is tagged private;
function Get (obj : in Shared_Ptr) return SharedObject with inline;
function Make_Shared (ptr : in SharedObject) return Shared_Ptr with inline;
private
type uint32_Ptr is access uint32_t;
type Shared_Ptr is new Ada.Finalization.Controlled with
record
pt : SharedObject;
pn : uint32_Ptr;
pragma Atomic (pn);
pragma Volatile (pn);
end record;
procedure Initialize (obj : in out Shared_Ptr);
procedure Adjust (obj : in out Shared_Ptr);
procedure Finalize (obj : in out Shared_Ptr);
end Smart_Ptr;
end Pal;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-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.
------------------------------------------------------------------------------
with AMF.Elements;
with AMF.Internals.Helpers;
with AMF.Internals.Tables.UML_Attributes;
with AMF.UML.Abstractions;
with AMF.UML.Value_Specifications;
with AMF.Visitors.Standard_Profile_L2_Iterators;
with AMF.Visitors.Standard_Profile_L2_Visitors;
package body AMF.Internals.Standard_Profile_L2_Derives is
--------------------------
-- Get_Base_Abstraction --
--------------------------
overriding function Get_Base_Abstraction
(Self : not null access constant Standard_Profile_L2_Derive_Proxy)
return AMF.UML.Abstractions.UML_Abstraction_Access is
begin
return
AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Base_Abstraction
(Self.Element)));
end Get_Base_Abstraction;
--------------------------
-- Set_Base_Abstraction --
--------------------------
overriding procedure Set_Base_Abstraction
(Self : not null access Standard_Profile_L2_Derive_Proxy;
To : AMF.UML.Abstractions.UML_Abstraction_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Base_Abstraction
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Base_Abstraction;
---------------------
-- Get_Computation --
---------------------
overriding function Get_Computation
(Self : not null access constant Standard_Profile_L2_Derive_Proxy)
return AMF.UML.Value_Specifications.UML_Value_Specification_Access is
begin
return
AMF.UML.Value_Specifications.UML_Value_Specification_Access
(AMF.Internals.Helpers.To_Element
(AMF.Internals.Tables.UML_Attributes.Internal_Get_Computation
(Self.Element)));
end Get_Computation;
---------------------
-- Set_Computation --
---------------------
overriding procedure Set_Computation
(Self : not null access Standard_Profile_L2_Derive_Proxy;
To : AMF.UML.Value_Specifications.UML_Value_Specification_Access) is
begin
AMF.Internals.Tables.UML_Attributes.Internal_Set_Computation
(Self.Element,
AMF.Internals.Helpers.To_Element
(AMF.Elements.Element_Access (To)));
end Set_Computation;
-------------------
-- Enter_Element --
-------------------
overriding procedure Enter_Element
(Self : not null access constant Standard_Profile_L2_Derive_Proxy;
Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
Control : in out AMF.Visitors.Traverse_Control) is
begin
if Visitor in AMF.Visitors.Standard_Profile_L2_Visitors.Standard_Profile_L2_Visitor'Class then
AMF.Visitors.Standard_Profile_L2_Visitors.Standard_Profile_L2_Visitor'Class
(Visitor).Enter_Derive
(AMF.Standard_Profile_L2.Derives.Standard_Profile_L2_Derive_Access (Self),
Control);
end if;
end Enter_Element;
-------------------
-- Leave_Element --
-------------------
overriding procedure Leave_Element
(Self : not null access constant Standard_Profile_L2_Derive_Proxy;
Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
Control : in out AMF.Visitors.Traverse_Control) is
begin
if Visitor in AMF.Visitors.Standard_Profile_L2_Visitors.Standard_Profile_L2_Visitor'Class then
AMF.Visitors.Standard_Profile_L2_Visitors.Standard_Profile_L2_Visitor'Class
(Visitor).Leave_Derive
(AMF.Standard_Profile_L2.Derives.Standard_Profile_L2_Derive_Access (Self),
Control);
end if;
end Leave_Element;
-------------------
-- Visit_Element --
-------------------
overriding procedure Visit_Element
(Self : not null access constant Standard_Profile_L2_Derive_Proxy;
Iterator : in out AMF.Visitors.Abstract_Iterator'Class;
Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
Control : in out AMF.Visitors.Traverse_Control) is
begin
if Iterator in AMF.Visitors.Standard_Profile_L2_Iterators.Standard_Profile_L2_Iterator'Class then
AMF.Visitors.Standard_Profile_L2_Iterators.Standard_Profile_L2_Iterator'Class
(Iterator).Visit_Derive
(Visitor,
AMF.Standard_Profile_L2.Derives.Standard_Profile_L2_Derive_Access (Self),
Control);
end if;
end Visit_Element;
end AMF.Internals.Standard_Profile_L2_Derives;
|
-- This file is generated by SWIG. Please do not modify by hand.
--
with Interfaces.C;
with xcb.xcb_point_t;
with Interfaces.C;
with Interfaces.C.Pointers;
package xcb.xcb_point_iterator_t is
-- Item
--
type Item is record
data : access xcb.xcb_point_t.Item;
the_rem : aliased Interfaces.C.int;
index : aliased Interfaces.C.int;
end record;
-- Item_Array
--
type Item_Array is
array
(Interfaces.C.size_t range <>) of aliased xcb.xcb_point_iterator_t.Item;
-- Pointer
--
package C_Pointers is new Interfaces.C.Pointers
(Index => Interfaces.C.size_t,
Element => xcb.xcb_point_iterator_t.Item,
Element_Array => xcb.xcb_point_iterator_t.Item_Array,
Default_Terminator => (others => <>));
subtype Pointer is C_Pointers.Pointer;
-- Pointer_Array
--
type Pointer_Array is
array
(Interfaces.C.size_t range <>) of aliased xcb.xcb_point_iterator_t
.Pointer;
-- Pointer_Pointer
--
package C_Pointer_Pointers is new Interfaces.C.Pointers
(Index => Interfaces.C.size_t,
Element => xcb.xcb_point_iterator_t.Pointer,
Element_Array => xcb.xcb_point_iterator_t.Pointer_Array,
Default_Terminator => null);
subtype Pointer_Pointer is C_Pointer_Pointers.Pointer;
end xcb.xcb_point_iterator_t;
|
-- ----------------------------------------------------------------- --
-- --
-- This 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 software 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. --
-- --
-- ----------------------------------------------------------------- --
-- ----------------------------------------------------------------- --
-- This is a translation, to the Ada programming language, of the --
-- original C test files written by Sam Lantinga - www.libsdl.org --
-- translation made by Antonio F. Vargas - www.adapower.net/~avargas --
-- ----------------------------------------------------------------- --
with Ada.Unchecked_Conversion;
with Ada.Text_IO; use Ada.Text_IO;
with SDL.Error;
with SDL.Thread;
with SDL.Types; use SDL.Types;
with SDL.Timer;
package body TestError_TFunc is
package Er renames SDL.Error;
package T renames SDL.Thread;
package Tm renames SDL.Timer;
function To_chars_ptr is
new Ada.Unchecked_Conversion (System.Address, CS.chars_ptr);
-- ======================================
function ThreadFunc (data : System.Address) return Interfaces.C.int is
begin
Er.Set_Error ( "Thread " & CS.Value (To_chars_ptr (data))
& " (" & Uint32'Image (T.ThreadID) & ") "
& "had a problem: nevermind");
while alive /= 0 loop
Put_Line ("Thread '" &
CS.Value (To_chars_ptr (data)) &
"' is alive!");
Tm.SDL_Delay (1 * 1000);
end loop;
Put_Line ("Child thread error string: " & Er.Get_Error);
return 0;
end ThreadFunc;
end TestError_TFunc;
|
-- Auto generated file. Don't edit
-- Read copyright and license at the end of this file
package body Encodings.Maps.ISO_8859_2 is
Forward : Forward_Map (Character'Val(16#A1#) .. Character'Last) :=
(Wide_Character'Val( 16#104#),
Wide_Character'Val( 16#2D8#),
Wide_Character'Val( 16#141#),
Wide_Character'Val( 16#A4#),
Wide_Character'Val( 16#13D#),
Wide_Character'Val( 16#15A#),
Wide_Character'Val( 16#A7#),
Wide_Character'Val( 16#A8#),
Wide_Character'Val( 16#160#),
Wide_Character'Val( 16#15E#),
Wide_Character'Val( 16#164#),
Wide_Character'Val( 16#179#),
Wide_Character'Val( 16#AD#),
Wide_Character'Val( 16#17D#),
Wide_Character'Val( 16#17B#),
Wide_Character'Val( 16#B0#),
Wide_Character'Val( 16#105#),
Wide_Character'Val( 16#2DB#),
Wide_Character'Val( 16#142#),
Wide_Character'Val( 16#B4#),
Wide_Character'Val( 16#13E#),
Wide_Character'Val( 16#15B#),
Wide_Character'Val( 16#2C7#),
Wide_Character'Val( 16#B8#),
Wide_Character'Val( 16#161#),
Wide_Character'Val( 16#15F#),
Wide_Character'Val( 16#165#),
Wide_Character'Val( 16#17A#),
Wide_Character'Val( 16#2DD#),
Wide_Character'Val( 16#17E#),
Wide_Character'Val( 16#17C#),
Wide_Character'Val( 16#154#),
Wide_Character'Val( 16#C1#),
Wide_Character'Val( 16#C2#),
Wide_Character'Val( 16#102#),
Wide_Character'Val( 16#C4#),
Wide_Character'Val( 16#139#),
Wide_Character'Val( 16#106#),
Wide_Character'Val( 16#C7#),
Wide_Character'Val( 16#10C#),
Wide_Character'Val( 16#C9#),
Wide_Character'Val( 16#118#),
Wide_Character'Val( 16#CB#),
Wide_Character'Val( 16#11A#),
Wide_Character'Val( 16#CD#),
Wide_Character'Val( 16#CE#),
Wide_Character'Val( 16#10E#),
Wide_Character'Val( 16#110#),
Wide_Character'Val( 16#143#),
Wide_Character'Val( 16#147#),
Wide_Character'Val( 16#D3#),
Wide_Character'Val( 16#D4#),
Wide_Character'Val( 16#150#),
Wide_Character'Val( 16#D6#),
Wide_Character'Val( 16#D7#),
Wide_Character'Val( 16#158#),
Wide_Character'Val( 16#16E#),
Wide_Character'Val( 16#DA#),
Wide_Character'Val( 16#170#),
Wide_Character'Val( 16#DC#),
Wide_Character'Val( 16#DD#),
Wide_Character'Val( 16#162#),
Wide_Character'Val( 16#DF#),
Wide_Character'Val( 16#155#),
Wide_Character'Val( 16#E1#),
Wide_Character'Val( 16#E2#),
Wide_Character'Val( 16#103#),
Wide_Character'Val( 16#E4#),
Wide_Character'Val( 16#13A#),
Wide_Character'Val( 16#107#),
Wide_Character'Val( 16#E7#),
Wide_Character'Val( 16#10D#),
Wide_Character'Val( 16#E9#),
Wide_Character'Val( 16#119#),
Wide_Character'Val( 16#EB#),
Wide_Character'Val( 16#11B#),
Wide_Character'Val( 16#ED#),
Wide_Character'Val( 16#EE#),
Wide_Character'Val( 16#10F#),
Wide_Character'Val( 16#111#),
Wide_Character'Val( 16#144#),
Wide_Character'Val( 16#148#),
Wide_Character'Val( 16#F3#),
Wide_Character'Val( 16#F4#),
Wide_Character'Val( 16#151#),
Wide_Character'Val( 16#F6#),
Wide_Character'Val( 16#F7#),
Wide_Character'Val( 16#159#),
Wide_Character'Val( 16#16F#),
Wide_Character'Val( 16#FA#),
Wide_Character'Val( 16#171#),
Wide_Character'Val( 16#FC#),
Wide_Character'Val( 16#FD#),
Wide_Character'Val( 16#163#),
Wide_Character'Val( 16#2D9#));
Ranges : Maps.Wide_Ranges (1 .. 45) :=
((Wide_Character'Val( 16#0#),Wide_Character'Val( 16#A0#), 1),
(Wide_Character'Val( 16#A4#),Wide_Character'Val( 16#A4#), 162),
(Wide_Character'Val( 16#A7#),Wide_Character'Val( 16#A8#), 163),
(Wide_Character'Val( 16#AD#),Wide_Character'Val( 16#AD#), 165),
(Wide_Character'Val( 16#B0#),Wide_Character'Val( 16#B0#), 166),
(Wide_Character'Val( 16#B4#),Wide_Character'Val( 16#B4#), 167),
(Wide_Character'Val( 16#B8#),Wide_Character'Val( 16#B8#), 168),
(Wide_Character'Val( 16#C1#),Wide_Character'Val( 16#C2#), 169),
(Wide_Character'Val( 16#C4#),Wide_Character'Val( 16#C4#), 171),
(Wide_Character'Val( 16#C7#),Wide_Character'Val( 16#C7#), 172),
(Wide_Character'Val( 16#C9#),Wide_Character'Val( 16#C9#), 173),
(Wide_Character'Val( 16#CB#),Wide_Character'Val( 16#CB#), 174),
(Wide_Character'Val( 16#CD#),Wide_Character'Val( 16#CE#), 175),
(Wide_Character'Val( 16#D3#),Wide_Character'Val( 16#D4#), 177),
(Wide_Character'Val( 16#D6#),Wide_Character'Val( 16#D7#), 179),
(Wide_Character'Val( 16#DA#),Wide_Character'Val( 16#DA#), 181),
(Wide_Character'Val( 16#DC#),Wide_Character'Val( 16#DD#), 182),
(Wide_Character'Val( 16#DF#),Wide_Character'Val( 16#DF#), 184),
(Wide_Character'Val( 16#E1#),Wide_Character'Val( 16#E2#), 185),
(Wide_Character'Val( 16#E4#),Wide_Character'Val( 16#E4#), 187),
(Wide_Character'Val( 16#E7#),Wide_Character'Val( 16#E7#), 188),
(Wide_Character'Val( 16#E9#),Wide_Character'Val( 16#E9#), 189),
(Wide_Character'Val( 16#EB#),Wide_Character'Val( 16#EB#), 190),
(Wide_Character'Val( 16#ED#),Wide_Character'Val( 16#EE#), 191),
(Wide_Character'Val( 16#F3#),Wide_Character'Val( 16#F4#), 193),
(Wide_Character'Val( 16#F6#),Wide_Character'Val( 16#F7#), 195),
(Wide_Character'Val( 16#FA#),Wide_Character'Val( 16#FA#), 197),
(Wide_Character'Val( 16#FC#),Wide_Character'Val( 16#FD#), 198),
(Wide_Character'Val( 16#102#),Wide_Character'Val( 16#107#), 200),
(Wide_Character'Val( 16#10C#),Wide_Character'Val( 16#111#), 206),
(Wide_Character'Val( 16#118#),Wide_Character'Val( 16#11B#), 212),
(Wide_Character'Val( 16#139#),Wide_Character'Val( 16#13A#), 216),
(Wide_Character'Val( 16#13D#),Wide_Character'Val( 16#13E#), 218),
(Wide_Character'Val( 16#141#),Wide_Character'Val( 16#144#), 220),
(Wide_Character'Val( 16#147#),Wide_Character'Val( 16#148#), 224),
(Wide_Character'Val( 16#150#),Wide_Character'Val( 16#151#), 226),
(Wide_Character'Val( 16#154#),Wide_Character'Val( 16#155#), 228),
(Wide_Character'Val( 16#158#),Wide_Character'Val( 16#15B#), 230),
(Wide_Character'Val( 16#15E#),Wide_Character'Val( 16#165#), 234),
(Wide_Character'Val( 16#16E#),Wide_Character'Val( 16#171#), 242),
(Wide_Character'Val( 16#179#),Wide_Character'Val( 16#17E#), 246),
(Wide_Character'Val( 16#2C7#),Wide_Character'Val( 16#2C7#), 252),
(Wide_Character'Val( 16#2D8#),Wide_Character'Val( 16#2D9#), 253),
(Wide_Character'Val( 16#2DB#),Wide_Character'Val( 16#2DB#), 255),
(Wide_Character'Val( 16#2DD#),Wide_Character'Val( 16#2DD#), 256));
Backward : Maps.Backward_Map (1 .. 256) :=
(Character'Val( 16#0#),
Character'Val( 16#1#),
Character'Val( 16#2#),
Character'Val( 16#3#),
Character'Val( 16#4#),
Character'Val( 16#5#),
Character'Val( 16#6#),
Character'Val( 16#7#),
Character'Val( 16#8#),
Character'Val( 16#9#),
Character'Val( 16#A#),
Character'Val( 16#B#),
Character'Val( 16#C#),
Character'Val( 16#D#),
Character'Val( 16#E#),
Character'Val( 16#F#),
Character'Val(16#10#),
Character'Val(16#11#),
Character'Val(16#12#),
Character'Val(16#13#),
Character'Val(16#14#),
Character'Val(16#15#),
Character'Val(16#16#),
Character'Val(16#17#),
Character'Val(16#18#),
Character'Val(16#19#),
Character'Val(16#1A#),
Character'Val(16#1B#),
Character'Val(16#1C#),
Character'Val(16#1D#),
Character'Val(16#1E#),
Character'Val(16#1F#),
Character'Val(16#20#),
Character'Val(16#21#),
Character'Val(16#22#),
Character'Val(16#23#),
Character'Val(16#24#),
Character'Val(16#25#),
Character'Val(16#26#),
Character'Val(16#27#),
Character'Val(16#28#),
Character'Val(16#29#),
Character'Val(16#2A#),
Character'Val(16#2B#),
Character'Val(16#2C#),
Character'Val(16#2D#),
Character'Val(16#2E#),
Character'Val(16#2F#),
Character'Val(16#30#),
Character'Val(16#31#),
Character'Val(16#32#),
Character'Val(16#33#),
Character'Val(16#34#),
Character'Val(16#35#),
Character'Val(16#36#),
Character'Val(16#37#),
Character'Val(16#38#),
Character'Val(16#39#),
Character'Val(16#3A#),
Character'Val(16#3B#),
Character'Val(16#3C#),
Character'Val(16#3D#),
Character'Val(16#3E#),
Character'Val(16#3F#),
Character'Val(16#40#),
Character'Val(16#41#),
Character'Val(16#42#),
Character'Val(16#43#),
Character'Val(16#44#),
Character'Val(16#45#),
Character'Val(16#46#),
Character'Val(16#47#),
Character'Val(16#48#),
Character'Val(16#49#),
Character'Val(16#4A#),
Character'Val(16#4B#),
Character'Val(16#4C#),
Character'Val(16#4D#),
Character'Val(16#4E#),
Character'Val(16#4F#),
Character'Val(16#50#),
Character'Val(16#51#),
Character'Val(16#52#),
Character'Val(16#53#),
Character'Val(16#54#),
Character'Val(16#55#),
Character'Val(16#56#),
Character'Val(16#57#),
Character'Val(16#58#),
Character'Val(16#59#),
Character'Val(16#5A#),
Character'Val(16#5B#),
Character'Val(16#5C#),
Character'Val(16#5D#),
Character'Val(16#5E#),
Character'Val(16#5F#),
Character'Val(16#60#),
Character'Val(16#61#),
Character'Val(16#62#),
Character'Val(16#63#),
Character'Val(16#64#),
Character'Val(16#65#),
Character'Val(16#66#),
Character'Val(16#67#),
Character'Val(16#68#),
Character'Val(16#69#),
Character'Val(16#6A#),
Character'Val(16#6B#),
Character'Val(16#6C#),
Character'Val(16#6D#),
Character'Val(16#6E#),
Character'Val(16#6F#),
Character'Val(16#70#),
Character'Val(16#71#),
Character'Val(16#72#),
Character'Val(16#73#),
Character'Val(16#74#),
Character'Val(16#75#),
Character'Val(16#76#),
Character'Val(16#77#),
Character'Val(16#78#),
Character'Val(16#79#),
Character'Val(16#7A#),
Character'Val(16#7B#),
Character'Val(16#7C#),
Character'Val(16#7D#),
Character'Val(16#7E#),
Character'Val(16#7F#),
Character'Val(16#80#),
Character'Val(16#81#),
Character'Val(16#82#),
Character'Val(16#83#),
Character'Val(16#84#),
Character'Val(16#85#),
Character'Val(16#86#),
Character'Val(16#87#),
Character'Val(16#88#),
Character'Val(16#89#),
Character'Val(16#8A#),
Character'Val(16#8B#),
Character'Val(16#8C#),
Character'Val(16#8D#),
Character'Val(16#8E#),
Character'Val(16#8F#),
Character'Val(16#90#),
Character'Val(16#91#),
Character'Val(16#92#),
Character'Val(16#93#),
Character'Val(16#94#),
Character'Val(16#95#),
Character'Val(16#96#),
Character'Val(16#97#),
Character'Val(16#98#),
Character'Val(16#99#),
Character'Val(16#9A#),
Character'Val(16#9B#),
Character'Val(16#9C#),
Character'Val(16#9D#),
Character'Val(16#9E#),
Character'Val(16#9F#),
Character'Val(16#A0#),
Character'Val(16#A4#),
Character'Val(16#A7#),
Character'Val(16#A8#),
Character'Val(16#AD#),
Character'Val(16#B0#),
Character'Val(16#B4#),
Character'Val(16#B8#),
Character'Val(16#C1#),
Character'Val(16#C2#),
Character'Val(16#C4#),
Character'Val(16#C7#),
Character'Val(16#C9#),
Character'Val(16#CB#),
Character'Val(16#CD#),
Character'Val(16#CE#),
Character'Val(16#D3#),
Character'Val(16#D4#),
Character'Val(16#D6#),
Character'Val(16#D7#),
Character'Val(16#DA#),
Character'Val(16#DC#),
Character'Val(16#DD#),
Character'Val(16#DF#),
Character'Val(16#E1#),
Character'Val(16#E2#),
Character'Val(16#E4#),
Character'Val(16#E7#),
Character'Val(16#E9#),
Character'Val(16#EB#),
Character'Val(16#ED#),
Character'Val(16#EE#),
Character'Val(16#F3#),
Character'Val(16#F4#),
Character'Val(16#F6#),
Character'Val(16#F7#),
Character'Val(16#FA#),
Character'Val(16#FC#),
Character'Val(16#FD#),
Character'Val(16#C3#),
Character'Val(16#E3#),
Character'Val(16#A1#),
Character'Val(16#B1#),
Character'Val(16#C6#),
Character'Val(16#E6#),
Character'Val(16#C8#),
Character'Val(16#E8#),
Character'Val(16#CF#),
Character'Val(16#EF#),
Character'Val(16#D0#),
Character'Val(16#F0#),
Character'Val(16#CA#),
Character'Val(16#EA#),
Character'Val(16#CC#),
Character'Val(16#EC#),
Character'Val(16#C5#),
Character'Val(16#E5#),
Character'Val(16#A5#),
Character'Val(16#B5#),
Character'Val(16#A3#),
Character'Val(16#B3#),
Character'Val(16#D1#),
Character'Val(16#F1#),
Character'Val(16#D2#),
Character'Val(16#F2#),
Character'Val(16#D5#),
Character'Val(16#F5#),
Character'Val(16#C0#),
Character'Val(16#E0#),
Character'Val(16#D8#),
Character'Val(16#F8#),
Character'Val(16#A6#),
Character'Val(16#B6#),
Character'Val(16#AA#),
Character'Val(16#BA#),
Character'Val(16#A9#),
Character'Val(16#B9#),
Character'Val(16#DE#),
Character'Val(16#FE#),
Character'Val(16#AB#),
Character'Val(16#BB#),
Character'Val(16#D9#),
Character'Val(16#F9#),
Character'Val(16#DB#),
Character'Val(16#FB#),
Character'Val(16#AC#),
Character'Val(16#BC#),
Character'Val(16#AF#),
Character'Val(16#BF#),
Character'Val(16#AE#),
Character'Val(16#BE#),
Character'Val(16#B7#),
Character'Val(16#A2#),
Character'Val(16#FF#),
Character'Val(16#B2#),
Character'Val(16#BD#));
function Decode (Char : Character) return Wide_Character is
begin
return Decode (Char, Forward);
end Decode;
procedure Decode
(Text : in Raw_String;
Text_Last : out Natural;
Result : out Wide_String;
Result_Last : out Natural;
Map : in Encoding := Encodings.ISO_8859_2)
is
begin
Decode (Text, Text_Last, Result, Result_Last, Forward);
end Decode;
procedure Encode
(Text : in Wide_String;
Text_Last : out Natural;
Result : out Raw_String;
Result_Last : out Natural;
Map : in Encoding := Encodings.ISO_8859_2)
is
begin
Encode (Text, Text_Last, Result, Result_Last,
Ranges, Backward);
end Encode;
begin
Encoder_List (Encodings.ISO_8859_2) := Encode'Access;
Decoder_List (Encodings.ISO_8859_2) := Decode'Access;
end Encodings.Maps.ISO_8859_2;
------------------------------------------------------------------------------
-- 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 RUN-TIME COMPONENTS --
-- --
-- G N A T . I O . P U T --
-- --
-- B o d y --
-- --
-- Copyright (C) 2011-2016, 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. --
-- --
------------------------------------------------------------------------------
-- Implementation of Put (C : Character) based on System.Text_IO.
with System.Text_IO; use System.Text_IO;
separate (GNAT.IO)
procedure Put (C : Character) is
begin
if not Initialized then
Initialize;
end if;
-- GNAT.IO calls Put (ASCII.LF) for New_Line. Compensate.
if C = ASCII.LF and then Use_Cr_Lf_For_New_Line then
while not Is_Tx_Ready loop
null;
end loop;
System.Text_IO.Put (ASCII.CR);
end if;
while not Is_Tx_Ready loop
null;
end loop;
System.Text_IO.Put (C);
end Put;
|
with
openGL.Tasks,
GL.Binding,
interfaces.C.Strings,
ada.unchecked_Conversion;
package body openGL.Server
is
function Version return String
is
use GL,
GL.Binding,
Interfaces;
check_is_OK : constant Boolean := openGL.Tasks.Check with Unreferenced;
type GLubyte_Pointer is access all GLubyte;
function to_Chars_ptr is new ada.unchecked_Conversion (GLubyte_Pointer,
c.Strings.Chars_ptr);
Result : constant String := c.Strings.Value (to_Chars_ptr (glGetString (GL_VERSION)));
begin
return Result;
end Version;
function Version return a_Version
is
use GL,
GL.Binding;
Major : aliased glInt;
Minor : aliased glInt;
begin
glGetIntegerv (GL_MAJOR_VERSION, Major'Access);
glGetIntegerv (GL_MINOR_VERSION, Minor'Access);
return (Major => Integer (Major),
Minor => Integer (Minor));
end Version;
end openGL.Server;
|
package GLOBE_3D.Options is
-- Visual checks:
show_normals : constant Boolean := False;
show_portals : constant Boolean := False;
filter_portal_depth : constant Boolean := False;
-- Formal checks:
full_check_objects : constant Boolean := False;
strict_geometry : constant Boolean := False;
function Is_debug_mode return Boolean;
arrow_inflator : constant := 10.0;
end GLOBE_3D.Options;
|
-- NORX.Compare_Tags
-- Compare two Tag_Type values using a constant-time approach. This is split out
-- into a separate child unit from NORX so that different compilation flags can
-- be used. It is advisable to prevent optimisation of this function or else
-- a clever compiler might use a short-circuit approach. That might produce
-- logically identical results but it would leak information to attackers if
-- the timing of the decoding program can be observed.
-- Copyright (c) 2016, James Humphry - see LICENSE file for details
pragma Restrictions(No_Implementation_Attributes,
No_Implementation_Identifiers,
No_Implementation_Units,
No_Obsolescent_Features);
function NORX.Compare_Tags (L, R : Tag_Type) return Boolean is
Result : Storage_Element := 0;
begin
for I in L'Range loop
Result := Result or (L(I) xor (R(I)));
end loop;
return (Result = 0);
end NORX.Compare_Tags;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-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.
------------------------------------------------------------------------------
with AMF.Elements.Generic_Hash;
function AMF.CMOF.Types.Hash is
new AMF.Elements.Generic_Hash (CMOF_Type, CMOF_Type_Access);
|
-- Copyright 2015,2016 Steven Stewart-Gallus
--
-- 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 body Linted.Simulate is
use type Types.Int;
use type Types.Nat;
use type Types.Large;
use type Types.Position;
use type Types.Sim_Angle;
procedure Tick (This : in out State) is
X_Thrust : array (Types.Position) of Types.Int := (0, 0, 0);
Y_Thrust : array (Types.Position) of Types.Int := (0, 0, 0);
Z_Thrust : array (Types.Position) of Types.Int := (0, 0, 0);
Thrusts : array (Types.Position) of Types.Int;
Gravity : constant array (Types.Position) of Types.Int := (0, 0, 10);
Normal_Force : array (Types.Position) of Types.Int := (0, 0, 0);
Cos_Z : Types.Int;
Sin_Z : Types.Int;
Retreat_Or_Go_Forth : Types.Int;
Strafe : Types.Int;
begin
Retreat_Or_Go_Forth :=
Boolean'Pos (This.Controls.Back) - Boolean'Pos (This.Controls.Forward);
Strafe :=
Boolean'Pos (This.Controls.Left) - Boolean'Pos (This.Controls.Right);
Cos_Z :=
Types.Downscale
(Types.Int
(Types.Sim_Cos (This.Z_Rotation) * Types.Fixed (Types.Int'Last)),
32);
Sin_Z :=
Types.Downscale
(Types.Int
(Types.Sim_Sin (This.Z_Rotation) * Types.Fixed (Types.Int'Last)),
32);
if This.Objects (This.Objects'First) (Types.Z).Value >= 0 then
Y_Thrust (Types.X) := Retreat_Or_Go_Forth * Sin_Z;
Y_Thrust (Types.Y) := Retreat_Or_Go_Forth * Cos_Z;
X_Thrust (Types.X) := Strafe * Cos_Z;
X_Thrust (Types.Y) := Strafe * (-Sin_Z);
if This.Controls.Jumping then
Z_Thrust (Types.Z) := Types.Downscale (-Types.Int'Last, 512);
end if;
end if;
Normal_Force (Types.Z) := -Boolean'Pos (This.Controls.Left);
for II in Types.Position loop
Thrusts (II) := X_Thrust (II) + (Y_Thrust (II) + Z_Thrust (II));
end loop;
for Ix in This.Objects'Range loop
for II in Types.Position loop
declare
Position : Types.Int;
Old_Position : Types.Int;
Old_Velocity : Types.Int;
Force : Types.Int;
Guess_Velocity : Types.Int;
Mu : Types.Int;
Friction : Types.Int;
New_Velocity : Types.Int;
New_Position : Types.Int;
begin
Position := This.Objects (Ix) (II).Value;
Old_Position := This.Objects (Ix) (II).Old;
if Ix = 1 then
Force := Gravity (II) + (Normal_Force (II) + Thrusts (II));
else
Force :=
Gravity (II) + ((Types.Int (This.Counter) mod 61) - 30);
This.Counter :=
(1664525 * This.Counter + 1013904223) mod 2147483648;
end if;
Old_Velocity := Position - Old_Position;
Guess_Velocity := Types.Sim_Isatadd (Force, Old_Velocity);
if Types.X = II or Types.Y = II then
if This.Objects (Ix) (Types.Z).Value >= 0 then
Mu := 5;
else
Mu := 0;
end if;
else
Mu := 5;
end if;
Friction :=
Types.Min_Int
(Types.Int (Types.Absolute (Guess_Velocity)),
Mu) *
(-Types.Find_Sign (Guess_Velocity));
New_Velocity := Types.Sim_Isatadd (Guess_Velocity, Friction);
if Types.Z = II and
This.Objects (Ix) (Types.Z).Value >= 0 and
New_Velocity > 0
then
New_Velocity := 0;
end if;
New_Position := Types.Sim_Isatadd (Position, New_Velocity);
This.Objects (Ix) (II).Value := New_Position;
This.Objects (Ix) (II).Old := Position;
end;
end loop;
end loop;
This.Z_Rotation :=
Types.Tilt_Rotation
(This.Z_Rotation,
Types.Int (This.Controls.Z_Tilt));
This.X_Rotation :=
Types.Tilt_Clamped_Rotation
(This.X_Rotation,
-Types.Int (This.Controls.X_Tilt));
end Tick;
end Linted.Simulate;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- A D A . N U M E R I C S . C O M P L E X _ T Y P E S --
-- --
-- S p e c --
-- --
-- $Revision$
-- --
-- This specification is adapted from the Ada Reference Manual for use with --
-- GNAT. In accordance with the copyright of that document, you can freely --
-- copy and modify this specification, provided that if you redistribute a --
-- modified version, any changes that you have made are clearly indicated. --
-- --
------------------------------------------------------------------------------
with Ada.Numerics.Generic_Complex_Types;
package Ada.Numerics.Complex_Types is
new Ada.Numerics.Generic_Complex_Types (Float);
pragma Pure (Complex_Types);
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Web Framework --
-- --
-- Web API Definition --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2015-2016, 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$
------------------------------------------------------------------------------
with WebAPI.DOM.Events;
with WebAPI.HTML.Windows;
package WebAPI.UI_Events is
pragma Preelaborate;
type UI_Event is limited interface and WebAPI.DOM.Events.Event;
not overriding function Get_View
(Self : not null access constant UI_Event)
return WebAPI.HTML.Windows.Window_Access is abstract
with Import => True,
Convention => JavaScript_Property_Getter,
Link_Name => "view";
-- The view attribute identifies the Window from which the event was
-- generated.
not overriding function Get_Detail
(Self : not null access constant UI_Event)
return WebAPI.DOM_Long is abstract
with Import => True,
Convention => JavaScript_Property_Getter,
Link_Name => "detail";
-- Specifies some detail information about the Event, depending on the type
-- of event.
end WebAPI.UI_Events;
|
-- C48007C.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.
--*
-- FOR ALLOCATORS OF THE FORM "NEW T", CHECK THAT CONSTRAINT_ERROR IS
-- RAISED IF T IS A CONSTRAINED ARRAY TYPE AND AT LEAST ONE INDEX BOUND
-- FOR T DOES NOT EQUAL THE CORRESPONDING VALUE SPECIFIED FOR THE
-- ALLOCATOR'S BASE TYPE.
-- EG 08/10/84
WITH REPORT;
PROCEDURE C48007C IS
USE REPORT;
BEGIN
TEST("C48007C","FOR ALLOCATORS OF THE FORM 'NEW T' CHECK " &
"THAT CONSTRAINT_ERROR IS RAISED WHEN " &
"APPROPRIATE - CONSTRAINED ARRAY TYPE");
DECLARE
TYPE UA1 IS ARRAY(INTEGER RANGE <>) OF INTEGER;
TYPE UA2 IS ARRAY(INTEGER RANGE <>, INTEGER RANGE <>) OF
INTEGER;
TYPE UA3 IS ARRAY(INTEGER RANGE <>) OF UA1(1 .. 2);
SUBTYPE CA11 IS UA1(1 .. 3);
SUBTYPE CA12 IS UA1(3 .. 2);
SUBTYPE CA21 IS UA2(1 .. 2, 1 .. 2);
SUBTYPE CA22 IS UA2(1 .. 2, 2 .. 0);
SUBTYPE CA31 IS UA3(1 .. 2);
SUBTYPE CA32 IS UA3(4 .. 1);
TYPE A_UA11 IS ACCESS UA1(2 .. 4);
TYPE A_UA12 IS ACCESS UA1(4 .. 3);
TYPE A_UA21 IS ACCESS UA2(1 .. 3, 1 .. 2);
TYPE A_UA22 IS ACCESS UA2(1 .. 2, 2 .. 1);
TYPE A_UA31 IS ACCESS UA3(1 .. 3);
TYPE A_UA32 IS ACCESS UA3(3 .. 1);
V11 : A_UA11;
V12 : A_UA12;
V21 : A_UA21;
V22 : A_UA22;
V31 : A_UA31;
V32 : A_UA32;
BEGIN
BEGIN -- V11
V11 := NEW CA11;
FAILED("NO EXCEPTION RAISED - V11");
EXCEPTION
WHEN CONSTRAINT_ERROR =>
NULL;
WHEN OTHERS =>
FAILED("WRONG EXCEPTION RAISED - V11");
END;
BEGIN -- V12
V12 := NEW CA12;
FAILED("NO EXCEPTION RAISED - V12");
EXCEPTION
WHEN CONSTRAINT_ERROR =>
NULL;
WHEN OTHERS =>
FAILED("WRONG EXCEPTION RAISED - V12");
END;
BEGIN -- V21
V21 := NEW CA21;
FAILED("NO EXCEPTION RAISED - V21");
EXCEPTION
WHEN CONSTRAINT_ERROR =>
NULL;
WHEN OTHERS =>
FAILED("WRONG EXCEPTION RAISED - V21");
END;
BEGIN -- V22
V22 := NEW CA22;
FAILED("NO EXCEPTION RAISED - V22");
EXCEPTION
WHEN CONSTRAINT_ERROR =>
NULL;
WHEN OTHERS =>
FAILED("WRONG EXCEPTION RAISED - V22");
END;
BEGIN -- V31
V31 := NEW CA31;
FAILED("NO EXCEPTION RAISED - V31");
EXCEPTION
WHEN CONSTRAINT_ERROR =>
NULL;
WHEN OTHERS =>
FAILED("WRONG EXCEPTION RAISED - V31");
END;
BEGIN -- V32
V32 := NEW CA32;
FAILED("NO EXCEPTION RAISED - V32");
EXCEPTION
WHEN CONSTRAINT_ERROR =>
NULL;
WHEN OTHERS =>
FAILED("WRONG EXCEPTION RAISED - V32");
END;
END;
RESULT;
END C48007C;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . S T R I N G S . W I D E _ W I D E _ M A P S --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2006, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
-- apply solely to the contents of the part following the private keyword. --
-- --
-- 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 2, 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. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- --
--
--
--
--
--
--
--
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with Ada.Finalization;
package Ada.Strings.Wide_Wide_Maps is
pragma Preelaborate;
------------------------------------------
-- Wide_Wide_Character Set Declarations --
------------------------------------------
type Wide_Wide_Character_Set is private;
pragma Preelaborable_Initialization (Wide_Wide_Character_Set);
-- Representation for a set of Wide_Wide_Character values:
Null_Set : constant Wide_Wide_Character_Set;
-----------------------------------------------
-- Constructors for Wide_Wide_Character Sets --
-----------------------------------------------
type Wide_Wide_Character_Range is record
Low : Wide_Wide_Character;
High : Wide_Wide_Character;
end record;
-- Represents Wide_Wide_Character range Low .. High
type Wide_Wide_Character_Ranges is
array (Positive range <>) of Wide_Wide_Character_Range;
function To_Set
(Ranges : Wide_Wide_Character_Ranges) return Wide_Wide_Character_Set;
function To_Set
(Span : Wide_Wide_Character_Range) return Wide_Wide_Character_Set;
function To_Ranges
(Set : Wide_Wide_Character_Set) return Wide_Wide_Character_Ranges;
---------------------------------------
-- Operations on Wide Character Sets --
---------------------------------------
function "=" (Left, Right : Wide_Wide_Character_Set) return Boolean;
function "not"
(Right : Wide_Wide_Character_Set) return Wide_Wide_Character_Set;
function "and"
(Left, Right : Wide_Wide_Character_Set) return Wide_Wide_Character_Set;
function "or"
(Left, Right : Wide_Wide_Character_Set) return Wide_Wide_Character_Set;
function "xor"
(Left, Right : Wide_Wide_Character_Set) return Wide_Wide_Character_Set;
function "-"
(Left, Right : Wide_Wide_Character_Set) return Wide_Wide_Character_Set;
function Is_In
(Element : Wide_Wide_Character;
Set : Wide_Wide_Character_Set) return Boolean;
function Is_Subset
(Elements : Wide_Wide_Character_Set;
Set : Wide_Wide_Character_Set) return Boolean;
function "<="
(Left : Wide_Wide_Character_Set;
Right : Wide_Wide_Character_Set) return Boolean
renames Is_Subset;
subtype Wide_Wide_Character_Sequence is Wide_Wide_String;
-- Alternative representation for a set of character values
function To_Set
(Sequence : Wide_Wide_Character_Sequence) return Wide_Wide_Character_Set;
function To_Set
(Singleton : Wide_Wide_Character) return Wide_Wide_Character_Set;
function To_Sequence
(Set : Wide_Wide_Character_Set) return Wide_Wide_Character_Sequence;
----------------------------------------------
-- Wide_Wide_Character Mapping Declarations --
----------------------------------------------
type Wide_Wide_Character_Mapping is private;
pragma Preelaborable_Initialization (Wide_Wide_Character_Mapping);
-- Representation for a wide character to wide character mapping:
function Value
(Map : Wide_Wide_Character_Mapping;
Element : Wide_Wide_Character) return Wide_Wide_Character;
Identity : constant Wide_Wide_Character_Mapping;
--------------------------------------
-- Operations on Wide Wide Mappings --
---------------------------------------
function To_Mapping
(From, To : Wide_Wide_Character_Sequence)
return Wide_Wide_Character_Mapping;
function To_Domain
(Map : Wide_Wide_Character_Mapping) return Wide_Wide_Character_Sequence;
function To_Range
(Map : Wide_Wide_Character_Mapping) return Wide_Wide_Character_Sequence;
type Wide_Wide_Character_Mapping_Function is
access function (From : Wide_Wide_Character) return Wide_Wide_Character;
private
package AF renames Ada.Finalization;
-----------------------------------------------
-- Representation of Wide_Wide_Character_Set --
-----------------------------------------------
-- A wide character set is represented as a sequence of wide character
-- ranges (i.e. an object of type Wide_Wide_Character_Ranges) in which the
-- following hold:
-- The lower bound is 1
-- The ranges are in order by increasing Low values
-- The ranges are non-overlapping and discontigous
-- A character value is in the set if it is contained in one of the
-- ranges. The actual Wide_Wide_Character_Set value is a controlled pointer
-- to this Wide_Wide_Character_Ranges value. The use of a controlled type
-- is necessary to prevent storage leaks.
type Wide_Wide_Character_Ranges_Access is
access all Wide_Wide_Character_Ranges;
type Wide_Wide_Character_Set is new AF.Controlled with record
Set : Wide_Wide_Character_Ranges_Access;
end record;
pragma Finalize_Storage_Only (Wide_Wide_Character_Set);
-- This avoids useless finalizations, and, more importantly avoids
-- incorrect attempts to finalize constants that are statically
-- declared here and in Ada.Strings.Wide_Wide_Maps, which is incorrect.
procedure Initialize (Object : in out Wide_Wide_Character_Set);
procedure Adjust (Object : in out Wide_Wide_Character_Set);
procedure Finalize (Object : in out Wide_Wide_Character_Set);
Null_Range : aliased constant Wide_Wide_Character_Ranges :=
(1 .. 0 => (Low => ' ', High => ' '));
Null_Set : constant Wide_Wide_Character_Set :=
(AF.Controlled with
Set => Null_Range'Unrestricted_Access);
---------------------------------------------------
-- Representation of Wide_Wide_Character_Mapping --
---------------------------------------------------
-- A wide character mapping is represented as two strings of equal
-- length, where any character appearing in Domain is mapped to the
-- corresponding character in Rangev. A character not appearing in
-- Domain is mapped to itself. The characters in Domain are sorted
-- in ascending order.
-- The actual Wide_Wide_Character_Mapping value is a controlled record
-- that contains a pointer to a discriminated record containing the
-- range and domain values.
-- Note: this representation is canonical, and the values stored in
-- Domain and Rangev are exactly the values that are returned by the
-- functions To_Domain and To_Range. The use of a controlled type is
-- necessary to prevent storage leaks.
type Wide_Wide_Character_Mapping_Values (Length : Natural) is record
Domain : Wide_Wide_Character_Sequence (1 .. Length);
Rangev : Wide_Wide_Character_Sequence (1 .. Length);
end record;
type Wide_Wide_Character_Mapping_Values_Access is
access all Wide_Wide_Character_Mapping_Values;
type Wide_Wide_Character_Mapping is new AF.Controlled with record
Map : Wide_Wide_Character_Mapping_Values_Access;
end record;
pragma Finalize_Storage_Only (Wide_Wide_Character_Mapping);
-- This avoids useless finalizations, and, more importantly avoids
-- incorrect attempts to finalize constants that are statically
-- declared here and in Ada.Strings.Wide_Wide_Maps, which is incorrect.
procedure Initialize (Object : in out Wide_Wide_Character_Mapping);
procedure Adjust (Object : in out Wide_Wide_Character_Mapping);
procedure Finalize (Object : in out Wide_Wide_Character_Mapping);
Null_Map : aliased constant Wide_Wide_Character_Mapping_Values :=
(Length => 0,
Domain => "",
Rangev => "");
Identity : constant Wide_Wide_Character_Mapping :=
(AF.Controlled with
Map => Null_Map'Unrestricted_Access);
end Ada.Strings.Wide_Wide_Maps;
|
with
glx.Pointers;
package glx.Context
is
subtype Item is Pointers.ContextRec_Pointer;
type Pointer is access all Item;
type Pointer_Pointer is access all Pointer;
type Items is array (C.size_t range <>) of aliased Item;
type Pointers is array (C.size_t range <>) of aliased Pointer;
end glx.Context;
|
------------------------------------------------------------------------------
-- --
-- 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$
------------------------------------------------------------------------------
-- This file is generated, don't edit it.
------------------------------------------------------------------------------
package AMF.Factories.DC_Factories is
pragma Preelaborate;
type DC_Factory is limited interface
and AMF.Factories.Factory;
type DC_Factory_Access is access all DC_Factory'Class;
for DC_Factory_Access'Storage_Size use 0;
end AMF.Factories.DC_Factories;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Localization, Internationalization, Globalization for Ada --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2010-2011, 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$
------------------------------------------------------------------------------
package Matreshka.Internals.Text_Codecs.SHIFTJIS is
pragma Preelaborate;
type SHIFTJIS_Decoder is new Abstract_Decoder with private;
overriding function Is_Error (Self : SHIFTJIS_Decoder) return Boolean;
overriding function Is_Mailformed (Self : SHIFTJIS_Decoder) return Boolean;
overriding procedure Decode_Append
(Self : in out SHIFTJIS_Decoder;
Data : Ada.Streams.Stream_Element_Array;
String : in out Matreshka.Internals.Strings.Shared_String_Access);
function Decoder (Mode : Decoder_Mode) return Abstract_Decoder'Class;
private
type SHIFTJIS_Meta_Class is mod 2 ** 8;
type SHIFTJIS_DFA_State is mod 2 ** 8;
type SHIFTJIS_Decoder is new Abstract_Decoder with record
State : SHIFTJIS_DFA_State;
First : Ada.Streams.Stream_Element;
end record;
type SHIFTJIS_Code_Point_Array is
array (Ada.Streams.Stream_Element)
of Matreshka.Internals.Unicode.Code_Point;
type SHIFTJIS_Code_Point_Array_Access is
access constant SHIFTJIS_Code_Point_Array;
type SHIFTJIS_Expansion_Pair is record
First : Matreshka.Internals.Unicode.Code_Point;
Second : Matreshka.Internals.Unicode.Code_Point;
end record;
end Matreshka.Internals.Text_Codecs.SHIFTJIS;
|
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- A D A . S T R I N G S . W I D E _ U N B O U N D E D . W I D E _ H A S H --
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2005, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
-- apply solely to the contents of the part following the private keyword. --
-- --
-- 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 2, 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. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; 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. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------
-- Note: source of this algorithm: GNAT.HTable.Hash (g-htable.adb)
function Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Hash
(Key : Unbounded_Wide_Wide_String) return Containers.Hash_Type
is
use Ada.Containers;
function Rotate_Left
(Value : Hash_Type;
Amount : Natural) return Hash_Type;
pragma Import (Intrinsic, Rotate_Left);
Tmp : Hash_Type;
begin
Tmp := 0;
for J in 1 .. Key.Last loop
Tmp := Rotate_Left (Tmp, 3) +
Wide_Wide_Character'Pos (Key.Reference (J));
end loop;
return Tmp;
end Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Hash;
|
----------------------------------------------------------------
-- ZLib for Ada thick binding. --
-- --
-- Copyright (C) 2002-2003 Dmitriy Anisimkov --
-- --
-- Open source license information is in the zlib.ads file. --
----------------------------------------------------------------
-- $Id: zlib-streams.ads,v 1.2 2020/09/15 02:05:31 christos Exp $
package ZLib.Streams is
type Stream_Mode is (In_Stream, Out_Stream, Duplex);
type Stream_Access is access all Ada.Streams.Root_Stream_Type'Class;
type Stream_Type is
new Ada.Streams.Root_Stream_Type with private;
procedure Read
(Stream : in out Stream_Type;
Item : out Ada.Streams.Stream_Element_Array;
Last : out Ada.Streams.Stream_Element_Offset);
procedure Write
(Stream : in out Stream_Type;
Item : in Ada.Streams.Stream_Element_Array);
procedure Flush
(Stream : in out Stream_Type;
Mode : in Flush_Mode := Sync_Flush);
-- Flush the written data to the back stream,
-- all data placed to the compressor is flushing to the Back stream.
-- Should not be used until necessary, because it is decreasing
-- compression.
function Read_Total_In (Stream : in Stream_Type) return Count;
pragma Inline (Read_Total_In);
-- Return total number of bytes read from back stream so far.
function Read_Total_Out (Stream : in Stream_Type) return Count;
pragma Inline (Read_Total_Out);
-- Return total number of bytes read so far.
function Write_Total_In (Stream : in Stream_Type) return Count;
pragma Inline (Write_Total_In);
-- Return total number of bytes written so far.
function Write_Total_Out (Stream : in Stream_Type) return Count;
pragma Inline (Write_Total_Out);
-- Return total number of bytes written to the back stream.
procedure Create
(Stream : out Stream_Type;
Mode : in Stream_Mode;
Back : in Stream_Access;
Back_Compressed : in Boolean;
Level : in Compression_Level := Default_Compression;
Strategy : in Strategy_Type := Default_Strategy;
Header : in Header_Type := Default;
Read_Buffer_Size : in Ada.Streams.Stream_Element_Offset
:= Default_Buffer_Size;
Write_Buffer_Size : in Ada.Streams.Stream_Element_Offset
:= Default_Buffer_Size);
-- Create the Comression/Decompression stream.
-- If mode is In_Stream then Write operation is disabled.
-- If mode is Out_Stream then Read operation is disabled.
-- If Back_Compressed is true then
-- Data written to the Stream is compressing to the Back stream
-- and data read from the Stream is decompressed data from the Back stream.
-- If Back_Compressed is false then
-- Data written to the Stream is decompressing to the Back stream
-- and data read from the Stream is compressed data from the Back stream.
-- !!! When the Need_Header is False ZLib-Ada is using undocumented
-- ZLib 1.1.4 functionality to do not create/wait for ZLib headers.
function Is_Open (Stream : Stream_Type) return Boolean;
procedure Close (Stream : in out Stream_Type);
private
use Ada.Streams;
type Buffer_Access is access all Stream_Element_Array;
type Stream_Type
is new Root_Stream_Type with
record
Mode : Stream_Mode;
Buffer : Buffer_Access;
Rest_First : Stream_Element_Offset;
Rest_Last : Stream_Element_Offset;
-- Buffer for Read operation.
-- We need to have this buffer in the record
-- because not all read data from back stream
-- could be processed during the read operation.
Buffer_Size : Stream_Element_Offset;
-- Buffer size for write operation.
-- We do not need to have this buffer
-- in the record because all data could be
-- processed in the write operation.
Back : Stream_Access;
Reader : Filter_Type;
Writer : Filter_Type;
end record;
end ZLib.Streams;
|
procedure Puzzle_12 is
begin
null;
end Puzzle_12;
|
--------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 Zane Myers
--
-- 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, 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
-- AUTHORS OR 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.
--------------------------------------------------------------------------------
with Vulkan.Math.GenIType;
with Vulkan.Math.Ivec3;
with Vulkan.Math.Ivec2;
use Vulkan.Math.GenIType;
use Vulkan.Math.Ivec3;
use Vulkan.Math.Ivec2;
--------------------------------------------------------------------------------
--< @group Vulkan Math Basic Types
--------------------------------------------------------------------------------
--< @summary
--< This package defines a 32-bit signed integer vector type with 4 components.
--------------------------------------------------------------------------------
package Vulkan.Math.Ivec4 is
pragma Preelaborate;
pragma Pure;
--< A 4-component signed integer vector.
subtype Vkm_Ivec4 is Vkm_GenIType(Last_Index => 3);
----------------------------------------------------------------------------
-- Ada does not have the concept of constructors in the sense that they exist
-- in C++. For this reason, we will instead define multiple methods for
-- instantiating a Ivec4 here.
----------------------------------------------------------------------------
-- The following are explicit constructors for Ivec4:
----------------------------------------------------------------------------
--< @summary
--< Constructor for Vkm_Ivec4 type.
--<
--< @description
--< Produce a default vector with all components set to 0.0.
--
--< @return An Ivec4 with all components set to 0.0.
----------------------------------------------------------------------------
function Make_Ivec4 return Vkm_Ivec4 is
(GIT.Make_GenType(Last_Index => 3, value => 0)) with Inline;
----------------------------------------------------------------------------
--< @summary
--< Constructor for Vkm_Ivec4 type.
--<
--< @description
--< Produce a vector with all components set to the same value.
--
--< @param scalar_value The value to set all components to.
--
--< @return A Ivec4 with all components set to scalar_value.
----------------------------------------------------------------------------
function Make_Ivec4 (scalar_value : in Vkm_Int) return Vkm_Ivec4 is
(GIT.Make_GenType(Last_Index => 3, value => scalar_value)) with Inline;
----------------------------------------------------------------------------
--< @summary
--< Constructor for Vkm_Ivec4 type.
--<
--< @description
--< Produce a vector by copying components from an existing vector.
--
--< @param vec4_value The Ivec4 to copy components from.
--
--< @return A Ivec4 with all of its components set equal to the corresponding
--< components of vec4_value.
----------------------------------------------------------------------------
function Make_Ivec4 (vec4_value : in Vkm_Ivec4) return Vkm_Ivec4 is
(GIT.Make_GenType(vec4_value.data(0),vec4_value.data(1),
vec4_value.data(2),vec4_value.data(3))) with Inline;
----------------------------------------------------------------------------
--< @summary
--< Constructor for Vkm_Ivec4 type.
--<
--< @description
--< Produce a vector by specifying the values for each of its components.
--
--< @param value1 Value for component 1.
--< @param value2 Value for component 2.
--< @param value3 Value for componetn 3.
--< @param value4 value for component 4.
--
--< @return A Ivec4 with all components set as specified.
----------------------------------------------------------------------------
function Make_Ivec4 (value1, value2, value3, value4 : in Vkm_Int) return Vkm_Ivec4
renames GIT.Make_GenType;
----------------------------------------------------------------------------
--< @summary
--< Constructor for Vkm_Ivec4 type.
--<
--< @description
--< Produce a vector by concatenating a scalar value with a Ivec3.
--
--< Ivec4 = [scalar_value, vec3_value ]
--
--< @param scalar_value The scalar value to concatenate with the Ivec3.
--< @param vec3_value The Ivec3 to concatenate to the scalar value.
--
--< @return The instance of Ivec4.
----------------------------------------------------------------------------
function Make_Ivec4 (scalar_value : in Vkm_Int;
vec3_value : in Vkm_Ivec3) return Vkm_Ivec3 is
(Make_Ivec4(scalar_value,
vec3_value.data(0),
vec3_value.data(1),
vec3_value.data(2))) with Inline;
----------------------------------------------------------------------------
--< @summary
--< Constructor for Vkm_Ivec4 type.
--<
--< @description
--< Produce a vector by concatenating a Ivec3 with a scalar value.
--<
--< Ivec4 = [vec3_value, scalar_value]
--<
--< @param vec3_value The Ivec3 to concatenate to the scalar value.
--< @param scalar_value The scalar value to concatenate to the Ivec3.
--<
--< @return The instance of Ivec4.
----------------------------------------------------------------------------
function Make_Ivec4 (vec3_value : in Vkm_Ivec3;
scalar_value : in Vkm_Int) return Vkm_Ivec4 is
(Make_Ivec4(vec3_value.data(0),
vec3_value.data(1),
vec3_value.data(2),
scalar_value )) with Inline;
---------------------------------------------------------------------------
--< @summary
--< Constructor for Vkm_Ivec4 type.
--<
--< @description
--< Produce a vector by concatenating a Ivec2 with a Ivec2.
--<
--< Ivec4 = [vec2_value1, vec2_value2]
--<
--< @param vec2_value1 The first Ivec2.
--< @param vec2_value2 The second Ivec2.
--<
--< @return The instance of Ivec4.
---------------------------------------------------------------------------
function Make_Ivec4 (vec2_value1, vec2_value2 : in Vkm_Ivec2) return Vkm_Ivec4 is
(Make_Ivec4(vec2_value1.data(0),vec2_value1.data(1),
vec2_value2.data(0),vec2_value2.data(1)));
---------------------------------------------------------------------------
--< @summary
--< Constructor for Vkm_Ivec4 type.
--<
--< @description
--< Produce a vector by concatenating two scalar values with a Ivec2.
--
--< Ivec4 = [scalar1, scalar2, vec2_value]
--
--< @param scalar1 First scalar value.
--< @param scalar2 Second scalar value.
--< @param vec2_value The Ivec2 value.
--
--< @return The instance of Ivec4.
---------------------------------------------------------------------------
function Make_Ivec4 (scalar1, scalar2 : in Vkm_Int;
vec2_value : in Vkm_Ivec2) return Vkm_Ivec4 is
(Make_Ivec4(scalar1, scalar2, vec2_value.data(0),vec2_value.data(1)));
---------------------------------------------------------------------------
--< @summary
--< Constructor for Vkm_Ivec4 type.
--<
--< @description
--< Produce a vector by concatenating two scalar values with a Ivec2.
--
--< Ivec4 = [scalar1, vec2_value, scalar2]
--
--< @param scalar1 First scalar value.
--< @param vec2_value The Ivec2 value.
--< @param scalar2 Second scalar value.
--
--< @return The instance of Ivec4.
---------------------------------------------------------------------------
function Make_Ivec4 (scalar1 : in Vkm_Int;
vec2_value : in Vkm_Ivec2 ;
scalar2 : in Vkm_Int) return Vkm_Ivec4 is
(Make_Ivec4(scalar1, vec2_value.data(0),vec2_value.data(1), scalar2));
---------------------------------------------------------------------------
--< @summary
--< Constructor for Vkm_Ivec4 type.
--<
--< @description
--< Produce a vector by concatenating two scalar values with a Ivec2.
--<
--< Ivec4 = [vec2_value, scalar1, scalar2]
--<
--< @param vec2_value The Ivec2 value.
--< @param scalar1 First scalar value.
--< @param scalar2 Second scalar value.
--
--< @return The instance of Ivec4.
---------------------------------------------------------------------------
function Make_Ivec4 (vec2_value : in Vkm_Ivec2 ;
scalar1 : in Vkm_Int;
scalar2 : in Vkm_Int) return Vkm_Ivec4 is
(Make_Ivec4(vec2_value.data(0),vec2_value.data(1), scalar1, scalar2));
end Vulkan.Math.Ivec4;
|
--
-- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr>
-- - Ryad Benadjila
-- - Arnauld Michelizza
-- - Mathieu Renard
-- - Philippe Thierry
-- - Philippe Trebuchet
--
-- 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.unchecked_conversion;
with m4.mpu; use m4.mpu;
with ewok.mpu.handler;
with ewok.layout;
with ewok.debug;
with soc.layout;
with applications; -- generated
package body ewok.mpu
with spark_mode => on
is
procedure init
(success : out boolean)
with spark_mode => off -- handler is not SPARK compatible
is
-- Layout mapping validation of generated constants
pragma assert
(applications.txt_kern_size + applications.txt_kern_region_base
<= applications.txt_user_region_base);
function get_region_size (size : t_region_size) return unsigned_32
is (2**(natural (size) + 1));
begin
--
-- Initializing the MPU
--
-- Testing if there's an MPU
m4.mpu.is_mpu_available (success);
if not success then
pragma DEBUG (debug.log (debug.ERROR, "No MPU!"));
return;
end if;
-- Register memory fault handler
-- Note: unproved because SPARK doesn't allow "'address" attribute
ewok.mpu.handler.init; -- not PARK compatible
-- Disable MPU
m4.mpu.disable;
-- Enable privileged software access (PRIVDEFENA) to default memory map
-- and enable the memory fault exception. When ENABLE and PRIVDEFENA are
-- both set to 1, privileged code can freely access the default memory
-- map. Any access by unprivileged software that does not address an
-- enabled memory region causes a memory management fault.
m4.mpu.init;
--
-- Configuring MPU regions
--
-- Region: kernel code
if get_region_size (REGION_SIZE_64KB) /= ewok.layout.FW1_KERN_SIZE then
pragma DEBUG
(debug.log (debug.ERROR, "MPU: invalid 'KERNEL CODE' size"));
return;
end if;
set_region
(region_number => KERN_CODE_REGION,
addr => applications.txt_kern_region_base,
size => applications.txt_kern_region_size,
region_type => REGION_TYPE_KERN_CODE,
subregion_mask => 0);
-- Region: devices that may be accessed by the kernel
set_region
(region_number => KERN_DEVICES_REGION,
addr => soc.layout.PERIPH_BASE,
size => REGION_SIZE_512MB,
region_type => REGION_TYPE_KERN_DEVICES,
subregion_mask => 0);
-- Region: kernel data + stack
if get_region_size (REGION_SIZE_64KB) /= ewok.layout.KERN_DATA_SIZE then
pragma DEBUG
(debug.log (debug.ERROR, "MPU: invalid 'KERNEL DATA' size"));
return;
end if;
set_region
(region_number => KERN_DATA_REGION,
addr => ewok.layout.KERN_DATA_BASE,
size => REGION_SIZE_64KB,
region_type => REGION_TYPE_KERN_DATA,
subregion_mask => 0);
-- Region: user data
-- Note: This is for the whole area. Each task will use only a fixed
-- number of sub-regions
if get_region_size (REGION_SIZE_128KB) /= ewok.layout.USER_RAM_SIZE then
pragma DEBUG (debug.log (debug.ERROR, "MPU: invalid 'USER DATA' size"));
return;
end if;
set_region
(region_number => USER_DATA_REGION,
addr => ewok.layout.USER_DATA_BASE,
size => REGION_SIZE_128KB,
region_type => REGION_TYPE_USER_DATA,
subregion_mask => 0);
-- Region: user code
-- Note: This is for the whole area. Each task will use only a fixed
-- number of sub-regions
if get_region_size (REGION_SIZE_256KB) /= ewok.layout.FW1_USER_SIZE then
pragma DEBUG (debug.log (debug.ERROR, "MPU: invalid 'USER CODE' size"));
return;
end if;
set_region
(region_number => USER_CODE_REGION,
addr => applications.txt_user_region_base,
size => applications.txt_user_region_size,
region_type => REGION_TYPE_USER_CODE,
subregion_mask => 0);
pragma DEBUG (debug.log (debug.INFO, "MPU is configured"));
m4.mpu.enable;
pragma DEBUG (debug.log (debug.INFO, "MPU is enabled"));
end init;
procedure enable_unrestricted_kernel_access
is
begin
m4.mpu.enable_unrestricted_kernel_access;
end enable_unrestricted_kernel_access;
procedure disable_unrestricted_kernel_access
is
begin
m4.mpu.disable_unrestricted_kernel_access;
end disable_unrestricted_kernel_access;
procedure set_region
(region_number : in m4.mpu.t_region_number;
addr : in system_address;
size : in m4.mpu.t_region_size;
region_type : in t_region_type;
subregion_mask : in unsigned_8)
is
access_perm : m4.mpu.t_region_perm;
xn, b, s : boolean;
region_config : m4.mpu.t_region_config;
begin
-- A memory region must never be mapped RWX
case (region_type) is
when REGION_TYPE_KERN_CODE =>
access_perm := REGION_PERM_PRIV_RO_USER_NO;
xn := false;
b := false;
s := false;
when REGION_TYPE_KERN_DATA =>
access_perm := REGION_PERM_PRIV_RW_USER_NO;
xn := true;
b := false;
s := true;
when REGION_TYPE_KERN_DEVICES =>
access_perm := REGION_PERM_PRIV_RW_USER_NO;
xn := true;
b := true;
s := true;
when REGION_TYPE_USER_CODE =>
access_perm := REGION_PERM_PRIV_RO_USER_RO;
xn := false;
b := false;
s := false;
when REGION_TYPE_USER_DATA =>
access_perm := REGION_PERM_PRIV_RW_USER_RW;
xn := true;
b := false;
s := true;
when REGION_TYPE_USER_DEV =>
access_perm := REGION_PERM_PRIV_RW_USER_RW;
xn := true;
b := true;
s := true;
when REGION_TYPE_USER_DEV_RO =>
access_perm := REGION_PERM_PRIV_RW_USER_RO;
xn := true;
b := true;
s := true;
when REGION_TYPE_ISR_STACK =>
access_perm := REGION_PERM_PRIV_RW_USER_RW;
xn := true;
b := false;
s := true;
end case;
region_config :=
(region_number => region_number,
addr => addr,
size => size,
access_perm => access_perm,
xn => xn,
b => b,
s => s,
subregion_mask => subregion_mask);
m4.mpu.configure_region (region_config);
end set_region;
procedure update_subregions
(region_number : in m4.mpu.t_region_number;
subregion_mask : in unsigned_8)
is
begin
m4.mpu.update_subregion_mask (region_number, subregion_mask);
end update_subregions;
procedure bytes_to_region_size
(bytes : in unsigned_32;
region_size : out m4.mpu.t_region_size;
success : out boolean)
is
begin
success := true;
case (bytes) is
when 32 => region_size := REGION_SIZE_32B;
when 64 => region_size := REGION_SIZE_64B;
when 128 => region_size := REGION_SIZE_128B;
when 256 => region_size := REGION_SIZE_256B;
when 512 => region_size := REGION_SIZE_512B;
when 1*KBYTE => region_size := REGION_SIZE_1KB;
when 2*KBYTE => region_size := REGION_SIZE_2KB;
when 4*KBYTE => region_size := REGION_SIZE_4KB;
when 8*KBYTE => region_size := REGION_SIZE_8KB;
when 16*KBYTE => region_size := REGION_SIZE_16KB;
when 32*KBYTE => region_size := REGION_SIZE_32KB;
when 64*KBYTE => region_size := REGION_SIZE_64KB;
when 128*KBYTE => region_size := REGION_SIZE_128KB;
when 256*KBYTE => region_size := REGION_SIZE_256KB;
when 512*KBYTE => region_size := REGION_SIZE_512KB;
when 1*MBYTE => region_size := REGION_SIZE_1MB;
when 2*MBYTE => region_size := REGION_SIZE_2MB;
when 4*MBYTE => region_size := REGION_SIZE_4MB;
when 8*MBYTE => region_size := REGION_SIZE_8MB;
when 16*MBYTE => region_size := REGION_SIZE_16MB;
when 32*MBYTE => region_size := REGION_SIZE_32MB;
when 64*MBYTE => region_size := REGION_SIZE_64MB;
when 128*MBYTE => region_size := REGION_SIZE_128MB;
when 256*MBYTE => region_size := REGION_SIZE_256MB;
when 512*MBYTE => region_size := REGION_SIZE_512MB;
when 1*GBYTE => region_size := REGION_SIZE_1GB;
when 2*GBYTE => region_size := REGION_SIZE_2GB;
when others =>
region_size := REGION_SIZE_32B;
success := false;
end case;
end bytes_to_region_size;
function can_be_mapped return boolean
is
begin
for region in regions_pool'range loop
if not regions_pool(region).used then
return true;
end if;
end loop;
return false;
end can_be_mapped;
procedure map
(addr : in system_address;
size : in unsigned_32;
region_type : in ewok.mpu.t_region_type;
subregion_mask : in unsigned_8;
success : out boolean)
is
region_size : m4.mpu.t_region_size;
ok : boolean;
begin
for region in regions_pool'range loop
if not regions_pool(region).used then
ewok.mpu.bytes_to_region_size (size, region_size, ok);
if not ok then
raise program_error;
end if;
regions_pool(region).used := true;
regions_pool(region).addr := addr;
ewok.mpu.set_region
(region, addr, region_size, region_type, subregion_mask);
success := true;
return;
end if;
end loop;
success := false;
end map;
procedure unmap
(addr : in system_address)
is
begin
for region in regions_pool'range loop
if regions_pool(region).addr = addr and then
regions_pool(region).used
then
m4.mpu.disable_region (region);
regions_pool(region) := (false, 0);
return;
end if;
end loop;
raise program_error;
end unmap;
procedure unmap_all
is
begin
for region in regions_pool'range loop
if regions_pool(region).used then
regions_pool(region) := (false, 0);
m4.mpu.disable_region (region);
end if;
end loop;
end unmap_all;
end ewok.mpu;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . I N T E R R U P T S --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2019, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
-- apply solely to the contents of the part following the private keyword. --
-- --
-- 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. --
-- --
------------------------------------------------------------------------------
with System.Interrupts;
with System.Multiprocessors;
with Ada.Task_Identification;
package Ada.Interrupts is
type Interrupt_ID is new System.Interrupts.Ada_Interrupt_ID;
type Parameterless_Handler is access protected procedure;
function Is_Reserved (Interrupt : Interrupt_ID) return Boolean with
SPARK_Mode,
Volatile_Function,
Global => Ada.Task_Identification.Tasking_State;
function Is_Attached (Interrupt : Interrupt_ID) return Boolean with
SPARK_Mode,
Volatile_Function,
Global => Ada.Task_Identification.Tasking_State;
function Current_Handler
(Interrupt : Interrupt_ID) return Parameterless_Handler
with
SPARK_Mode => Off,
Global => null;
procedure Attach_Handler
(New_Handler : Parameterless_Handler;
Interrupt : Interrupt_ID)
with
SPARK_Mode => Off,
Global => null;
procedure Exchange_Handler
(Old_Handler : out Parameterless_Handler;
New_Handler : Parameterless_Handler;
Interrupt : Interrupt_ID)
with
SPARK_Mode => Off,
Global => null;
procedure Detach_Handler (Interrupt : Interrupt_ID) with
SPARK_Mode,
Global => (In_Out => Ada.Task_Identification.Tasking_State);
function Reference (Interrupt : Interrupt_ID) return System.Address with
SPARK_Mode => Off,
Global => null;
function Get_CPU
(Interrupt : Interrupt_ID) return System.Multiprocessors.CPU_Range
with
SPARK_Mode,
Volatile_Function,
Global => Ada.Task_Identification.Tasking_State;
private
pragma Inline (Is_Reserved);
pragma Inline (Is_Attached);
pragma Inline (Current_Handler);
pragma Inline (Attach_Handler);
pragma Inline (Detach_Handler);
pragma Inline (Exchange_Handler);
pragma Inline (Get_CPU);
end Ada.Interrupts;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . W I D E _ W I D E _ C H A R A C T E R S --
-- --
-- S p e c --
-- --
-- This specification is adapted from the Ada Reference Manual for use with --
-- GNAT. In accordance with the copyright of that document, you can freely --
-- copy and modify this specification, provided that if you redistribute a --
-- modified version, any changes that you have made are clearly indicated. --
-- --
------------------------------------------------------------------------------
package Ada.Wide_Wide_Characters is
pragma Pure;
end Ada.Wide_Wide_Characters;
|
--
-- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr>
-- - Ryad Benadjila
-- - Arnauld Michelizza
-- - Mathieu Renard
-- - Philippe Thierry
-- - Philippe Trebuchet
--
-- 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 ewok.tasks_shared;
package ewok.syscalls.alarm
with spark_mode => on
is
procedure svc_alarm
(caller_id : in ewok.tasks_shared.t_task_id;
params : in t_parameters;
mode : in ewok.tasks_shared.t_task_mode);
end ewok.syscalls.alarm;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- SYSTEM.INTERRUPT_MANAGEMENT.OPERATIONS --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2009, 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 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/>. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies, Inc. --
-- --
------------------------------------------------------------------------------
-- This is a NO tasking version of this package
package body System.Interrupt_Management.Operations is
-- Turn off warnings since many unused formals
pragma Warnings (Off);
----------------------------
-- Thread_Block_Interrupt --
----------------------------
procedure Thread_Block_Interrupt
(Interrupt : Interrupt_ID)
is
begin
null;
end Thread_Block_Interrupt;
------------------------------
-- Thread_Unblock_Interrupt --
------------------------------
procedure Thread_Unblock_Interrupt
(Interrupt : Interrupt_ID)
is
begin
null;
end Thread_Unblock_Interrupt;
------------------------
-- Set_Interrupt_Mask --
------------------------
procedure Set_Interrupt_Mask (Mask : access Interrupt_Mask) is
begin
null;
end Set_Interrupt_Mask;
procedure Set_Interrupt_Mask
(Mask : access Interrupt_Mask;
OMask : access Interrupt_Mask) is
begin
null;
end Set_Interrupt_Mask;
------------------------
-- Get_Interrupt_Mask --
------------------------
procedure Get_Interrupt_Mask (Mask : access Interrupt_Mask) is
begin
null;
end Get_Interrupt_Mask;
--------------------
-- Interrupt_Wait --
--------------------
function Interrupt_Wait
(Mask : access Interrupt_Mask)
return Interrupt_ID
is
begin
return 0;
end Interrupt_Wait;
----------------------------
-- Install_Default_Action --
----------------------------
procedure Install_Default_Action (Interrupt : Interrupt_ID) is
begin
null;
end Install_Default_Action;
---------------------------
-- Install_Ignore_Action --
---------------------------
procedure Install_Ignore_Action (Interrupt : Interrupt_ID) is
begin
null;
end Install_Ignore_Action;
-------------------------
-- Fill_Interrupt_Mask --
-------------------------
procedure Fill_Interrupt_Mask (Mask : access Interrupt_Mask) is
begin
null;
end Fill_Interrupt_Mask;
--------------------------
-- Empty_Interrupt_Mask --
--------------------------
procedure Empty_Interrupt_Mask (Mask : access Interrupt_Mask) is
begin
null;
end Empty_Interrupt_Mask;
---------------------------
-- Add_To_Interrupt_Mask --
---------------------------
procedure Add_To_Interrupt_Mask
(Mask : access Interrupt_Mask;
Interrupt : Interrupt_ID)
is
begin
null;
end Add_To_Interrupt_Mask;
--------------------------------
-- Delete_From_Interrupt_Mask --
--------------------------------
procedure Delete_From_Interrupt_Mask
(Mask : access Interrupt_Mask;
Interrupt : Interrupt_ID)
is
begin
null;
end Delete_From_Interrupt_Mask;
---------------
-- Is_Member --
---------------
function Is_Member
(Mask : access Interrupt_Mask;
Interrupt : Interrupt_ID) return Boolean
is
begin
return False;
end Is_Member;
-------------------------
-- Copy_Interrupt_Mask --
-------------------------
procedure Copy_Interrupt_Mask
(X : out Interrupt_Mask;
Y : Interrupt_Mask)
is
begin
X := Y;
end Copy_Interrupt_Mask;
-------------------------
-- Interrupt_Self_Process --
-------------------------
procedure Interrupt_Self_Process (Interrupt : Interrupt_ID) is
begin
null;
end Interrupt_Self_Process;
--------------------------
-- Setup_Interrupt_Mask --
--------------------------
procedure Setup_Interrupt_Mask is
begin
null;
end Setup_Interrupt_Mask;
end System.Interrupt_Management.Operations;
|
with Ada.Text_IO; use Ada.Text_IO;
with GESTE.Maths_Types; use GESTE.Maths_Types;
with GESTE.Maths; use GESTE.Maths;
procedure Maths_Test is
Sqrt_Values : array (Natural range <>) of Value :=
(0.0, 1.0, 1.00001, 2.0, 4.0, 25.0, 80.0, 81.0, 100.0);
Cos_Values : array (Natural range <>) of Value :=
(0.0, Pi, Pi / 2.0, -Pi / 2.0, Pi / 3.0, Pi * 10.0);
Sin_Values : array (Natural range <>) of Value :=
(0.0, Pi, Pi / 2.0, -Pi / 2.0, Pi / 6.0, Pi * 10.0);
To_Rad_Values : array (Natural range <>) of Value :=
(0.0, 180.0, 360.0);
To_Degrees_Values : array (Natural range <>) of Value :=
(0.0, Pi, Pi * 2.0, Pi * 10.0);
begin
Put_Line ("Value'First'Img => " & Value'First'Img);
Put_Line ("Value'Last'Img => " & Value'Last'Img);
Put_Line ("Value'Small'Img => " & Value'Small'Img);
for X of Sqrt_Values loop
Put_Line ("Sqrt (" & X'Img & ") => " & Sqrt (X)'Img);
end loop;
for X of Cos_Values loop
Put_Line ("Cos (" & X'Img & ") => " & Cos (X)'Img);
end loop;
for X of Sin_Values loop
Put_Line ("Sin (" & X'Img & ") => " & Sin (X)'Img);
end loop;
for X of To_Rad_Values loop
Put_Line ("To_Rad (" & X'Img & ") => " & To_Rad (X)'Img);
end loop;
for X of To_Degrees_Values loop
Put_Line ("To_Degrees (" & X'Img & ") => " & To_Degrees (X)'Img);
end loop;
Put_Line ("Magnitude (Vect (0.0, 5.0)) =>" &
Magnitude (Vect'(0.0, 5.0))'Img);
Put_Line ("Magnitude (Vect (5.0, 0.0)) =>" &
Magnitude (Vect'(5.0, 0.0))'Img);
Put_Line ("Magnitude (Vect (5.0, 5.0)) =>" &
Magnitude (Vect'(5.0, 5.0))'Img);
end Maths_Test;
|
-- Copyright 2004, 2007, 2008, 2009, 2010, 2011
-- Free Software Foundation, Inc.
--
-- 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/>.
package body Bar is
procedure Do_Nothing (E : Void_Star) is
begin
null;
end Do_Nothing;
end Bar;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- G N A T C M D --
-- --
-- S p e c --
-- --
-- Copyright (C) 1996-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. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING3. If not, go to --
-- http://www.gnu.org/licenses for a complete copy of the license. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- This program provides a simple command interface for using GNAT and its
-- associated utilities.
-- The program is typically called GNAT when it is installed and
-- the two possible styles of use are:
-- To call gcc:
-- GNAT compile filename switches
-- To call the tool gnatxxx
-- GNAT xxx filename switches
-- where xxx is the command name (e.g. MAKE for gnatmake).
procedure GNATCmd;
|
-- AOC 2020, Day 15
with Ada.Text_IO; use Ada.Text_IO;
with Day; use Day;
procedure main is
s : constant Input_Array := (0, 8, 15, 2, 12, 1, 4);
num : constant Natural := 2020;
part1 : constant Natural := sequence(s, num);
num2 : constant Natural := 30000000;
part2 : constant Natural := sequence(s, num2);
begin
put_line("Part 1: " & Natural'Image(part1));
put_line("Part 2: " & Natural'Image(part2));
end main;
|
-----------------------------------------------------------------------
-- awa-wikis-servlets -- Serve files saved in the storage service
-- Copyright (C) 2016, 2019 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.Unbounded;
with Ada.Calendar;
with ADO;
with ASF.Requests;
with AWA.Storages.Servlets;
package AWA.Wikis.Servlets is
-- The <b>Storage_Servlet</b> represents the component that will handle
-- an HTTP request received by the server.
type Image_Servlet is new AWA.Storages.Servlets.Storage_Servlet with private;
-- Load the data content that correspond to the GET request and get the name as well
-- as mime-type and date.
overriding
procedure Load (Server : in Image_Servlet;
Request : in out ASF.Requests.Request'Class;
Name : out Ada.Strings.Unbounded.Unbounded_String;
Mime : out Ada.Strings.Unbounded.Unbounded_String;
Date : out Ada.Calendar.Time;
Data : out ADO.Blob_Ref);
-- Get the expected return mode (content disposition for download or inline).
overriding
function Get_Format (Server : in Image_Servlet;
Request : in ASF.Requests.Request'Class)
return AWA.Storages.Servlets.Get_Type;
private
type Image_Servlet is new AWA.Storages.Servlets.Storage_Servlet with null record;
end AWA.Wikis.Servlets;
|
with Ada.Text_IO; use Ada.Text_IO;
package body Menu is
procedure Add_Item(M : in out T_Menu; Item : T_Item) is
begin
T_Items.Append(M.Items, Item);
end;
procedure Show(M : in T_Menu) is
Item : T_Item;
First : T_Items.Extended_Index := T_Items.First_Index(M.Items);
Last : T_Items.Extended_Index := T_Items.Last_Index(M.Items);
begin
Put_Line(SU.To_String(M.Title));
New_Line;
for I in First..Last loop
Item := T_Items.Element(M.Items, I);
Put_Line(" (" & Item.Symbol & ") " & SU.To_String(Item.Name));
end loop;
New_Line;
end;
procedure Query(M : in T_Menu) is
Response : Character;
Item : T_Item;
First : T_Items.Extended_Index := T_Items.First_Index(M.Items);
Last : T_Items.Extended_Index := T_Items.Last_Index(M.Items);
Found : Boolean := False;
begin
while not Found loop
Show(M);
Put("> ");
Get(Response);
for I in First..Last loop
Item := T_Items.Element(M.Items, I);
-- If we got existing symbol and the func does exists, call it
if Item.Symbol = Response then
if Item.Func /= null then
Item.Func.all;
end if;
Found := True;
exit;
end if;
end loop;
if not Found then
Put_Line("Bad answer !");
Put_Line("Please answer an existing choice.");
end if;
end loop;
end;
end Menu;
|
-----------------------------------------------------------------------
-- security-random -- Random numbers for nonce, secret keys, token generation
-- 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 Interfaces.C;
with Ada.Calendar;
with Ada.Calendar.Conversions;
with Util.Encoders.Base64;
package body Keystore.Random is
use Interfaces;
-- ------------------------------
-- Initialize the random generator.
-- ------------------------------
overriding
procedure Initialize (Gen : in out Generator) is
begin
Gen.Rand.Reset;
end Initialize;
-- ------------------------------
-- Fill the array with pseudo-random numbers.
-- ------------------------------
procedure Generate (Gen : in out Generator;
Into : out Ada.Streams.Stream_Element_Array) is
begin
Gen.Rand.Generate (Into);
end Generate;
-- ------------------------------
-- Fill the secret with pseudo-random numbers.
-- ------------------------------
procedure Generate (Gen : in out Generator;
Into : out Secret_Key) is
Block : Ada.Streams.Stream_Element_Array (1 .. Into.Length);
begin
Gen.Rand.Generate (Block);
Util.Encoders.Create (Block, Into);
end Generate;
-- ------------------------------
-- Generate a random sequence of bits and convert the result
-- into a string in base64url.
-- ------------------------------
function Generate (Gen : in out Generator'Class;
Bits : in Positive) return String is
use type Ada.Streams.Stream_Element_Offset;
Rand_Count : constant Ada.Streams.Stream_Element_Offset
:= Ada.Streams.Stream_Element_Offset (4 * ((Bits + 31) / 32));
Rand : Ada.Streams.Stream_Element_Array (0 .. Rand_Count - 1);
Buffer : Ada.Streams.Stream_Element_Array (0 .. Rand_Count * 3);
Encoder : Util.Encoders.Base64.Encoder;
Last : Ada.Streams.Stream_Element_Offset;
Encoded : Ada.Streams.Stream_Element_Offset;
begin
-- Generate the random sequence.
Gen.Generate (Rand);
-- Encode the random stream in base64url and save it into the result string.
Encoder.Set_URL_Mode (True);
Encoder.Transform (Data => Rand, Into => Buffer,
Last => Last, Encoded => Encoded);
declare
Result : String (1 .. Natural (Encoded + 1));
begin
for I in 0 .. Encoded loop
Result (Natural (I + 1)) := Character'Val (Buffer (I));
end loop;
return Result;
end;
end Generate;
procedure Generate (Gen : in out Generator;
Into : out UUID_Type) is
Data : Ada.Streams.Stream_Element_Array (1 .. 16);
for Data'Address use Into'Address;
begin
Gen.Rand.Generate (Data);
end Generate;
function Generate (Gen : in out Generator'Class) return Interfaces.Unsigned_32 is
Result : Interfaces.Unsigned_32;
begin
Gen.Rand.Generate (Result);
return Result;
end Generate;
-- Protected type to allow using the random generator by several tasks.
protected body Raw_Generator is
procedure Generate (Into : out Ada.Streams.Stream_Element_Array) is
use Ada.Streams;
Size : constant Ada.Streams.Stream_Element_Offset := Into'Length / 4;
Remain : constant Ada.Streams.Stream_Element_Offset := Into'Length mod 4;
Value : Unsigned_32;
begin
-- Generate the random sequence (fill 32-bits at a time for each random call).
for I in 0 .. Size - 1 loop
Value := Id_Random.Random (Rand);
Into (Into'First + 4 * I) := Stream_Element (Value and 16#0FF#);
Into (Into'First + 4 * I + 1) := Stream_Element (Shift_Right (Value, 8) and 16#0FF#);
Into (Into'First + 4 * I + 2) := Stream_Element (Shift_Right (Value, 16) and 16#0FF#);
Into (Into'First + 4 * I + 3) := Stream_Element (Shift_Right (Value, 24) and 16#0FF#);
end loop;
-- Fill the remaining bytes.
if Remain > 0 then
Value := Id_Random.Random (Rand);
for I in 0 .. Remain - 1 loop
Into (Into'Last - I) := Stream_Element (Value and 16#0FF#);
Value := Shift_Right (Value, 8);
end loop;
end if;
end Generate;
procedure Generate (Value : out Unsigned_32) is
begin
Value := Id_Random.Random (Rand);
end Generate;
procedure Reset is
Now : constant Ada.Calendar.Time := Ada.Calendar.Clock;
S : constant Ada.Calendar.Day_Duration := Ada.Calendar.Seconds (Now);
Sec : Interfaces.C.long;
Nsec : Interfaces.C.long;
begin
Ada.Calendar.Conversions.To_Struct_Timespec (S, Sec, Nsec);
Id_Random.Reset (Rand, Integer (Unsigned_32 (Sec) xor Unsigned_32 (Nsec)));
end Reset;
end Raw_Generator;
end Keystore.Random;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Localization, Internationalization, Globalization for Ada --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2013, 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$
------------------------------------------------------------------------------
-- Hash function to be used with standard containers.
------------------------------------------------------------------------------
with Ada.Containers;
function League.Stream_Element_Vectors.Hash
(Item : League.Stream_Element_Vectors.Stream_Element_Vector)
return Ada.Containers.Hash_Type;
pragma Preelaborate (League.Stream_Element_Vectors.Hash);
pragma Inline (League.Stream_Element_Vectors.Hash);
|
-- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with Gnattest_Generated;
package Crew.Inventory.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Crew.Inventory
.Test_Data
.Test with
null record;
procedure Test_UpdateInventory_5fa756_83591c(Gnattest_T: in out Test);
-- crew-inventory.ads:41:4:UpdateInventory:Test_UpdateInventory
procedure Test_FreeInventory_df8fe5_1b9261(Gnattest_T: in out Test);
-- crew-inventory.ads:62:4:FreeInventory:Test_FreeInventory
procedure Test_TakeOffItem_a8b09e_af73e9(Gnattest_T: in out Test);
-- crew-inventory.ads:76:4:TakeOffItem:Test_TakeOffItem
procedure Test_ItemIsUsed_9a8ce5_329a6e(Gnattest_T: in out Test);
-- crew-inventory.ads:90:4:ItemIsUsed:Test_ItemIsUsed
procedure Test_FindTools_9ef8ba_dbafa3(Gnattest_T: in out Test);
-- crew-inventory.ads:110:4:FindTools:Test_FindTools
end Crew.Inventory.Test_Data.Tests;
-- end read only
|
<ADSWorkspace Revision="1" Version="100">
<Workspace Name="">
<Library Name="ads_standard_layers" />
<Library Name="ads_schematic_layers" />
<Library Name="empro_standard_layers" />
<Library Name="ads_builtin" />
<Library Name="ads_standard_layers_ic" />
<Library Name="ads_schematic_layers_ic" />
<Library Name="ads_schematic_ports_ic" />
<Library Name="ads_rflib" />
<Library Name="ads_sources" />
<Library Name="ads_simulation" />
<Library Name="ads_tlines" />
<Library Name="ads_bondwires" />
<Library Name="ads_datacmps" />
<Library Name="ads_behavioral" />
<Library Name="ads_textfonts" />
<Library Name="ads_common_cmps" />
<Library Name="ads_designs" />
<Library Name="ads_verification_test_bench" />
<Library Name="ads_pelib" />
<Library Name="projet_lib" />
<Cell Name="projet_lib:cell_2" />
<Cell Name="projet_lib:contour" />
<Data_Display Name="cell_2.dds" />
<Data_Display Name="EM_FarFieldCut.dds" />
<Dataset Name="cell_2.ds" />
<Dataset Name="cell_2_MomUW.ds" />
<Dataset Name="cell_2_MomUW_a.ds" />
<Dataset Name="emFar.ds" />
<Log Name="netlist.log" />
<Log Name="readegs.log" />
<Log Name="search_history.log" />
<Log Name="writegbr.log" />
<Preferences Name="ads_tlines_lay.prf" />
<Preferences Name="layout.prf" />
<Preferences Name="projet_lib_lay.prf" />
<Preferences Name="schematic.prf" />
<Substrate Name="projet_lib:substrate1.subst" />
<LibraryDefs Name="lib.defs" />
<ConfigFile Name="dds.cfg" />
<ConfigFile Name="de_sim.cfg" />
<ConfigFile Name="hpeesofsim.cfg" />
<Cell Name="projet_lib:principal" />
<Dataset Name="principal.ds" />
<Data_Display Name="principal.dds" />
<Cell Name="projet_lib:1" />
</Workspace>
</ADSWorkspace>
|
package Problem_62 is
procedure Solve;
end Problem_62;
|
-- This spec has been automatically generated from STM32L0x1.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.NVIC is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Interrupt Priority Register 0
type IPR0_Register is record
-- priority for interrupt 0
PRI_0 : STM32_SVD.Byte;
-- priority for interrupt 1
PRI_1 : STM32_SVD.Byte;
-- priority for interrupt 2
PRI_2 : STM32_SVD.Byte;
-- priority for interrupt 3
PRI_3 : STM32_SVD.Byte;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for IPR0_Register use record
PRI_0 at 0 range 0 .. 7;
PRI_1 at 0 range 8 .. 15;
PRI_2 at 0 range 16 .. 23;
PRI_3 at 0 range 24 .. 31;
end record;
-- Interrupt Priority Register 1
type IPR1_Register is record
-- priority for interrupt n
PRI_4 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_5 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_6 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_7 : STM32_SVD.Byte;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for IPR1_Register use record
PRI_4 at 0 range 0 .. 7;
PRI_5 at 0 range 8 .. 15;
PRI_6 at 0 range 16 .. 23;
PRI_7 at 0 range 24 .. 31;
end record;
-- Interrupt Priority Register 2
type IPR2_Register is record
-- priority for interrupt n
PRI_8 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_9 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_10 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_11 : STM32_SVD.Byte;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for IPR2_Register use record
PRI_8 at 0 range 0 .. 7;
PRI_9 at 0 range 8 .. 15;
PRI_10 at 0 range 16 .. 23;
PRI_11 at 0 range 24 .. 31;
end record;
-- Interrupt Priority Register 3
type IPR3_Register is record
-- priority for interrupt n
PRI_12 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_13 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_14 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_15 : STM32_SVD.Byte;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for IPR3_Register use record
PRI_12 at 0 range 0 .. 7;
PRI_13 at 0 range 8 .. 15;
PRI_14 at 0 range 16 .. 23;
PRI_15 at 0 range 24 .. 31;
end record;
-- Interrupt Priority Register 4
type IPR4_Register is record
-- priority for interrupt n
PRI_16 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_17 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_18 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_19 : STM32_SVD.Byte;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for IPR4_Register use record
PRI_16 at 0 range 0 .. 7;
PRI_17 at 0 range 8 .. 15;
PRI_18 at 0 range 16 .. 23;
PRI_19 at 0 range 24 .. 31;
end record;
-- Interrupt Priority Register 5
type IPR5_Register is record
-- priority for interrupt n
PRI_20 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_21 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_22 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_23 : STM32_SVD.Byte;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for IPR5_Register use record
PRI_20 at 0 range 0 .. 7;
PRI_21 at 0 range 8 .. 15;
PRI_22 at 0 range 16 .. 23;
PRI_23 at 0 range 24 .. 31;
end record;
-- Interrupt Priority Register 6
type IPR6_Register is record
-- priority for interrupt n
PRI_24 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_25 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_26 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_27 : STM32_SVD.Byte;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for IPR6_Register use record
PRI_24 at 0 range 0 .. 7;
PRI_25 at 0 range 8 .. 15;
PRI_26 at 0 range 16 .. 23;
PRI_27 at 0 range 24 .. 31;
end record;
-- Interrupt Priority Register 7
type IPR7_Register is record
-- priority for interrupt n
PRI_28 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_29 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_30 : STM32_SVD.Byte;
-- priority for interrupt n
PRI_31 : STM32_SVD.Byte;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for IPR7_Register use record
PRI_28 at 0 range 0 .. 7;
PRI_29 at 0 range 8 .. 15;
PRI_30 at 0 range 16 .. 23;
PRI_31 at 0 range 24 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Nested Vectored Interrupt Controller
type NVIC_Peripheral is record
-- Interrupt Set Enable Register
ISER : aliased STM32_SVD.UInt32;
-- Interrupt Clear Enable Register
ICER : aliased STM32_SVD.UInt32;
-- Interrupt Set-Pending Register
ISPR : aliased STM32_SVD.UInt32;
-- Interrupt Clear-Pending Register
ICPR : aliased STM32_SVD.UInt32;
-- Interrupt Priority Register 0
IPR0 : aliased IPR0_Register;
-- Interrupt Priority Register 1
IPR1 : aliased IPR1_Register;
-- Interrupt Priority Register 2
IPR2 : aliased IPR2_Register;
-- Interrupt Priority Register 3
IPR3 : aliased IPR3_Register;
-- Interrupt Priority Register 4
IPR4 : aliased IPR4_Register;
-- Interrupt Priority Register 5
IPR5 : aliased IPR5_Register;
-- Interrupt Priority Register 6
IPR6 : aliased IPR6_Register;
-- Interrupt Priority Register 7
IPR7 : aliased IPR7_Register;
end record
with Volatile;
for NVIC_Peripheral use record
ISER at 16#0# range 0 .. 31;
ICER at 16#80# range 0 .. 31;
ISPR at 16#100# range 0 .. 31;
ICPR at 16#180# range 0 .. 31;
IPR0 at 16#300# range 0 .. 31;
IPR1 at 16#304# range 0 .. 31;
IPR2 at 16#308# range 0 .. 31;
IPR3 at 16#30C# range 0 .. 31;
IPR4 at 16#310# range 0 .. 31;
IPR5 at 16#314# range 0 .. 31;
IPR6 at 16#318# range 0 .. 31;
IPR7 at 16#31C# range 0 .. 31;
end record;
-- Nested Vectored Interrupt Controller
NVIC_Periph : aliased NVIC_Peripheral
with Import, Address => NVIC_Base;
end STM32_SVD.NVIC;
|
pragma SPARK_Mode;
with Interfaces.C; use Interfaces.C;
with Types; use Types;
-- @summary
-- This package exposes many Arduino runtime routines to Ada
--
-- @description
-- This package imports all of the necessary Arduino runtime library calls
-- that are needed.
--
package Sparkduino is
-- Configures the specified pin to behave either as an input or an output
-- @param Pin the number of the pin whose mode you wish to set
-- @param Mode use PinMode'Pos (io_mode) where io_mode is of type PinMode
-- see Types package for more info
procedure SetPinMode (Pin : unsigned_char;
Mode : unsigned_char)
with Global => null;
pragma Import (C, SetPinMode, "pinMode");
-- Write a HIGH or a LOW value to a digital pin.
-- @param Pin the pin number
-- @param Val use DigPinValue'Pos (state) where state is of type
-- DigPinValue see Types package for more info
procedure DigitalWrite (Pin : unsigned_char;
Val : unsigned_char)
with Global => null;
pragma Import (C, DigitalWrite, "digitalWrite");
-- Reads the value from a specified digital pin, either HIGH or LOW.
-- @param Pin the number of the digital pin you want to read
-- @return an Integer that maps to HIGH or LOW with DigPinValue'Pos
function DigitalRead (Pin : unsigned_char) return Integer
with Global => null;
pragma Import (C, DigitalRead, "digitalRead");
-- Returns the number of milliseconds since the Arduino board began running
-- the current program. This number will overflow (go back to zero),
-- after approximately 50 days.
-- @return Number of milliseconds since the program started (unsigned long)
function Millis return unsigned_long
with Global => null;
pragma Import (C, Millis, "millis");
-- Returns the number of microseconds since the Arduino board began
-- running the current program. This number will overflow
-- (go back to zero), after approximately 70 minutes. On 16 MHz Arduino
-- boards (e.g. Duemilanove and Nano), this function has a resolution of
-- four microseconds (i.e. the value returned is always a multiple of
-- four). On 8 MHz Arduino boards (e.g. the LilyPad), this function has
-- a resolution of eight microseconds.
-- @return Returns the number of microseconds since the Arduino board began
-- running the current program. (unsigned long)
function Micros return unsigned_long
with Global => null;
pragma Import (C, Micros, "micros");
-- Pauses the program for the amount of time
-- @param Time the number of microseconds to pause
procedure DelayMicroseconds (Time : unsigned)
with Global => null;
pragma Import (C, DelayMicroseconds, "delayMicroseconds");
-- Pauses the program for the amount of time (in milliseconds)
-- @param Time the number of milliseconds to pause
procedure SysDelay (Time : unsigned_long)
with Global => null;
pragma Import (C, SysDelay, "delay");
-- AVR specific call which temporarily disables interrupts.
procedure SEI;
pragma Import (C, SEI, "sei_wrapper");
-- Print a string to the serial console
-- @param Msg the string to print
procedure Serial_Print (Msg : String)
with SPARK_Mode => Off;
-- Print a byte to the serial console
-- @param Msg the string to prepend
-- @param Val the byte to print
procedure Serial_Print_Byte (Msg : String;
Val : Byte)
with SPARK_Mode => Off;
-- Print a short to the serial console
-- @param Msg the string to prepend
-- @param Val the short to print
procedure Serial_Print_Short (Msg : String;
Val : short)
with SPARK_Mode => Off;
-- Print a float to the serial console
-- @param Msg the string to prepend
-- @param Val the float to print
procedure Serial_Print_Float (Msg : String;
Val : Float)
with SPARK_Mode => Off;
-- Print the format calibration data to the serial console
-- @param Index the specific sensor calibration data to print
-- @param Min the min sensor value in the calibration record
-- @param Max the max sensor value in the calibration record
procedure Serial_Print_Calibration (Index : Integer;
Min : Sensor_Value;
Max : Sensor_Value);
pragma Import (C, Serial_Print_Calibration, "Serial_Print_Calibration");
-- analog pin mappings
A0 : constant := 14;
A1 : constant := 15;
A2 : constant := 16;
A3 : constant := 17;
A4 : constant := 18;
A5 : constant := 19;
A6 : constant := 20;
A7 : constant := 21;
end Sparkduino;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- XML Processor --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2010-2011, 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$
------------------------------------------------------------------------------
package Matreshka.Internals.XML is
pragma Pure;
type Attribute_Identifier is private;
No_Attribute : constant Attribute_Identifier;
-- Internal identifier of attribute type declaration.
type Element_Identifier is private;
No_Element : constant Element_Identifier;
-- Internal identifier of element declaration.
type Entity_Identifier is private;
No_Entity : constant Entity_Identifier;
Entity_lt : constant Entity_Identifier;
Entity_gt : constant Entity_Identifier;
Entity_amp : constant Entity_Identifier;
Entity_apos : constant Entity_Identifier;
Entity_quot : constant Entity_Identifier;
-- Internal identifier of entity.
type Notation_Identifier is private;
No_Notation : constant Notation_Identifier;
-- Internal identifier of notation.
type Symbol_Identifier is private;
No_Symbol : constant Symbol_Identifier;
Symbol_lt : constant Symbol_Identifier;
Symbol_gt : constant Symbol_Identifier;
Symbol_amp : constant Symbol_Identifier;
Symbol_apos : constant Symbol_Identifier;
Symbol_quot : constant Symbol_Identifier;
Symbol_CDATA : constant Symbol_Identifier;
Symbol_ID : constant Symbol_Identifier;
Symbol_IDREF : constant Symbol_Identifier;
Symbol_IDREFS : constant Symbol_Identifier;
Symbol_NMTOKEN : constant Symbol_Identifier;
Symbol_NMTOKENS : constant Symbol_Identifier;
Symbol_ENTITY : constant Symbol_Identifier;
Symbol_ENTITIES : constant Symbol_Identifier;
Symbol_NOTATION : constant Symbol_Identifier;
Symbol_xml : constant Symbol_Identifier;
Symbol_xmlns : constant Symbol_Identifier;
Symbol_xml_NS : constant Symbol_Identifier;
Symbol_xmlns_NS : constant Symbol_Identifier;
Symbol_xml_base : constant Symbol_Identifier;
-- Internal identifier of symbol. Symbols are used to associate different
-- kinds of items with name, and to minimize amount of used memory to store
-- names.
private
type Attribute_Identifier is mod 2 ** 32;
No_Attribute : constant Attribute_Identifier := 0;
type Element_Identifier is mod 2 ** 32;
No_Element : constant Element_Identifier := 0;
type Entity_Identifier is mod 2 ** 32;
No_Entity : constant Entity_Identifier := 0;
Entity_lt : constant Entity_Identifier := 1;
Entity_gt : constant Entity_Identifier := 2;
Entity_amp : constant Entity_Identifier := 3;
Entity_apos : constant Entity_Identifier := 4;
Entity_quot : constant Entity_Identifier := 5;
type Notation_Identifier is mod 2 ** 32;
No_Notation : constant Notation_Identifier := 0;
type Symbol_Identifier is mod 2 ** 32;
No_Symbol : constant Symbol_Identifier := 0;
Symbol_lt : constant Symbol_Identifier := 1;
Symbol_gt : constant Symbol_Identifier := 2;
Symbol_amp : constant Symbol_Identifier := 3;
Symbol_apos : constant Symbol_Identifier := 4;
Symbol_quot : constant Symbol_Identifier := 5;
Symbol_CDATA : constant Symbol_Identifier := 6;
Symbol_ID : constant Symbol_Identifier := 7;
Symbol_IDREF : constant Symbol_Identifier := 8;
Symbol_IDREFS : constant Symbol_Identifier := 9;
Symbol_NMTOKEN : constant Symbol_Identifier := 10;
Symbol_NMTOKENS : constant Symbol_Identifier := 11;
Symbol_ENTITY : constant Symbol_Identifier := 12;
Symbol_ENTITIES : constant Symbol_Identifier := 13;
Symbol_NOTATION : constant Symbol_Identifier := 14;
Symbol_xml : constant Symbol_Identifier := 15;
Symbol_xmlns : constant Symbol_Identifier := 16;
Symbol_xml_NS : constant Symbol_Identifier := 17;
Symbol_xmlns_NS : constant Symbol_Identifier := 18;
Symbol_xml_base : constant Symbol_Identifier := 19;
end Matreshka.Internals.XML;
|
with Ada.Text_IO.Text_Streams;
with Ada.Command_Line;
with Resources.Help;
with Resources.Man;
with System.Storage_Elements;
procedure Show_Help is
use Ada.Text_IO;
use Resources;
use System.Storage_Elements;
procedure Print (Name : in String) is
C : access constant Storage_Array := Man.Get_Content (Name);
begin
if C = null then
C := Help.Get_Content (Name);
if C = null then
Ada.Text_IO.Put_Line ("FAIL: No help for '" & Name & "'");
Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Failure);
end if;
end if;
Storage_Array'Write (Text_Streams.Stream (Current_Output), C.all);
end Print;
Count : constant Natural := Ada.Command_Line.Argument_Count;
begin
if Count = 0 then
Ada.Text_IO.Put_Line ("Help names:");
for Name of Help.Names loop
Ada.Text_IO.Put_Line (" " & Name.all);
end loop;
Ada.Text_IO.Put_Line ("Man pages:");
for Name of Man.Names loop
Ada.Text_IO.Put_Line (" " & Name.all);
end loop;
return;
end if;
for I in 1 .. Count loop
Print (Ada.Command_Line.Argument (I));
end loop;
end Show_Help;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- SQL Database Access --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011, 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 implementation of SQL statement parameter rewriter
-- for PostgreSQL: every :name parameter placeholder is replaced by $N
-- parameter placeholder. Duplicate names are replaced by the same parameter
-- placeholder.
------------------------------------------------------------------------------
package Matreshka.Internals.SQL_Parameter_Rewriters.PostgreSQL is
type PostgreSQL_Parameter_Rewriter is
new Abstract_Parameter_Rewriter with null record;
overriding procedure Database_Placeholder
(Self : PostgreSQL_Parameter_Rewriter;
Name : League.Strings.Universal_String;
Number : Positive;
Placeholder : out League.Strings.Universal_String;
Parameters : in out SQL_Parameter_Sets.Parameter_Set);
-- Sets Placeholder to database specific placeholder for parameter with
-- Name and number Number. Implementation must modify Parameters
-- accordingly.
end Matreshka.Internals.SQL_Parameter_Rewriters.PostgreSQL;
|
package body Ada.Containers.Binary_Trees is
function Nonnull_First (Container : not null Node_Access)
return not null Node_Access;
function Nonnull_First (Container : not null Node_Access)
return not null Node_Access
is
I : not null Node_Access := Container;
begin
while I.Left /= null loop
I := I.Left;
end loop;
return I;
end Nonnull_First;
function Nonnull_Last (Container : not null Node_Access)
return not null Node_Access;
function Nonnull_Last (Container : not null Node_Access)
return not null Node_Access
is
I : not null Node_Access := Container;
begin
while I.Right /= null loop
I := I.Right;
end loop;
return I;
end Nonnull_Last;
function Nonnull_Leaf_To_Root_First (Container : not null Node_Access)
return not null Node_Access;
function Nonnull_Leaf_To_Root_First (Container : not null Node_Access)
return not null Node_Access
is
I : not null Node_Access := Container;
begin
loop
if I.Left /= null then
I := I.Left;
elsif I.Right /= null then
I := I.Right;
else -- I.Left = null and then I.Right = null
exit;
end if;
end loop;
return I;
end Nonnull_Leaf_To_Root_First;
-- implementation
function First (Container : Node_Access) return Node_Access is
begin
if Container = null then
return null;
else
return Nonnull_First (Container);
end if;
end First;
function Next (Item : not null Node_Access) return Node_Access is
begin
if Item.Right /= null then
return Nonnull_First (Item.Right);
else
declare
I : not null Node_Access := Item;
begin
while I.Parent /= null and then I.Parent.Right = I loop
I := I.Parent;
end loop;
return I.Parent;
end;
end if;
end Next;
function Last (Container : Node_Access) return Node_Access is
begin
if Container = null then
return null;
else
return Nonnull_Last (Container);
end if;
end Last;
function Previous (Item : not null Node_Access) return Node_Access is
begin
if Item.Left /= null then
return Nonnull_Last (Item.Left);
else
declare
I : not null Node_Access := Item;
begin
while I.Parent /= null and then I.Parent.Left = I loop
I := I.Parent;
end loop;
return I.Parent;
end;
end if;
end Previous;
procedure Iterate (
Container : Node_Access;
Process : not null access procedure (Position : not null Node_Access))
is
I : Node_Access := First (Container);
begin
while I /= null loop
Process (I);
I := Next (I);
end loop;
end Iterate;
procedure Reverse_Iterate (
Container : Node_Access;
Process : not null access procedure (Position : not null Node_Access))
is
I : Node_Access := Last (Container);
begin
while I /= null loop
Process (I);
I := Previous (I);
end loop;
end Reverse_Iterate;
function Leaf_To_Root_First (Container : Node_Access) return Node_Access is
begin
if Container = null then
return null;
else
return Nonnull_Leaf_To_Root_First (Container);
end if;
end Leaf_To_Root_First;
function Leaf_To_Root_Next (Item : not null Node_Access)
return Node_Access is
begin
if Item.Parent = null then
return null;
elsif Item.Parent.Right /= null and then Item.Parent.Right /= Item then
return Nonnull_Leaf_To_Root_First (Item.Parent.Right);
else
return Item.Parent;
end if;
end Leaf_To_Root_Next;
procedure Root_To_Leaf_Next (
Previous_Source_Item : not null Node_Access;
Source_Parent_Item : out Node_Access;
Previous_Target_Item : not null Node_Access;
Target_Parent_Item : out Node_Access;
Index : out Index_Type) is
begin
Source_Parent_Item := Previous_Source_Item;
Target_Parent_Item := Previous_Target_Item;
if Previous_Source_Item.Left /= null then
Index := Left;
elsif Previous_Source_Item.Right /= null then
Index := Right;
else
loop
declare
P : constant Node_Access := Source_Parent_Item;
begin
Source_Parent_Item := Source_Parent_Item.Parent;
Target_Parent_Item := Target_Parent_Item.Parent;
exit when Source_Parent_Item = null
or else (
Source_Parent_Item.Right /= null
and then Source_Parent_Item.Right /= P);
end;
end loop;
Index := Right;
end if;
end Root_To_Leaf_Next;
function Find (
Container : Node_Access;
Mode : Find_Mode;
Params : System.Address;
Compare : not null access function (
Right : not null Node_Access;
Params : System.Address)
return Integer)
return Node_Access
is
Current : Node_Access := Container;
begin
if Current = null then
return null;
else
loop
declare
Comparison : constant Integer := Compare (Current, Params);
begin
if Comparison < 0 then
if Current.Left = null then
case Mode is
when Just => return null;
when Floor => return Previous (Current);
when Ceiling => return Current;
end case;
else
Current := Current.Left;
end if;
elsif Comparison > 0 then
if Current.Right = null then
case Mode is
when Just => return null;
when Floor => return Current;
when Ceiling => return Next (Current);
end case;
else
Current := Current.Right;
end if;
else
return Current;
end if;
end;
end loop;
end if;
end Find;
function Equivalent (
Left, Right : Node_Access;
Equivalent : not null access function (
Left, Right : not null Node_Access)
return Boolean)
return Boolean
is
I : Node_Access := First (Left);
J : Node_Access := First (Right);
begin
while I /= null or else J /= null loop
if I = null or else J = null or else not Equivalent (I, J) then
return False;
end if;
I := Next (I);
J := Next (J);
end loop;
return True;
end Equivalent;
function Overlap (Left, Right : Node_Access;
Compare : not null access function (Left, Right : not null Node_Access)
return Integer)
return Boolean
is
I : Node_Access := First (Left);
J : Node_Access := First (Right);
begin
while I /= null and then J /= null loop
declare
Comparison : constant Integer := Compare (I, J);
begin
if Comparison < 0 then
I := Next (I);
elsif Comparison > 0 then
J := Next (J);
else
return True;
end if;
end;
end loop;
return False;
end Overlap;
function Is_Subset (Subset, Of_Set : Node_Access;
Compare : not null access function (Left, Right : not null Node_Access)
return Integer)
return Boolean
is
I : Node_Access := First (Subset);
J : Node_Access := First (Of_Set);
begin
while I /= null and then J /= null loop
declare
Comparison : constant Integer := Compare (I, J);
begin
if Comparison < 0 then
return False;
elsif Comparison > 0 then
J := Next (J);
else
I := Next (I);
J := Next (J);
end if;
end;
end loop;
return I = null;
end Is_Subset;
procedure Free (
Container : in out Node_Access;
Length : in out Count_Type;
Free : not null access procedure (Object : in out Node_Access))
is
I : Node_Access := Leaf_To_Root_First (Container);
begin
while I /= null loop
declare
Next : constant Node_Access := Leaf_To_Root_Next (I);
begin
Free (I);
Length := Length - 1;
I := Next;
end;
end loop;
Container := null;
pragma Assert (Length = 0);
end Free;
procedure Merge (
Target : in out Node_Access;
Length : in out Count_Type;
Source : Node_Access;
Filter : Filter_Type;
Compare : not null access function (Left, Right : not null Node_Access)
return Integer;
Copy : access procedure (
Target : out Node_Access;
Source : not null Node_Access);
Free : access procedure (Object : in out Node_Access)) is
begin
if Target = Source then -- RM A.18.7(62/2, 66/2)
if not Filter (In_Both) then
Binary_Trees.Free (Target, Length, Free);
end if;
else
declare
New_Node : Node_Access;
N : Node_Access;
I : Node_Access := First (Target);
J : Node_Access := First (Source);
begin
while I /= null and then J /= null loop
declare
Comparison : constant Integer := Compare (I, J);
begin
if Comparison < 0 then
N := Next (I);
if not Filter (In_Only_Left) then
Remove (Target, Length, I);
Free (I);
end if;
I := N;
elsif Comparison > 0 then
if Filter (In_Only_Right) then
Copy (New_Node, J);
Insert (Target, Length, I, New_Node);
end if;
J := Next (J);
else
N := Next (I);
if not Filter (In_Both) then
Remove (Target, Length, I);
Free (I);
end if;
I := N;
J := Next (J);
end if;
end;
end loop;
if not Filter (In_Only_Left) then
while I /= null loop
N := Next (I);
Remove (Target, Length, I);
Free (I);
I := N;
end loop;
end if;
if Filter (In_Only_Right) then
while J /= null loop
Copy (New_Node, J);
Insert (Target, Length, null, New_Node);
J := Next (J);
end loop;
end if;
end;
end if;
end Merge;
procedure Copying_Merge (
Target : out Node_Access;
Length : out Count_Type;
Left, Right : Node_Access;
Filter : Filter_Type;
Compare : not null access function (Left, Right : not null Node_Access)
return Integer;
Copy : not null access procedure (
Target : out Node_Access;
Source : not null Node_Access))
is
New_Node : Node_Access;
I : Node_Access := First (Left);
J : Node_Access := First (Right);
begin
Length := 0;
while I /= null and then J /= null loop
declare
Comparison : constant Integer := Compare (I, J);
begin
if Comparison < 0 then
if Filter (In_Only_Left) then
Copy (New_Node, I);
Insert (Target, Length, null, New_Node);
end if;
I := Next (I);
elsif Comparison > 0 then
if Filter (In_Only_Right) then
Copy (New_Node, J);
Insert (Target, Length, null, New_Node);
end if;
J := Next (J);
else
if Filter (In_Both) then
Copy (New_Node, I);
Insert (Target, Length, null, New_Node);
end if;
I := Next (I);
J := Next (J);
end if;
end;
end loop;
if Filter (In_Only_Left) then
while I /= null loop
Copy (New_Node, I);
Insert (Target, Length, null, New_Node);
I := Next (I);
end loop;
end if;
if Filter (In_Only_Right) then
while J /= null loop
Copy (New_Node, J);
Insert (Target, Length, null, New_Node);
J := Next (J);
end loop;
end if;
end Copying_Merge;
end Ada.Containers.Binary_Trees;
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="14">
<syndb class_id="0" tracking_level="0" version="0">
<userIPLatency>-1</userIPLatency>
<userIPName/>
<cdfg class_id="1" tracking_level="1" version="0" object_id="_0">
<name>hls_target</name>
<ret_bitwidth>0</ret_bitwidth>
<ports class_id="2" tracking_level="0" version="0">
<count>4</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>hw_input_V_value_V</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo class_id="6" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>hw_input.V.value.V</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</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>hw_input_V_last_V</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>hw_input.V.last.V</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>1</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="_3">
<Value>
<Obj>
<type>1</type>
<id>3</id>
<name>hw_output_V_value_V</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>hw_output.V.value.V</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<direction>1</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="_4">
<Value>
<Obj>
<type>1</type>
<id>4</id>
<name>hw_output_V_last_V</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>hw_output.V.last.V</originalName>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<direction>1</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>11</count>
<item_version>0</item_version>
<item class_id="9" tracking_level="1" version="0" object_id="_5">
<Value>
<Obj>
<type>0</type>
<id>11</id>
<name>p_hw_input_stencil_st</name>
<fileName>hls_target.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>52</lineNumber>
<contextFuncName>hls_target</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item class_id="10" tracking_level="0" version="0">
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</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>hls_target.cpp</first>
<second>hls_target</second>
</first>
<second>52</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>_hw_input_stencil_stream.V.value.V</originalName>
<rtlName>p_hw_input_stencil_st_U</rtlName>
<coreName>FIFO_SRL</coreName>
</Obj>
<bitwidth>288</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>41</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_6">
<Value>
<Obj>
<type>0</type>
<id>15</id>
<name>p_hw_input_stencil_st_3</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName>p_hw_input_stencil_st_3_U</rtlName>
<coreName>FIFO_SRL</coreName>
</Obj>
<bitwidth>288</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>42</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_7">
<Value>
<Obj>
<type>0</type>
<id>19</id>
<name>p_hw_input_stencil_st_4</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName>p_hw_input_stencil_st_4_U</rtlName>
<coreName>FIFO_SRL</coreName>
</Obj>
<bitwidth>288</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>43</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_8">
<Value>
<Obj>
<type>0</type>
<id>23</id>
<name>p_delayed_input_stenc</name>
<fileName>hls_target.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>82</lineNumber>
<contextFuncName>hls_target</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>hls_target.cpp</first>
<second>hls_target</second>
</first>
<second>82</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>_delayed_input_stencil_stream.V.value.V</originalName>
<rtlName>p_delayed_input_stenc_U</rtlName>
<coreName>FIFO_SRL</coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>44</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_9">
<Value>
<Obj>
<type>0</type>
<id>27</id>
<name>p_mul_stencil_stream_s</name>
<fileName>hls_target.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>172</lineNumber>
<contextFuncName>hls_target</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>hls_target.cpp</first>
<second>hls_target</second>
</first>
<second>172</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>_mul_stencil_stream.V.value.V</originalName>
<rtlName>p_mul_stencil_stream_s_U</rtlName>
<coreName>FIFO_SRL</coreName>
</Obj>
<bitwidth>32</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>45</item>
</oprand_edges>
<opcode>alloca</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_10">
<Value>
<Obj>
<type>0</type>
<id>33</id>
<name/>
<fileName>hls_target.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>56</lineNumber>
<contextFuncName>hls_target</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>hls_target.cpp</first>
<second>hls_target</second>
</first>
<second>56</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName>linebuffer_1_U0</rtlName>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>47</item>
<item>48</item>
<item>49</item>
<item>50</item>
</oprand_edges>
<opcode>call</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_11">
<Value>
<Obj>
<type>0</type>
<id>34</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName>Loop_1_proc_U0</rtlName>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>6</count>
<item_version>0</item_version>
<item>52</item>
<item>53</item>
<item>54</item>
<item>55</item>
<item>329</item>
<item>330</item>
</oprand_edges>
<opcode>call</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_12">
<Value>
<Obj>
<type>0</type>
<id>35</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName>Loop_2_proc_U0</rtlName>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>5</count>
<item_version>0</item_version>
<item>57</item>
<item>58</item>
<item>59</item>
<item>327</item>
<item>331</item>
</oprand_edges>
<opcode>call</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_13">
<Value>
<Obj>
<type>0</type>
<id>36</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName>Loop_3_proc_U0</rtlName>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>61</item>
<item>62</item>
<item>63</item>
<item>328</item>
</oprand_edges>
<opcode>call</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_14">
<Value>
<Obj>
<type>0</type>
<id>37</id>
<name/>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName>Loop_4_proc_U0</rtlName>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>8</count>
<item_version>0</item_version>
<item>65</item>
<item>66</item>
<item>67</item>
<item>68</item>
<item>69</item>
<item>325</item>
<item>326</item>
<item>332</item>
</oprand_edges>
<opcode>call</opcode>
<m_Display>0</m_Display>
</item>
<item class_id_reference="9" object_id="_15">
<Value>
<Obj>
<type>0</type>
<id>38</id>
<name/>
<fileName>hls_target.cpp</fileName>
<fileDirectory>..</fileDirectory>
<lineNumber>307</lineNumber>
<contextFuncName>hls_target</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>hls_target.cpp</first>
<second>hls_target</second>
</first>
<second>307</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>0</count>
<item_version>0</item_version>
</oprand_edges>
<opcode>ret</opcode>
<m_Display>0</m_Display>
</item>
</nodes>
<consts class_id="15" tracking_level="0" version="0">
<count>6</count>
<item_version>0</item_version>
<item class_id="16" tracking_level="1" version="0" object_id="_16">
<Value>
<Obj>
<type>2</type>
<id>40</id>
<name>empty</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<const_type>0</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_17">
<Value>
<Obj>
<type>2</type>
<id>46</id>
<name>linebuffer_1</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<const_type>6</const_type>
<content><constant:linebuffer.1></content>
</item>
<item class_id_reference="16" object_id="_18">
<Value>
<Obj>
<type>2</type>
<id>51</id>
<name>Loop_1_proc</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<const_type>6</const_type>
<content><constant:Loop_1_proc></content>
</item>
<item class_id_reference="16" object_id="_19">
<Value>
<Obj>
<type>2</type>
<id>56</id>
<name>Loop_2_proc</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<const_type>6</const_type>
<content><constant:Loop_2_proc></content>
</item>
<item class_id_reference="16" object_id="_20">
<Value>
<Obj>
<type>2</type>
<id>60</id>
<name>Loop_3_proc</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<const_type>6</const_type>
<content><constant:Loop_3_proc></content>
</item>
<item class_id_reference="16" object_id="_21">
<Value>
<Obj>
<type>2</type>
<id>64</id>
<name>Loop_4_proc</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<const_type>6</const_type>
<content><constant:Loop_4_proc></content>
</item>
</consts>
<blocks class_id="17" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="18" tracking_level="1" version="0" object_id="_22">
<Obj>
<type>3</type>
<id>39</id>
<name>hls_target</name>
<fileName/>
<fileDirectory/>
<lineNumber>0</lineNumber>
<contextFuncName/>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName/>
<rtlName/>
<coreName/>
</Obj>
<node_objs>
<count>11</count>
<item_version>0</item_version>
<item>11</item>
<item>15</item>
<item>19</item>
<item>23</item>
<item>27</item>
<item>33</item>
<item>34</item>
<item>35</item>
<item>36</item>
<item>37</item>
<item>38</item>
</node_objs>
</item>
</blocks>
<edges class_id="19" tracking_level="0" version="0">
<count>32</count>
<item_version>0</item_version>
<item class_id="20" tracking_level="1" version="0" object_id="_23">
<id>41</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>11</sink_obj>
</item>
<item class_id_reference="20" object_id="_24">
<id>42</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>15</sink_obj>
</item>
<item class_id_reference="20" object_id="_25">
<id>43</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>19</sink_obj>
</item>
<item class_id_reference="20" object_id="_26">
<id>44</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>23</sink_obj>
</item>
<item class_id_reference="20" object_id="_27">
<id>45</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>27</sink_obj>
</item>
<item class_id_reference="20" object_id="_28">
<id>47</id>
<edge_type>1</edge_type>
<source_obj>46</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_29">
<id>48</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_30">
<id>49</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_31">
<id>50</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>33</sink_obj>
</item>
<item class_id_reference="20" object_id="_32">
<id>52</id>
<edge_type>1</edge_type>
<source_obj>51</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_33">
<id>53</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_34">
<id>54</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_35">
<id>55</id>
<edge_type>1</edge_type>
<source_obj>19</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_36">
<id>57</id>
<edge_type>1</edge_type>
<source_obj>56</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_37">
<id>58</id>
<edge_type>1</edge_type>
<source_obj>15</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_38">
<id>59</id>
<edge_type>1</edge_type>
<source_obj>23</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_39">
<id>61</id>
<edge_type>1</edge_type>
<source_obj>60</source_obj>
<sink_obj>36</sink_obj>
</item>
<item class_id_reference="20" object_id="_40">
<id>62</id>
<edge_type>1</edge_type>
<source_obj>19</source_obj>
<sink_obj>36</sink_obj>
</item>
<item class_id_reference="20" object_id="_41">
<id>63</id>
<edge_type>1</edge_type>
<source_obj>27</source_obj>
<sink_obj>36</sink_obj>
</item>
<item class_id_reference="20" object_id="_42">
<id>65</id>
<edge_type>1</edge_type>
<source_obj>64</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_43">
<id>66</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_44">
<id>67</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_45">
<id>68</id>
<edge_type>1</edge_type>
<source_obj>27</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_46">
<id>69</id>
<edge_type>1</edge_type>
<source_obj>23</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_47">
<id>325</id>
<edge_type>4</edge_type>
<source_obj>36</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_48">
<id>326</id>
<edge_type>4</edge_type>
<source_obj>35</source_obj>
<sink_obj>37</sink_obj>
</item>
<item class_id_reference="20" object_id="_49">
<id>327</id>
<edge_type>4</edge_type>
<source_obj>34</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_50">
<id>328</id>
<edge_type>4</edge_type>
<source_obj>34</source_obj>
<sink_obj>36</sink_obj>
</item>
<item class_id_reference="20" object_id="_51">
<id>329</id>
<edge_type>4</edge_type>
<source_obj>33</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_52">
<id>330</id>
<edge_type>4</edge_type>
<source_obj>33</source_obj>
<sink_obj>34</sink_obj>
</item>
<item class_id_reference="20" object_id="_53">
<id>331</id>
<edge_type>4</edge_type>
<source_obj>34</source_obj>
<sink_obj>35</sink_obj>
</item>
<item class_id_reference="20" object_id="_54">
<id>332</id>
<edge_type>4</edge_type>
<source_obj>35</source_obj>
<sink_obj>37</sink_obj>
</item>
</edges>
</cdfg>
<cdfg_regions class_id="21" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="22" tracking_level="1" version="0" object_id="_55">
<mId>1</mId>
<mTag>hls_target</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>39</item>
</basic_blocks>
<mII>-1</mII>
<mDepth>-1</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>2077921</mMinLatency>
<mMaxLatency>-1</mMaxLatency>
<mIsDfPipe>1</mIsDfPipe>
<mDfPipe class_id="23" tracking_level="1" version="0" object_id="_56">
<port_list class_id="24" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</port_list>
<process_list class_id="25" tracking_level="0" version="0">
<count>5</count>
<item_version>0</item_version>
<item class_id="26" tracking_level="1" version="0" object_id="_57">
<type>0</type>
<name>linebuffer_1_U0</name>
<ssdmobj_id>33</ssdmobj_id>
<pins class_id="27" tracking_level="0" version="0">
<count>3</count>
<item_version>0</item_version>
<item class_id="28" tracking_level="1" version="0" object_id="_58">
<port class_id="29" tracking_level="1" version="0" object_id="_59">
<name>in_axi_stream_V_value_V</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id="30" tracking_level="1" version="0" object_id="_60">
<type>0</type>
<name>linebuffer_1_U0</name>
<ssdmobj_id>33</ssdmobj_id>
</inst>
</item>
<item class_id_reference="28" object_id="_61">
<port class_id_reference="29" object_id="_62">
<name>in_axi_stream_V_last_V</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_60"/>
</item>
<item class_id_reference="28" object_id="_63">
<port class_id_reference="29" object_id="_64">
<name>out_stream_V_value_V</name>
<dir>0</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_60"/>
</item>
</pins>
</item>
<item class_id_reference="26" object_id="_65">
<type>0</type>
<name>Loop_1_proc_U0</name>
<ssdmobj_id>34</ssdmobj_id>
<pins>
<count>3</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_66">
<port class_id_reference="29" object_id="_67">
<name>p_hw_input_stencil_stream_V_value_V</name>
<dir>0</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id="_68">
<type>0</type>
<name>Loop_1_proc_U0</name>
<ssdmobj_id>34</ssdmobj_id>
</inst>
</item>
<item class_id_reference="28" object_id="_69">
<port class_id_reference="29" object_id="_70">
<name>p_hw_input_stencil_stream_to_delayed_input_V_value_V</name>
<dir>0</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_68"/>
</item>
<item class_id_reference="28" object_id="_71">
<port class_id_reference="29" object_id="_72">
<name>p_hw_input_stencil_stream_to_mul_V_value_V</name>
<dir>0</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_68"/>
</item>
</pins>
</item>
<item class_id_reference="26" object_id="_73">
<type>0</type>
<name>Loop_2_proc_U0</name>
<ssdmobj_id>35</ssdmobj_id>
<pins>
<count>2</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_74">
<port class_id_reference="29" object_id="_75">
<name>p_hw_input_stencil_stream_to_delayed_input_V_value_V</name>
<dir>0</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id="_76">
<type>0</type>
<name>Loop_2_proc_U0</name>
<ssdmobj_id>35</ssdmobj_id>
</inst>
</item>
<item class_id_reference="28" object_id="_77">
<port class_id_reference="29" object_id="_78">
<name>p_delayed_input_stencil_stream_V_value_V</name>
<dir>0</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_76"/>
</item>
</pins>
</item>
<item class_id_reference="26" object_id="_79">
<type>0</type>
<name>Loop_3_proc_U0</name>
<ssdmobj_id>36</ssdmobj_id>
<pins>
<count>2</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_80">
<port class_id_reference="29" object_id="_81">
<name>p_hw_input_stencil_stream_to_mul_V_value_V</name>
<dir>0</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id="_82">
<type>0</type>
<name>Loop_3_proc_U0</name>
<ssdmobj_id>36</ssdmobj_id>
</inst>
</item>
<item class_id_reference="28" object_id="_83">
<port class_id_reference="29" object_id="_84">
<name>p_mul_stencil_stream_V_value_V</name>
<dir>0</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_82"/>
</item>
</pins>
</item>
<item class_id_reference="26" object_id="_85">
<type>0</type>
<name>Loop_4_proc_U0</name>
<ssdmobj_id>37</ssdmobj_id>
<pins>
<count>4</count>
<item_version>0</item_version>
<item class_id_reference="28" object_id="_86">
<port class_id_reference="29" object_id="_87">
<name>hw_output_V_value_V</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id="_88">
<type>0</type>
<name>Loop_4_proc_U0</name>
<ssdmobj_id>37</ssdmobj_id>
</inst>
</item>
<item class_id_reference="28" object_id="_89">
<port class_id_reference="29" object_id="_90">
<name>hw_output_V_last_V</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_88"/>
</item>
<item class_id_reference="28" object_id="_91">
<port class_id_reference="29" object_id="_92">
<name>p_mul_stencil_stream_V_value_V</name>
<dir>0</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_88"/>
</item>
<item class_id_reference="28" object_id="_93">
<port class_id_reference="29" object_id="_94">
<name>p_delayed_input_stencil_stream_V_value_V</name>
<dir>0</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_88"/>
</item>
</pins>
</item>
</process_list>
<channel_list class_id="31" tracking_level="0" version="0">
<count>5</count>
<item_version>0</item_version>
<item class_id="32" tracking_level="1" version="0" object_id="_95">
<type>1</type>
<name>p_hw_input_stencil_st</name>
<ssdmobj_id>11</ssdmobj_id>
<ctype>0</ctype>
<depth>1</depth>
<bitwidth>288</bitwidth>
<source class_id_reference="28" object_id="_96">
<port class_id_reference="29" object_id="_97">
<name>in</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_60"/>
</source>
<sink class_id_reference="28" object_id="_98">
<port class_id_reference="29" object_id="_99">
<name>out</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_68"/>
</sink>
</item>
<item class_id_reference="32" object_id="_100">
<type>1</type>
<name>p_hw_input_stencil_st_3</name>
<ssdmobj_id>15</ssdmobj_id>
<ctype>0</ctype>
<depth>1</depth>
<bitwidth>288</bitwidth>
<source class_id_reference="28" object_id="_101">
<port class_id_reference="29" object_id="_102">
<name>in</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_68"/>
</source>
<sink class_id_reference="28" object_id="_103">
<port class_id_reference="29" object_id="_104">
<name>out</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_76"/>
</sink>
</item>
<item class_id_reference="32" object_id="_105">
<type>1</type>
<name>p_hw_input_stencil_st_4</name>
<ssdmobj_id>19</ssdmobj_id>
<ctype>0</ctype>
<depth>1</depth>
<bitwidth>288</bitwidth>
<source class_id_reference="28" object_id="_106">
<port class_id_reference="29" object_id="_107">
<name>in</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_68"/>
</source>
<sink class_id_reference="28" object_id="_108">
<port class_id_reference="29" object_id="_109">
<name>out</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_82"/>
</sink>
</item>
<item class_id_reference="32" object_id="_110">
<type>1</type>
<name>p_delayed_input_stenc</name>
<ssdmobj_id>23</ssdmobj_id>
<ctype>0</ctype>
<depth>1</depth>
<bitwidth>32</bitwidth>
<source class_id_reference="28" object_id="_111">
<port class_id_reference="29" object_id="_112">
<name>in</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_76"/>
</source>
<sink class_id_reference="28" object_id="_113">
<port class_id_reference="29" object_id="_114">
<name>out</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_88"/>
</sink>
</item>
<item class_id_reference="32" object_id="_115">
<type>1</type>
<name>p_mul_stencil_stream_s</name>
<ssdmobj_id>27</ssdmobj_id>
<ctype>0</ctype>
<depth>1</depth>
<bitwidth>32</bitwidth>
<source class_id_reference="28" object_id="_116">
<port class_id_reference="29" object_id="_117">
<name>in</name>
<dir>3</dir>
<type>0</type>
</port>
<inst class_id_reference="30" object_id_reference="_82"/>
</source>
<sink class_id_reference="28" object_id="_118">
<port class_id_reference="29" object_id="_119">
<name>out</name>
<dir>3</dir>
<type>1</type>
</port>
<inst class_id_reference="30" object_id_reference="_88"/>
</sink>
</item>
</channel_list>
<net_list class_id="33" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</net_list>
</mDfPipe>
</item>
</cdfg_regions>
<fsm class_id="34" tracking_level="1" version="0" object_id="_120">
<states class_id="35" tracking_level="0" version="0">
<count>8</count>
<item_version>0</item_version>
<item class_id="36" tracking_level="1" version="0" object_id="_121">
<id>1</id>
<operations class_id="37" tracking_level="0" version="0">
<count>6</count>
<item_version>0</item_version>
<item class_id="38" tracking_level="1" version="0" object_id="_122">
<id>11</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_123">
<id>15</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_124">
<id>19</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_125">
<id>23</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_126">
<id>27</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_127">
<id>33</id>
<stage>2</stage>
<latency>2</latency>
</item>
</operations>
</item>
<item class_id_reference="36" object_id="_128">
<id>2</id>
<operations>
<count>1</count>
<item_version>0</item_version>
<item class_id_reference="38" object_id="_129">
<id>33</id>
<stage>1</stage>
<latency>2</latency>
</item>
</operations>
</item>
<item class_id_reference="36" object_id="_130">
<id>3</id>
<operations>
<count>1</count>
<item_version>0</item_version>
<item class_id_reference="38" object_id="_131">
<id>34</id>
<stage>2</stage>
<latency>2</latency>
</item>
</operations>
</item>
<item class_id_reference="36" object_id="_132">
<id>4</id>
<operations>
<count>1</count>
<item_version>0</item_version>
<item class_id_reference="38" object_id="_133">
<id>34</id>
<stage>1</stage>
<latency>2</latency>
</item>
</operations>
</item>
<item class_id_reference="36" object_id="_134">
<id>5</id>
<operations>
<count>2</count>
<item_version>0</item_version>
<item class_id_reference="38" object_id="_135">
<id>35</id>
<stage>2</stage>
<latency>2</latency>
</item>
<item class_id_reference="38" object_id="_136">
<id>36</id>
<stage>2</stage>
<latency>2</latency>
</item>
</operations>
</item>
<item class_id_reference="36" object_id="_137">
<id>6</id>
<operations>
<count>2</count>
<item_version>0</item_version>
<item class_id_reference="38" object_id="_138">
<id>35</id>
<stage>1</stage>
<latency>2</latency>
</item>
<item class_id_reference="38" object_id="_139">
<id>36</id>
<stage>1</stage>
<latency>2</latency>
</item>
</operations>
</item>
<item class_id_reference="36" object_id="_140">
<id>7</id>
<operations>
<count>1</count>
<item_version>0</item_version>
<item class_id_reference="38" object_id="_141">
<id>37</id>
<stage>2</stage>
<latency>2</latency>
</item>
</operations>
</item>
<item class_id_reference="36" object_id="_142">
<id>8</id>
<operations>
<count>25</count>
<item_version>0</item_version>
<item class_id_reference="38" object_id="_143">
<id>5</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_144">
<id>6</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_145">
<id>7</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_146">
<id>8</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_147">
<id>9</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_148">
<id>10</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_149">
<id>12</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_150">
<id>13</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_151">
<id>14</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_152">
<id>16</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_153">
<id>17</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_154">
<id>18</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_155">
<id>20</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_156">
<id>21</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_157">
<id>22</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_158">
<id>24</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_159">
<id>25</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_160">
<id>26</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_161">
<id>28</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_162">
<id>29</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_163">
<id>30</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_164">
<id>31</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_165">
<id>32</id>
<stage>1</stage>
<latency>1</latency>
</item>
<item class_id_reference="38" object_id="_166">
<id>37</id>
<stage>1</stage>
<latency>2</latency>
</item>
<item class_id_reference="38" object_id="_167">
<id>38</id>
<stage>1</stage>
<latency>1</latency>
</item>
</operations>
</item>
</states>
<transitions class_id="39" tracking_level="0" version="0">
<count>7</count>
<item_version>0</item_version>
<item class_id="40" tracking_level="1" version="0" object_id="_168">
<inState>1</inState>
<outState>2</outState>
<condition class_id="41" tracking_level="0" version="0">
<id>0</id>
<sop class_id="42" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="43" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</item>
</sop>
</condition>
</item>
<item class_id_reference="40" object_id="_169">
<inState>2</inState>
<outState>3</outState>
<condition>
<id>1</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>0</count>
<item_version>0</item_version>
</item>
</sop>
</condition>
</item>
<item class_id_reference="40" object_id="_170">
<inState>3</inState>
<outState>4</outState>
<condition>
<id>2</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>0</count>
<item_version>0</item_version>
</item>
</sop>
</condition>
</item>
<item class_id_reference="40" object_id="_171">
<inState>4</inState>
<outState>5</outState>
<condition>
<id>3</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>0</count>
<item_version>0</item_version>
</item>
</sop>
</condition>
</item>
<item class_id_reference="40" object_id="_172">
<inState>5</inState>
<outState>6</outState>
<condition>
<id>4</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>0</count>
<item_version>0</item_version>
</item>
</sop>
</condition>
</item>
<item class_id_reference="40" object_id="_173">
<inState>6</inState>
<outState>7</outState>
<condition>
<id>5</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>0</count>
<item_version>0</item_version>
</item>
</sop>
</condition>
</item>
<item class_id_reference="40" object_id="_174">
<inState>7</inState>
<outState>8</outState>
<condition>
<id>6</id>
<sop>
<count>1</count>
<item_version>0</item_version>
<item>
<count>0</count>
<item_version>0</item_version>
</item>
</sop>
</condition>
</item>
</transitions>
</fsm>
<res class_id="44" tracking_level="1" version="0" object_id="_175">
<dp_component_resource class_id="45" tracking_level="0" version="0">
<count>9</count>
<item_version>0</item_version>
<item class_id="46" tracking_level="0" version="0">
<first>Loop_1_proc_U0 (Loop_1_proc)</first>
<second class_id="47" tracking_level="0" version="0">
<count>2</count>
<item_version>0</item_version>
<item class_id="48" tracking_level="0" version="0">
<first>FF</first>
<second>99</second>
</item>
<item>
<first>LUT</first>
<second>141</second>
</item>
</second>
</item>
<item>
<first>Loop_2_proc_U0 (Loop_2_proc)</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>FF</first>
<second>99</second>
</item>
<item>
<first>LUT</first>
<second>132</second>
</item>
</second>
</item>
<item>
<first>Loop_3_proc_U0 (Loop_3_proc)</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>FF</first>
<second>933</second>
</item>
<item>
<first>LUT</first>
<second>424</second>
</item>
</second>
</item>
<item>
<first>Loop_4_proc_U0 (Loop_4_proc)</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>FF</first>
<second>916</second>
</item>
<item>
<first>LUT</first>
<second>535</second>
</item>
</second>
</item>
<item>
<first>linebuffer_1_U0 (linebuffer_1)</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>BRAM</first>
<second>8</second>
</item>
<item>
<first>FF</first>
<second>1231</second>
</item>
<item>
<first>LUT</first>
<second>803</second>
</item>
</second>
</item>
<item>
<first>start_for_Loop_1_fYi_U (start_for_Loop_1_fYi)</first>
<second>
<count>0</count>
<item_version>0</item_version>
</second>
</item>
<item>
<first>start_for_Loop_2_g8j_U (start_for_Loop_2_g8j)</first>
<second>
<count>0</count>
<item_version>0</item_version>
</second>
</item>
<item>
<first>start_for_Loop_3_hbi_U (start_for_Loop_3_hbi)</first>
<second>
<count>0</count>
<item_version>0</item_version>
</second>
</item>
<item>
<first>start_for_Loop_4_ibs_U (start_for_Loop_4_ibs)</first>
<second>
<count>0</count>
<item_version>0</item_version>
</second>
</item>
</dp_component_resource>
<dp_expression_resource>
<count>4</count>
<item_version>0</item_version>
<item>
<first>Loop_1_proc_U0_start_full_n ( or ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>1</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>Loop_2_proc_U0_start_full_n ( or ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>1</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>ap_idle ( and ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>1</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
<item>
<first>linebuffer_1_U0_start_full_n ( or ) </first>
<second>
<count>4</count>
<item_version>0</item_version>
<item>
<first>(0P0)</first>
<second>1</second>
</item>
<item>
<first>(1P1)</first>
<second>1</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>2</second>
</item>
</second>
</item>
</dp_expression_resource>
<dp_fifo_resource>
<count>5</count>
<item_version>0</item_version>
<item>
<first>p_delayed_input_stenc_U</first>
<second>
<count>5</count>
<item_version>0</item_version>
<item>
<first>(0Depth)</first>
<second>1</second>
</item>
<item>
<first>(1Bits)</first>
<second>32</second>
</item>
<item>
<first>(2Size:D*B)</first>
<second>32</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>p_hw_input_stencil_st_3_U</first>
<second>
<count>5</count>
<item_version>0</item_version>
<item>
<first>(0Depth)</first>
<second>1</second>
</item>
<item>
<first>(1Bits)</first>
<second>288</second>
</item>
<item>
<first>(2Size:D*B)</first>
<second>288</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>p_hw_input_stencil_st_4_U</first>
<second>
<count>5</count>
<item_version>0</item_version>
<item>
<first>(0Depth)</first>
<second>1</second>
</item>
<item>
<first>(1Bits)</first>
<second>288</second>
</item>
<item>
<first>(2Size:D*B)</first>
<second>288</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>p_hw_input_stencil_st_U</first>
<second>
<count>5</count>
<item_version>0</item_version>
<item>
<first>(0Depth)</first>
<second>1</second>
</item>
<item>
<first>(1Bits)</first>
<second>288</second>
</item>
<item>
<first>(2Size:D*B)</first>
<second>288</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
<item>
<first>p_mul_stencil_stream_s_U</first>
<second>
<count>5</count>
<item_version>0</item_version>
<item>
<first>(0Depth)</first>
<second>1</second>
</item>
<item>
<first>(1Bits)</first>
<second>32</second>
</item>
<item>
<first>(2Size:D*B)</first>
<second>32</second>
</item>
<item>
<first>FF</first>
<second>0</second>
</item>
<item>
<first>LUT</first>
<second>1</second>
</item>
</second>
</item>
</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="49" tracking_level="0" version="0">
<count>5</count>
<item_version>0</item_version>
<item class_id="50" tracking_level="0" version="0">
<first>Loop_1_proc_U0 (Loop_1_proc)</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>34</item>
</second>
</item>
<item>
<first>Loop_2_proc_U0 (Loop_2_proc)</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>35</item>
</second>
</item>
<item>
<first>Loop_3_proc_U0 (Loop_3_proc)</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>36</item>
</second>
</item>
<item>
<first>Loop_4_proc_U0 (Loop_4_proc)</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>37</item>
</second>
</item>
<item>
<first>linebuffer_1_U0 (linebuffer_1)</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>33</item>
</second>
</item>
</dp_component_map>
<dp_expression_map>
<count>0</count>
<item_version>0</item_version>
</dp_expression_map>
<dp_fifo_map>
<count>5</count>
<item_version>0</item_version>
<item>
<first>p_delayed_input_stenc_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>137</item>
</second>
</item>
<item>
<first>p_hw_input_stencil_st_3_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>116</item>
</second>
</item>
<item>
<first>p_hw_input_stencil_st_4_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>126</item>
</second>
</item>
<item>
<first>p_hw_input_stencil_st_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>106</item>
</second>
</item>
<item>
<first>p_mul_stencil_stream_s_U</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>147</item>
</second>
</item>
</dp_fifo_map>
<dp_memory_map>
<count>0</count>
<item_version>0</item_version>
</dp_memory_map>
</res>
<node_label_latency class_id="51" tracking_level="0" version="0">
<count>11</count>
<item_version>0</item_version>
<item class_id="52" tracking_level="0" version="0">
<first>11</first>
<second class_id="53" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>15</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>19</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>23</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>27</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>33</first>
<second>
<first>0</first>
<second>1</second>
</second>
</item>
<item>
<first>34</first>
<second>
<first>2</first>
<second>1</second>
</second>
</item>
<item>
<first>35</first>
<second>
<first>4</first>
<second>1</second>
</second>
</item>
<item>
<first>36</first>
<second>
<first>4</first>
<second>1</second>
</second>
</item>
<item>
<first>37</first>
<second>
<first>6</first>
<second>1</second>
</second>
</item>
<item>
<first>38</first>
<second>
<first>7</first>
<second>0</second>
</second>
</item>
</node_label_latency>
<bblk_ent_exit class_id="54" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="55" tracking_level="0" version="0">
<first>39</first>
<second class_id="56" tracking_level="0" version="0">
<first>0</first>
<second>7</second>
</second>
</item>
</bblk_ent_exit>
<regions class_id="57" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="58" tracking_level="1" version="0" object_id="_176">
<region_name>hls_target</region_name>
<basic_blocks>
<count>1</count>
<item_version>0</item_version>
<item>39</item>
</basic_blocks>
<nodes>
<count>34</count>
<item_version>0</item_version>
<item>5</item>
<item>6</item>
<item>7</item>
<item>8</item>
<item>9</item>
<item>10</item>
<item>11</item>
<item>12</item>
<item>13</item>
<item>14</item>
<item>15</item>
<item>16</item>
<item>17</item>
<item>18</item>
<item>19</item>
<item>20</item>
<item>21</item>
<item>22</item>
<item>23</item>
<item>24</item>
<item>25</item>
<item>26</item>
<item>27</item>
<item>28</item>
<item>29</item>
<item>30</item>
<item>31</item>
<item>32</item>
<item>33</item>
<item>34</item>
<item>35</item>
<item>36</item>
<item>37</item>
<item>38</item>
</nodes>
<anchor_node>-1</anchor_node>
<region_type>16</region_type>
<interval>0</interval>
<pipe_depth>0</pipe_depth>
</item>
</regions>
<dp_fu_nodes class_id="59" tracking_level="0" version="0">
<count>10</count>
<item_version>0</item_version>
<item class_id="60" tracking_level="0" version="0">
<first>62</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>11</item>
</second>
</item>
<item>
<first>66</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>15</item>
</second>
</item>
<item>
<first>70</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>19</item>
</second>
</item>
<item>
<first>74</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>23</item>
</second>
</item>
<item>
<first>78</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
<item>
<first>82</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>33</item>
<item>33</item>
</second>
</item>
<item>
<first>91</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>36</item>
<item>36</item>
</second>
</item>
<item>
<first>97</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>37</item>
</second>
</item>
<item>
<first>107</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>35</item>
<item>35</item>
</second>
</item>
<item>
<first>113</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>34</item>
<item>34</item>
</second>
</item>
</dp_fu_nodes>
<dp_fu_nodes_expression class_id="62" tracking_level="0" version="0">
<count>5</count>
<item_version>0</item_version>
<item class_id="63" tracking_level="0" version="0">
<first>p_delayed_input_stenc_fu_74</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>23</item>
</second>
</item>
<item>
<first>p_hw_input_stencil_st_3_fu_66</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>15</item>
</second>
</item>
<item>
<first>p_hw_input_stencil_st_4_fu_70</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>19</item>
</second>
</item>
<item>
<first>p_hw_input_stencil_st_fu_62</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>11</item>
</second>
</item>
<item>
<first>p_mul_stencil_stream_s_fu_78</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
</dp_fu_nodes_expression>
<dp_fu_nodes_module>
<count>5</count>
<item_version>0</item_version>
<item>
<first>grp_Loop_1_proc_fu_113</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>34</item>
<item>34</item>
</second>
</item>
<item>
<first>grp_Loop_2_proc_fu_107</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>35</item>
<item>35</item>
</second>
</item>
<item>
<first>grp_Loop_3_proc_fu_91</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>36</item>
<item>36</item>
</second>
</item>
<item>
<first>grp_Loop_4_proc_fu_97</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>37</item>
<item>37</item>
</second>
</item>
<item>
<first>grp_linebuffer_1_fu_82</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>33</item>
<item>33</item>
</second>
</item>
</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="64" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</dp_mem_port_nodes>
<dp_reg_nodes>
<count>5</count>
<item_version>0</item_version>
<item>
<first>120</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>11</item>
</second>
</item>
<item>
<first>126</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>15</item>
</second>
</item>
<item>
<first>132</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>19</item>
</second>
</item>
<item>
<first>138</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>23</item>
</second>
</item>
<item>
<first>144</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
</dp_reg_nodes>
<dp_regname_nodes>
<count>5</count>
<item_version>0</item_version>
<item>
<first>p_delayed_input_stenc_reg_138</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>23</item>
</second>
</item>
<item>
<first>p_hw_input_stencil_st_3_reg_126</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>15</item>
</second>
</item>
<item>
<first>p_hw_input_stencil_st_4_reg_132</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>19</item>
</second>
</item>
<item>
<first>p_hw_input_stencil_st_reg_120</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>11</item>
</second>
</item>
<item>
<first>p_mul_stencil_stream_s_reg_144</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>27</item>
</second>
</item>
</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="65" tracking_level="0" version="0">
<count>4</count>
<item_version>0</item_version>
<item class_id="66" tracking_level="0" version="0">
<first>hw_input_V_last_V</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>call</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>33</item>
</second>
</item>
</second>
</item>
<item>
<first>hw_input_V_value_V</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>call</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>33</item>
</second>
</item>
</second>
</item>
<item>
<first>hw_output_V_last_V</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>call</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>37</item>
</second>
</item>
</second>
</item>
<item>
<first>hw_output_V_value_V</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>call</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>37</item>
</second>
</item>
</second>
</item>
</dp_port_io_nodes>
<port2core class_id="67" tracking_level="0" version="0">
<count>0</count>
<item_version>0</item_version>
</port2core>
<node2core>
<count>5</count>
<item_version>0</item_version>
<item class_id="68" tracking_level="0" version="0">
<first>11</first>
<second>FIFO_SRL</second>
</item>
<item>
<first>15</first>
<second>FIFO_SRL</second>
</item>
<item>
<first>19</first>
<second>FIFO_SRL</second>
</item>
<item>
<first>23</first>
<second>FIFO_SRL</second>
</item>
<item>
<first>27</first>
<second>FIFO_SRL</second>
</item>
</node2core>
</syndb>
</boost_serialization>
|
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- A 4 G . A _ O U T P U T --
-- --
-- S p e c --
-- --
-- $Revision: 15311 $
-- --
-- Copyright (c) 1995-2002, Free Software Foundation, Inc. --
-- --
-- ASIS-for-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 --
-- Software Foundation; either version 2, or (at your option) any later --
-- version. ASIS-for-GNAT is distributed in the hope that it will be use- --
-- ful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- --
-- CHANTABILITY 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 ASIS-for-GNAT; see file --
-- COPYING. If not, write to the Free Software Foundation, 59 Temple Place --
-- - Suite 330, Boston, MA 02111-1307, USA. --
-- --
-- --
-- --
-- --
-- --
-- --
-- --
-- --
-- ASIS-for-GNAT was originally developed by the ASIS-for-GNAT team at the --
-- Software Engineering Laboratory of the Swiss Federal Institute of --
-- Technology (LGL-EPFL) in Lausanne, Switzerland, in cooperation with the --
-- Scientific Research Computer Center of Moscow State University (SRCC --
-- MSU), Russia, with funding partially provided by grants from the Swiss --
-- National Science Foundation and the Swiss Academy of Engineering --
-- Sciences. ASIS-for-GNAT is now maintained by Ada Core Technologies Inc --
-- (http://www.gnat.com). --
-- --
------------------------------------------------------------------------------
-- This package contains the utility routines used for providing ASIS
-- warnings, debug images for ASIS types and internal debugging information.
with Asis; use Asis;
with Asis.Errors; use Asis.Errors;
with Types; use Types;
package A4G.A_Output is
Max_Debug_Buffer_Len : Natural := 8 * 1024;
Debug_Buffer : String (1 .. Max_Debug_Buffer_Len);
Debug_Buffer_Len : Natural range 0 .. Max_Debug_Buffer_Len;
-- buffer to form debug image strings
procedure Add (Phrase : String);
-- Adds Phrase to Debug_Buffer and resets Debug_Buffer_Len
procedure ASIS_Warning
(Message : String;
Error : Asis.Errors.Error_Kinds := Not_An_Error);
-- Produces a warning message (the text of the message is the string
-- passed as an actual for the Message parameter. The effect of calling
-- this procedure depends on which ASIS warning mode was set when ASIS was
-- initialized. In case of Suppress nothing happens, in case of Normal
-- Message is sent to Stderr, and in case of Treat_As_Error the warning
-- is converted into raising ASIS_Failed, Message is sent to ASIS diagnosis
-- and the value of the Error parameter is set to the ASIS Error Status
function Debug_String (CUnit : Compilation_Unit) return String;
-- Produces the string containing debug information about CUnit
function Debug_String (Cont : Context) return String;
-- Produces the string containing debug information about Cont
procedure Debug_String
(CUnit : Compilation_Unit;
No_Abort : Boolean := False);
-- Produces the string containing debug information about CUnit
-- Forms in Debug_Buffer the string containing debug information about
-- the argument unit. If No_Abort is set ON, then any exception raised
-- inside this procedure is suppressed and the message about suppressed
-- exception is added to the result string. This is needed to avoid
-- circularity during reporting of ASIS implementation bug.
procedure Debug_String
(E : Element;
No_Abort : Boolean := False);
-- Forms in Debug_Buffer the string containing debug information about E
-- If No_Abort is set ON, then any exception raised inside this procedure
-- is suppressed and the message about suppressed exception is added to
-- the result string. This is needed to avoid circularity during reporting
-- of ASIS implementation bug.
procedure Write_Node (N : Node_Id; Prefix : String := "");
-- outputs the tree node attributes without using any facilities
-- from the GNAT Treepr package. The string passed as an actual for
-- Prefix is outputted in the beginning of every string
end A4G.A_Output;
|
------------------------------------------------------------------------------
-- --
-- Common UUID Handling Package --
-- - RFC 4122 Implementation - --
-- --
-- ------------------------------------------------------------------------ --
-- --
-- Copyright (C) 2018-2020 ANNEXI-STRAYLINE Trans-Human Ltd. --
-- All rights reserved. --
-- --
-- Original Contributors: --
-- * Richard Wai, Ensi Martini, Aninda Poddar, Noshen Atashe --
-- (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 System;
with Ada.Exceptions; use Ada;
with Hex.Modular_Codec;
package body UUIDs is
-- Portability Constraints --
-----------------------------
-- The bitwise manipulation conventions of this package assumes that
-- Storage_Unit is 8 bits. For other machines, the relevant Record
-- Representation Clause position values should be modified as appropriate
-- for this package, and all relevant child packages
pragma Assert (Check => System.Storage_Unit = 8,
Message => "This package requires a target with an 8-bit " &
"Storage_Element size.");
package HMC_48 is new Hex.Modular_Codec(Bitfield_48, 48);
package HMC_32 is new Hex.Modular_Codec(Bitfield_32, 32);
package HMC_16 is new Hex.Modular_Codec(Bitfield_16, 16);
package HMC_8 is new Hex.Modular_Codec(Bitfield_8, 8);
--
-- UUID Comparison and Equality Operators
--
---------
-- ">" --
---------
function ">"(Left, Right: UUID) return Boolean is
begin
if Left.time_low > Right.time_low then
return True;
elsif Left.time_low = Right.time_low then
if Left.time_mid > Right.time_mid then
return True;
elsif Left.time_mid = Right.time_mid then
if Left.time_hi_and_version > Right.time_hi_and_version then
return True;
elsif Left.time_hi_and_version = Right.time_hi_and_version then
if Left.clock_seq_hi_and_reserved >
Right.clock_seq_hi_and_reserved then
return True;
elsif Left.clock_seq_hi_and_reserved =
Right.clock_seq_hi_and_reserved then
if Left.clock_seq_low > Right.clock_seq_low then
return True;
elsif Left.clock_seq_low = Right.clock_seq_low then
if Left.node > Right.node then
return True;
end if;
end if;
end if;
end if;
end if;
end if;
return False;
end ">";
---------
-- "<" --
---------
function "<"(Left, Right: UUID) return Boolean is
begin
if Left.time_low < Right.time_low then
return True;
elsif Left.time_low = Right.time_low then
if Left.time_mid < Right.time_mid then
return True;
elsif Left.time_mid = Right.time_mid then
if Left.time_hi_and_version < Right.time_hi_and_version then
return True;
elsif Left.time_hi_and_version = Right.time_hi_and_version then
if Left.clock_seq_hi_and_reserved <
Right.clock_seq_hi_and_reserved then
return True;
elsif Left.clock_seq_hi_and_reserved =
Right.clock_seq_hi_and_reserved then
if Left.clock_seq_low < Right.clock_seq_low then
return True;
elsif Left.clock_seq_low = Right.clock_seq_low then
if Left.node < Right.node then
return True;
end if;
end if;
end if;
end if;
end if;
end if;
return False;
end "<";
--
-- UUID Encode/Decode Operations
--
------------
-- Encode --
------------
function Encode (ID : UUID) return UUID_String is
use Hex;
Output : UUID_String;
-- We need to have zero-filled values of the exact length in
-- all cases
Hex_8 : String (1 .. HMC_8.Max_Nibbles);
Hex_16: String (1 .. HMC_16.Max_Nibbles);
Hex_32: String (1 .. HMC_32.Max_Nibbles);
Hex_48: String (1 .. HMC_48.Max_Nibbles);
begin
-- time_low
HMC_32.Encode (Value => ID.time_low, Buffer => Hex_32);
Output(UUID_String_time_low) := Hex_32;
Output(UUID_String_Hyphen_1) := "-";
-- time_mid
HMC_16.Encode (Value => ID.time_mid, Buffer => Hex_16);
Output(UUID_String_time_mid) := Hex_16;
Output(UUID_String_Hyphen_2) := "-";
-- time_high_and_version
HMC_16.Encode (Value => ID.time_hi_and_version, Buffer => Hex_16);
Output(UUID_String_time_high_and_version) := Hex_16;
Output(UUID_String_Hyphen_3) := "-";
-- clock_seq_and_reserved
HMC_8.Encode (Value => ID.clock_seq_hi_and_reserved, Buffer => Hex_8);
Output(UUID_String_clock_seq_and_reserved) := Hex_8;
-- clock_seq_low
HMC_8.Encode (Value => ID.clock_seq_low, Buffer => Hex_8);
Output(UUID_String_clock_seq_low) := Hex_8;
Output(UUID_String_Hyphen_4) := "-";
-- node
HMC_48.Encode (Value => ID.node, Buffer => Hex_48);
Output(UUID_String_node) := Hex_48;
return Output;
end Encode;
------------
-- Decode --
------------
function Decode (ID_String: UUID_String) return UUID is
Output_UUID : UUID;
Basic_Error: constant String
:= "String is not a valid UUID value. ";
procedure Assert_Hex (Candidate: String) with Inline is
begin
if not Hex.Valid_Hex_String (Candidate) then
raise UUID_Format_Error with
Basic_Error & "Expected hexadecimal.";
end if;
end;
procedure Assert_Length (Candidate: String; Expected: Positive)
with Inline is
begin
-- This assertion should technically not possibly fail.. But
-- above all else it will be stable, since the lengths are set
-- by the spec of this package. This is a good candidate to
-- remove as an optimization
if Candidate'Length /= Expected then
raise UUID_Format_Error with
Basic_Error & "Field is not the correct length";
end if;
end;
begin
if ID_String(UUID_String_Hyphen_1) /= "-"
or else ID_String(UUID_String_Hyphen_2) /= "-"
or else ID_String(UUID_String_Hyphen_3) /= "-"
or else ID_String(UUID_String_Hyphen_4) /= "-"
then
raise UUID_Format_Error
with "String is not a valid UUID value. Hyphens are missing, or " &
"incorrectly placed.";
end if;
-- We need to ensure we can satisfy the preconditions of the Decode
-- subprogram of the Hex codecs
-- time_low field --
declare
TLS: String renames ID_String(UUID_String_time_low);
begin
Assert_Hex (TLS);
Assert_Length (TLS, HMC_32.Max_Nibbles);
Output_UUID.time_low := HMC_32.Decode (TLS);
end;
-- time_mid field --
declare
TMS: String renames ID_String(UUID_String_time_mid);
begin
Assert_Hex (TMS);
Assert_Length (TMS, HMC_16.Max_Nibbles);
Output_UUID.time_mid := HMC_16.Decode (TMS);
end;
-- time_hi_and_Version field --
declare
THVS: String renames ID_String(UUID_String_time_high_and_version);
begin
Assert_Hex (THVS);
Assert_Length (THVS, HMC_16.Max_Nibbles);
Output_UUID.time_hi_and_version := HMC_16.Decode (THVS);
end;
-- clock_seq_hi_and_reserved field --
declare
CSHRS: String renames ID_String(UUID_String_clock_seq_and_reserved);
begin
Assert_Hex (CSHRS);
Assert_Length (CSHRS, HMC_8.Max_Nibbles);
Output_UUID.clock_seq_hi_and_reserved := HMC_8.Decode (CSHRS);
end;
-- clock_seq_low field --
declare
CSLS: String renames ID_String(UUID_String_clock_seq_low);
begin
Assert_Hex (CSLS);
Assert_Length (CSLS, HMC_8.Max_Nibbles);
Output_UUID.clock_seq_low := HMC_8.Decode (CSLS);
end;
-- node field --
declare
NS: String renames ID_String(UUID_String_node);
begin
Assert_Hex (NS);
Assert_Length (NS, HMC_48.Max_Nibbles);
Output_UUID.node := HMC_48.Decode (NS);
end;
return Output_UUID;
end Decode;
--
-- Hashing
--
----------
-- Hash --
----------
function Hash (ID: UUID) return Ada.Containers.Hash_Type is
use Ada.Containers;
begin
return Result: Hash_Type do
Result := Hash_Type'Mod (ID.time_low);
Result := Result xor Hash_Type'Mod (ID.time_mid);
Result := Result xor Hash_Type'Mod (ID.time_hi_and_version);
Result := Result xor Hash_Type'Mod (ID.clock_seq_hi_and_reserved);
Result := Result xor Hash_Type'Mod (ID.clock_seq_low);
Result := Result xor Hash_Type'Mod (ID.node);
end return;
end;
--
-- Binary IO
--
-- On the wire, the UUID needs to be packed into a 128-bit value. Since
-- ultimately going to be translating into contigious octets, we really need
-- to construct each one at a time.
--
-- For reference, the conceptual in-memory representation of the full
-- value would look like this, Bit_Order => high High_Order_First
--
-- for Wire_UUID use
-- record
-- time_low at 0 range 0 .. 31;
-- time_mid at 0 range 32 .. 47;
-- time_hi_and_version at 0 range 48 .. 63;
-- clock_seq_hi_and_reserved at 8 range 0 .. 7;
-- clock_seq_low at 8 range 8 .. 15;
-- node at 8 range 16 .. 63;
-- end record;
pragma Assert
(Check => Ada.Streams.Stream_Element'Modulus
= Interfaces.Unsigned_8'Modulus,
Message => "Warning Stream output might not be contiguous.");
---------------
-- To_Binary --
---------------
function To_Binary (ID: in UUID) return Binary_UUID is
use Interfaces;
Accumulator: Unsigned_8;
Arranger_32: Unsigned_32;
Arranger_64: Unsigned_64;
Current_Octet: Integer := UUID_Binary_MSB;
procedure Push_Accumulator (Target: in out Binary_UUID)
with Inline is
begin
Target (Current_Octet) := Accumulator;
Current_Octet := Current_Octet - 1;
end;
begin
-- We'll construct it in big-endian order, just to be logically
-- consistent
return Bin: Binary_UUID do
-- Take advantage of build-in-place, if available
Arranger_32 := Unsigned_32 (ID.time_low);
for I in reverse 0 .. 3 loop
Accumulator := Unsigned_8
(Shift_Right (Arranger_32, 8 * I) and 16#ff#);
Push_Accumulator (Bin);
end loop;
Arranger_32 := Unsigned_32 (ID.time_mid);
for I in reverse 0 .. 1 loop
Accumulator := Unsigned_8
(Shift_Right (Arranger_32, 8 * I) and 16#ff#);
Push_Accumulator (Bin);
end loop;
Arranger_32 := Unsigned_32 (ID.time_hi_and_version);
for I in reverse 0 .. 1 loop
Accumulator := Unsigned_8
(Shift_Right (Arranger_32, 8 * I) and 16#ff#);
Push_Accumulator (Bin);
end loop;
Accumulator := Unsigned_8 (ID.clock_seq_hi_and_reserved);
Push_Accumulator (Bin);
Accumulator := Unsigned_8 (ID.clock_seq_low);
Push_Accumulator (Bin);
Arranger_64 := Unsigned_64 (ID.node);
for I in reverse 0 .. 5 loop
Accumulator := Unsigned_8
(Shift_Right (Arranger_64, 8 * I) and 16#ff#);
Push_Accumulator (Bin);
end loop;
end return;
end To_Binary;
-----------------
-- From_Binary --
-----------------
function From_Binary (ID: in Binary_UUID) return UUID is
use Interfaces;
Current_Octet: Integer := UUID_Binary_MSB;
function Pop_Accumulator return Unsigned_8 with Inline is
begin
Current_Octet := Current_Octet - 1;
return ID (Current_Octet + 1);
end;
Accumulator: Unsigned_8;
Arranger_32: Unsigned_32;
Arranger_64: Unsigned_64;
begin
return ID: UUID do
-- Simply reverse To_Binary
Arranger_32 := 0;
for I in 0 .. 3 loop
Accumulator := Pop_Accumulator;
Arranger_32 := Shift_Left (Arranger_32, 8);
Arranger_32 := Arranger_32 + Unsigned_32 (Accumulator);
end loop;
ID.time_low := Bitfield_32 (Arranger_32);
Arranger_32 := 0;
for I in 0 .. 1 loop
Accumulator := Pop_Accumulator;
Arranger_32 := Shift_Left (Arranger_32, 8);
Arranger_32 := Arranger_32 + Unsigned_32 (Accumulator);
end loop;
ID.time_mid := Bitfield_16 (Arranger_32);
Arranger_32 := 0;
for I in 0 .. 1 loop
Accumulator := Pop_Accumulator;
Arranger_32 := Shift_Left (Arranger_32, 8);
Arranger_32 := Arranger_32 + Unsigned_32 (Accumulator);
end loop;
ID.time_hi_and_version := Bitfield_16 (Arranger_32);
Accumulator := Pop_Accumulator;
ID.clock_seq_hi_and_reserved := Bitfield_8 (Accumulator);
Accumulator := Pop_Accumulator;
ID.clock_seq_low := Bitfield_8 (Accumulator);
Arranger_64 := 0;
for I in 0 .. 5 loop
Accumulator := Pop_Accumulator;
Arranger_64 := Shift_Left (Arranger_64, 8);
Arranger_64 := Arranger_64 + Unsigned_64 (Accumulator);
end loop;
ID.node := Bitfield_48 (Arranger_64);
end return;
end From_Binary;
-----------
-- Write --
-----------
procedure Write (Stream: not null access Ada.Streams.Root_Stream_Type'Class;
ID : in UUID)
is
Bin: constant Binary_UUID := To_Binary (ID);
begin
for Octet of reverse Bin loop
Interfaces.Unsigned_8'Write (Stream, Octet);
end loop;
end;
----------
-- Read --
----------
procedure Read (Stream: not null access Ada.Streams.Root_Stream_Type'Class;
ID : out UUID)
is
Bin: Binary_UUID;
begin
for Octet of reverse Bin loop
Interfaces.Unsigned_8'Read (Stream, Octet);
end loop;
ID := From_Binary (Bin);
end;
-------------
-- Version --
-------------
function Version (ID: UUID) return UUID_Version is
begin
return UUID_Version((ID.time_hi_and_version and 16#f000#) / 2 ** 12);
-- This will do a run-time check, and if it fails, Constraint_Error will
-- be raised into this function, which we can then catch in a catch-all
-- handler
exception
when others => return 0;
end Version;
end UUIDs;
|
pragma License (Unrestricted);
-- extended unit
with Ada.IO_Exceptions;
package Ada.Streams.Block_Transmission is
-- There are efficient read/write/input/output operations for stream.
pragma Pure;
generic
type Index_Type is (<>);
type Element_Type is (<>);
type Array_Type is array (Index_Type range <>) of Element_Type;
procedure Read (
Stream : not null access Root_Stream_Type'Class;
Item : out Array_Type);
generic
type Index_Type is (<>);
type Element_Type is (<>);
type Array_Type is array (Index_Type range <>) of Element_Type;
procedure Write (
Stream : not null access Root_Stream_Type'Class;
Item : Array_Type);
generic
type Index_Type is (<>);
type Element_Type is (<>);
type Array_Type is array (Index_Type range <>) of Element_Type;
with procedure Read (
Stream : not null access Root_Stream_Type'Class;
Item : out Array_Type);
function Input (
Stream : not null access Root_Stream_Type'Class)
return Array_Type;
generic
type Index_Type is (<>);
type Element_Type is (<>);
type Array_Type is array (Index_Type range <>) of Element_Type;
with procedure Write (
Stream : not null access Root_Stream_Type'Class;
Item : Array_Type);
procedure Output (
Stream : not null access Root_Stream_Type'Class;
Item : Array_Type);
-- for Stream_Element_Array
package Stream_Element_Arrays is
procedure Read (
Stream : not null access Root_Stream_Type'Class;
Item : out Stream_Element_Array);
procedure Write (
Stream : not null access Root_Stream_Type'Class;
Item : Stream_Element_Array);
end Stream_Element_Arrays;
-- exceptions
End_Error : exception
renames IO_Exceptions.End_Error;
Data_Error : exception
renames IO_Exceptions.Data_Error;
end Ada.Streams.Block_Transmission;
|
--
-- Copyright (c) 2015, John Leimon <jleimon@gmail.com>
--
-- 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.
--
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with x86_64_linux_gnu_bits_types_h;
with x86_64_linux_gnu_bits_time_h;
package x86_64_linux_gnu_bits_timex_h is
-- unsupported macro: ADJ_OFFSET 0x0001
-- unsupported macro: ADJ_FREQUENCY 0x0002
-- unsupported macro: ADJ_MAXERROR 0x0004
-- unsupported macro: ADJ_ESTERROR 0x0008
-- unsupported macro: ADJ_STATUS 0x0010
-- unsupported macro: ADJ_TIMECONST 0x0020
-- unsupported macro: ADJ_TAI 0x0080
-- unsupported macro: ADJ_MICRO 0x1000
-- unsupported macro: ADJ_NANO 0x2000
-- unsupported macro: ADJ_TICK 0x4000
-- unsupported macro: ADJ_OFFSET_SINGLESHOT 0x8001
-- unsupported macro: ADJ_OFFSET_SS_READ 0xa001
-- unsupported macro: MOD_OFFSET ADJ_OFFSET
-- unsupported macro: MOD_FREQUENCY ADJ_FREQUENCY
-- unsupported macro: MOD_MAXERROR ADJ_MAXERROR
-- unsupported macro: MOD_ESTERROR ADJ_ESTERROR
-- unsupported macro: MOD_STATUS ADJ_STATUS
-- unsupported macro: MOD_TIMECONST ADJ_TIMECONST
-- unsupported macro: MOD_CLKB ADJ_TICK
-- unsupported macro: MOD_CLKA ADJ_OFFSET_SINGLESHOT
-- unsupported macro: MOD_TAI ADJ_TAI
-- unsupported macro: MOD_MICRO ADJ_MICRO
-- unsupported macro: MOD_NANO ADJ_NANO
-- unsupported macro: STA_PLL 0x0001
-- unsupported macro: STA_PPSFREQ 0x0002
-- unsupported macro: STA_PPSTIME 0x0004
-- unsupported macro: STA_FLL 0x0008
-- unsupported macro: STA_INS 0x0010
-- unsupported macro: STA_DEL 0x0020
-- unsupported macro: STA_UNSYNC 0x0040
-- unsupported macro: STA_FREQHOLD 0x0080
-- unsupported macro: STA_PPSSIGNAL 0x0100
-- unsupported macro: STA_PPSJITTER 0x0200
-- unsupported macro: STA_PPSWANDER 0x0400
-- unsupported macro: STA_PPSERROR 0x0800
-- unsupported macro: STA_CLOCKERR 0x1000
-- unsupported macro: STA_NANO 0x2000
-- unsupported macro: STA_MODE 0x4000
-- unsupported macro: STA_CLK 0x8000
-- unsupported macro: STA_RONLY (STA_PPSSIGNAL | STA_PPSJITTER | STA_PPSWANDER | STA_PPSERROR | STA_CLOCKERR | STA_NANO | STA_MODE | STA_CLK)
type timex is record
modes : aliased unsigned; -- /usr/include/x86_64-linux-gnu/bits/timex.h:27
offset : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:28
freq : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:29
maxerror : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:30
esterror : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:31
status : aliased int; -- /usr/include/x86_64-linux-gnu/bits/timex.h:32
c_constant : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:33
precision : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:34
tolerance : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:35
time : aliased x86_64_linux_gnu_bits_time_h.timeval; -- /usr/include/x86_64-linux-gnu/bits/timex.h:36
tick : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:37
ppsfreq : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:38
jitter : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:39
shift : aliased int; -- /usr/include/x86_64-linux-gnu/bits/timex.h:40
stabil : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:41
jitcnt : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:42
calcnt : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:43
errcnt : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:44
stbcnt : aliased x86_64_linux_gnu_bits_types_h.uu_syscall_slong_t; -- /usr/include/x86_64-linux-gnu/bits/timex.h:45
tai : aliased int; -- /usr/include/x86_64-linux-gnu/bits/timex.h:47
field_21 : aliased int;
field_22 : aliased int;
field_23 : aliased int;
field_24 : aliased int;
field_25 : aliased int;
field_26 : aliased int;
field_27 : aliased int;
field_28 : aliased int;
field_29 : aliased int;
field_30 : aliased int;
field_31 : aliased int;
end record;
pragma Convention (C_Pass_By_Copy, timex); -- /usr/include/x86_64-linux-gnu/bits/timex.h:25
end x86_64_linux_gnu_bits_timex_h;
|
-- BinToAsc_Suite.Base64_Tests
-- Unit tests for BinToAsc
-- Copyright (c) 2015, James Humphry - see LICENSE file for details
with AUnit.Assertions;
with System.Storage_Elements;
with Ada.Assertions;
package body BinToAsc_Suite.Base64_Tests is
use AUnit.Assertions;
use System.Storage_Elements;
use RFC4648;
use type RFC4648.Codec_State;
--------------------
-- Register_Tests --
--------------------
procedure Register_Tests (T: in out Base64_Test) is
use AUnit.Test_Cases.Registration;
begin
Register_Routine (T, Check_Symmetry'Access,
"Check the Encoder and Decoder are a symmetrical pair");
Register_Routine (T, Check_Length'Access,
"Check the Encoder and Decoder handle variable-length input successfully");
Register_Routine (T, Check_Test_Vectors_To_String'Access,
"Check test vectors from RFC4648, binary -> string");
Register_Routine (T, Check_Test_Vectors_To_Bin'Access,
"Check test vectors from RFC4648, string -> binary");
Register_Routine (T, Check_Test_Vectors_Incremental_To_String'Access,
"Check test vectors from RFC4648, incrementally, binary -> string");
Register_Routine (T, Check_Test_Vectors_Incremental_To_Bin'Access,
"Check test vectors from RFC4648, incrementally, string -> binary");
Register_Routine (T, Check_Test_Vectors_By_Char_To_String'Access,
"Check test vectors from RFC4648, character-by-character, binary -> string");
Register_Routine (T, Check_Test_Vectors_By_Char_To_Bin'Access,
"Check test vectors from RFC4648, character-by-character, string -> binary");
Register_Routine (T, Check_Padding'Access,
"Check correct Base64 padding is enforced");
Register_Routine (T, Check_Junk_Rejection'Access,
"Check Base64 decoder will reject junk input");
Register_Routine (T, Check_Junk_Rejection_By_Char'Access,
"Check Base64 decoder will reject junk input (single character)");
end Register_Tests;
----------
-- Name --
----------
function Name (T : Base64_Test) return Test_String is
pragma Unreferenced (T);
begin
return Format ("Tests of Base64 codec from RFC4648");
end Name;
------------
-- Set_Up --
------------
procedure Set_Up (T : in out Base64_Test) is
begin
null;
end Set_Up;
-------------------
-- Check_Padding --
-------------------
-- These procedures cannot be nested inside Check_Padding due to access
-- level restrictions
procedure Should_Raise_Exception_Excess_Padding is
Discard : Storage_Array(1..6);
begin
Discard := RFC4648.Base64.To_Bin("Zm9vYg===");
end;
procedure Should_Raise_Exception_Insufficient_Padding is
Discard : Storage_Array(1..6);
begin
Discard := RFC4648.Base64.To_Bin("Zm9vYg=");
end;
procedure Check_Padding (T : in out Test_Cases.Test_Case'Class) is
pragma Unreferenced (T);
Base64_Decoder : RFC4648.Base64.Base64_To_Bin;
Result_Bin : Storage_Array(1..20);
Result_Length : Storage_Offset;
begin
Assert_Exception(Should_Raise_Exception_Excess_Padding'Access,
"Base64 decoder did not reject excessive padding");
Assert_Exception(Should_Raise_Exception_Insufficient_Padding'Access,
"Base64 decoder did not reject insufficient padding");
Base64_Decoder.Reset;
Base64_Decoder.Process(Input => "Zm9vYg===",
Output => Result_Bin,
Output_Length => Result_Length);
Assert(Base64_Decoder.State = Failed or Result_Length /= 0,
"Base64 decoder did not reject excessive padding");
Base64_Decoder.Reset;
Base64_Decoder.Process(Input => "Zm9vYg==",
Output => Result_Bin,
Output_Length => Result_Length);
Base64_Decoder.Process(Input => "=",
Output => Result_Bin,
Output_Length => Result_Length);
Assert(Base64_Decoder.State = Failed or Result_Length /= 0,
"Base64 decoder did not reject excessive padding when presented " &
"as a one-char string after the initial valid input");
Base64_Decoder.Reset;
Base64_Decoder.Process(Input => "Zm9vYg=",
Output => Result_Bin,
Output_Length => Result_Length);
Base64_Decoder.Process(Input => "==",
Output => Result_Bin,
Output_Length => Result_Length);
Assert(Base64_Decoder.State = Failed or Result_Length /= 0,
"Base64 decoder did not reject excessive padding when presented " &
"as a == after the initial valid but incompletely padded " &
"input");
Base64_Decoder.Reset;
Base64_Decoder.Process(Input => "Zm9vYg==",
Output => Result_Bin,
Output_Length => Result_Length);
Base64_Decoder.Process(Input => '=',
Output => Result_Bin,
Output_Length => Result_Length);
Assert(Base64_Decoder.State = Failed or Result_Length /= 0,
"Base64 decoder did not reject excessive padding when presented " &
"as a separate character after the initial valid input");
Base64_Decoder.Reset;
Base64_Decoder.Process(Input => "Zm9vYg=",
Output => Result_Bin,
Output_Length => Result_Length);
Base64_Decoder.Complete(Output => Result_Bin,
Output_Length => Result_Length);
Assert(Base64_Decoder.State = Failed or Result_Length /= 0,
"Base64 decoder did not reject inadequate padding");
Base64_Decoder.Reset;
Base64_Decoder.Process(Input => "Zm9vYg",
Output => Result_Bin,
Output_Length => Result_Length);
Base64_Decoder.Complete(Output => Result_Bin,
Output_Length => Result_Length);
Assert(Base64_Decoder.State = Failed or Result_Length /= 0,
"Base64 decoder did not reject inadequate padding");
Base64_Decoder.Reset;
Base64_Decoder.Process(Input => "Zm9v=Yg==",
Output => Result_Bin,
Output_Length => Result_Length);
Assert(Base64_Decoder.State = Failed or Result_Length /= 0,
"Base64 decoder did not reject non-padding characters appearing " &
" after the first padding Character in a single input");
Base64_Decoder.Reset;
Base64_Decoder.Process(Input => "Zm9v=",
Output => Result_Bin,
Output_Length => Result_Length);
Base64_Decoder.Process(Input => "Zm9",
Output => Result_Bin,
Output_Length => Result_Length);
Assert(Base64_Decoder.State = Failed or Result_Length /= 0,
"Base64 decoder did not reject non-padding input presented " &
" after an initial input ended with padding");
Base64_Decoder.Reset;
Base64_Decoder.Process(Input => "Zm9v=",
Output => Result_Bin,
Output_Length => Result_Length);
Base64_Decoder.Process(Input => 'C',
Output => Result_Bin,
Output_Length => Result_Length);
Assert(Base64_Decoder.State = Failed or Result_Length /= 0,
"Base64 decoder did not reject non-padding input char presented " &
" after an initial input ended with padding");
Base64_Decoder.Reset;
Base64_Decoder.Process(Input => "Zm9vYg",
Output => Result_Bin,
Output_Length => Result_Length);
Base64_Decoder.Process(Input => '=',
Output => Result_Bin,
Output_Length => Result_Length);
Base64_Decoder.Process(Input => "Zm",
Output => Result_Bin,
Output_Length => Result_Length);
Assert(Base64_Decoder.State = Failed or Result_Length /= 0,
"Base64 decoder did not reject non-padding string presented " &
" after a padding char presented on its own");
end Check_Padding;
--------------------------
-- Check_Junk_Rejection --
--------------------------
-- This procedure cannot be nested inside Check_Junk_Rejection due to access
-- level restrictions
procedure Should_Raise_Exception_From_Junk is
Discard : Storage_Array(1..6);
begin
Discard := RFC4648.Base64.To_Bin("Zm9v:mFy");
end;
procedure Check_Junk_Rejection (T : in out Test_Cases.Test_Case'Class) is
pragma Unreferenced (T);
Base64_Decoder : RFC4648.Base64.Base64_To_Bin;
Result_Bin : Storage_Array(1..20);
Result_Length : Storage_Offset;
begin
Assert_Exception(Should_Raise_Exception_From_Junk'Access,
"Base64 decoder did not reject junk input.");
Base64_Decoder.Reset;
Base64_Decoder.Process(Input => "Zm9v:mFy",
Output => Result_Bin,
Output_Length => Result_Length);
Assert(Base64_Decoder.State = Failed,
"Base64 decoder did not reject junk input.");
Assert(Result_Length = 0,
"Base64 decoder rejected junk input but did not return 0 " &
"length output.");
begin
Base64_Decoder.Process(Input => "Zm",
Output => Result_Bin,
Output_Length => Result_Length);
exception
when Ada.Assertions.Assertion_Error =>
null; -- Preconditions (if active) will not allow Process to be run
-- on a codec with state /= Ready.
end;
Assert(Base64_Decoder.State = Failed,
"Base64 decoder reset its state on valid input after junk input.");
Assert(Result_Length = 0,
"Base64 decoder rejected input after a junk input but did " &
"not return 0 length output.");
begin
Base64_Decoder.Complete(Output => Result_Bin,
Output_Length => Result_Length);
exception
when Ada.Assertions.Assertion_Error =>
null; -- Preconditions (if active) will not allow Completed to be run
-- on a codec with state /= Ready.
end;
Assert(Base64_Decoder.State = Failed,
"Base16 decoder allowed successful completion after junk input.");
Assert(Result_Length = 0,
"Base64 decoder completed after a junk input did " &
"not return 0 length output.");
end Check_Junk_Rejection;
----------------------------------
-- Check_Junk_Rejection_By_Char --
----------------------------------
procedure Check_Junk_Rejection_By_Char (T : in out Test_Cases.Test_Case'Class) is
pragma Unreferenced (T);
Base64_Decoder : RFC4648.Base64.Base64_To_Bin;
Result_Bin : Storage_Array(1..20);
Result_Length : Storage_Offset;
begin
Base64_Decoder.Reset;
Base64_Decoder.Process(Input => '@',
Output => Result_Bin,
Output_Length => Result_Length);
Assert(Base64_Decoder.State = Failed,
"Base64 decoder did not reject junk input character.");
Assert(Result_Length = 0,
"Base64 decoder rejected junk input but did not return 0 " &
"length output.");
begin
Base64_Decoder.Process(Input => '6',
Output => Result_Bin,
Output_Length => Result_Length);
exception
when Ada.Assertions.Assertion_Error =>
null; -- Preconditions (if active) will not allow Process to be run
-- on a codec with state /= Ready.
end;
Assert(Base64_Decoder.State = Failed,
"Base64 decoder reset its state on valid input after junk input " &
"character.");
Assert(Result_Length = 0,
"Base64 decoder rejected input after a junk input char but did " &
"not return 0 length output.");
begin
Base64_Decoder.Complete(Output => Result_Bin,
Output_Length => Result_Length);
exception
when Ada.Assertions.Assertion_Error =>
null; -- Preconditions (if active) will not allow Completed to be run
-- on a codec with state /= Ready.
end;
Assert(Base64_Decoder.State = Failed,
"Base64 decoder allowed successful completion after junk input " &
"char.");
Assert(Result_Length = 0,
"Base64 decoder completed after a junk input char did " &
"not return 0 length output.");
end Check_Junk_Rejection_By_Char;
end BinToAsc_Suite.Base64_Tests;
|
-- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA
--
-- All rights reserved.
--
-- 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, except as embedded into a Nordic
-- Semiconductor ASA integrated circuit in a product or a software update for
-- such product, 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 Nordic Semiconductor ASA nor the names of its
-- contributors may be used to endorse or promote products derived from this
-- software without specific prior written permission.
--
-- 4. This software, with or without modification, must only be used with a
-- Nordic Semiconductor ASA integrated circuit.
--
-- 5. Any software provided in binary form under this license must not be reverse
-- engineered, decompiled, modified and/or disassembled.
--
-- THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
-- OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-- OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
-- DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA 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 spec has been automatically generated from nrf52.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NRF_SVD.EGU is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Description collection[0]: Trigger 0 for triggering the corresponding TRIGGERED[0] event
-- Description collection[0]: Trigger 0 for triggering the corresponding
-- TRIGGERED[0] event
type TASKS_TRIGGER_Registers is array (0 .. 15) of HAL.UInt32;
-- Description collection[0]: Event number 0 generated by triggering the corresponding TRIGGER[0] task
-- Description collection[0]: Event number 0 generated by triggering the
-- corresponding TRIGGER[0] task
type EVENTS_TRIGGERED_Registers is array (0 .. 15) of HAL.UInt32;
-- Enable or disable interrupt for TRIGGERED[0] event
type INTEN_TRIGGERED0_Field is
(-- Disable
Disabled,
-- Enable
Enabled)
with Size => 1;
for INTEN_TRIGGERED0_Field use
(Disabled => 0,
Enabled => 1);
-- INTEN_TRIGGERED array
type INTEN_TRIGGERED_Field_Array is array (0 .. 15)
of INTEN_TRIGGERED0_Field
with Component_Size => 1, Size => 16;
-- Type definition for INTEN_TRIGGERED
type INTEN_TRIGGERED_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- TRIGGERED as a value
Val : HAL.UInt16;
when True =>
-- TRIGGERED as an array
Arr : INTEN_TRIGGERED_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for INTEN_TRIGGERED_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- Enable or disable interrupt
type INTEN_Register is record
-- Enable or disable interrupt for TRIGGERED[0] event
TRIGGERED : INTEN_TRIGGERED_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 INTEN_Register use record
TRIGGERED at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- Write '1' to Enable interrupt for TRIGGERED[0] event
type INTENSET_TRIGGERED0_Field is
(-- Read: Disabled
Disabled,
-- Read: Enabled
Enabled)
with Size => 1;
for INTENSET_TRIGGERED0_Field use
(Disabled => 0,
Enabled => 1);
-- Write '1' to Enable interrupt for TRIGGERED[0] event
type INTENSET_TRIGGERED0_Field_1 is
(-- Reset value for the field
Intenset_Triggered0_Field_Reset,
-- Enable
Set)
with Size => 1;
for INTENSET_TRIGGERED0_Field_1 use
(Intenset_Triggered0_Field_Reset => 0,
Set => 1);
-- INTENSET_TRIGGERED array
type INTENSET_TRIGGERED_Field_Array is array (0 .. 15)
of INTENSET_TRIGGERED0_Field_1
with Component_Size => 1, Size => 16;
-- Type definition for INTENSET_TRIGGERED
type INTENSET_TRIGGERED_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- TRIGGERED as a value
Val : HAL.UInt16;
when True =>
-- TRIGGERED as an array
Arr : INTENSET_TRIGGERED_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for INTENSET_TRIGGERED_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- Enable interrupt
type INTENSET_Register is record
-- Write '1' to Enable interrupt for TRIGGERED[0] event
TRIGGERED : INTENSET_TRIGGERED_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 INTENSET_Register use record
TRIGGERED at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- Write '1' to Disable interrupt for TRIGGERED[0] event
type INTENCLR_TRIGGERED0_Field is
(-- Read: Disabled
Disabled,
-- Read: Enabled
Enabled)
with Size => 1;
for INTENCLR_TRIGGERED0_Field use
(Disabled => 0,
Enabled => 1);
-- Write '1' to Disable interrupt for TRIGGERED[0] event
type INTENCLR_TRIGGERED0_Field_1 is
(-- Reset value for the field
Intenclr_Triggered0_Field_Reset,
-- Disable
Clear)
with Size => 1;
for INTENCLR_TRIGGERED0_Field_1 use
(Intenclr_Triggered0_Field_Reset => 0,
Clear => 1);
-- INTENCLR_TRIGGERED array
type INTENCLR_TRIGGERED_Field_Array is array (0 .. 15)
of INTENCLR_TRIGGERED0_Field_1
with Component_Size => 1, Size => 16;
-- Type definition for INTENCLR_TRIGGERED
type INTENCLR_TRIGGERED_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- TRIGGERED as a value
Val : HAL.UInt16;
when True =>
-- TRIGGERED as an array
Arr : INTENCLR_TRIGGERED_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for INTENCLR_TRIGGERED_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- Disable interrupt
type INTENCLR_Register is record
-- Write '1' to Disable interrupt for TRIGGERED[0] event
TRIGGERED : INTENCLR_TRIGGERED_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 INTENCLR_Register use record
TRIGGERED at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Event Generator Unit 0
type EGU_Peripheral is record
-- Description collection[0]: Trigger 0 for triggering the corresponding
-- TRIGGERED[0] event
TASKS_TRIGGER : aliased TASKS_TRIGGER_Registers;
-- Description collection[0]: Event number 0 generated by triggering the
-- corresponding TRIGGER[0] task
EVENTS_TRIGGERED : aliased EVENTS_TRIGGERED_Registers;
-- Enable or disable interrupt
INTEN : aliased INTEN_Register;
-- Enable interrupt
INTENSET : aliased INTENSET_Register;
-- Disable interrupt
INTENCLR : aliased INTENCLR_Register;
end record
with Volatile;
for EGU_Peripheral use record
TASKS_TRIGGER at 16#0# range 0 .. 511;
EVENTS_TRIGGERED at 16#100# range 0 .. 511;
INTEN at 16#300# range 0 .. 31;
INTENSET at 16#304# range 0 .. 31;
INTENCLR at 16#308# range 0 .. 31;
end record;
-- Event Generator Unit 0
EGU0_Periph : aliased EGU_Peripheral
with Import, Address => EGU0_Base;
-- Event Generator Unit 1
EGU1_Periph : aliased EGU_Peripheral
with Import, Address => EGU1_Base;
-- Event Generator Unit 2
EGU2_Periph : aliased EGU_Peripheral
with Import, Address => EGU2_Base;
-- Event Generator Unit 3
EGU3_Periph : aliased EGU_Peripheral
with Import, Address => EGU3_Base;
-- Event Generator Unit 4
EGU4_Periph : aliased EGU_Peripheral
with Import, Address => EGU4_Base;
-- Event Generator Unit 5
EGU5_Periph : aliased EGU_Peripheral
with Import, Address => EGU5_Base;
end NRF_SVD.EGU;
|
-- Copyright 2011-2016 Free Software Foundation, Inc.
--
-- 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/>.
package Pck is
type Word is range 0 .. 16#FFFF#;
for Word'size use 16;
procedure Call_Me (W : Word);
end Pck;
|
-- Example_Adafunctions
-- A example of using the Ada 2012 interface to Lua for functions / closures etc
-- Copyright (c) 2015, James Humphry - see LICENSE for terms
with Lua; use Lua;
package Example_AdaFunctions is
function FooBar (L : Lua_State'Class) return Natural;
function Multret (L : Lua_State'Class) return Natural;
function Closure (L : Lua_State'Class) return Natural;
end Example_AdaFunctions;
|
-- { dg-do compile }
-- { dg-options "-O2 -fdump-tree-optimized" }
with Noinline3_Pkg;
package Noinline3 is new Noinline3_Pkg (0);
-- { dg-final { scan-tree-dump-times "noinline3.inner" 2 "optimized" } }
|
with System;
with Ada.Unchecked_Conversion;
-- =============================================================================
-- Package AVR.USART
--
-- Implements Universal Asynchronous Receiver/Transmitter (UART) communication
-- for the MCU micro-controller.
-- =============================================================================
package AVR.USART is
type USART_Control_And_Register_Status_Register_A_Type is
record
MPCM : Boolean; -- Multi-processor Communication Mode
U2X : Boolean; -- Double the USART Transmission Speed
UPE : Boolean; -- USART Parity Error
DOR : Boolean; -- Data OverRun
FE : Boolean; -- Frame Error
UDRE : Boolean; -- USART Data Register Empty
TXC : Boolean; -- USART Transmit Complete
RXC : Boolean; -- USART Receive Complete
end record;
pragma Pack (USART_Control_And_Register_Status_Register_A_Type);
for USART_Control_And_Register_Status_Register_A_Type'Size use
BYTE_SIZE;
type USART_Control_And_Register_Status_Register_B_Type is
record
TXB8 : Boolean; -- Transmit Data Bit 8
RXB8 : Boolean; -- Receive Data Bit 8
UCSZ2 : Boolean; -- Character Size Bit 2
TXEN : Boolean; -- Transmitter Enable
RXEN : Boolean; -- Receiver Enable
UDRIE : Boolean; -- USART Data Register Empty Interrupt Flag
TXCIE : Boolean; -- Tx Complete Interrupt Flag
RXCIE : Boolean; -- Rx Complete Interrupt Flag
end record;
pragma Pack (USART_Control_And_Register_Status_Register_B_Type);
for USART_Control_And_Register_Status_Register_B_Type'Size use
BYTE_SIZE;
type USART_Control_And_Register_Status_Register_C_Type is
record
UCPOL : Boolean; -- Clock Polarity
UCSZ0 : Boolean; -- Character Size Bit 0
UCSZ1 : Boolean; -- Character Size Bit 1
USBS : Boolean; -- Stop Bit Select
UPM : Bit_Array_Type (0 .. 1); -- Parity Mode Bits
UMSEL : Bit_Array_Type (0 .. 1); -- Mode Select
end record;
pragma Pack (USART_Control_And_Register_Status_Register_C_Type);
for USART_Control_And_Register_Status_Register_C_Type'Size use
BYTE_SIZE;
type USART_Type is
record
UCSRA : USART_Control_And_Register_Status_Register_A_Type;
UCSRB : USART_Control_And_Register_Status_Register_B_Type;
UCSRC : USART_Control_And_Register_Status_Register_C_Type;
Spare : Spare_Type (0 .. 7);
UBRR : Byte_Array_Type (0 .. 1); -- USART Baud Rate Register L/H Bytes
UDR : Byte_Type; -- USART I/O Data Register
end record;
pragma Pack (USART_Type);
for USART_Type'Size use 7 * BYTE_SIZE;
Reg_USART0 : USART_Type;
for Reg_USART0'Address use System'To_Address (16#C0#);
#if MCU="ATMEGA2560" then
Reg_USART1 : USART_Type;
for Reg_USART1'Address use System'To_Address (16#C8#);
Reg_USART2 : USART_Type;
for Reg_USART2'Address use System'To_Address (16#D0#);
Reg_USART3 : USART_Type;
for Reg_USART3'Address use System'To_Address (16#130#);
#end if;
-- ======================
-- General Public Section
-- ======================
-- Mode of data processing
type Model_Type is
(POLLING,
INTERRUPTIVE);
-- Define the USART ports
#if MCU="ATMEGA2560" then
type Port_Type is
(USART0,
USART1,
USART2,
USART3);
#elsif MCU="ATMEGA328P" then
type Port_Type is
(USART0);
#end if;
-- Define the USART modes
type Sync_Mode_Type is
(ASYNCHRONOUS,
SYNCHRONOUS,
MASTER_SPI);
-- Define the number of bits in data communication
type Data_Bits_Type is
(BITS_5,
BITS_6,
BITS_7,
BITS_8,
BITS_9);
for Data_Bits_Type'Size use 3;
for Data_Bits_Type use
(BITS_5 => 2#000#,
BITS_6 => 2#001#,
BITS_7 => 2#010#,
BITS_8 => 2#011#,
BITS_9 => 2#111#);
-- Define the parity
type Parity_Type is
(NONE,
EVEN,
ODD);
-- Define the number of stop bits
subtype Stop_Bits_Type is Integer range 1 .. 2;
-- Define the USART type for initialization
type Setup_Type is
record
Sync_Mode : Sync_Mode_Type;
Double_Speed : Boolean;
Baud_Rate : Unsigned_32;
Data_Bits : Data_Bits_Type;
Parity : Parity_type;
Stop_Bits : Stop_Bits_Type;
Model : Model_Type;
end record;
type String_U8 is array (Unsigned_8 range <>) of Character;
-- Default for USART setup
#if MCU="ATMEGA2560" then
USART_PORT_DEFAULT : constant Port_Type := USART0;
#else
USART_PORT_DEFAULT : constant Port_Type := USART0;
#end if;
USART_SETUP_DEFAULT : constant Setup_Type :=
(Sync_Mode => ASYNCHRONOUS,
Double_Speed => True,
Baud_Rate => 9600,
Data_Bits => BITS_8,
Parity => NONE,
Stop_Bits => 1,
Model => POLLING);
-- To enable/disable write or receive for USART
type Tx_Rx_Type is
(TX,
RX);
-- To bufferize the Usart input
type Buffer_Array_Port_Type is array (Port_Type) of Byte_Type;
-- Initialize the general parameters of the USART
procedure Initialize
(In_Port : Port_Type;
In_Setup : Setup_Type);
-- =================
-- Tx Public Section
-- =================
-- Transmit data over USART
procedure Write
(In_Port : Port_Type;
In_Data : Unsigned_8);
procedure Write_Char
(In_Port : Port_Type;
In_Data : Character);
procedure Write_String_U8
(In_Port : Port_Type;
In_Data : String_U8);
procedure Write_Line
(In_Port : Port_Type;
In_Data : String_U8);
procedure New_Line
(In_Port : Port_Type);
-- =================
-- Rx Public Section
-- =================
-- Receive data from USART
function Receive
(In_Port : in Port_Type;
Out_Data : out Unsigned_8)
return Boolean;
function Receive_Char
(In_Port : in Port_Type;
Out_Data : out Character)
return Boolean;
function Receive_String_U8
(In_Port : in Port_Type;
Out_Data : out String_U8)
return Boolean;
procedure Receive_Char_Polled
(In_Port : in Port_Type := USART0;
Out_Data : out Character);
procedure Receive_Char_Polled_Until_Flag_Char
(In_Port : in AVR.USART.Port_Type;
In_Char : in Character;
Out_Data : out AVR.USART.String_U8);
function Receive_Char_Tries
(In_Port : in Port_Type := USART0;
In_Tries : in Unsigned_8;
Out_Data : out Character)
return Boolean;
procedure Handle_ISR_RXC
(In_Port : in Port_Type);
function Get_Setup
(In_Port : Port_Type)
return Setup_Type;
function To_Char is new Ada.Unchecked_Conversion
(Target => Character,
Source => Unsigned_8);
function To_Char is new Ada.Unchecked_Conversion
(Target => Character,
Source => AVR.Byte_Type);
function To_Unsigned_8 is new Ada.Unchecked_Conversion
(Target => Unsigned_8,
Source => Character);
private
-- =======================
-- General Private Section
-- =======================
-- Used to keep the information of Usart configurations
Priv_Setup : array (Port_Type) of Setup_Type;
-- ==================
-- Tx Private Section
-- ==================
-- ==================
-- Rx Private Section
-- ==================
Priv_Receive_Buffer : Buffer_Array_Port_Type := (others => 23);
Priv_Receive_Flag : array (Port_Type) of Boolean := (others => False);
end AVR.USART;
|
-- 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 . T E M P L A T E _ P A R S E R --
-- --
-- B o d y --
-- --
-- --
-- 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 --
------------------------------------------------------------------------------
with Ada.Text_IO;
with Ada.Strings.Fixed;
with GNAT.OS_Lib;
package body Ada_GUI.Gnoga.Server.Template_Parser is
Template_Directory : Ada.Strings.Unbounded.Unbounded_String :=
Ada.Strings.Unbounded.To_Unbounded_String
(Gnoga.Server.Templates_Directory);
--------------
-- Finalize --
--------------
overriding procedure Finalize (Object : in out View_Data) is
begin
Clear (Object);
end Finalize;
-------------------
-- Variable_Name --
-------------------
procedure Variable_Name (Data : in out View_Data;
Name : String)
is
begin
Data.Name := Ada.Strings.Unbounded.To_Unbounded_String (Name);
end Variable_Name;
------------
-- Insert --
------------
procedure Insert (Data : in out View_Data;
Key : String;
Value : String)
is
begin
Data.String_Values.Insert (Key, Value);
end Insert;
procedure Insert (Data : in out View_Data;
Key : String;
Value : Integer)
is
String_Value : constant String := Integer'Image (Value);
begin
Insert (Data, Key,
String_Value (String_Value'First + 1 .. String_Value'Last));
end Insert;
------------------
-- Insert_Array --
------------------
procedure Insert_Array (Data : in out View_Data;
Vector : Gnoga.Data_Array_Type)
is
begin
for I in Vector.First_Index .. Vector.Last_Index loop
declare
K : constant String := I'Img;
begin
Data.Insert (K (K'First + 1 .. K'Last), Vector.Element (I));
end;
end loop;
end Insert_Array;
-----------------------
-- Insert_Array_Item --
-----------------------
procedure Insert_Array_Item (Data : in out View_Data;
Key : String;
Vector : Gnoga.Data_Array_Type)
is
Map : Gnoga.Data_Map_Type;
begin
for I in Vector.First_Index .. Vector.Last_Index loop
declare
K : constant String := I'Img;
begin
Map.Insert (K (K'First + 1 .. K'Last), Vector.Element (I));
end;
end loop;
Data.Insert_Map_Item (Key, Map);
end Insert_Array_Item;
----------------
-- Insert_Map --
----------------
procedure Insert_Map (Data : in out View_Data;
Map : Gnoga.Data_Map_Type)
is
procedure foreach (Cursor : Gnoga.Data_Maps.Cursor);
-- Iterate through required members
procedure foreach (Cursor : Gnoga.Data_Maps.Cursor) is
begin
Data.Insert (Gnoga.Data_Maps.Key (Cursor),
Gnoga.Data_Maps.Element (Cursor));
end foreach;
begin
Map.Iterate (foreach'Access);
end Insert_Map;
---------------------
-- Insert_Map_Item --
---------------------
procedure Insert_Map_Item (Data : in out View_Data;
Key : String;
Map : Gnoga.Data_Map_Type)
is
begin
Data.Map_Values.Insert (Key, Map);
end Insert_Map_Item;
----------------------
-- Insert_Recordset --
----------------------
procedure Insert_Recordset
(Data : in out View_Data;
RS : in out Gnoga.Server.Database.Recordset'Class)
is
I : Integer := 1;
begin
while RS.Next loop
declare
Key : constant String := I'Img;
begin
I := I + 1;
Data.Insert_Map_Item
(Key (Key'First + 1 .. Key'Last), RS.Field_Values);
end;
end loop;
end Insert_Recordset;
-------------------
-- Insert_Record --
-------------------
procedure Insert_Record_Item (Data : in out View_Data;
Key : String;
Row : Gnoga.Server.Model.Active_Record'Class)
is
begin
Data.Insert_Map_Item (Key, Row.Values);
end Insert_Record_Item;
----------------
-- Inser_Rows --
----------------
procedure Insert_Rows
(Data : in out View_Data;
Row : Gnoga.Server.Model.Queries.Active_Record_Array.Vector)
is
begin
for I in 1 .. Natural (Row.Length) loop
declare
Key : constant String := I'Img;
begin
Data.Insert_Record_Item (Key => Key (Key'First + 1 .. Key'Last),
Row => Row.Element (I));
end;
end loop;
end Insert_Rows;
-------------------
-- Insert_Query --
-------------------
procedure Insert_Query (Data : in out View_Data;
C : Gnoga.Server.Database.Connection'Class;
Query : String)
is
RS : Gnoga.Server.Database.Recordset'Class := C.Query (Query);
begin
Insert_Recordset (Data, RS);
end Insert_Query;
-----------
-- Clear --
-----------
procedure Clear (Data : in out View_Data) is
begin
Data.String_Values.Clear;
Data.Map_Values.Clear;
end Clear;
----------------
-- Parse_Name --
----------------
function Parse_Name (Name : String) return String is
use Ada.Strings.Fixed;
Templates_Dir : constant String :=
Ada.Strings.Unbounded.To_String (Template_Directory);
begin
if Index (Name, ":") > 0 or
Name (Name'First) = GNAT.OS_Lib.Directory_Separator
then
return Name;
end if;
if Templates_Dir = "" then
return Name;
else
return Templates_Dir & GNAT.OS_Lib.Directory_Separator & Name;
end if;
end Parse_Name;
----------------------------
-- Set_Template_Directory --
----------------------------
procedure Set_Template_Directory (Directory : String) is
begin
Template_Directory :=
Ada.Strings.Unbounded.To_Unbounded_String (Directory);
end Set_Template_Directory;
-----------------------
-- Add_Error_Message --
-----------------------
procedure Add_Error_Message (Message : String) is
begin
Error_Queue.Append (Message);
end Add_Error_Message;
-----------------------
-- Clear_Error_Queue --
-----------------------
procedure Clear_Error_Queue is
begin
Error_Queue.Clear;
end Clear_Error_Queue;
----------------------
-- Add_Info_Message --
----------------------
procedure Add_Info_Message (Message : String) is
begin
Info_Queue.Append (Message);
end Add_Info_Message;
----------------------
-- Clear_Info_Queue --
----------------------
procedure Clear_Info_Queue is
begin
Info_Queue.Clear;
end Clear_Info_Queue;
--------------------------
-- Write_String_To_File --
--------------------------
procedure Write_String_To_File (File_Name : String; Value : String) is
use Ada.Text_IO;
F : File_Type;
begin
Create (File => F,
Mode => Out_File,
Name => File_Name);
Put (F, Value);
Close (F);
end Write_String_To_File;
end Ada_GUI.Gnoga.Server.Template_Parser;
|
-----------------------------------------------------------------------
-- log.tests -- Unit tests for loggers
-- Copyright (C) 2009, 2010, 2011, 2015 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.Tests;
package Util.Log.Tests is
procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite);
type Test is new Util.Tests.Test with null record;
procedure Test_Log_Perf (T : in out Test);
procedure Test_Log (T : in out Test);
procedure Test_File_Appender (T : in out Test);
procedure Test_List_Appender (T : in out Test);
-- Test file appender with different modes.
procedure Test_File_Appender_Modes (T : in out Test);
end Util.Log.Tests;
|
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Numerics.Discrete_Random;
--with Ada.Task_Identification;
--use Ada;
procedure Task_Type is
subtype Player_Id_Type is Natural range 0 .. 100;
task type Player is
entry Punch (P : in Positive);
entry Stamina (S : in Integer);
entry Pass;
entry Get_Id (Id : out Player_Id_Type);
entry Get_Stamina (S : out Integer);
entry Quit;
end Player;
Players : array (Positive range 1 .. 10) of Player;
subtype Player_Index is Positive range Players'First .. Players'Last;
task body Player is
Personal_Id : Integer;
package R is new Ada.Numerics.Discrete_Random (Player_Id_Type);
G : R.Generator;
My_Stamina : Integer := 80;
Delay_Count : Natural := 0;
begin
R.Reset (G);
Personal_Id := R.Random (G);
Put ("Player "); Put (Personal_Id);
Put_Line (" is born!");
loop
select
accept Get_Stamina (S : out Integer) do
S := My_Stamina;
end Get_Stamina;
or
accept Punch (P : in Positive) do
Put ("Player "); Put (Personal_Id);
Put (" punches ");
declare
Punched_Id : Player_Id_Type;
begin
select
Players (P).Get_Id (Punched_Id);
Put (Punched_Id); New_Line;
or
delay 1.0;
Put ("> unknown < (goes by the idx of ");
Put (P); Put_Line (")");
end select;
end;
select
Players (P).Stamina (-40);
My_Stamina := My_Stamina - 5;
or
delay 1.0;
end select;
My_Stamina := My_Stamina - 20;
end Punch;
or
accept Stamina (S : in Integer) do
My_Stamina := My_Stamina + S;
end Stamina;
or
accept Pass do
if My_Stamina < 0 then
My_Stamina := My_Stamina + 3;
end if;
end Pass;
or
accept Get_Id (Id : out Player_Id_Type) do
Id := Personal_Id;
end Get_Id;
or
delay 2.5;
if Delay_Count > 5 then
Delay_Count := 0;
My_Stamina := My_Stamina / 2;
end if;
Delay_Count := Delay_Count + 1;
Put ("Player "); Put (Personal_Id);
Put (" STAMINA "); Put (My_Stamina);
New_Line;
if My_Stamina < 30 then
select
accept Quit;
Put ("Player "); Put (Personal_Id);
Put_Line (" QUITS");
exit;
or
delay 1.0;
Put_Line ("No quit request within 1 sec");
end select;
end if;
end select;
if My_Stamina < 11 then
Put_Line ("^^^^^ Spontaneous death ^^^^^^");
exit;
end if;
end loop;
end Player;
type Action_Type is (Punch_Someone, Peace, Check_Turn);
package RP is new Ada.Numerics.Discrete_Random (Player_Index);
package RA is new Ada.Numerics.Discrete_Random (Action_Type);
Player_Gen : RP.Generator;
I, J : Player_Index;
Num_Of_Alive_Players : Natural;
Action_Gen : RA.Generator;
Action : Action_Type;
begin
RP.Reset (Player_Gen);
RA.Reset (Action_Gen);
loop
Num_Of_Alive_Players := 0;
for P of Players loop
if not P'Terminated then
Num_Of_Alive_Players := Num_Of_Alive_Players + 1;
end if;
end loop;
Put ("ALIVE PLAYERS "); Put (Num_Of_Alive_Players); New_Line;
exit when Num_Of_Alive_Players < 3;
I := RP.Random (Player_Gen);
if not Players (I)'Terminated then
Action := RA.Random (Action_Gen);
Put_Line (Action_Type'Image (Action));
case Action is
when Punch_Someone =>
J := RP.Random (Player_Gen);
if I /= J then
select -- do not hang on punch
delay 1.0;
Put_Line ("Not punched!");
then abort
Players (I).Punch (J);
end select;
end if;
when Peace =>
select -- do not hang on pass
delay 1.0;
Put_Line ("No passed!");
then abort
Players (I).Pass;
end select;
when Check_Turn =>
declare
Stamina : Integer;
begin
select
delay 1.0;
Put ("WHAT Stamina "); Put (I); New_Line;
then abort
Players (I).Get_Stamina (Stamina);
if Stamina < 30 then
select
delay 0.4;
then abort
Players (I).Quit;
end select;
end if;
end select;
end;
end case;
delay 0.5;
Put_Line ("*** ANOTHER ROUND ***");
end if;
end loop;
Put_Line ("===================");
for P of Players loop
if not P'Terminated then
declare
P_Id : Player_Id_Type;
begin
P.Get_Id (P_Id);
Put ("##### PLAYER "); Put (P_Id); Put_Line (" #####");
P.Quit;
end;
end if;
end loop;
end;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- S Y S T E M . P A R T I T I O N _ I N T E R F A C E --
-- --
-- B o d y --
-- (Dummy body for non-distributed case) --
-- --
-- $Revision$
-- --
-- Copyright (C) 1995-2000 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, 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. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
package body System.Partition_Interface is
M : constant := 7;
type String_Access is access String;
-- To have a minimal implementation of U'Partition_ID.
type Pkg_Node;
type Pkg_List is access Pkg_Node;
type Pkg_Node is record
Name : String_Access;
Next : Pkg_List;
end record;
Pkg_Head : Pkg_List;
Pkg_Tail : Pkg_List;
function getpid return Integer;
pragma Import (C, getpid);
PID : constant Integer := getpid;
function Lower (S : String) return String;
Passive_Prefix : constant String := "SP__";
-- String prepended in top of shared passive packages
procedure Check
(Name : in Unit_Name;
Version : in String;
RCI : in Boolean := True)
is
begin
null;
end Check;
-----------------------------
-- Get_Active_Partition_Id --
-----------------------------
function Get_Active_Partition_ID
(Name : Unit_Name)
return System.RPC.Partition_ID
is
P : Pkg_List := Pkg_Head;
N : String := Lower (Name);
begin
while P /= null loop
if P.Name.all = N then
return Get_Local_Partition_ID;
end if;
P := P.Next;
end loop;
return M;
end Get_Active_Partition_ID;
------------------------
-- Get_Active_Version --
------------------------
function Get_Active_Version
(Name : Unit_Name)
return String
is
begin
return "";
end Get_Active_Version;
----------------------------
-- Get_Local_Partition_Id --
----------------------------
function Get_Local_Partition_ID return System.RPC.Partition_ID is
begin
return System.RPC.Partition_ID (PID mod M);
end Get_Local_Partition_ID;
------------------------------
-- Get_Passive_Partition_ID --
------------------------------
function Get_Passive_Partition_ID
(Name : Unit_Name)
return System.RPC.Partition_ID
is
begin
return Get_Local_Partition_ID;
end Get_Passive_Partition_ID;
-------------------------
-- Get_Passive_Version --
-------------------------
function Get_Passive_Version
(Name : Unit_Name)
return String
is
begin
return "";
end Get_Passive_Version;
------------------------------
-- Get_RCI_Package_Receiver --
------------------------------
function Get_RCI_Package_Receiver
(Name : Unit_Name)
return Interfaces.Unsigned_64
is
begin
return 0;
end Get_RCI_Package_Receiver;
-------------------------------
-- Get_Unique_Remote_Pointer --
-------------------------------
procedure Get_Unique_Remote_Pointer
(Handler : in out RACW_Stub_Type_Access)
is
begin
null;
end Get_Unique_Remote_Pointer;
------------
-- Launch --
------------
procedure Launch
(Rsh_Command : in String;
Name_Is_Host : in Boolean;
General_Name : in String;
Command_Line : in String)
is
begin
null;
end Launch;
-----------
-- Lower --
-----------
function Lower (S : String) return String is
T : String := S;
begin
for J in T'Range loop
if T (J) in 'A' .. 'Z' then
T (J) := Character'Val (Character'Pos (T (J)) -
Character'Pos ('A') +
Character'Pos ('a'));
end if;
end loop;
return T;
end Lower;
------------------------------------
-- Raise_Program_Error_For_E_4_18 --
------------------------------------
procedure Raise_Program_Error_For_E_4_18 is
begin
Ada.Exceptions.Raise_Exception
(Program_Error'Identity,
"Illegal usage of remote access to class-wide type. See RM E.4(18)");
end Raise_Program_Error_For_E_4_18;
-------------------------------------
-- Raise_Program_Error_Unknown_Tag --
-------------------------------------
procedure Raise_Program_Error_Unknown_Tag
(E : in Ada.Exceptions.Exception_Occurrence)
is
begin
Ada.Exceptions.Raise_Exception
(Program_Error'Identity, Ada.Exceptions.Exception_Message (E));
end Raise_Program_Error_Unknown_Tag;
--------------
-- RCI_Info --
--------------
package body RCI_Info is
-----------------------------
-- Get_Active_Partition_ID --
-----------------------------
function Get_Active_Partition_ID return System.RPC.Partition_ID is
P : Pkg_List := Pkg_Head;
N : String := Lower (RCI_Name);
begin
while P /= null loop
if P.Name.all = N then
return Get_Local_Partition_ID;
end if;
P := P.Next;
end loop;
return M;
end Get_Active_Partition_ID;
------------------------------
-- Get_RCI_Package_Receiver --
------------------------------
function Get_RCI_Package_Receiver return Interfaces.Unsigned_64 is
begin
return 0;
end Get_RCI_Package_Receiver;
end RCI_Info;
------------------------------
-- Register_Passive_Package --
------------------------------
procedure Register_Passive_Package
(Name : in Unit_Name;
Version : in String := "")
is
begin
Register_Receiving_Stub (Passive_Prefix & Name, null, Version);
end Register_Passive_Package;
-----------------------------
-- Register_Receiving_Stub --
-----------------------------
procedure Register_Receiving_Stub
(Name : in Unit_Name;
Receiver : in RPC.RPC_Receiver;
Version : in String := "")
is
begin
if Pkg_Tail = null then
Pkg_Head := new Pkg_Node'(new String'(Lower (Name)), null);
Pkg_Tail := Pkg_Head;
else
Pkg_Tail.Next := new Pkg_Node'(new String'(Lower (Name)), null);
Pkg_Tail := Pkg_Tail.Next;
end if;
end Register_Receiving_Stub;
---------
-- Run --
---------
procedure Run
(Main : in Main_Subprogram_Type := null)
is
begin
if Main /= null then
Main.all;
end if;
end Run;
end System.Partition_Interface;
|
------------------------------------------------------------------------------
-- --
-- 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$
------------------------------------------------------------------------------
-- This file is generated, don't edit it.
------------------------------------------------------------------------------
package AMF.Internals.Tables.Utp_Metamodel.Links is
procedure Initialize;
private
procedure Initialize_1;
procedure Initialize_2;
procedure Initialize_3;
procedure Initialize_4;
procedure Initialize_5;
procedure Initialize_6;
procedure Initialize_7;
procedure Initialize_8;
procedure Initialize_9;
procedure Initialize_10;
procedure Initialize_11;
procedure Initialize_12;
procedure Initialize_13;
procedure Initialize_14;
procedure Initialize_15;
procedure Initialize_16;
procedure Initialize_17;
procedure Initialize_18;
procedure Initialize_19;
procedure Initialize_20;
procedure Initialize_21;
procedure Initialize_22;
procedure Initialize_23;
procedure Initialize_24;
procedure Initialize_25;
procedure Initialize_26;
procedure Initialize_27;
procedure Initialize_28;
procedure Initialize_29;
procedure Initialize_30;
procedure Initialize_31;
procedure Initialize_32;
procedure Initialize_33;
procedure Initialize_34;
procedure Initialize_35;
procedure Initialize_36;
procedure Initialize_37;
procedure Initialize_38;
procedure Initialize_39;
procedure Initialize_40;
procedure Initialize_41;
procedure Initialize_42;
procedure Initialize_43;
procedure Initialize_44;
procedure Initialize_45;
procedure Initialize_46;
procedure Initialize_47;
procedure Initialize_48;
procedure Initialize_49;
procedure Initialize_50;
procedure Initialize_51;
procedure Initialize_52;
procedure Initialize_53;
procedure Initialize_54;
procedure Initialize_55;
procedure Initialize_56;
procedure Initialize_57;
procedure Initialize_58;
procedure Initialize_59;
procedure Initialize_60;
procedure Initialize_61;
procedure Initialize_62;
procedure Initialize_63;
procedure Initialize_64;
procedure Initialize_65;
procedure Initialize_66;
procedure Initialize_67;
procedure Initialize_68;
procedure Initialize_69;
procedure Initialize_70;
procedure Initialize_71;
procedure Initialize_72;
procedure Initialize_73;
procedure Initialize_74;
procedure Initialize_75;
procedure Initialize_76;
procedure Initialize_77;
procedure Initialize_78;
procedure Initialize_79;
procedure Initialize_80;
procedure Initialize_81;
procedure Initialize_82;
procedure Initialize_83;
procedure Initialize_84;
procedure Initialize_85;
procedure Initialize_86;
procedure Initialize_87;
procedure Initialize_88;
procedure Initialize_89;
procedure Initialize_90;
procedure Initialize_91;
procedure Initialize_92;
procedure Initialize_93;
procedure Initialize_94;
procedure Initialize_95;
procedure Initialize_96;
procedure Initialize_97;
procedure Initialize_98;
procedure Initialize_99;
procedure Initialize_100;
procedure Initialize_101;
procedure Initialize_102;
procedure Initialize_103;
procedure Initialize_104;
procedure Initialize_105;
procedure Initialize_106;
procedure Initialize_107;
procedure Initialize_108;
procedure Initialize_109;
procedure Initialize_110;
procedure Initialize_111;
procedure Initialize_112;
procedure Initialize_113;
procedure Initialize_114;
procedure Initialize_115;
procedure Initialize_116;
procedure Initialize_117;
procedure Initialize_118;
procedure Initialize_119;
procedure Initialize_120;
procedure Initialize_121;
procedure Initialize_122;
procedure Initialize_123;
procedure Initialize_124;
procedure Initialize_125;
procedure Initialize_126;
procedure Initialize_127;
procedure Initialize_128;
procedure Initialize_129;
procedure Initialize_130;
procedure Initialize_131;
procedure Initialize_132;
procedure Initialize_133;
procedure Initialize_134;
procedure Initialize_135;
procedure Initialize_136;
procedure Initialize_137;
procedure Initialize_138;
procedure Initialize_139;
procedure Initialize_140;
procedure Initialize_141;
procedure Initialize_142;
procedure Initialize_143;
procedure Initialize_144;
procedure Initialize_145;
procedure Initialize_146;
procedure Initialize_147;
procedure Initialize_148;
procedure Initialize_149;
procedure Initialize_150;
procedure Initialize_151;
procedure Initialize_152;
procedure Initialize_153;
procedure Initialize_154;
procedure Initialize_155;
procedure Initialize_156;
procedure Initialize_157;
procedure Initialize_158;
procedure Initialize_159;
procedure Initialize_160;
procedure Initialize_161;
procedure Initialize_162;
procedure Initialize_163;
procedure Initialize_164;
procedure Initialize_165;
procedure Initialize_166;
procedure Initialize_167;
procedure Initialize_168;
procedure Initialize_169;
procedure Initialize_170;
procedure Initialize_171;
procedure Initialize_172;
end AMF.Internals.Tables.Utp_Metamodel.Links;
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="15">
<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>generic_tanh_double_s</name>
<ret_bitwidth>64</ret_bitwidth>
<ports class_id="2" tracking_level="0" version="0">
<count>1</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>t_in</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>t_in</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<direction>0</direction>
<if_type>0</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>
</ports>
<nodes class_id="8" tracking_level="0" version="0">
<count>63</count>
<item_version>0</item_version>
<item class_id="9" tracking_level="1" version="0" object_id="_2">
<Value>
<Obj>
<type>0</type>
<id>5</id>
<name>t_in_read</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>56</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item class_id="10" tracking_level="0" version="0">
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</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>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>56</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>t_in</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>83</item>
<item>84</item>
</oprand_edges>
<opcode>read</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>1</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_3">
<Value>
<Obj>
<type>0</type>
<id>6</id>
<name>p_Val2_s</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>475</lineNumber>
<contextFuncName>fp_struct</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>60</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>fp_struct</second>
</first>
<second>475</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>val</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>85</item>
</oprand_edges>
<opcode>bitcast</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>2</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_4">
<Value>
<Obj>
<type>0</type>
<id>7</id>
<name>p_Result_s</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>475</lineNumber>
<contextFuncName>fp_struct</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>60</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>fp_struct</second>
</first>
<second>475</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>__Result__</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>87</item>
<item>88</item>
<item>90</item>
</oprand_edges>
<opcode>bitselect</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>3</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_5">
<Value>
<Obj>
<type>0</type>
<id>8</id>
<name>tmp_V</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>477</lineNumber>
<contextFuncName>fp_struct</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>60</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>fp_struct</second>
</first>
<second>477</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>92</item>
<item>93</item>
<item>95</item>
<item>97</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>4</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_6">
<Value>
<Obj>
<type>0</type>
<id>9</id>
<name>tmp_V_1</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>478</lineNumber>
<contextFuncName>fp_struct</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>60</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>fp_struct</second>
</first>
<second>478</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>52</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>98</item>
</oprand_edges>
<opcode>trunc</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>5</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_7">
<Value>
<Obj>
<type>0</type>
<id>10</id>
<name>tmp_38</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>495</lineNumber>
<contextFuncName>data</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>6</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint/hls_copysign.h</first>
<second>generic_copysign&lt;double&gt;</second>
</first>
<second>13</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint/hls_fabs.h</first>
<second>generic_fabs&lt;double&gt;</second>
</first>
<second>12</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>61</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>data</second>
</first>
<second>495</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>to_double</second>
</first>
<second>512</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>to_ieee</second>
</first>
<second>526</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>63</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>99</item>
</oprand_edges>
<opcode>trunc</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>6</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_8">
<Value>
<Obj>
<type>0</type>
<id>11</id>
<name>p_Result_12</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>495</lineNumber>
<contextFuncName>data</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>6</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint/hls_copysign.h</first>
<second>generic_copysign&lt;double&gt;</second>
</first>
<second>13</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint/hls_fabs.h</first>
<second>generic_fabs&lt;double&gt;</second>
</first>
<second>12</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>61</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>data</second>
</first>
<second>495</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>to_double</second>
</first>
<second>512</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>to_ieee</second>
</first>
<second>526</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>__Result__</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>101</item>
<item>103</item>
<item>104</item>
</oprand_edges>
<opcode>bitconcatenate</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>7</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_9">
<Value>
<Obj>
<type>0</type>
<id>12</id>
<name>abst_in</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>512</lineNumber>
<contextFuncName>to_double</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>5</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint/hls_copysign.h</first>
<second>generic_copysign&lt;double&gt;</second>
</first>
<second>13</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint/hls_fabs.h</first>
<second>generic_fabs&lt;double&gt;</second>
</first>
<second>12</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>61</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>to_double</second>
</first>
<second>512</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>to_ieee</second>
</first>
<second>526</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>abst_in</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>105</item>
</oprand_edges>
<opcode>bitcast</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>8</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_10">
<Value>
<Obj>
<type>0</type>
<id>13</id>
<name>tmp</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>64</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>64</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>106</item>
<item>108</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.88</m_delay>
<m_topoIndex>9</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_11">
<Value>
<Obj>
<type>0</type>
<id>14</id>
<name></name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>64</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>64</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>109</item>
<item>110</item>
<item>111</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>10</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_12">
<Value>
<Obj>
<type>0</type>
<id>16</id>
<name>tmp_3</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>73</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>73</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>121</item>
<item>123</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.88</m_delay>
<m_topoIndex>11</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_13">
<Value>
<Obj>
<type>0</type>
<id>17</id>
<name></name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>73</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>73</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>124</item>
<item>125</item>
<item>126</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>12</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_14">
<Value>
<Obj>
<type>0</type>
<id>19</id>
<name>tmp_4</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>74</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>74</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>127</item>
<item>128</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.88</m_delay>
<m_topoIndex>13</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_15">
<Value>
<Obj>
<type>0</type>
<id>20</id>
<name>tmp_5</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>74</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>74</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>129</item>
<item>130</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>2.89</m_delay>
<m_topoIndex>14</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_16">
<Value>
<Obj>
<type>0</type>
<id>21</id>
<name>or_cond</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>74</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>74</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>131</item>
<item>132</item>
</oprand_edges>
<opcode>and</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.97</m_delay>
<m_topoIndex>15</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_17">
<Value>
<Obj>
<type>0</type>
<id>22</id>
<name></name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>74</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>74</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>133</item>
<item>134</item>
<item>135</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>16</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_18">
<Value>
<Obj>
<type>0</type>
<id>24</id>
<name>tmp_7</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>79</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>141</item>
<item>143</item>
</oprand_edges>
<opcode>dcmp</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>6.82</m_delay>
<m_topoIndex>17</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_19">
<Value>
<Obj>
<type>0</type>
<id>25</id>
<name></name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>79</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>79</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>144</item>
<item>145</item>
<item>146</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.90</m_delay>
<m_topoIndex>18</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_20">
<Value>
<Obj>
<type>0</type>
<id>27</id>
<name>tmp_8</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>82</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>82</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>147</item>
<item>149</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.88</m_delay>
<m_topoIndex>19</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_21">
<Value>
<Obj>
<type>0</type>
<id>28</id>
<name>tmp_99_neg</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>83</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>83</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>150</item>
<item>152</item>
</oprand_edges>
<opcode>xor</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.99</m_delay>
<m_topoIndex>20</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_22">
<Value>
<Obj>
<type>0</type>
<id>29</id>
<name>tmp_9</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>83</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>83</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>153</item>
</oprand_edges>
<opcode>bitcast</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>24</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_23">
<Value>
<Obj>
<type>0</type>
<id>30</id>
<name>x</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>83</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>83</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>x</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>154</item>
<item>155</item>
</oprand_edges>
<opcode>dsub</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>8.23</m_delay>
<m_topoIndex>25</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_24">
<Value>
<Obj>
<type>0</type>
<id>31</id>
<name>x_1</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>86</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>86</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>x</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>156</item>
<item>157</item>
</oprand_edges>
<opcode>dadd</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>8.23</m_delay>
<m_topoIndex>21</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_25">
<Value>
<Obj>
<type>0</type>
<id>32</id>
<name>x_2</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>86</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>86</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>x</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>158</item>
<item>159</item>
<item>160</item>
</oprand_edges>
<opcode>select</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.48</m_delay>
<m_topoIndex>27</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_26">
<Value>
<Obj>
<type>0</type>
<id>33</id>
<name>p_Val2_3</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>475</lineNumber>
<contextFuncName>fp_struct</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>7</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>fp_struct</second>
</first>
<second>475</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>val</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>161</item>
</oprand_edges>
<opcode>bitcast</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>28</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_27">
<Value>
<Obj>
<type>0</type>
<id>34</id>
<name>p_Result_11</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>475</lineNumber>
<contextFuncName>fp_struct</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>7</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>fp_struct</second>
</first>
<second>475</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>__Result__</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>162</item>
<item>163</item>
<item>164</item>
</oprand_edges>
<opcode>bitselect</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>29</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_28">
<Value>
<Obj>
<type>0</type>
<id>35</id>
<name>tmp_V_2</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>477</lineNumber>
<contextFuncName>fp_struct</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>3</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>7</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>fp_struct</second>
</first>
<second>477</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>tmp.V</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>11</bitwidth>
</Value>
<oprand_edges>
<count>4</count>
<item_version>0</item_version>
<item>165</item>
<item>166</item>
<item>167</item>
<item>168</item>
</oprand_edges>
<opcode>partselect</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>30</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_29">
<Value>
<Obj>
<type>0</type>
<id>36</id>
<name></name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>8</lineNumber>
<contextFuncName>expm1</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>8</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>169</item>
<item>170</item>
<item>171</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>31</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_30">
<Value>
<Obj>
<type>0</type>
<id>38</id>
<name>tmp_i_59</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>9</lineNumber>
<contextFuncName>expm1</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>9</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>183</item>
<item>185</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.88</m_delay>
<m_topoIndex>32</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_31">
<Value>
<Obj>
<type>0</type>
<id>39</id>
<name>tmp_16_i</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>9</lineNumber>
<contextFuncName>expm1</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>9</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>186</item>
<item>187</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.88</m_delay>
<m_topoIndex>33</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_32">
<Value>
<Obj>
<type>0</type>
<id>40</id>
<name>or_cond1_i</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>9</lineNumber>
<contextFuncName>expm1</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>9</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>188</item>
<item>189</item>
</oprand_edges>
<opcode>or</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.97</m_delay>
<m_topoIndex>34</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_33">
<Value>
<Obj>
<type>0</type>
<id>41</id>
<name></name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>9</lineNumber>
<contextFuncName>expm1</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>9</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>190</item>
<item>191</item>
<item>192</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.76</m_delay>
<m_topoIndex>35</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_34">
<Value>
<Obj>
<type>0</type>
<id>43</id>
<name>tmp_i</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>8</lineNumber>
<contextFuncName>expm1</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>8</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>172</item>
<item>174</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.88</m_delay>
<m_topoIndex>36</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_35">
<Value>
<Obj>
<type>0</type>
<id>44</id>
<name>tmp_15_i</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>8</lineNumber>
<contextFuncName>expm1</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>8</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>175</item>
<item>177</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.88</m_delay>
<m_topoIndex>37</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_36">
<Value>
<Obj>
<type>0</type>
<id>45</id>
<name>or_cond_i</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>8</lineNumber>
<contextFuncName>expm1</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>8</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>178</item>
<item>179</item>
</oprand_edges>
<opcode>or</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.97</m_delay>
<m_topoIndex>38</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_37">
<Value>
<Obj>
<type>0</type>
<id>46</id>
<name></name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>8</lineNumber>
<contextFuncName>expm1</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>8</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>180</item>
<item>181</item>
<item>182</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.76</m_delay>
<m_topoIndex>39</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_38">
<Value>
<Obj>
<type>0</type>
<id>48</id>
<name>tmp_17_i</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>10</lineNumber>
<contextFuncName>expm1</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>10</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>5</count>
<item_version>0</item_version>
<item>194</item>
<item>195</item>
<item>244</item>
<item>245</item>
<item>246</item>
</oprand_edges>
<opcode>call</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>4.21</m_delay>
<m_topoIndex>41</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_39">
<Value>
<Obj>
<type>0</type>
<id>49</id>
<name>tmp_18_i</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>10</lineNumber>
<contextFuncName>expm1</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>10</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>196</item>
<item>198</item>
</oprand_edges>
<opcode>dadd</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>8.23</m_delay>
<m_topoIndex>42</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_40">
<Value>
<Obj>
<type>0</type>
<id>50</id>
<name></name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>10</lineNumber>
<contextFuncName>expm1</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>89</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/src/common/hls_exp_double.cpp</first>
<second>expm1</second>
</first>
<second>10</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>199</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.76</m_delay>
<m_topoIndex>43</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_41">
<Value>
<Obj>
<type>0</type>
<id>52</id>
<name>expx</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>x</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>6</count>
<item_version>0</item_version>
<item>200</item>
<item>201</item>
<item>202</item>
<item>203</item>
<item>204</item>
<item>205</item>
</oprand_edges>
<opcode>phi</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>44</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_42">
<Value>
<Obj>
<type>0</type>
<id>53</id>
<name></name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>91</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>91</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>206</item>
<item>207</item>
<item>208</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>40</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_43">
<Value>
<Obj>
<type>0</type>
<id>55</id>
<name>tmp_12</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>99</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>99</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>219</item>
<item>220</item>
</oprand_edges>
<opcode>dadd</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>8.23</m_delay>
<m_topoIndex>45</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_44">
<Value>
<Obj>
<type>0</type>
<id>56</id>
<name>tmp_13</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>99</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>99</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>221</item>
<item>222</item>
</oprand_edges>
<opcode>ddiv</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>8.62</m_delay>
<m_topoIndex>49</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_45">
<Value>
<Obj>
<type>0</type>
<id>57</id>
<name>resultf_2</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>99</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>99</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>resultf</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>223</item>
<item>224</item>
</oprand_edges>
<opcode>dsub</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>8.23</m_delay>
<m_topoIndex>52</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_46">
<Value>
<Obj>
<type>0</type>
<id>58</id>
<name></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>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>225</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.90</m_delay>
<m_topoIndex>57</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_47">
<Value>
<Obj>
<type>0</type>
<id>60</id>
<name>tmp_100_to_int</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>94</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>94</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>209</item>
</oprand_edges>
<opcode>bitcast</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>47</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_48">
<Value>
<Obj>
<type>0</type>
<id>61</id>
<name>tmp_100_neg</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>94</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>94</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>210</item>
<item>211</item>
</oprand_edges>
<opcode>xor</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.99</m_delay>
<m_topoIndex>48</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_49">
<Value>
<Obj>
<type>0</type>
<id>62</id>
<name>tmp_10</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>94</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>94</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>212</item>
</oprand_edges>
<opcode>bitcast</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>50</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_50">
<Value>
<Obj>
<type>0</type>
<id>63</id>
<name>tmp_11</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>94</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>94</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>213</item>
<item>215</item>
</oprand_edges>
<opcode>dadd</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>8.23</m_delay>
<m_topoIndex>46</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_51">
<Value>
<Obj>
<type>0</type>
<id>64</id>
<name>resultf_1</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>94</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>94</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>resultf</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>216</item>
<item>217</item>
</oprand_edges>
<opcode>ddiv</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>8.62</m_delay>
<m_topoIndex>51</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_52">
<Value>
<Obj>
<type>0</type>
<id>65</id>
<name></name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>95</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>95</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>218</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.90</m_delay>
<m_topoIndex>53</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_53">
<Value>
<Obj>
<type>0</type>
<id>67</id>
<name>tmp_6</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>77</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>77</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>136</item>
<item>137</item>
</oprand_edges>
<opcode>dadd</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>8.23</m_delay>
<m_topoIndex>22</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_54">
<Value>
<Obj>
<type>0</type>
<id>68</id>
<name>resultf</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>77</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>77</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName>resultf</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>138</item>
<item>139</item>
</oprand_edges>
<opcode>dmul</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>7.78</m_delay>
<m_topoIndex>26</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_55">
<Value>
<Obj>
<type>0</type>
<id>69</id>
<name></name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>78</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>78</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>140</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.90</m_delay>
<m_topoIndex>54</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_56">
<Value>
<Obj>
<type>0</type>
<id>71</id>
<name>tmp_s</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>66</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>66</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>1</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>112</item>
<item>114</item>
</oprand_edges>
<opcode>icmp</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>2.89</m_delay>
<m_topoIndex>23</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_57">
<Value>
<Obj>
<type>0</type>
<id>72</id>
<name>p_1</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>66</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>66</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>115</item>
<item>117</item>
<item>119</item>
</oprand_edges>
<opcode>select</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.48</m_delay>
<m_topoIndex>55</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_58">
<Value>
<Obj>
<type>0</type>
<id>73</id>
<name></name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>66</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>66</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>120</item>
</oprand_edges>
<opcode>br</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.90</m_delay>
<m_topoIndex>56</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_59">
<Value>
<Obj>
<type>0</type>
<id>75</id>
<name>resultf_4</name>
<fileName></fileName>
<fileDirectory></fileDirectory>
<lineNumber>0</lineNumber>
<contextFuncName></contextFuncName>
<inlineStackInfo>
<count>0</count>
<item_version>0</item_version>
</inlineStackInfo>
<originalName>resultf</originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>10</count>
<item_version>0</item_version>
<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>
</oprand_edges>
<opcode>phi</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>58</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_60">
<Value>
<Obj>
<type>0</type>
<id>76</id>
<name>tmp_104_to_int</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>111</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>111</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>236</item>
</oprand_edges>
<opcode>bitcast</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>59</m_topoIndex>
<m_clusterGroupNumber>1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_61">
<Value>
<Obj>
<type>0</type>
<id>77</id>
<name>tmp_104_neg</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>111</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>111</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>2</count>
<item_version>0</item_version>
<item>237</item>
<item>238</item>
</oprand_edges>
<opcode>xor</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>60</m_topoIndex>
<m_clusterGroupNumber>1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_62">
<Value>
<Obj>
<type>0</type>
<id>78</id>
<name>tmp_14</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>111</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>111</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>239</item>
</oprand_edges>
<opcode>bitcast</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>61</m_topoIndex>
<m_clusterGroupNumber>1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_63">
<Value>
<Obj>
<type>0</type>
<id>79</id>
<name>p_s</name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>475</lineNumber>
<contextFuncName>fp_struct</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>2</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>60</second>
</item>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/src/hls\utils/x_hls_utils.h</first>
<second>fp_struct</second>
</first>
<second>475</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>64</bitwidth>
</Value>
<oprand_edges>
<count>3</count>
<item_version>0</item_version>
<item>240</item>
<item>241</item>
<item>242</item>
</oprand_edges>
<opcode>select</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>1.48</m_delay>
<m_topoIndex>62</m_topoIndex>
<m_clusterGroupNumber>1</m_clusterGroupNumber>
</item>
<item class_id_reference="9" object_id="_64">
<Value>
<Obj>
<type>0</type>
<id>80</id>
<name></name>
<fileName>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</fileName>
<fileDirectory>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</fileDirectory>
<lineNumber>113</lineNumber>
<contextFuncName>generic_tanh&lt;double&gt;</contextFuncName>
<inlineStackInfo>
<count>1</count>
<item_version>0</item_version>
<item>
<first>r:\builds\2018.3\continuous\2018_12_06_2405991\src\products</first>
<second>
<count>1</count>
<item_version>0</item_version>
<item>
<first>
<first>r:/builds/2018.3/continuous/2018_12_06_2405991/src/products/hls/hls_lib/hlsmath/include/FloatingPoint\hls_tanh.h</first>
<second>generic_tanh&lt;double&gt;</second>
</first>
<second>113</second>
</item>
</second>
</item>
</inlineStackInfo>
<originalName></originalName>
<rtlName></rtlName>
<coreName></coreName>
</Obj>
<bitwidth>0</bitwidth>
</Value>
<oprand_edges>
<count>1</count>
<item_version>0</item_version>
<item>243</item>
</oprand_edges>
<opcode>ret</opcode>
<m_Display>0</m_Display>
<m_isOnCriticalPath>0</m_isOnCriticalPath>
<m_isLCDNode>0</m_isLCDNode>
<m_isStartOfPath>0</m_isStartOfPath>
<m_delay>0.00</m_delay>
<m_topoIndex>63</m_topoIndex>
<m_clusterGroupNumber>-1</m_clusterGroupNumber>
</item>
</nodes>
<consts class_id="15" tracking_level="0" version="0">
<count>18</count>
<item_version>0</item_version>
<item class_id="16" tracking_level="1" version="0" object_id="_65">
<Value>
<Obj>
<type>2</type>
<id>89</id>
<name>empty</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>
<bitwidth>32</bitwidth>
</Value>
<const_type>0</const_type>
<content>63</content>
</item>
<item class_id_reference="16" object_id="_66">
<Value>
<Obj>
<type>2</type>
<id>94</id>
<name>empty</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>
<bitwidth>32</bitwidth>
</Value>
<const_type>0</const_type>
<content>52</content>
</item>
<item class_id_reference="16" object_id="_67">
<Value>
<Obj>
<type>2</type>
<id>96</id>
<name>empty</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>
<bitwidth>32</bitwidth>
</Value>
<const_type>0</const_type>
<content>62</content>
</item>
<item class_id_reference="16" object_id="_68">
<Value>
<Obj>
<type>2</type>
<id>102</id>
<name>empty</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>
<bitwidth>1</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_69">
<Value>
<Obj>
<type>2</type>
<id>107</id>
<name>empty</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>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>2047</content>
</item>
<item class_id_reference="16" object_id="_70">
<Value>
<Obj>
<type>2</type>
<id>113</id>
<name>empty</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>
<bitwidth>52</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_71">
<Value>
<Obj>
<type>2</type>
<id>116</id>
<name>empty</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>
<bitwidth>64</bitwidth>
</Value>
<const_type>1</const_type>
<content>1</content>
</item>
<item class_id_reference="16" object_id="_72">
<Value>
<Obj>
<type>2</type>
<id>118</id>
<name>empty</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>
<bitwidth>64</bitwidth>
</Value>
<const_type>1</const_type>
<content>nan</content>
</item>
<item class_id_reference="16" object_id="_73">
<Value>
<Obj>
<type>2</type>
<id>122</id>
<name>empty</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>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>968</content>
</item>
<item class_id_reference="16" object_id="_74">
<Value>
<Obj>
<type>2</type>
<id>142</id>
<name>empty</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>
<bitwidth>64</bitwidth>
</Value>
<const_type>1</const_type>
<content>22</content>
</item>
<item class_id_reference="16" object_id="_75">
<Value>
<Obj>
<type>2</type>
<id>148</id>
<name>empty</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>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>1023</content>
</item>
<item class_id_reference="16" object_id="_76">
<Value>
<Obj>
<type>2</type>
<id>151</id>
<name>empty</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>
<bitwidth>64</bitwidth>
</Value>
<const_type>0</const_type>
<content>9223372036854775808</content>
</item>
<item class_id_reference="16" object_id="_77">
<Value>
<Obj>
<type>2</type>
<id>173</id>
<name>empty</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>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>995</content>
</item>
<item class_id_reference="16" object_id="_78">
<Value>
<Obj>
<type>2</type>
<id>176</id>
<name>empty</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>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>0</content>
</item>
<item class_id_reference="16" object_id="_79">
<Value>
<Obj>
<type>2</type>
<id>184</id>
<name>empty</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>
<bitwidth>11</bitwidth>
</Value>
<const_type>0</const_type>
<content>996</content>
</item>
<item class_id_reference="16" object_id="_80">
<Value>
<Obj>
<type>2</type>
<id>193</id>
<name>exp_generic_double_s</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>
<bitwidth>64</bitwidth>
</Value>
<const_type>6</const_type>
<content><constant:exp_generic<double>></content>
</item>
<item class_id_reference="16" object_id="_81">
<Value>
<Obj>
<type>2</type>
<id>197</id>
<name>empty</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>
<bitwidth>64</bitwidth>
</Value>
<const_type>1</const_type>
<content>-1</content>
</item>
<item class_id_reference="16" object_id="_82">
<Value>
<Obj>
<type>2</type>
<id>214</id>
<name>empty</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>
<bitwidth>64</bitwidth>
</Value>
<const_type>1</const_type>
<content>2</content>
</item>
</consts>
<blocks class_id="17" tracking_level="0" version="0">
<count>14</count>
<item_version>0</item_version>
<item class_id="18" tracking_level="1" version="0" object_id="_83">
<Obj>
<type>3</type>
<id>15</id>
<name></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>10</count>
<item_version>0</item_version>
<item>5</item>
<item>6</item>
<item>7</item>
<item>8</item>
<item>9</item>
<item>10</item>
<item>11</item>
<item>12</item>
<item>13</item>
<item>14</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_84">
<Obj>
<type>3</type>
<id>18</id>
<name></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>2</count>
<item_version>0</item_version>
<item>16</item>
<item>17</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_85">
<Obj>
<type>3</type>
<id>23</id>
<name></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>4</count>
<item_version>0</item_version>
<item>19</item>
<item>20</item>
<item>21</item>
<item>22</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_86">
<Obj>
<type>3</type>
<id>26</id>
<name>._crit_edge57</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>2</count>
<item_version>0</item_version>
<item>24</item>
<item>25</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_87">
<Obj>
<type>3</type>
<id>37</id>
<name>_ifconv</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>10</count>
<item_version>0</item_version>
<item>27</item>
<item>28</item>
<item>29</item>
<item>30</item>
<item>31</item>
<item>32</item>
<item>33</item>
<item>34</item>
<item>35</item>
<item>36</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_88">
<Obj>
<type>3</type>
<id>42</id>
<name>.critedge.i</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>4</count>
<item_version>0</item_version>
<item>38</item>
<item>39</item>
<item>40</item>
<item>41</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_89">
<Obj>
<type>3</type>
<id>47</id>
<name></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>4</count>
<item_version>0</item_version>
<item>43</item>
<item>44</item>
<item>45</item>
<item>46</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_90">
<Obj>
<type>3</type>
<id>51</id>
<name>._crit_edge44.i</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>3</count>
<item_version>0</item_version>
<item>48</item>
<item>49</item>
<item>50</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_91">
<Obj>
<type>3</type>
<id>54</id>
<name>expm1.exit</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>2</count>
<item_version>0</item_version>
<item>52</item>
<item>53</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_92">
<Obj>
<type>3</type>
<id>59</id>
<name></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>4</count>
<item_version>0</item_version>
<item>55</item>
<item>56</item>
<item>57</item>
<item>58</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_93">
<Obj>
<type>3</type>
<id>66</id>
<name></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>6</count>
<item_version>0</item_version>
<item>60</item>
<item>61</item>
<item>62</item>
<item>63</item>
<item>64</item>
<item>65</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_94">
<Obj>
<type>3</type>
<id>70</id>
<name>._crit_edge56</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>3</count>
<item_version>0</item_version>
<item>67</item>
<item>68</item>
<item>69</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_95">
<Obj>
<type>3</type>
<id>74</id>
<name></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>3</count>
<item_version>0</item_version>
<item>71</item>
<item>72</item>
<item>73</item>
</node_objs>
</item>
<item class_id_reference="18" object_id="_96">
<Obj>
<type>3</type>
<id>81</id>
<name>._crit_edge_ifconv</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>6</count>
<item_version>0</item_version>
<item>75</item>
<item>76</item>
<item>77</item>
<item>78</item>
<item>79</item>
<item>80</item>
</node_objs>
</item>
</blocks>
<edges class_id="19" tracking_level="0" version="0">
<count>158</count>
<item_version>0</item_version>
<item class_id="20" tracking_level="1" version="0" object_id="_97">
<id>84</id>
<edge_type>1</edge_type>
<source_obj>1</source_obj>
<sink_obj>5</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_98">
<id>85</id>
<edge_type>1</edge_type>
<source_obj>5</source_obj>
<sink_obj>6</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_99">
<id>88</id>
<edge_type>1</edge_type>
<source_obj>6</source_obj>
<sink_obj>7</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_100">
<id>90</id>
<edge_type>1</edge_type>
<source_obj>89</source_obj>
<sink_obj>7</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_101">
<id>93</id>
<edge_type>1</edge_type>
<source_obj>6</source_obj>
<sink_obj>8</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_102">
<id>95</id>
<edge_type>1</edge_type>
<source_obj>94</source_obj>
<sink_obj>8</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_103">
<id>97</id>
<edge_type>1</edge_type>
<source_obj>96</source_obj>
<sink_obj>8</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_104">
<id>98</id>
<edge_type>1</edge_type>
<source_obj>6</source_obj>
<sink_obj>9</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_105">
<id>99</id>
<edge_type>1</edge_type>
<source_obj>6</source_obj>
<sink_obj>10</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_106">
<id>103</id>
<edge_type>1</edge_type>
<source_obj>102</source_obj>
<sink_obj>11</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_107">
<id>104</id>
<edge_type>1</edge_type>
<source_obj>10</source_obj>
<sink_obj>11</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_108">
<id>105</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>12</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_109">
<id>106</id>
<edge_type>1</edge_type>
<source_obj>8</source_obj>
<sink_obj>13</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_110">
<id>108</id>
<edge_type>1</edge_type>
<source_obj>107</source_obj>
<sink_obj>13</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_111">
<id>109</id>
<edge_type>1</edge_type>
<source_obj>13</source_obj>
<sink_obj>14</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_112">
<id>110</id>
<edge_type>2</edge_type>
<source_obj>18</source_obj>
<sink_obj>14</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_113">
<id>111</id>
<edge_type>2</edge_type>
<source_obj>74</source_obj>
<sink_obj>14</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_114">
<id>112</id>
<edge_type>1</edge_type>
<source_obj>9</source_obj>
<sink_obj>71</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_115">
<id>114</id>
<edge_type>1</edge_type>
<source_obj>113</source_obj>
<sink_obj>71</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_116">
<id>115</id>
<edge_type>1</edge_type>
<source_obj>71</source_obj>
<sink_obj>72</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_117">
<id>117</id>
<edge_type>1</edge_type>
<source_obj>116</source_obj>
<sink_obj>72</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_118">
<id>119</id>
<edge_type>1</edge_type>
<source_obj>118</source_obj>
<sink_obj>72</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_119">
<id>120</id>
<edge_type>2</edge_type>
<source_obj>81</source_obj>
<sink_obj>73</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_120">
<id>121</id>
<edge_type>1</edge_type>
<source_obj>8</source_obj>
<sink_obj>16</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_121">
<id>123</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>16</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_122">
<id>124</id>
<edge_type>1</edge_type>
<source_obj>16</source_obj>
<sink_obj>17</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_123">
<id>125</id>
<edge_type>2</edge_type>
<source_obj>23</source_obj>
<sink_obj>17</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_124">
<id>126</id>
<edge_type>2</edge_type>
<source_obj>70</source_obj>
<sink_obj>17</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_125">
<id>127</id>
<edge_type>1</edge_type>
<source_obj>8</source_obj>
<sink_obj>19</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_126">
<id>128</id>
<edge_type>1</edge_type>
<source_obj>122</source_obj>
<sink_obj>19</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_127">
<id>129</id>
<edge_type>1</edge_type>
<source_obj>9</source_obj>
<sink_obj>20</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_128">
<id>130</id>
<edge_type>1</edge_type>
<source_obj>113</source_obj>
<sink_obj>20</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_129">
<id>131</id>
<edge_type>1</edge_type>
<source_obj>19</source_obj>
<sink_obj>21</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_130">
<id>132</id>
<edge_type>1</edge_type>
<source_obj>20</source_obj>
<sink_obj>21</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_131">
<id>133</id>
<edge_type>1</edge_type>
<source_obj>21</source_obj>
<sink_obj>22</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_132">
<id>134</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>22</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_133">
<id>135</id>
<edge_type>2</edge_type>
<source_obj>70</source_obj>
<sink_obj>22</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_134">
<id>136</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>67</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_135">
<id>137</id>
<edge_type>1</edge_type>
<source_obj>116</source_obj>
<sink_obj>67</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_136">
<id>138</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>68</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_137">
<id>139</id>
<edge_type>1</edge_type>
<source_obj>67</source_obj>
<sink_obj>68</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_138">
<id>140</id>
<edge_type>2</edge_type>
<source_obj>81</source_obj>
<sink_obj>69</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_139">
<id>141</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>24</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_140">
<id>143</id>
<edge_type>1</edge_type>
<source_obj>142</source_obj>
<sink_obj>24</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_141">
<id>144</id>
<edge_type>1</edge_type>
<source_obj>24</source_obj>
<sink_obj>25</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_142">
<id>145</id>
<edge_type>2</edge_type>
<source_obj>81</source_obj>
<sink_obj>25</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_143">
<id>146</id>
<edge_type>2</edge_type>
<source_obj>37</source_obj>
<sink_obj>25</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_144">
<id>147</id>
<edge_type>1</edge_type>
<source_obj>8</source_obj>
<sink_obj>27</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_145">
<id>149</id>
<edge_type>1</edge_type>
<source_obj>148</source_obj>
<sink_obj>27</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_146">
<id>150</id>
<edge_type>1</edge_type>
<source_obj>11</source_obj>
<sink_obj>28</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_147">
<id>152</id>
<edge_type>1</edge_type>
<source_obj>151</source_obj>
<sink_obj>28</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_148">
<id>153</id>
<edge_type>1</edge_type>
<source_obj>28</source_obj>
<sink_obj>29</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_149">
<id>154</id>
<edge_type>1</edge_type>
<source_obj>29</source_obj>
<sink_obj>30</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_150">
<id>155</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>30</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_151">
<id>156</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>31</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_152">
<id>157</id>
<edge_type>1</edge_type>
<source_obj>12</source_obj>
<sink_obj>31</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_153">
<id>158</id>
<edge_type>1</edge_type>
<source_obj>27</source_obj>
<sink_obj>32</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_154">
<id>159</id>
<edge_type>1</edge_type>
<source_obj>30</source_obj>
<sink_obj>32</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_155">
<id>160</id>
<edge_type>1</edge_type>
<source_obj>31</source_obj>
<sink_obj>32</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_156">
<id>161</id>
<edge_type>1</edge_type>
<source_obj>32</source_obj>
<sink_obj>33</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_157">
<id>163</id>
<edge_type>1</edge_type>
<source_obj>33</source_obj>
<sink_obj>34</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_158">
<id>164</id>
<edge_type>1</edge_type>
<source_obj>89</source_obj>
<sink_obj>34</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_159">
<id>166</id>
<edge_type>1</edge_type>
<source_obj>33</source_obj>
<sink_obj>35</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_160">
<id>167</id>
<edge_type>1</edge_type>
<source_obj>94</source_obj>
<sink_obj>35</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_161">
<id>168</id>
<edge_type>1</edge_type>
<source_obj>96</source_obj>
<sink_obj>35</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_162">
<id>169</id>
<edge_type>1</edge_type>
<source_obj>34</source_obj>
<sink_obj>36</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_163">
<id>170</id>
<edge_type>2</edge_type>
<source_obj>42</source_obj>
<sink_obj>36</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_164">
<id>171</id>
<edge_type>2</edge_type>
<source_obj>47</source_obj>
<sink_obj>36</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_165">
<id>172</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>43</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_166">
<id>174</id>
<edge_type>1</edge_type>
<source_obj>173</source_obj>
<sink_obj>43</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_167">
<id>175</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>44</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_168">
<id>177</id>
<edge_type>1</edge_type>
<source_obj>176</source_obj>
<sink_obj>44</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_169">
<id>178</id>
<edge_type>1</edge_type>
<source_obj>43</source_obj>
<sink_obj>45</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_170">
<id>179</id>
<edge_type>1</edge_type>
<source_obj>44</source_obj>
<sink_obj>45</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_171">
<id>180</id>
<edge_type>1</edge_type>
<source_obj>45</source_obj>
<sink_obj>46</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_172">
<id>181</id>
<edge_type>2</edge_type>
<source_obj>54</source_obj>
<sink_obj>46</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_173">
<id>182</id>
<edge_type>2</edge_type>
<source_obj>51</source_obj>
<sink_obj>46</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_174">
<id>183</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>38</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_175">
<id>185</id>
<edge_type>1</edge_type>
<source_obj>184</source_obj>
<sink_obj>38</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_176">
<id>186</id>
<edge_type>1</edge_type>
<source_obj>35</source_obj>
<sink_obj>39</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_177">
<id>187</id>
<edge_type>1</edge_type>
<source_obj>176</source_obj>
<sink_obj>39</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_178">
<id>188</id>
<edge_type>1</edge_type>
<source_obj>38</source_obj>
<sink_obj>40</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_179">
<id>189</id>
<edge_type>1</edge_type>
<source_obj>39</source_obj>
<sink_obj>40</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_180">
<id>190</id>
<edge_type>1</edge_type>
<source_obj>40</source_obj>
<sink_obj>41</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_181">
<id>191</id>
<edge_type>2</edge_type>
<source_obj>54</source_obj>
<sink_obj>41</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_182">
<id>192</id>
<edge_type>2</edge_type>
<source_obj>51</source_obj>
<sink_obj>41</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_183">
<id>194</id>
<edge_type>1</edge_type>
<source_obj>193</source_obj>
<sink_obj>48</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_184">
<id>195</id>
<edge_type>1</edge_type>
<source_obj>32</source_obj>
<sink_obj>48</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_185">
<id>196</id>
<edge_type>1</edge_type>
<source_obj>48</source_obj>
<sink_obj>49</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_186">
<id>198</id>
<edge_type>1</edge_type>
<source_obj>197</source_obj>
<sink_obj>49</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_187">
<id>199</id>
<edge_type>2</edge_type>
<source_obj>54</source_obj>
<sink_obj>50</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_188">
<id>200</id>
<edge_type>1</edge_type>
<source_obj>49</source_obj>
<sink_obj>52</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_189">
<id>201</id>
<edge_type>2</edge_type>
<source_obj>51</source_obj>
<sink_obj>52</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_190">
<id>202</id>
<edge_type>1</edge_type>
<source_obj>32</source_obj>
<sink_obj>52</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_191">
<id>203</id>
<edge_type>2</edge_type>
<source_obj>47</source_obj>
<sink_obj>52</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_192">
<id>204</id>
<edge_type>1</edge_type>
<source_obj>32</source_obj>
<sink_obj>52</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_193">
<id>205</id>
<edge_type>2</edge_type>
<source_obj>42</source_obj>
<sink_obj>52</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_194">
<id>206</id>
<edge_type>1</edge_type>
<source_obj>27</source_obj>
<sink_obj>53</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_195">
<id>207</id>
<edge_type>2</edge_type>
<source_obj>59</source_obj>
<sink_obj>53</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_196">
<id>208</id>
<edge_type>2</edge_type>
<source_obj>66</source_obj>
<sink_obj>53</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_197">
<id>209</id>
<edge_type>1</edge_type>
<source_obj>52</source_obj>
<sink_obj>60</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_198">
<id>210</id>
<edge_type>1</edge_type>
<source_obj>60</source_obj>
<sink_obj>61</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_199">
<id>211</id>
<edge_type>1</edge_type>
<source_obj>151</source_obj>
<sink_obj>61</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_200">
<id>212</id>
<edge_type>1</edge_type>
<source_obj>61</source_obj>
<sink_obj>62</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_201">
<id>213</id>
<edge_type>1</edge_type>
<source_obj>52</source_obj>
<sink_obj>63</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_202">
<id>215</id>
<edge_type>1</edge_type>
<source_obj>214</source_obj>
<sink_obj>63</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_203">
<id>216</id>
<edge_type>1</edge_type>
<source_obj>62</source_obj>
<sink_obj>64</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_204">
<id>217</id>
<edge_type>1</edge_type>
<source_obj>63</source_obj>
<sink_obj>64</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_205">
<id>218</id>
<edge_type>2</edge_type>
<source_obj>81</source_obj>
<sink_obj>65</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_206">
<id>219</id>
<edge_type>1</edge_type>
<source_obj>52</source_obj>
<sink_obj>55</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_207">
<id>220</id>
<edge_type>1</edge_type>
<source_obj>214</source_obj>
<sink_obj>55</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_208">
<id>221</id>
<edge_type>1</edge_type>
<source_obj>214</source_obj>
<sink_obj>56</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_209">
<id>222</id>
<edge_type>1</edge_type>
<source_obj>55</source_obj>
<sink_obj>56</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_210">
<id>223</id>
<edge_type>1</edge_type>
<source_obj>116</source_obj>
<sink_obj>57</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_211">
<id>224</id>
<edge_type>1</edge_type>
<source_obj>56</source_obj>
<sink_obj>57</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_212">
<id>225</id>
<edge_type>2</edge_type>
<source_obj>81</source_obj>
<sink_obj>58</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_213">
<id>226</id>
<edge_type>1</edge_type>
<source_obj>68</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_214">
<id>227</id>
<edge_type>2</edge_type>
<source_obj>70</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_215">
<id>228</id>
<edge_type>1</edge_type>
<source_obj>64</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_216">
<id>229</id>
<edge_type>2</edge_type>
<source_obj>66</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_217">
<id>230</id>
<edge_type>1</edge_type>
<source_obj>57</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_218">
<id>231</id>
<edge_type>2</edge_type>
<source_obj>59</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_219">
<id>232</id>
<edge_type>1</edge_type>
<source_obj>116</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_220">
<id>233</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_221">
<id>234</id>
<edge_type>1</edge_type>
<source_obj>72</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_222">
<id>235</id>
<edge_type>2</edge_type>
<source_obj>74</source_obj>
<sink_obj>75</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_223">
<id>236</id>
<edge_type>1</edge_type>
<source_obj>75</source_obj>
<sink_obj>76</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_224">
<id>237</id>
<edge_type>1</edge_type>
<source_obj>76</source_obj>
<sink_obj>77</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_225">
<id>238</id>
<edge_type>1</edge_type>
<source_obj>151</source_obj>
<sink_obj>77</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_226">
<id>239</id>
<edge_type>1</edge_type>
<source_obj>77</source_obj>
<sink_obj>78</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_227">
<id>240</id>
<edge_type>1</edge_type>
<source_obj>7</source_obj>
<sink_obj>79</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_228">
<id>241</id>
<edge_type>1</edge_type>
<source_obj>78</source_obj>
<sink_obj>79</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_229">
<id>242</id>
<edge_type>1</edge_type>
<source_obj>75</source_obj>
<sink_obj>79</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_230">
<id>243</id>
<edge_type>1</edge_type>
<source_obj>79</source_obj>
<sink_obj>80</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_231">
<id>244</id>
<edge_type>1</edge_type>
<source_obj>2</source_obj>
<sink_obj>48</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_232">
<id>245</id>
<edge_type>1</edge_type>
<source_obj>3</source_obj>
<sink_obj>48</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_233">
<id>246</id>
<edge_type>1</edge_type>
<source_obj>4</source_obj>
<sink_obj>48</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_234">
<id>247</id>
<edge_type>2</edge_type>
<source_obj>15</source_obj>
<sink_obj>74</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_235">
<id>248</id>
<edge_type>2</edge_type>
<source_obj>15</source_obj>
<sink_obj>18</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_236">
<id>249</id>
<edge_type>2</edge_type>
<source_obj>18</source_obj>
<sink_obj>70</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_237">
<id>250</id>
<edge_type>2</edge_type>
<source_obj>18</source_obj>
<sink_obj>23</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_238">
<id>251</id>
<edge_type>2</edge_type>
<source_obj>23</source_obj>
<sink_obj>70</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_239">
<id>252</id>
<edge_type>2</edge_type>
<source_obj>23</source_obj>
<sink_obj>26</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_240">
<id>253</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>37</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_241">
<id>254</id>
<edge_type>2</edge_type>
<source_obj>26</source_obj>
<sink_obj>81</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_242">
<id>255</id>
<edge_type>2</edge_type>
<source_obj>37</source_obj>
<sink_obj>47</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_243">
<id>256</id>
<edge_type>2</edge_type>
<source_obj>37</source_obj>
<sink_obj>42</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_244">
<id>257</id>
<edge_type>2</edge_type>
<source_obj>42</source_obj>
<sink_obj>51</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_245">
<id>258</id>
<edge_type>2</edge_type>
<source_obj>42</source_obj>
<sink_obj>54</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_246">
<id>259</id>
<edge_type>2</edge_type>
<source_obj>47</source_obj>
<sink_obj>51</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_247">
<id>260</id>
<edge_type>2</edge_type>
<source_obj>47</source_obj>
<sink_obj>54</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_248">
<id>261</id>
<edge_type>2</edge_type>
<source_obj>51</source_obj>
<sink_obj>54</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_249">
<id>262</id>
<edge_type>2</edge_type>
<source_obj>54</source_obj>
<sink_obj>66</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_250">
<id>263</id>
<edge_type>2</edge_type>
<source_obj>54</source_obj>
<sink_obj>59</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_251">
<id>264</id>
<edge_type>2</edge_type>
<source_obj>59</source_obj>
<sink_obj>81</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_252">
<id>265</id>
<edge_type>2</edge_type>
<source_obj>66</source_obj>
<sink_obj>81</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_253">
<id>266</id>
<edge_type>2</edge_type>
<source_obj>70</source_obj>
<sink_obj>81</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
<item class_id_reference="20" object_id="_254">
<id>267</id>
<edge_type>2</edge_type>
<source_obj>74</source_obj>
<sink_obj>81</sink_obj>
<is_back_edge>0</is_back_edge>
</item>
</edges>
</cdfg>
<cdfg_regions class_id="21" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="22" tracking_level="1" version="0" object_id="_255">
<mId>1</mId>
<mTag>generic_tanh<double></mTag>
<mType>0</mType>
<sub_regions>
<count>0</count>
<item_version>0</item_version>
</sub_regions>
<basic_blocks>
<count>14</count>
<item_version>0</item_version>
<item>15</item>
<item>18</item>
<item>23</item>
<item>26</item>
<item>37</item>
<item>42</item>
<item>47</item>
<item>51</item>
<item>54</item>
<item>59</item>
<item>66</item>
<item>70</item>
<item>74</item>
<item>81</item>
</basic_blocks>
<mII>1</mII>
<mDepth>75</mDepth>
<mMinTripCount>-1</mMinTripCount>
<mMaxTripCount>-1</mMaxTripCount>
<mMinLatency>74</mMinLatency>
<mMaxLatency>74</mMaxLatency>
<mIsDfPipe>0</mIsDfPipe>
<mDfPipe class_id="-1"></mDfPipe>
</item>
</cdfg_regions>
<fsm class_id="-1"></fsm>
<res class_id="-1"></res>
<node_label_latency class_id="26" tracking_level="0" version="0">
<count>63</count>
<item_version>0</item_version>
<item class_id="27" tracking_level="0" version="0">
<first>5</first>
<second class_id="28" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>6</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>7</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>8</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>9</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>10</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>11</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>12</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>13</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>14</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>16</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>17</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>19</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>20</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>21</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>22</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>24</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>25</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>27</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>28</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>29</first>
<second>
<first>1</first>
<second>0</second>
</second>
</item>
<item>
<first>30</first>
<second>
<first>1</first>
<second>4</second>
</second>
</item>
<item>
<first>31</first>
<second>
<first>0</first>
<second>4</second>
</second>
</item>
<item>
<first>32</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>33</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>34</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>35</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>36</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>38</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>39</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>40</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>41</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>43</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>44</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>45</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>46</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>48</first>
<second>
<first>7</first>
<second>19</second>
</second>
</item>
<item>
<first>49</first>
<second>
<first>27</first>
<second>4</second>
</second>
</item>
<item>
<first>50</first>
<second>
<first>32</first>
<second>0</second>
</second>
</item>
<item>
<first>52</first>
<second>
<first>33</first>
<second>0</second>
</second>
</item>
<item>
<first>53</first>
<second>
<first>6</first>
<second>0</second>
</second>
</item>
<item>
<first>55</first>
<second>
<first>33</first>
<second>4</second>
</second>
</item>
<item>
<first>56</first>
<second>
<first>38</first>
<second>30</second>
</second>
</item>
<item>
<first>57</first>
<second>
<first>69</first>
<second>4</second>
</second>
</item>
<item>
<first>58</first>
<second>
<first>74</first>
<second>0</second>
</second>
</item>
<item>
<first>60</first>
<second>
<first>37</first>
<second>0</second>
</second>
</item>
<item>
<first>61</first>
<second>
<first>37</first>
<second>0</second>
</second>
</item>
<item>
<first>62</first>
<second>
<first>38</first>
<second>0</second>
</second>
</item>
<item>
<first>63</first>
<second>
<first>33</first>
<second>4</second>
</second>
</item>
<item>
<first>64</first>
<second>
<first>38</first>
<second>30</second>
</second>
</item>
<item>
<first>65</first>
<second>
<first>73</first>
<second>0</second>
</second>
</item>
<item>
<first>67</first>
<second>
<first>0</first>
<second>4</second>
</second>
</item>
<item>
<first>68</first>
<second>
<first>5</first>
<second>5</second>
</second>
</item>
<item>
<first>69</first>
<second>
<first>73</first>
<second>0</second>
</second>
</item>
<item>
<first>71</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>72</first>
<second>
<first>73</first>
<second>0</second>
</second>
</item>
<item>
<first>73</first>
<second>
<first>73</first>
<second>0</second>
</second>
</item>
<item>
<first>75</first>
<second>
<first>74</first>
<second>0</second>
</second>
</item>
<item>
<first>76</first>
<second>
<first>74</first>
<second>0</second>
</second>
</item>
<item>
<first>77</first>
<second>
<first>74</first>
<second>0</second>
</second>
</item>
<item>
<first>78</first>
<second>
<first>74</first>
<second>0</second>
</second>
</item>
<item>
<first>79</first>
<second>
<first>74</first>
<second>0</second>
</second>
</item>
<item>
<first>80</first>
<second>
<first>74</first>
<second>0</second>
</second>
</item>
</node_label_latency>
<bblk_ent_exit class_id="29" tracking_level="0" version="0">
<count>14</count>
<item_version>0</item_version>
<item class_id="30" tracking_level="0" version="0">
<first>15</first>
<second class_id="31" tracking_level="0" version="0">
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>18</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>23</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>26</first>
<second>
<first>0</first>
<second>0</second>
</second>
</item>
<item>
<first>37</first>
<second>
<first>0</first>
<second>6</second>
</second>
</item>
<item>
<first>42</first>
<second>
<first>6</first>
<second>6</second>
</second>
</item>
<item>
<first>47</first>
<second>
<first>6</first>
<second>6</second>
</second>
</item>
<item>
<first>51</first>
<second>
<first>7</first>
<second>32</second>
</second>
</item>
<item>
<first>54</first>
<second>
<first>0</first>
<second>33</second>
</second>
</item>
<item>
<first>59</first>
<second>
<first>0</first>
<second>74</second>
</second>
</item>
<item>
<first>66</first>
<second>
<first>0</first>
<second>73</second>
</second>
</item>
<item>
<first>70</first>
<second>
<first>0</first>
<second>73</second>
</second>
</item>
<item>
<first>74</first>
<second>
<first>0</first>
<second>73</second>
</second>
</item>
<item>
<first>81</first>
<second>
<first>74</first>
<second>74</second>
</second>
</item>
</bblk_ent_exit>
<regions class_id="32" tracking_level="0" version="0">
<count>1</count>
<item_version>0</item_version>
<item class_id="33" tracking_level="1" version="0" object_id="_256">
<region_name>generic_tanh<double></region_name>
<basic_blocks>
<count>14</count>
<item_version>0</item_version>
<item>15</item>
<item>18</item>
<item>23</item>
<item>26</item>
<item>37</item>
<item>42</item>
<item>47</item>
<item>51</item>
<item>54</item>
<item>59</item>
<item>66</item>
<item>70</item>
<item>74</item>
<item>81</item>
</basic_blocks>
<nodes>
<count>0</count>
<item_version>0</item_version>
</nodes>
<anchor_node>-1</anchor_node>
<region_type>8</region_type>
<interval>1</interval>
<pipe_depth>75</pipe_depth>
</item>
</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>
|
pragma License (Unrestricted);
-- implementation unit specialized for Windows
package System.Native_IO.Names is
pragma Preelaborate;
procedure Open_Ordinary (
Method : Open_Method;
Handle : aliased out Handle_Type;
Mode : File_Mode;
Name : String;
Out_Name : aliased out Name_Pointer; -- null
Form : Packed_Form);
procedure Get_Full_Name (
Handle : Handle_Type;
Has_Full_Name : in out Boolean;
Name : in out Name_Pointer;
Is_Standard : Boolean;
Raise_On_Error : Boolean);
end System.Native_IO.Names;
|
with
lace.Event.Logger,
lace.Event.utility,
ada.unchecked_Deallocation;
package body lace.make_Observer.deferred
is
procedure free is new ada.unchecked_Deallocation (String, String_view);
overriding
procedure destroy (Self : in out Item)
is
begin
make_Observer.destroy (make_Observer.item (Self)); -- Destroy base class.
Self.pending_Events.free;
end destroy;
overriding
procedure receive (Self : access Item; the_Event : in Event.item'Class := event.null_Event;
from_Subject : in Event.subject_Name)
is
begin
Self.pending_Events.add (the_Event, from_Subject);
end receive;
overriding
procedure respond (Self : access Item)
is
use Event_Vectors;
my_Name : constant String := Observer.item'Class (Self.all).Name;
procedure actuate (the_Responses : in event_response_Map;
the_Events : in Event_Vector;
from_subject_Name : in Event.subject_Name)
is
Cursor : Event_Vectors.Cursor := the_Events.First;
begin
while has_Element (Cursor)
loop
declare
use event_response_Maps,
Event.utility,
ada.Containers;
use type Observer.view;
the_Event : constant Event.item'Class := Element (Cursor);
Response : constant event_response_Maps.Cursor := the_Responses.find (to_Kind (the_Event'Tag));
begin
if has_Element (Response)
then
Element (Response).respond (the_Event);
if observer.Logger /= null
then
observer.Logger.log_Response (Element (Response),
Observer.view (Self),
the_Event,
from_subject_Name);
end if;
elsif Self.Responses.relay_Target /= null
then
-- Self.relay_Target.notify (the_Event, from_Subject_Name); -- todo: Re-enable relayed events.
if observer.Logger /= null
then
observer.Logger.log ("[Warning] ~ Relayed events are currently disabled.");
else
raise program_Error with "Event relaying is currently disabled.";
end if;
else
if observer.Logger /= null
then
observer.Logger.log ("[Warning] ~ Observer "
& my_Name
& " has no response to " & Name_of (the_Event)
& " from " & from_subject_Name & ".");
observer.Logger.log (" Count of responses =>"
& Count_type'Image (the_Responses.Length));
else
raise program_Error with "Observer " & my_Name & " has no response to " & Name_of (the_Event)
& " from " & from_subject_Name & ".";
end if;
end if;
end;
next (Cursor);
end loop;
end actuate;
the_subject_Events : subject_events_Pairs (1 .. 5_000);
Count : Natural;
begin
Self.pending_Events.fetch (the_subject_Events, Count);
for i in 1 .. Count
loop
declare
subject_Name : String_view := the_subject_Events (i).Subject;
the_Events : Event_vector renames the_subject_Events (i).Events;
begin
if Self.Responses.Contains (subject_Name.all)
then
actuate (Self.Responses.Element (subject_Name.all),
the_Events,
subject_Name.all);
else
if observer.Logger /= null
then
observer.Logger.log (my_Name & " has no responses for events from " & subject_Name.all & ".");
else
raise program_Error with my_Name & " has no responses for events from '" & subject_Name.all & "'.";
end if;
end if;
free (subject_Name);
end;
end loop;
end respond;
protected
body safe_Events
is
procedure add (the_Event : in Event.item'Class)
is
begin
the_Events.append (the_Event);
end add;
procedure fetch (all_Events : out Event_Vector)
is
begin
all_Events := the_Events;
the_Events.clear;
end fetch;
end safe_Events;
protected
body safe_subject_Map_of_safe_events
is
procedure add (the_Event : in Event.item'Class;
from_Subject : in String)
is
begin
if not the_Map.contains (from_Subject)
then
the_Map.insert (from_Subject,
new safe_Events);
end if;
the_Map.Element (from_Subject).add (the_Event);
end add;
procedure fetch (all_Events : out subject_events_Pairs;
Count : out Natural)
is
use subject_Maps_of_safe_events;
Cursor : subject_Maps_of_safe_events.Cursor := the_Map.First;
Index : Natural := 0;
begin
while has_Element (Cursor)
loop
declare
the_Events : Event_vector;
begin
Element (Cursor).fetch (the_Events);
Index := Index + 1;
all_Events (Index) := (subject => new String' (Key (Cursor)),
events => the_Events);
end;
next (Cursor);
end loop;
Count := Index;
end fetch;
procedure free
is
use subject_Maps_of_safe_events;
procedure deallocate is new ada.unchecked_Deallocation (safe_Events,
safe_Events_view);
Cursor : subject_Maps_of_safe_events.Cursor := the_Map.First;
the_Events : safe_Events_view;
begin
while has_Element (Cursor)
loop
the_Events := Element (Cursor);
deallocate (the_Events);
next (Cursor);
end loop;
end free;
end safe_subject_Map_of_safe_events;
end lace.make_Observer.deferred;
|
-----------------------------------------------------------------------
-- awa-jobs-beans -- AWA Jobs Ada Beans
-- Copyright (C) 2012, 2013, 2015 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 AWA.Events.Action_Method;
package body AWA.Jobs.Beans is
package Execute_Binding is
new AWA.Events.Action_Method.Bind (Bean => Process_Bean,
Method => Execute,
Name => "execute");
Process_Binding : aliased constant Util.Beans.Methods.Method_Binding_Array
:= (1 => Execute_Binding.Proxy'Access);
-- ------------------------------
-- Get the value identified by the name.
-- ------------------------------
overriding
function Get_Value (From : in Process_Bean;
Name : in String) return Util.Beans.Objects.Object is
begin
return AWA.Jobs.Services.Get_Parameter (From.Job, Name);
end Get_Value;
-- ------------------------------
-- Set the value identified by the name.
-- ------------------------------
overriding
procedure Set_Value (From : in out Process_Bean;
Name : in String;
Value : in Util.Beans.Objects.Object) is
begin
null;
end Set_Value;
-- ------------------------------
-- This bean provides some methods that can be used in a Method_Expression
-- ------------------------------
overriding
function Get_Method_Bindings (From : in Process_Bean)
return Util.Beans.Methods.Method_Binding_Array_Access is
pragma Unreferenced (From);
begin
return Process_Binding'Access;
end Get_Method_Bindings;
-- ------------------------------
-- Execute the job described by the event.
-- ------------------------------
procedure Execute (Bean : in out Process_Bean;
Event : in AWA.Events.Module_Event'Class) is
begin
AWA.Jobs.Services.Execute (Event, Bean.Job);
end Execute;
-- ------------------------------
-- Create the job process bean instance.
-- ------------------------------
function Create_Process_Bean (Module : in AWA.Jobs.Modules.Job_Module_Access)
return Util.Beans.Basic.Readonly_Bean_Access is
Result : constant Process_Bean_Access := new Process_Bean;
begin
Result.Module := Module;
return Result.all'Access;
end Create_Process_Bean;
end AWA.Jobs.Beans;
|
------------------------------------------------------------------------------
-- 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) $
with Ada.Strings.Wide_Maps;
package Ada.Strings.Wide_Unbounded is
pragma Preelaborate (Wide_Unbounded);
type Unbounded_Wide_String is private;
pragma Preelaborable_Initialization (Unbounded_Wide_String);
Null_Unbounded_Wide_String : constant Unbounded_Wide_String;
function Length (Source : in Unbounded_Wide_String) return Natural;
type Wide_String_Access is access all Wide_String;
procedure Free (X : in out Wide_String_Access);
-- Conversion, Concatenation, and Selection functions
function To_Unbounded_Wide_String (Source : in Wide_String)
return Unbounded_Wide_String;
function To_Unbounded_Wide_String (Length : in Natural)
return Unbounded_Wide_String;
function To_Wide_String (Source : in Unbounded_Wide_String)
return Wide_String;
procedure Set_Unbounded_Wide_String
(Target : out Unbounded_Wide_String;
Source : in Wide_String);
procedure Append (Source : in out Unbounded_Wide_String;
New_Item : in Unbounded_Wide_String);
procedure Append (Source : in out Unbounded_Wide_String;
New_Item : in Wide_String);
procedure Append (Source : in out Unbounded_Wide_String;
New_Item : in Wide_Character);
function "&" (Left, Right : in Unbounded_Wide_String)
return Unbounded_Wide_String;
function "&" (Left : in Unbounded_Wide_String;
Right : in Wide_String)
return Unbounded_Wide_String;
function "&" (Left : in Wide_String;
Right : in Unbounded_Wide_String)
return Unbounded_Wide_String;
function "&" (Left : in Unbounded_Wide_String;
Right : in Wide_Character)
return Unbounded_Wide_String;
function "&" (Left : in Wide_Character;
Right : in Unbounded_Wide_String)
return Unbounded_Wide_String;
function Element (Source : in Unbounded_Wide_String;
Index : in Positive)
return Wide_Character;
procedure Replace_Element (Source : in out Unbounded_Wide_String;
Index : in Positive;
By : in Wide_Character);
function Slice (Source : in Unbounded_Wide_String;
Low : in Positive;
High : in Natural)
return Wide_String;
function Unbounded_Slice
(Source : in Unbounded_Wide_String;
Low : in Positive;
High : in Natural)
return Unbounded_Wide_String;
procedure Unbounded_Slice
(Source : in Unbounded_Wide_String;
Target : out Unbounded_Wide_String;
Low : in Positive;
High : in Natural);
function "=" (Left, Right : in Unbounded_Wide_String) return Boolean;
function "=" (Left : in Unbounded_Wide_String;
Right : in Wide_String)
return Boolean;
function "=" (Left : in Wide_String;
Right : in Unbounded_Wide_String)
return Boolean;
function "<" (Left, Right : in Unbounded_Wide_String) return Boolean;
function "<" (Left : in Unbounded_Wide_String;
Right : in Wide_String)
return Boolean;
function "<" (Left : in Wide_String;
Right : in Unbounded_Wide_String)
return Boolean;
function "<=" (Left, Right : in Unbounded_Wide_String) return Boolean;
function "<=" (Left : in Unbounded_Wide_String;
Right : in Wide_String)
return Boolean;
function "<=" (Left : in Wide_String;
Right : in Unbounded_Wide_String)
return Boolean;
function ">" (Left, Right : in Unbounded_Wide_String) return Boolean;
function ">" (Left : in Unbounded_Wide_String;
Right : in Wide_String)
return Boolean;
function ">" (Left : in Wide_String;
Right : in Unbounded_Wide_String)
return Boolean;
function ">=" (Left, Right : in Unbounded_Wide_String) return Boolean;
function ">=" (Left : in Unbounded_Wide_String; Right : in Wide_String)
return Boolean;
function ">=" (Left : in Wide_String;
Right : in Unbounded_Wide_String)
return Boolean;
-- Search subprograms
function Index (Source : in Unbounded_Wide_String;
Pattern : in Wide_String;
From : in Positive;
Going : in Direction := Forward;
Mapping : in Wide_Maps.Wide_Character_Mapping
:= Wide_Maps.Identity)
return Natural;
function Index (Source : in Unbounded_Wide_String;
Pattern : in Wide_String;
From : in Positive;
Going : in Direction := Forward;
Mapping : in Wide_Maps.Wide_Character_Mapping_Function)
return Natural;
function Index (Source : in Unbounded_Wide_String;
Pattern : in Wide_String;
Going : in Direction := Forward;
Mapping : in Wide_Maps.Wide_Character_Mapping
:= Wide_Maps.Identity)
return Natural;
function Index (Source : in Unbounded_Wide_String;
Pattern : in Wide_String;
Going : in Direction := Forward;
Mapping : in Wide_Maps.Wide_Character_Mapping_Function)
return Natural;
function Index (Source : in Unbounded_Wide_String;
Set : in Wide_Maps.Wide_Character_Set;
From : in Positive;
Test : in Membership := Inside;
Going : in Direction := Forward)
return Natural;
function Index (Source : in Unbounded_Wide_String;
Set : in Wide_Maps.Wide_Character_Set;
Test : in Membership := Inside;
Going : in Direction := Forward) return Natural;
function Index_Non_Blank (Source : in Unbounded_Wide_String;
From : in Positive;
Going : in Direction := Forward)
return Natural;
function Index_Non_Blank (Source : in Unbounded_Wide_String;
Going : in Direction := Forward)
return Natural;
function Count (Source : in Unbounded_Wide_String;
Pattern : in Wide_String;
Mapping : in Wide_Maps.Wide_Character_Mapping
:= Wide_Maps.Identity)
return Natural;
function Count (Source : in Unbounded_Wide_String;
Pattern : in Wide_String;
Mapping : in Wide_Maps.Wide_Character_Mapping_Function)
return Natural;
function Count (Source : in Unbounded_Wide_String;
Set : in Wide_Maps.Wide_Character_Set)
return Natural;
procedure Find_Token (Source : in Unbounded_Wide_String;
Set : in Wide_Maps.Wide_Character_Set;
Test : in Membership;
First : out Positive;
Last : out Natural);
-- Wide_String translation subprograms
function Translate (Source : in Unbounded_Wide_String;
Mapping : in Wide_Maps.Wide_Character_Mapping)
return Unbounded_Wide_String;
procedure Translate (Source : in out Unbounded_Wide_String;
Mapping : in Wide_Maps.Wide_Character_Mapping);
function Translate (Source : in Unbounded_Wide_String;
Mapping : in Wide_Maps.Wide_Character_Mapping_Function)
return Unbounded_Wide_String;
procedure Translate
(Source : in out Unbounded_Wide_String;
Mapping : in Wide_Maps.Wide_Character_Mapping_Function);
-- Wide_String transformation subprograms
function Replace_Slice (Source : in Unbounded_Wide_String;
Low : in Positive;
High : in Natural;
By : in Wide_String)
return Unbounded_Wide_String;
procedure Replace_Slice (Source : in out Unbounded_Wide_String;
Low : in Positive;
High : in Natural;
By : in Wide_String);
function Insert (Source : in Unbounded_Wide_String;
Before : in Positive;
New_Item : in Wide_String)
return Unbounded_Wide_String;
procedure Insert (Source : in out Unbounded_Wide_String;
Before : in Positive;
New_Item : in Wide_String);
function Overwrite (Source : in Unbounded_Wide_String;
Position : in Positive;
New_Item : in Wide_String)
return Unbounded_Wide_String;
procedure Overwrite (Source : in out Unbounded_Wide_String;
Position : in Positive;
New_Item : in Wide_String);
function Delete (Source : in Unbounded_Wide_String;
From : in Positive;
Through : in Natural)
return Unbounded_Wide_String;
procedure Delete (Source : in out Unbounded_Wide_String;
From : in Positive;
Through : in Natural);
function Trim (Source : in Unbounded_Wide_String;
Side : in Trim_End)
return Unbounded_Wide_String;
procedure Trim (Source : in out Unbounded_Wide_String;
Side : in Trim_End);
function Trim (Source : in Unbounded_Wide_String;
Left : in Wide_Maps.Wide_Character_Set;
Right : in Wide_Maps.Wide_Character_Set)
return Unbounded_Wide_String;
procedure Trim (Source : in out Unbounded_Wide_String;
Left : in Wide_Maps.Wide_Character_Set;
Right : in Wide_Maps.Wide_Character_Set);
function Head (Source : in Unbounded_Wide_String;
Count : in Natural;
Pad : in Wide_Character := Wide_Space)
return Unbounded_Wide_String;
procedure Head (Source : in out Unbounded_Wide_String;
Count : in Natural;
Pad : in Wide_Character := Wide_Space);
function Tail (Source : in Unbounded_Wide_String;
Count : in Natural;
Pad : in Wide_Character := Wide_Space)
return Unbounded_Wide_String;
procedure Tail (Source : in out Unbounded_Wide_String;
Count : in Natural;
Pad : in Wide_Character := Wide_Space);
function "*" (Left : in Natural;
Right : in Wide_Character)
return Unbounded_Wide_String;
function "*" (Left : in Natural;
Right : in Wide_String)
return Unbounded_Wide_String;
function "*" (Left : in Natural;
Right : in Unbounded_Wide_String)
return Unbounded_Wide_String;
private
pragma Import (Ada, Unbounded_Wide_String);
pragma Import (Ada, Null_Unbounded_Wide_String);
end Ada.Strings.Wide_Unbounded;
|
with Ada.Text_Io;
package body Slots is
procedure Xaa is
begin
Ada.Text_Io.Put_Line("Xaa() called");
end;
procedure Xab is
begin
Ada.Text_Io.Put_Line("Xab() called");
end;
procedure Xac is
begin
Ada.Text_Io.Put_Line("Xac() called");
end;
procedure S1a (Value : in Integer) is
begin
Ada.Text_Io.Put_Line("S1a(" & Value'Image & ") called");
end;
procedure S1b (Value : in Integer) is
begin
Ada.Text_Io.Put_Line("S1b(" & Value'Image & ") called");
end;
procedure S1c (Value : in Integer) is
begin
Ada.Text_Io.Put_Line("S1c(" & Value'Image & ") called");
end;
end Slots;
|
with
openGL.Primitive.short_indexed,
openGL.Primitive. indexed,
openGL.Primitive. long_indexed,
openGL.Geometry.lit_textured,
openGL.Geometry.lit_colored_textured_skinned,
openGL.Texture,
openGL.Palette,
openGL.IO.wavefront,
openGL.IO.collada,
openGL.IO.lat_long_Radius,
ada.Strings.fixed,
ada.Containers.hashed_Maps,
ada.unchecked_Deallocation;
package body openGL.Model.any
is
type lit_textured_Geometry_view is access all openGL.Geometry.lit_textured .item'Class;
type lit_textured_skinned_Geometry_view is access all openGL.Geometry.lit_colored_textured_skinned.item'Class;
---------
--- Forge
--
function to_Model (Scale : in Vector_3;
Model : in asset_Name;
Texture : in asset_Name;
Texture_is_lucid : in Boolean) return openGL.Model.any.item
is
begin
return Self : openGL.Model.any.item := (openGL.Model.item with
Model,
Texture,
Texture_is_lucid,
Geometry => null)
do
Self.define (Scale);
Self.Bounds.Ball := 1.0;
end return;
end to_Model;
function new_Model (Scale : in Vector_3;
Model : in asset_Name;
Texture : in asset_Name;
Texture_is_lucid : in Boolean) return openGL.Model.any.view
is
begin
return new openGL.Model.any.item' (to_Model (Scale, Model, Texture, Texture_is_lucid));
end new_Model;
--------------
--- Attributes
--
use openGL.IO;
function Hash (Self : in io.Vertex) return ada.Containers.Hash_type
is
begin
return ada.Containers.Hash_type (Self.site_Id + 3 * Self.coord_Id + 5 * Self.normal_Id + 7 * Self.weights_Id);
end Hash;
package io_vertex_Maps_of_gl_vertex_id is new ada.containers.Hashed_Maps (io.Vertex,
long_Index_t,
Hash,
"=");
subtype io_vertex_Map_of_gl_vertex_id is io_vertex_Maps_of_gl_vertex_id.Map;
type any_Vertex is
record
Site : Vector_3;
Normal : Vector_3;
Coords : Coordinate_2D;
Bones : bone_Weights (1 .. 4);
end record;
type any_Vertex_array is array (long_Index_t range <>) of aliased any_Vertex;
type any_Vertex_array_view is access all any_Vertex_array;
procedure deallocate is new ada.unchecked_Deallocation (any_Vertex_array,
any_Vertex_array_view);
function to_lit_textured_Vertices (Self : in any_Vertex_array) return Geometry.lit_textured.Vertex_array
is
Result : Geometry.lit_textured.Vertex_array (Self'Range);
begin
for i in Self'Range
loop
Result (i) := (site => Self (i).Site,
normal => Self (i).Normal,
coords => Self (i).Coords);
end loop;
return Result;
end to_lit_textured_Vertices;
function to_lit_textured_skinned_Vertices (Self : in any_Vertex_array) return Geometry.lit_colored_textured_skinned.Vertex_array
is
use Palette;
Result : Geometry.lit_colored_textured_skinned.Vertex_array (Self'Range);
begin
for i in Self'Range
loop
Result (i) := (site => Self (i).Site,
normal => Self (i).Normal,
coords => Self (i).Coords,
color => (White, Opaque),
bone_Ids => (1 => Real (Self (i).Bones (1).Bone),
2 => Real (Self (i).Bones (2).Bone),
3 => Real (Self (i).Bones (3).Bone),
4 => Real (Self (i).Bones (4).Bone)),
bone_Weights => (1 => Self (i).Bones (1).Weight,
2 => Self (i).Bones (2).Weight,
3 => Self (i).Bones (3).Weight,
4 => Self (i).Bones (4).Weight));
end loop;
return Result;
end to_lit_textured_skinned_Vertices;
overriding
function to_GL_Geometries (Self : access Item; Textures : access Texture.name_Map_of_texture'Class;
Fonts : in Font.font_id_Map_of_font) return Geometry.views
is
pragma unreferenced (Textures, Fonts);
begin
Self.build_GL_Geometries;
return (1 => Self.Geometry);
end to_GL_Geometries;
procedure build_GL_Geometries (Self : in out Item)
is
use Geometry;
model_Name : constant String := to_String (Self.Model);
function load_Model return io.Model
is
use ada.Strings.fixed;
begin
if Tail (model_Name, 4) = ".obj" then return wavefront .to_Model (model_Name);
elsif Tail (model_Name, 4) = ".dae" then return collada .to_Model (model_Name);
elsif Tail (model_Name, 4) = ".tab" then return lat_long_Radius.to_Model (model_Name);
else raise unsupported_model_Format with "Model => '" & model_Name & "'";
end if;
end load_Model;
the_Model : openGL.io.Model := load_Model;
the_Map : io_vertex_Map_of_gl_vertex_id;
the_Vertices : any_Vertex_array_view := new any_Vertex_array' (1 .. 100_000 => <>);
vertex_Count : openGL.long_Index_t := 0;
tri_Count : Index_t := 0;
Normals_known : Boolean := False;
-- TODO: Use one set of gl face vertices and 2 sets of indices (1 for tris and 1 for quads).
begin
Self.Bounds := null_Bounds;
-- 1st pass: - Set our openGL face vertices.
-- - Build 'io vertex' to 'openGL face vertex_Id' map.
--
for f in the_Model.Faces'Range
loop
declare
use io_vertex_Maps_of_gl_vertex_id;
the_model_Face : io.Face renames the_Model.Faces (f);
begin
if the_model_Face.Kind = Triangle
or the_model_Face.Kind = Quad
then
declare
the_io_Vertices : constant io.Vertices := Vertices_of (the_model_Face);
Cursor : io_vertex_Maps_of_gl_vertex_id.Cursor;
begin
case the_model_Face.Kind
is
when Triangle => tri_Count := tri_Count + 1;
when Quad => tri_Count := tri_Count + 2;
when Polygon => null;
end case;
for v in the_io_Vertices'Range
loop
Cursor := the_Map.find (the_io_Vertices (v));
if not has_Element (Cursor)
then -- We do not know about this vertex yet, so add it.
vertex_Count := vertex_Count + 1;
declare
the_io_Vertex : io.Vertex renames the_io_Vertices (v);
the_gl_Vertex : any_Vertex renames the_Vertices (vertex_Count);
begin
the_gl_Vertex.Site := Scaled (the_Model.Sites (the_io_Vertex.site_Id),
by => Self.Scale); -- TODO: Shouldn't scale here, since the vertex shaders do scaling.
Self.Bounds.Box := Self.Bounds.Box or the_gl_Vertex.Site;
Self.Bounds.Ball := Real'Max (Self.Bounds.Ball,
abs (the_gl_Vertex.Site));
if the_io_Vertex.coord_Id /= null_Id
then the_gl_Vertex.Coords := the_Model.Coords (the_io_Vertex.coord_Id);
else the_gl_Vertex.Coords := (0.0, 0.0);
end if;
if the_io_Vertex.normal_Id /= null_Id
then the_gl_Vertex.Normal := the_Model.Normals (the_io_Vertex.normal_Id);
normals_Known := True;
else the_gl_Vertex.Normal := (0.0, 0.0, 0.0);
end if;
if the_Model.Weights /= null
and the_io_Vertex.weights_Id /= null_Id
then
declare
the_Weights : bone_Weights renames the_Model.Weights (the_io_Vertex.weights_Id).all;
begin
if the_Weights'Length > 0
then
the_gl_Vertex.Bones (1) := the_Weights (1);
--
-- nb: Only using the first 4 bones atm.
if the_Weights'Length >= 2
then the_gl_Vertex.Bones (2) := the_Weights (2);
else the_gl_Vertex.Bones (2) := (0, 0.0);
end if;
if the_Weights'Length >= 3
then the_gl_Vertex.Bones (3) := the_Weights (3);
else the_gl_Vertex.Bones (3) := (0, 0.0);
end if;
if the_Weights'Length >= 4
then the_gl_Vertex.Bones (4) := the_Weights (4);
else the_gl_Vertex.Bones (4) := (0, 0.0);
end if;
else
the_gl_Vertex.Bones := (1 => (0, 0.0),
2 => (0, 0.0),
3 => (0, 0.0),
4 => (0, 0.0));
end if;
end;
else
the_gl_Vertex.Bones := (1 => (0, 0.0),
2 => (0, 0.0),
3 => (0, 0.0),
4 => (0, 0.0));
end if;
the_Map.insert (the_io_Vertex, vertex_Count); -- 'vertex_Count' provides the index of the current vertex.
end;
end if;
end loop;
end;
end if;
end;
end loop;
-- We now have our gl face vertices built and mapped to each model vertex.
-- 2nd pass: - Set the triangle faceted indices.
-- - Set the quad faceted indices.
--
declare
tri_indices_Count : long_Index_t := 0;
tri_indices_Last : constant long_Index_t := long_Index_t (tri_Count) * 3;
tri_Indices : aliased long_Indices (1 .. tri_indices_Last);
procedure add_to_Tri (the_Vertex : in io.Vertex)
is
begin
tri_indices_Count := tri_indices_Count + 1;
tri_Indices (tri_indices_Count) := the_Map.Element (the_Vertex);
end add_to_Tri;
begin
for f in the_Model.Faces'Range
loop
declare
the_model_Face : io.Face renames the_Model.Faces (f);
the_io_Vertices : constant io.Vertices := Vertices_of (the_model_Face);
begin
case the_model_Face.Kind
is
when Triangle =>
for v in the_io_Vertices'Range
loop
add_to_Tri (the_io_Vertices (v));
end loop;
when Quad =>
add_to_Tri (the_io_Vertices (1));
add_to_Tri (the_io_Vertices (2));
add_to_Tri (the_io_Vertices (3));
add_to_Tri (the_io_Vertices (3));
add_to_Tri (the_io_Vertices (4));
add_to_Tri (the_io_Vertices (1));
when Polygon =>
null;
end case;
end;
end loop;
pragma assert (tri_indices_Count = tri_indices_Last);
-- Determine which geometry class is required and create the geometry.
--
if the_Model.Weights = null
then
declare
use Geometry.lit_textured;
my_Vertices : aliased lit_textured.Vertex_array
:= to_lit_textured_Vertices (the_Vertices (1 .. vertex_Count));
my_Geometry : constant lit_textured_Geometry_view
:= lit_textured.new_Geometry;
begin
if not normals_Known
then
set_Normals:
declare
type Normals_view is access all Normals;
function get_Sites return Sites
is
Result : Sites := (1 .. my_Vertices'Length => <>);
begin
for i in Result'Range
loop
Result (i) := my_Vertices (long_Index_t (i)).Site;
end loop;
return Result;
end get_Sites;
the_Sites : constant openGL.Sites := get_Sites;
the_Normals : Normals_view := Geometry.Normals_of (Primitive.Triangles,
tri_Indices,
the_Sites);
procedure deallocate is new ada.unchecked_Deallocation (Normals, Normals_view);
begin
for i in my_Vertices'Range
loop
my_Vertices (i).Normal := the_Normals (Index_t (i));
end loop;
deallocate (the_Normals);
end set_Normals;
end if;
my_Geometry.Vertices_are (now => my_Vertices);
Self.Geometry := Geometry.view (my_Geometry);
end;
else -- Is skinned.
declare
use Geometry.lit_colored_textured_skinned;
my_Vertices : aliased constant lit_colored_textured_skinned.Vertex_array
:= to_lit_textured_skinned_Vertices (the_Vertices (1 .. vertex_Count));
my_Geometry : constant lit_textured_skinned_Geometry_view
:= lit_colored_textured_skinned.new_Geometry;
begin
my_Geometry.Vertices_are (now => my_Vertices);
Self.Geometry := Geometry.view (my_Geometry);
end;
end if;
deallocate (the_Vertices);
destroy (the_Model);
-- Set the geometry texture.
--
if Self.Texture /= null_Asset
then
if Self.has_lucid_Texture
then
declare
use Texture;
the_Image : constant lucid_Image
:= io.to_lucid_Image (Self.Texture);
the_Texture : constant Texture.object
:= Forge.to_Texture (the_Image);
begin
Self.Geometry.Texture_is (the_Texture);
end;
else
declare
use Texture;
the_Image : constant Image := io.to_Image (Self.Texture);
the_Texture : constant Texture.object := Forge.to_Texture (the_Image);
begin
Self.Geometry.Texture_is (the_Texture);
end;
end if;
end if;
-- Add any facia to the geometry.
--
if tri_Indices'Length > 0
then
if vertex_Count <= long_Index_t (short_Index_t'Last)
then
declare
the_Primitive : constant Primitive.short_indexed.view
:= Primitive.short_indexed.new_Primitive (Primitive.Triangles,
tri_Indices);
begin
Self.Geometry.add (Primitive.view (the_Primitive));
end;
elsif vertex_Count <= long_Index_t (Index_t'Last)
then
declare
the_Primitive : constant Primitive.indexed.view
:= Primitive.indexed.new_Primitive (primitive.Triangles,
tri_Indices);
begin
Self.Geometry.add (Primitive.view (the_Primitive));
end;
else
if openGL.Profile /= Desk
then
raise Model_too_complex with "Only the 'Desk' openGL profile allows models with more than 2**16 - 1 vertices.";
end if;
declare
the_Primitive : constant Primitive.long_indexed.view
:= Primitive.long_indexed.new_Primitive (primitive.Triangles,
tri_Indices);
begin
Self.Geometry.add (Primitive.view (the_Primitive));
end;
end if;
end if;
if Geometry_3d.Extent (Self.Bounds.Box, 3) = 0.0
then
Self.Bounds.Box.Lower (3) := Self.Bounds.Box.Lower (3) - 0.2; -- TODO: This is dubious at best.
end if;
Self.Geometry.is_Transparent (now => False);
Self.Geometry.Label_is (to_String (Self.Model) & "-" & to_String (Self.Texture));
end;
end build_GL_Geometries;
end openGL.Model.any;
|
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Nodes.Generic_Vectors;
with Program.Elements.Variants;
package Program.Nodes.Variant_Vectors is new
Program.Nodes.Generic_Vectors (Program.Elements.Variants.Variant_Vector);
pragma Preelaborate (Program.Nodes.Variant_Vectors);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.