CombinedText
stringlengths
4
3.42M
-- Widget for creating bar codes with Gnoga -- -- Copyright (C) 2018 by PragmAda Software Engineering -- -- Released under the terms of the 3-Clause BSD License. See https://opensource.org/licenses/BSD-3-Clause with Gnoga.Gui.Element.Canvas.Context_2D; with Gnoga.Types.Colors; package body Gnoga_Bar_Codes is procedure Create (Code : in out Bar_Code; Parent : in out Gnoga.Gui.Base.Base_Type'Class; Width : in Integer; Height : in Integer; ID : in String := "") is use type Gnoga.Gui.Element.Canvas.Canvas_Access; begin -- Create Code.Canvas := new Gnoga.Gui.Element.Canvas.Canvas_Type; Code.Canvas.Create (Parent => Parent, Width => Width, Height => Height, ID => ID); Code.Canvas.Dynamic; Code.Box := (Left => 0, Bottom => Height, Width => Width, Height => Height); end Create; Fit : Bar_Codes.Module_Box; procedure Generate (Code : in out Bar_Code; Kind : In Bar_Codes.Kind_Of_Code; Text : in String) is Rectangle : constant Gnoga.Types.Rectangle_Type := (X => 0, Y => 0, Width => Code.Box.Width, Height => Code.Box.Height); Context : Gnoga.Gui.Element.Canvas.Context_2D.Context_2D_Type; Last : Natural := Text'Last; Scale : Natural := 2; begin -- Generate Context.Get_Drawing_Context_2D (Canvas => Code.Canvas.all); Context.Fill_Color (Value => Gnoga.Types.Colors.White); Context.Fill_Rectangle (Rectangle => Rectangle); Truncate : loop exit Truncate when Last < Text'First; Fit := Bar_Codes.Fitting (Kind, Text (Text'First .. Last) ); case Kind is when Bar_Codes.Code_128 => null; when Bar_Codes.Code_QR => Scale := Code.Box.Width / Fit.Width; end case; exit Truncate when Scale * Fit.Width <= Rectangle.Width; Last := Last - 1; end loop Truncate; Fit := Bar_Codes.Fitting (Kind, Text (Text'First .. Last) ); Code.Kind := Kind; Code.Draw (Kind => Kind, Text => Text (Text'First .. Last) ); end Generate; procedure Filled_Rectangle (Code : in Bar_Code; Shape : in Bar_Codes.Module_Box) is use type Bar_Codes.Real; Scale_X : constant Positive := Code.Box.Width / Fit.Width; Scale_Y : constant Positive := Code.Box.Height / Fit.Height; Rectangle : Gnoga.Types.Rectangle_Type; Context : Gnoga.Gui.Element.Canvas.Context_2D.Context_2D_Type; begin -- Filled_Rectangle Context.Get_Drawing_Context_2D (Canvas => Code.Canvas.all); Context.Fill_Color (Value => Gnoga.Types.Colors.Black); case Code.Kind is when Bar_Codes.Code_128 => -- And all other 1D bar codes Rectangle := (X => 2 * Shape.Left, Y => 0, Width => 2 * Shape.Width, Height => Code.Box.Height); when Bar_Codes.Code_QR => -- And all other 2D bar codes Rectangle := (X => Scale_X * Shape.Left, Y => Code.Box.Bottom - Scale_Y * Shape.Bottom - Scale_Y * Shape.Height, Width => Scale_X * Shape.Width, Height => Scale_Y * Shape.Height); end case; Context.Fill_Rectangle (Rectangle => Rectangle); end Filled_Rectangle; end Gnoga_Bar_Codes;
with E2GA; package body Mouse_Manager is -- mouse position on last call to MouseButton() / MouseMotion() Prev_Mouse_Pos : E2GA.Vector; -- when true, MouseMotion() will rotate the model Rotate_Model : Boolean := False; Rotate_Model_Out_OfPPlane : Boolean := False; -- rotation of the model M_Model_Rotor : E2GA.Rotor; -- ------------------------------------------------------------------------- procedure Mouse_Button (Button : Integer; State : Integer; X, Y : Integer) is begin null; end Mouse_Button; -- ------------------------------------------------------------------------- end Mouse_Manager;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M -- -- -- -- S p e c -- -- (SUN Solaris Version) -- -- -- -- Copyright (C) 1992-2020, 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. -- -- -- ------------------------------------------------------------------------------ package System is pragma Pure; -- Note that we take advantage of the implementation permission to make -- this unit Pure instead of Preelaborable; see RM 13.7.1(15). In Ada -- 2005, this is Pure in any case (AI-362). pragma No_Elaboration_Code_All; -- Allow the use of that restriction in units that WITH this unit type Name is (SYSTEM_NAME_GNAT); System_Name : constant Name := SYSTEM_NAME_GNAT; -- System-Dependent Named Numbers Min_Int : constant := -2 ** (Standard'Max_Integer_Size - 1); Max_Int : constant := 2 ** (Standard'Max_Integer_Size - 1) - 1; Max_Binary_Modulus : constant := 2 ** Standard'Max_Integer_Size; Max_Nonbinary_Modulus : constant := 2 ** Integer'Size - 1; Max_Base_Digits : constant := Long_Long_Float'Digits; Max_Digits : constant := Long_Long_Float'Digits; Max_Mantissa : constant := 63; Fine_Delta : constant := 2.0 ** (-Max_Mantissa); Tick : constant := 0.01; -- Storage-related Declarations type Address is private; pragma Preelaborable_Initialization (Address); Null_Address : constant Address; Storage_Unit : constant := 8; Word_Size : constant := Standard'Word_Size; Memory_Size : constant := 2 ** Word_Size; -- Address comparison function "<" (Left, Right : Address) return Boolean; function "<=" (Left, Right : Address) return Boolean; function ">" (Left, Right : Address) return Boolean; function ">=" (Left, Right : Address) return Boolean; function "=" (Left, Right : Address) return Boolean; pragma Import (Intrinsic, "<"); pragma Import (Intrinsic, "<="); pragma Import (Intrinsic, ">"); pragma Import (Intrinsic, ">="); pragma Import (Intrinsic, "="); -- Other System-Dependent Declarations type Bit_Order is (High_Order_First, Low_Order_First); Default_Bit_Order : constant Bit_Order := High_Order_First; pragma Warnings (Off, Default_Bit_Order); -- kill constant condition warning -- Priority-related Declarations (RM D.1) Max_Priority : constant Positive := 30; Max_Interrupt_Priority : constant Positive := 31; subtype Any_Priority is Integer range 0 .. 31; subtype Priority is Any_Priority range 0 .. 30; subtype Interrupt_Priority is Any_Priority range 31 .. 31; Default_Priority : constant Priority := 15; private type Address is mod Memory_Size; Null_Address : constant Address := 0; -------------------------------------- -- System Implementation Parameters -- -------------------------------------- -- These parameters provide information about the target that is used -- by the compiler. They are in the private part of System, where they -- can be accessed using the special circuitry in the Targparm unit -- whose source should be consulted for more detailed descriptions -- of the individual switch values. Backend_Divide_Checks : constant Boolean := False; Backend_Overflow_Checks : constant Boolean := True; Command_Line_Args : constant Boolean := True; Configurable_Run_Time : constant Boolean := False; Denorm : constant Boolean := True; Duration_32_Bits : constant Boolean := False; Exit_Status_Supported : constant Boolean := True; Fractional_Fixed_Ops : constant Boolean := False; Frontend_Layout : constant Boolean := False; Machine_Overflows : constant Boolean := False; Machine_Rounds : constant Boolean := True; Preallocated_Stacks : constant Boolean := False; Signed_Zeros : constant Boolean := True; Stack_Check_Default : constant Boolean := False; Stack_Check_Probes : constant Boolean := True; Stack_Check_Limits : constant Boolean := False; Support_Aggregates : constant Boolean := True; Support_Atomic_Primitives : constant Boolean := True; Support_Composite_Assign : constant Boolean := True; Support_Composite_Compare : constant Boolean := True; Support_Long_Shifts : constant Boolean := True; Always_Compatible_Rep : constant Boolean := False; Suppress_Standard_Library : constant Boolean := False; Use_Ada_Main_Program_Name : constant Boolean := False; Frontend_Exceptions : constant Boolean := False; ZCX_By_Default : constant Boolean := True; end System;
----------------------------------------------------------------------- -- wi2wic -- wi2wic applications -- Copyright (C) 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Properties; with Servlet.Filters.Dump; with Servlet.Filters.Cache_Control; with Servlet.Core.Files; with Servlet.Core.Measures; with Servlet.Core.Rest; package Wi2wic.Applications is CONFIG_PATH : constant String := "wi2wic"; CONTEXT_PATH : constant String := "/wi2wic"; type Application_Type is new Servlet.Core.Servlet_Registry with private; type Application_Access is access all Application_Type'Class; -- Configures the REST application so that it is ready to handler REST -- operations as well as give access to the Swagger UI that describes them. not overriding procedure Configure (App : in out Application_Type; Config : in Util.Properties.Manager'Class); private type Application_Type is new Servlet.Core.Servlet_Registry with record Api : aliased Servlet.Core.Rest.Rest_Servlet; Measures : aliased Servlet.Core.Measures.Measure_Servlet; Files : aliased Servlet.Core.Files.File_Servlet; No_Cache : aliased Servlet.Filters.Cache_Control.Cache_Control_Filter; Dump : aliased Servlet.Filters.Dump.Dump_Filter; end record; end Wi2wic.Applications;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . M M A P -- -- -- -- B o d y -- -- -- -- Copyright (C) 2007-2020, AdaCore -- -- -- -- This library is free software; you can redistribute it and/or modify it -- -- under terms of the GNU General Public License as published by the Free -- -- Software Foundation; either version 3, or (at your option) any later -- -- version. This library is distributed in the hope that it will be useful, -- -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- 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.IO_Exceptions; with Ada.Unchecked_Conversion; with Ada.Unchecked_Deallocation; with System.Strings; use System.Strings; with System.Mmap.OS_Interface; use System.Mmap.OS_Interface; package body System.Mmap is type Mapped_File_Record is record Current_Region : Mapped_Region; -- The legacy API enables only one region to be mapped, directly -- associated with the mapped file. This references this region. File : System_File; -- Underlying OS-level file end record; type Mapped_Region_Record is record File : Mapped_File; -- The file this region comes from. Be careful: for reading file, it is -- valid to have it closed before one of its regions is free'd. Write : Boolean; -- Whether the file this region comes from is open for writing. Data : Str_Access; -- Unbounded access to the mapped content. System_Offset : File_Size; -- Position in the file of the first byte actually mapped in memory User_Offset : File_Size; -- Position in the file of the first byte requested by the user System_Size : File_Size; -- Size of the region actually mapped in memory User_Size : File_Size; -- Size of the region requested by the user Mapped : Boolean; -- Whether this region is actually memory mapped Mutable : Boolean; -- If the file is opened for reading, wheter this region is writable Buffer : System.Strings.String_Access; -- When this region is not actually memory mapped, contains the -- requested bytes. Mapping : System_Mapping; -- Underlying OS-level data for the mapping, if any end record; Invalid_Mapped_Region_Record : constant Mapped_Region_Record := (null, False, null, 0, 0, 0, 0, False, False, null, Invalid_System_Mapping); Invalid_Mapped_File_Record : constant Mapped_File_Record := (Invalid_Mapped_Region, Invalid_System_File); Empty_String : constant String := ""; -- Used to provide a valid empty Data for empty files, for instanc. procedure Dispose is new Ada.Unchecked_Deallocation (Mapped_File_Record, Mapped_File); procedure Dispose is new Ada.Unchecked_Deallocation (Mapped_Region_Record, Mapped_Region); function Convert is new Ada.Unchecked_Conversion (Standard.System.Address, Str_Access); procedure Compute_Data (Region : Mapped_Region); -- Fill the Data field according to system and user offsets. The region -- must actually be mapped or bufferized. procedure From_Disk (Region : Mapped_Region); -- Read a region of some file from the disk procedure To_Disk (Region : Mapped_Region); -- Write the region of the file back to disk if necessary, and free memory ---------------------------- -- Open_Read_No_Exception -- ---------------------------- function Open_Read_No_Exception (Filename : String; Use_Mmap_If_Available : Boolean := True) return Mapped_File is File : constant System_File := Open_Read (Filename, Use_Mmap_If_Available); begin if File = Invalid_System_File then return Invalid_Mapped_File; end if; return new Mapped_File_Record' (Current_Region => Invalid_Mapped_Region, File => File); end Open_Read_No_Exception; --------------- -- Open_Read -- --------------- function Open_Read (Filename : String; Use_Mmap_If_Available : Boolean := True) return Mapped_File is Res : constant Mapped_File := Open_Read_No_Exception (Filename, Use_Mmap_If_Available); begin if Res = Invalid_Mapped_File then raise Ada.IO_Exceptions.Name_Error with "Cannot open " & Filename; else return Res; end if; end Open_Read; ---------------- -- Open_Write -- ---------------- function Open_Write (Filename : String; Use_Mmap_If_Available : Boolean := True) return Mapped_File is File : constant System_File := Open_Write (Filename, Use_Mmap_If_Available); begin if File = Invalid_System_File then raise Ada.IO_Exceptions.Name_Error with "Cannot open " & Filename; else return new Mapped_File_Record' (Current_Region => Invalid_Mapped_Region, File => File); end if; end Open_Write; ----------- -- Close -- ----------- procedure Close (File : in out Mapped_File) is begin -- Closing a closed file is allowed and should do nothing if File = Invalid_Mapped_File then return; end if; if File.Current_Region /= null then Free (File.Current_Region); end if; if File.File /= Invalid_System_File then Close (File.File); end if; Dispose (File); end Close; ---------- -- Free -- ---------- procedure Free (Region : in out Mapped_Region) is Ignored : Integer; pragma Unreferenced (Ignored); begin -- Freeing an already free'd file is allowed and should do nothing if Region = Invalid_Mapped_Region then return; end if; if Region.Mapping /= Invalid_System_Mapping then Dispose_Mapping (Region.Mapping); end if; To_Disk (Region); Dispose (Region); end Free; ---------- -- Read -- ---------- procedure Read (File : Mapped_File; Region : in out Mapped_Region; Offset : File_Size := 0; Length : File_Size := 0; Mutable : Boolean := False) is File_Length : constant File_Size := Mmap.Length (File); Req_Offset : constant File_Size := Offset; Req_Length : File_Size := Length; -- Offset and Length of the region to map, used to adjust mapping -- bounds, reflecting what the user will see. Region_Allocated : Boolean := False; begin -- If this region comes from another file, or simply if the file is -- writeable, we cannot re-use this mapping: free it first. if Region /= Invalid_Mapped_Region and then (Region.File /= File or else File.File.Write) then Free (Region); end if; if Region = Invalid_Mapped_Region then Region := new Mapped_Region_Record'(Invalid_Mapped_Region_Record); Region_Allocated := True; end if; Region.File := File; if Req_Offset >= File_Length then -- If the requested offset goes beyond file size, map nothing Req_Length := 0; elsif Length = 0 or else Length > File_Length - Req_Offset then -- If Length is 0 or goes beyond file size, map till end of file Req_Length := File_Length - Req_Offset; else Req_Length := Length; end if; -- Past this point, the offset/length the user will see is fixed. On the -- other hand, the system offset/length is either already defined, from -- a previous mapping, or it is set to 0. In the latter case, the next -- step will set them according to the mapping. Region.User_Offset := Req_Offset; Region.User_Size := Req_Length; -- If the requested region is inside an already mapped region, adjust -- user-requested data and do nothing else. if (File.File.Write or else Region.Mutable = Mutable) and then Req_Offset >= Region.System_Offset and then (Req_Offset + Req_Length <= Region.System_Offset + Region.System_Size) then Region.User_Offset := Req_Offset; Compute_Data (Region); return; elsif Region.Buffer /= null then -- Otherwise, as we are not going to re-use the buffer, free it System.Strings.Free (Region.Buffer); Region.Buffer := null; elsif Region.Mapping /= Invalid_System_Mapping then -- Otherwise, there is a memory mapping that we need to unmap. Dispose_Mapping (Region.Mapping); end if; -- mmap() will sometimes return NULL when the file exists but is empty, -- which is not what we want, so in the case of a zero length file we -- fall back to read(2)/write(2)-based mode. if File_Length > 0 and then File.File.Mapped then Region.System_Offset := Req_Offset; Region.System_Size := Req_Length; Create_Mapping (File.File, Region.System_Offset, Region.System_Size, Mutable, Region.Mapping); Region.Mapped := True; Region.Mutable := Mutable; else -- There is no alignment requirement when manually reading the file. Region.System_Offset := Req_Offset; Region.System_Size := Req_Length; Region.Mapped := False; Region.Mutable := True; From_Disk (Region); end if; Region.Write := File.File.Write; Compute_Data (Region); exception when others => -- Before propagating any exception, free any region we allocated -- here. if Region_Allocated then Dispose (Region); end if; raise; end Read; ---------- -- Read -- ---------- procedure Read (File : Mapped_File; Offset : File_Size := 0; Length : File_Size := 0; Mutable : Boolean := False) is begin Read (File, File.Current_Region, Offset, Length, Mutable); end Read; ---------- -- Read -- ---------- function Read (File : Mapped_File; Offset : File_Size := 0; Length : File_Size := 0; Mutable : Boolean := False) return Mapped_Region is Region : Mapped_Region := Invalid_Mapped_Region; begin Read (File, Region, Offset, Length, Mutable); return Region; end Read; ------------ -- Length -- ------------ function Length (File : Mapped_File) return File_Size is begin return File.File.Length; end Length; ------------ -- Offset -- ------------ function Offset (Region : Mapped_Region) return File_Size is begin return Region.User_Offset; end Offset; ------------ -- Offset -- ------------ function Offset (File : Mapped_File) return File_Size is begin return Offset (File.Current_Region); end Offset; ---------- -- Last -- ---------- function Last (Region : Mapped_Region) return Integer is begin return Integer (Region.User_Size); end Last; ---------- -- Last -- ---------- function Last (File : Mapped_File) return Integer is begin return Last (File.Current_Region); end Last; ------------------- -- To_Str_Access -- ------------------- function To_Str_Access (Str : System.Strings.String_Access) return Str_Access is begin if Str = null then return null; else return Convert (Str.all'Address); end if; end To_Str_Access; ---------- -- Data -- ---------- function Data (Region : Mapped_Region) return Str_Access is begin return Region.Data; end Data; ---------- -- Data -- ---------- function Data (File : Mapped_File) return Str_Access is begin return Data (File.Current_Region); end Data; ---------------- -- Is_Mutable -- ---------------- function Is_Mutable (Region : Mapped_Region) return Boolean is begin return Region.Mutable or Region.Write; end Is_Mutable; ---------------- -- Is_Mmapped -- ---------------- function Is_Mmapped (File : Mapped_File) return Boolean is begin return File.File.Mapped; end Is_Mmapped; ------------------- -- Get_Page_Size -- ------------------- function Get_Page_Size return Integer is Result : constant File_Size := Get_Page_Size; begin return Integer (Result); end Get_Page_Size; --------------------- -- Read_Whole_File -- --------------------- function Read_Whole_File (Filename : String; Empty_If_Not_Found : Boolean := False) return System.Strings.String_Access is File : Mapped_File := Open_Read (Filename); Region : Mapped_Region renames File.Current_Region; Result : String_Access; begin Read (File); if Region.Data /= null then Result := new String'(String (Region.Data (1 .. Last (Region)))); elsif Region.Buffer /= null then Result := Region.Buffer; Region.Buffer := null; -- So that it is not deallocated end if; Close (File); return Result; exception when Ada.IO_Exceptions.Name_Error => if Empty_If_Not_Found then return new String'(""); else return null; end if; when others => Close (File); return null; end Read_Whole_File; --------------- -- From_Disk -- --------------- procedure From_Disk (Region : Mapped_Region) is begin pragma Assert (Region.File.all /= Invalid_Mapped_File_Record); pragma Assert (Region.Buffer = null); Region.Buffer := Read_From_Disk (Region.File.File, Region.User_Offset, Region.User_Size); Region.Mapped := False; end From_Disk; ------------- -- To_Disk -- ------------- procedure To_Disk (Region : Mapped_Region) is begin if Region.Write and then Region.Buffer /= null then pragma Assert (Region.File.all /= Invalid_Mapped_File_Record); Write_To_Disk (Region.File.File, Region.User_Offset, Region.User_Size, Region.Buffer); end if; System.Strings.Free (Region.Buffer); Region.Buffer := null; end To_Disk; ------------------ -- Compute_Data -- ------------------ procedure Compute_Data (Region : Mapped_Region) is Base_Data : Str_Access; -- Address of the first byte actually mapped in memory Data_Shift : constant Integer := Integer (Region.User_Offset - Region.System_Offset); begin if Region.User_Size = 0 then Region.Data := Convert (Empty_String'Address); return; elsif Region.Mapped then Base_Data := Convert (Region.Mapping.Address); else Base_Data := Convert (Region.Buffer.all'Address); end if; Region.Data := Convert (Base_Data (Data_Shift + 1)'Address); end Compute_Data; end System.Mmap;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . S T R I N G S . S T R E A M _ O P S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2009-2019, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package provides subprogram implementations of stream attributes for -- the following types using a "block IO" approach in which the entire data -- item is written in one operation, instead of writing individual characters. -- Ada.Stream_Element_Array -- Ada.String -- Ada.Wide_String -- Ada.Wide_Wide_String -- System.Storage_Array -- Note: this routine is in Ada.Strings because historically it handled only -- the string types. It is not worth moving it at this stage. -- The compiler will generate references to the subprograms in this package -- when expanding stream attributes for the above mentioned types. Example: -- String'Output (Some_Stream, Some_String); -- will be expanded into: -- String_Output (Some_Stream, Some_String); -- or -- String_Output_Blk_IO (Some_Stream, Some_String); -- String_Output form is used if pragma Restrictions (No_String_Optimziations) -- is active, which requires element by element operations. The BLK_IO form -- is used if this restriction is not set, allowing block optimization. -- Note that if System.Stream_Attributes.Block_IO_OK is False, then the BLK_IO -- form is treated as equivalent to the normal case, so that the optimization -- is inhibited anyway, regardless of the setting of the restriction. This -- handles versions of System.Stream_Attributes (in particular the XDR version -- found in s-stratt-xdr) which do not permit block io optimization. pragma Compiler_Unit_Warning; with Ada.Streams; with System.Storage_Elements; package System.Strings.Stream_Ops is ------------------------------------- -- Storage_Array stream operations -- ------------------------------------- function Storage_Array_Input (Strm : access Ada.Streams.Root_Stream_Type'Class) return System.Storage_Elements.Storage_Array; function Storage_Array_Input_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class) return System.Storage_Elements.Storage_Array; procedure Storage_Array_Output (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : System.Storage_Elements.Storage_Array); procedure Storage_Array_Output_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : System.Storage_Elements.Storage_Array); procedure Storage_Array_Read (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : out System.Storage_Elements.Storage_Array); procedure Storage_Array_Read_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : out System.Storage_Elements.Storage_Array); procedure Storage_Array_Write (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : System.Storage_Elements.Storage_Array); procedure Storage_Array_Write_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : System.Storage_Elements.Storage_Array); -------------------------------------------- -- Stream_Element_Array stream operations -- -------------------------------------------- function Stream_Element_Array_Input (Strm : access Ada.Streams.Root_Stream_Type'Class) return Ada.Streams.Stream_Element_Array; function Stream_Element_Array_Input_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class) return Ada.Streams.Stream_Element_Array; procedure Stream_Element_Array_Output (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : Ada.Streams.Stream_Element_Array); procedure Stream_Element_Array_Output_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : Ada.Streams.Stream_Element_Array); procedure Stream_Element_Array_Read (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : out Ada.Streams.Stream_Element_Array); procedure Stream_Element_Array_Read_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : out Ada.Streams.Stream_Element_Array); procedure Stream_Element_Array_Write (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : Ada.Streams.Stream_Element_Array); procedure Stream_Element_Array_Write_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : Ada.Streams.Stream_Element_Array); ------------------------------ -- String stream operations -- ------------------------------ function String_Input (Strm : access Ada.Streams.Root_Stream_Type'Class) return String; function String_Input_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class) return String; function String_Input_Tag (Strm : access Ada.Streams.Root_Stream_Type'Class) return String; -- Same as String_Input_Blk_IO, except raises an exception for overly long -- Strings. See expansion of Attribute_Input in Exp_Attr for details. procedure String_Output (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : String); procedure String_Output_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : String); procedure String_Read (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : out String); procedure String_Read_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : out String); procedure String_Write (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : String); procedure String_Write_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : String); ----------------------------------- -- Wide_String stream operations -- ----------------------------------- function Wide_String_Input (Strm : access Ada.Streams.Root_Stream_Type'Class) return Wide_String; function Wide_String_Input_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class) return Wide_String; procedure Wide_String_Output (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : Wide_String); procedure Wide_String_Output_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : Wide_String); procedure Wide_String_Read (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : out Wide_String); procedure Wide_String_Read_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : out Wide_String); procedure Wide_String_Write (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : Wide_String); procedure Wide_String_Write_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : Wide_String); ---------------------------------------- -- Wide_Wide_String stream operations -- ---------------------------------------- function Wide_Wide_String_Input (Strm : access Ada.Streams.Root_Stream_Type'Class) return Wide_Wide_String; function Wide_Wide_String_Input_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class) return Wide_Wide_String; procedure Wide_Wide_String_Output (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : Wide_Wide_String); procedure Wide_Wide_String_Output_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : Wide_Wide_String); procedure Wide_Wide_String_Read (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : out Wide_Wide_String); procedure Wide_Wide_String_Read_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : out Wide_Wide_String); procedure Wide_Wide_String_Write (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : Wide_Wide_String); procedure Wide_Wide_String_Write_Blk_IO (Strm : access Ada.Streams.Root_Stream_Type'Class; Item : Wide_Wide_String); end System.Strings.Stream_Ops;
----------------------------------------------------------------------- -- render -- XHTML Rendering example -- Copyright (C) 2010, 2017, 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.Text_IO; with Ada.IO_Exceptions; with Ada.Strings.Unbounded; with Ada.Strings.Fixed; with GNAT.Command_Line; with ASF.Applications.Main; with ASF.Requests.Mockup; with ASF.Responses.Mockup; with ASF.Servlets; with ASF.Servlets.Faces; with ASF.Server; with EL.Objects; -- This example reads an XHTML file and renders the result. procedure Render is use GNAT.Command_Line; use Ada.Strings.Fixed; use ASF; use EL.Objects; Factory : ASF.Applications.Main.Application_Factory; Faces : aliased ASF.Servlets.Faces.Faces_Servlet; App : aliased Applications.Main.Application; Conf : Applications.Config; Container : ASF.Server.Container; begin Conf.Set ("view.ignore_white_spaces", "false"); Conf.Set ("view.escape_unknown_tags", "false"); Conf.Set ("view.ignore_empty_lines", "true"); Conf.Set ("view.dir", "./"); Conf.Set ("view.file_ext", ""); App.Initialize (Conf, Factory); App.Add_Servlet (Name => "file", Server => Faces'Unchecked_Access); App.Add_Mapping ("*.xhtml", "file"); Container.Register_Application ("/render", App'Unchecked_Access); loop case Getopt ("D:") is when 'D' => declare Value : constant String := Parameter; Pos : constant Natural := Index (Value, "="); begin if Pos > 0 then App.Set_Global (Name => Value (Value'First .. Pos - 1), Value => To_Object (Value (Pos + 1 .. Value'Last))); else App.Set_Global (Name => Value (Value'First .. Pos - 1), Value => To_Object (True)); end if; end; when others => exit; end case; end loop; declare View_Name : constant String := Get_Argument; Pos : constant Natural := Index (View_Name, "."); Req : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; Content : Ada.Strings.Unbounded.Unbounded_String; begin if View_Name = "" or Pos = 0 then Ada.Text_IO.Put_Line ("Usage: render [-DNAME=VALUE ] file"); Ada.Text_IO.Put_Line ("Example: render -DcontextPath=/test samples/web/ajax.xhtml"); return; end if; Req.Set_Method ("GET"); Req.Set_Request_URI ("/render/" & View_Name); App.Dispatch (View_Name, Req, Reply); Reply.Read_Content (Content); Ada.Text_IO.Put_Line (Ada.Strings.Unbounded.To_String (Content)); exception when Ada.IO_Exceptions.Name_Error => Ada.Text_IO.Put_Line ("Cannot read file '" & View_Name & "'"); end; end Render;
-- POK header -- -- The following file is a part of the POK project. Any modification should -- be made according to the POK licence. You CANNOT use this file or a part -- of a file for your own project. -- -- For more information on the POK licence, please see our LICENCE FILE -- -- Please follow the coding guidelines described in doc/CODING_GUIDELINES -- -- Copyright (c) 2007-2022 POK team package body Compute is procedure Printf (String : in Interfaces.C.char_array); pragma Import (C, Printf, "printf"); procedure Compute is begin Printf ("beep "); end Compute; end Compute;
<?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>Loop_loop_height_pro_1</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>6</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>img_crop_data_stream_0_V</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></originalName> <rtlName></rtlName> <coreName>FIFO</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>img_crop_data_stream_1_V</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>FIFO</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>img_crop_data_stream_2_V</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>FIFO</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>img_nogamma_data_stream_0_V</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>FIFO</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_5"> <Value> <Obj> <type>1</type> <id>5</id> <name>img_nogamma_data_stream_1_V</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>FIFO</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_6"> <Value> <Obj> <type>1</type> <id>6</id> <name>img_nogamma_data_stream_2_V</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>FIFO</coreName> </Obj> <bitwidth>32</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>31</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_7"> <Value> <Obj> <type>0</type> <id>14</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>67</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>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>16</id> <name>t_V_3</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>r.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>68</item> <item>69</item> <item>71</item> <item>72</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>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>17</id> <name>exitcond113_i</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>142</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>C:\Users\byronxu\Documents\6.S193</first> <second class_id="12" tracking_level="0" version="0"> <count>2</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>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>142</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</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>73</item> <item>75</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.77</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>19</id> <name>r_V</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>142</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>142</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName>r.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>76</item> <item>78</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>1.73</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>20</id> <name></name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>142</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>142</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</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>79</item> <item>80</item> <item>81</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>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>24</id> <name></name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>143</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</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>97</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>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>26</id> <name>t_V_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>c.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>84</item> <item>85</item> <item>86</item> <item>87</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>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>27</id> <name>exitcond_i4</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>143</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</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>88</item> <item>90</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="_15"> <Value> <Obj> <type>0</type> <id>29</id> <name>c_V</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>143</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName>c.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>91</item> <item>93</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>1.63</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>30</id> <name></name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>143</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</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>94</item> <item>95</item> <item>96</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>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>37</id> <name>tmp_44</name> <fileName>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>679</lineNumber> <contextFuncName>read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>4</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>operator&amp;gt;&amp;gt;</second> </first> <second>711</second> </item> <item> <first> <first>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>read</second> </first> <second>679</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>148</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>99</item> <item>100</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>2.88</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>38</id> <name>tmp_30</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>152</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</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>101</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="_19"> <Value> <Obj> <type>0</type> <id>39</id> <name>tmp_45</name> <fileName>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>679</lineNumber> <contextFuncName>read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>4</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>operator&amp;gt;&amp;gt;</second> </first> <second>711</second> </item> <item> <first> <first>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>read</second> </first> <second>679</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>148</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>102</item> <item>103</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>2.88</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>40</id> <name>tmp_39_1</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>152</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</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>104</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>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>41</id> <name>tmp</name> <fileName>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>679</lineNumber> <contextFuncName>read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>4</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>operator&amp;gt;&amp;gt;</second> </first> <second>711</second> </item> <item> <first> <first>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>read</second> </first> <second>679</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>148</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>105</item> <item>106</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>2.88</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>42</id> <name>tmp_39_2</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>152</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</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>107</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>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>44</id> <name>lut_srgb_decode_addr</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>152</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>108</item> <item>110</item> <item>111</item> </oprand_edges> <opcode>getelementptr</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>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>45</id> <name>tmp_41</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>152</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>112</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>3.25</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>46</id> <name>tmp_31</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>152</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>113</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>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>47</id> <name>lut_srgb_decode_addr_1</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>152</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>114</item> <item>115</item> <item>116</item> </oprand_edges> <opcode>getelementptr</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="_27"> <Value> <Obj> <type>0</type> <id>48</id> <name>tmp_42</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>152</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>117</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>3.25</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>49</id> <name>tmp_32</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>152</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>118</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>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>50</id> <name>lut_srgb_decode_addr_2</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>152</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>119</item> <item>120</item> <item>121</item> </oprand_edges> <opcode>getelementptr</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="_30"> <Value> <Obj> <type>0</type> <id>51</id> <name>tmp_43</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>152</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>122</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>3.25</m_delay> <m_topoIndex>23</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>tmp_33</name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>152</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>152</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>123</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>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>55</id> <name></name> <fileName>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>703</lineNumber> <contextFuncName>write</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>4</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>operator&amp;lt;&amp;lt;</second> </first> <second>717</second> </item> <item> <first> <first>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>write</second> </first> <second>703</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>156</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</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>125</item> <item>126</item> <item>127</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>2.88</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>56</id> <name></name> <fileName>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>703</lineNumber> <contextFuncName>write</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>4</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>operator&amp;lt;&amp;lt;</second> </first> <second>717</second> </item> <item> <first> <first>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>write</second> </first> <second>703</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>156</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</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>128</item> <item>129</item> <item>130</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>2.88</m_delay> <m_topoIndex>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>57</id> <name></name> <fileName>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>703</lineNumber> <contextFuncName>write</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>4</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>operator&amp;lt;&amp;lt;</second> </first> <second>717</second> </item> <item> <first> <first>C:/Xilinx/Vivado/2018.3/common/technology/autopilot/hls/hls_video_core.h</first> <second>write</second> </first> <second>703</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>156</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</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>131</item> <item>132</item> <item>133</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>2.88</m_delay> <m_topoIndex>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>60</id> <name></name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>143</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</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>134</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>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>63</id> <name></name> <fileName>hls_video_processor/hls_video_processor.cpp</fileName> <fileDirectory>C:\Users\byronxu\Documents\6.S193</fileDirectory> <lineNumber>142</lineNumber> <contextFuncName>gamma_to_linear</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\byronxu\Documents\6.S193</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>gamma_to_linear</second> </first> <second>142</second> </item> <item> <first> <first>hls_video_processor/hls_video_processor.cpp</first> <second>hls_video_processor</second> </first> <second>422</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>82</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="_37"> <Value> <Obj> <type>0</type> <id>65</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>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>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_38"> <Value> <Obj> <type>2</type> <id>70</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>10</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_39"> <Value> <Obj> <type>2</type> <id>74</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>10</bitwidth> </Value> <const_type>0</const_type> <content>960</content> </item> <item class_id_reference="16" object_id="_40"> <Value> <Obj> <type>2</type> <id>77</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>10</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_41"> <Value> <Obj> <type>2</type> <id>83</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="_42"> <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>11</bitwidth> </Value> <const_type>0</const_type> <content>1920</content> </item> <item class_id_reference="16" object_id="_43"> <Value> <Obj> <type>2</type> <id>92</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>1</content> </item> <item class_id_reference="16" object_id="_44"> <Value> <Obj> <type>2</type> <id>109</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>0</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_45"> <Obj> <type>3</type> <id>15</id> <name>newFuncRoot</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>1</count> <item_version>0</item_version> <item>14</item> </node_objs> </item> <item class_id_reference="18" object_id="_46"> <Obj> <type>3</type> <id>21</id> <name>video_crop.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>4</count> <item_version>0</item_version> <item>16</item> <item>17</item> <item>19</item> <item>20</item> </node_objs> </item> <item class_id_reference="18" object_id="_47"> <Obj> <type>3</type> <id>25</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>1</count> <item_version>0</item_version> <item>24</item> </node_objs> </item> <item class_id_reference="18" object_id="_48"> <Obj> <type>3</type> <id>31</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>26</item> <item>27</item> <item>29</item> <item>30</item> </node_objs> </item> <item class_id_reference="18" object_id="_49"> <Obj> <type>3</type> <id>61</id> <name>operator&gt;&gt;.exit.i11</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>19</count> <item_version>0</item_version> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>55</item> <item>56</item> <item>57</item> <item>60</item> </node_objs> </item> <item class_id_reference="18" object_id="_50"> <Obj> <type>3</type> <id>64</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>1</count> <item_version>0</item_version> <item>63</item> </node_objs> </item> <item class_id_reference="18" object_id="_51"> <Obj> <type>3</type> <id>66</id> <name>gamma_to_linear.exit.exitStub</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>1</count> <item_version>0</item_version> <item>65</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>61</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_52"> <id>67</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_53"> <id>68</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>16</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_54"> <id>69</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>16</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_55"> <id>71</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_56"> <id>72</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_57"> <id>73</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="_58"> <id>75</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_59"> <id>76</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_60"> <id>78</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_61"> <id>79</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_62"> <id>80</id> <edge_type>2</edge_type> <source_obj>25</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_63"> <id>81</id> <edge_type>2</edge_type> <source_obj>66</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_64"> <id>82</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_65"> <id>84</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_66"> <id>85</id> <edge_type>2</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_67"> <id>86</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>26</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_68"> <id>87</id> <edge_type>2</edge_type> <source_obj>61</source_obj> <sink_obj>26</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_69"> <id>88</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_70"> <id>90</id> <edge_type>1</edge_type> <source_obj>89</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_71"> <id>91</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="_72"> <id>93</id> <edge_type>1</edge_type> <source_obj>92</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_73"> <id>94</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_74"> <id>95</id> <edge_type>2</edge_type> <source_obj>61</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_75"> <id>96</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_76"> <id>97</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_77"> <id>100</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_78"> <id>101</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_79"> <id>103</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_80"> <id>104</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="_81"> <id>106</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_82"> <id>107</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_83"> <id>108</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_84"> <id>110</id> <edge_type>1</edge_type> <source_obj>109</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_85"> <id>111</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_86"> <id>112</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="_87"> <id>113</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="_88"> <id>114</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_89"> <id>115</id> <edge_type>1</edge_type> <source_obj>109</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_90"> <id>116</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_91"> <id>117</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_92"> <id>118</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="_93"> <id>119</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_94"> <id>120</id> <edge_type>1</edge_type> <source_obj>109</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_95"> <id>121</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_96"> <id>122</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_97"> <id>123</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="_98"> <id>126</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_99"> <id>127</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_100"> <id>129</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_101"> <id>130</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_102"> <id>132</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_103"> <id>133</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_104"> <id>134</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_105"> <id>300</id> <edge_type>2</edge_type> <source_obj>15</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_106"> <id>301</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_107"> <id>302</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_108"> <id>303</id> <edge_type>2</edge_type> <source_obj>25</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_109"> <id>304</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_110"> <id>305</id> <edge_type>2</edge_type> <source_obj>31</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_111"> <id>306</id> <edge_type>2</edge_type> <source_obj>61</source_obj> <sink_obj>31</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_112"> <id>307</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>21</sink_obj> <is_back_edge>1</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_113"> <mId>1</mId> <mTag>Loop_loop_height_pro.1</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>7</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>1848961</mMinLatency> <mMaxLatency>1848961</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_114"> <mId>2</mId> <mTag>Entry</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>15</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_115"> <mId>3</mId> <mTag>loop_height</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>4</item> <item>5</item> <item>6</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>960</mMinTripCount> <mMaxTripCount>960</mMaxTripCount> <mMinLatency>1848960</mMinLatency> <mMaxLatency>1848960</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_116"> <mId>4</mId> <mTag>Region 1</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>21</item> <item>25</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_117"> <mId>5</mId> <mTag>loop_width</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>31</item> <item>61</item> </basic_blocks> <mII>1</mII> <mDepth>5</mDepth> <mMinTripCount>1920</mMinTripCount> <mMaxTripCount>1920</mMaxTripCount> <mMinLatency>1923</mMinLatency> <mMaxLatency>1923</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_118"> <mId>6</mId> <mTag>Region 2</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>64</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_119"> <mId>7</mId> <mTag>Return</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>66</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_120"> <states class_id="25" tracking_level="0" version="0"> <count>8</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_121"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_122"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_123"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_124"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_125"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_126"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_127"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_128"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_129"> <id>2</id> <operations> <count>9</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_130"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_131"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_132"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_133"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_134"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_135"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_136"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_137"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_138"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_139"> <id>3</id> <operations> <count>5</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_140"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_141"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_142"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_143"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_144"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_145"> <id>4</id> <operations> <count>12</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_146"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_147"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_148"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_149"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_150"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_151"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_152"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_153"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_154"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_155"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_156"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_157"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_158"> <id>5</id> <operations> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_159"> <id>45</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_160"> <id>48</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_161"> <id>51</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_162"> <id>6</id> <operations> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_163"> <id>45</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_164"> <id>48</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_165"> <id>51</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_166"> <id>7</id> <operations> <count>14</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_167"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_168"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_169"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_170"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_171"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_172"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_173"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_174"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_175"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_176"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_177"> <id>57</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_178"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_179"> <id>59</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_180"> <id>60</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_181"> <id>8</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_182"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_183"> <id>63</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_184"> <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> <item class_id_reference="30" object_id="_185"> <inState>2</inState> <outState>3</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item class_id="34" tracking_level="0" version="0"> <first class_id="35" tracking_level="0" version="0"> <first>17</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_186"> <inState>8</inState> <outState>2</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="30" object_id="_187"> <inState>4</inState> <outState>5</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="30" object_id="_188"> <inState>5</inState> <outState>6</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="30" object_id="_189"> <inState>6</inState> <outState>7</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="30" object_id="_190"> <inState>7</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="30" object_id="_191"> <inState>3</inState> <outState>8</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>27</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_192"> <inState>3</inState> <outState>4</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>27</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="37" tracking_level="0" version="0"> <count>31</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>14</first> <second class_id="39" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>16</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>4</first> <second>1</second> </second> </item> <item> <first>46</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>4</first> <second>1</second> </second> </item> <item> <first>49</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>4</first> <second>1</second> </second> </item> <item> <first>52</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>63</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>65</first> <second> <first>1</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="40" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>15</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>25</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>31</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>61</first> <second> <first>3</first> <second>6</second> </second> </item> <item> <first>64</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>66</first> <second> <first>1</first> <second>1</second> </second> </item> </bblk_ent_exit> <regions class_id="43" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="44" tracking_level="1" version="0" object_id="_193"> <region_name>loop_width</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>31</item> <item>61</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>5</pipe_depth> </item> <item class_id_reference="44" object_id="_194"> <region_name>hls_label_2</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>61</item> </basic_blocks> <nodes> <count>6</count> <item_version>0</item_version> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> </nodes> <anchor_node>53</anchor_node> <region_type>1</region_type> <interval>0</interval> <pipe_depth>0</pipe_depth> </item> </regions> <dp_fu_nodes class_id="45" tracking_level="0" version="0"> <count>22</count> <item_version>0</item_version> <item class_id="46" tracking_level="0" version="0"> <first>70</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>76</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>82</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>88</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>95</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>102</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>109</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>116</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>123</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>130</first> <second> <count>6</count> <item_version>0</item_version> <item>45</item> <item>45</item> <item>48</item> <item>48</item> <item>51</item> <item>51</item> </second> </item> <item> <first>147</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>158</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>165</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>171</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>177</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>183</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>189</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>194</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>199</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>204</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>208</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>212</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="48" tracking_level="0" version="0"> <count>15</count> <item_version>0</item_version> <item class_id="49" tracking_level="0" version="0"> <first>c_V_fu_183</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>exitcond113_i_fu_165</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>exitcond_i4_fu_177</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>lut_srgb_decode_addr_1_gep_fu_116</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>lut_srgb_decode_addr_2_gep_fu_123</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>lut_srgb_decode_addr_gep_fu_109</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>r_V_fu_171</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>t_V_1_phi_fu_158</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>t_V_3_phi_fu_147</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>tmp_30_fu_189</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>tmp_31_fu_204</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>tmp_32_fu_208</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>tmp_33_fu_212</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>tmp_39_1_fu_194</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>tmp_39_2_fu_199</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> </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>6</count> <item_version>0</item_version> <item> <first>StgValue_56_write_fu_88</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>StgValue_57_write_fu_95</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>StgValue_58_write_fu_102</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>tmp_44_read_fu_70</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>tmp_45_read_fu_76</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>tmp_read_fu_82</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="50" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="51" tracking_level="0" version="0"> <first class_id="52" tracking_level="0" version="0"> <first>lut_srgb_decode</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>45</item> <item>45</item> </second> </item> <item> <first> <first>lut_srgb_decode</first> <second>1</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>48</item> <item>48</item> </second> </item> <item> <first> <first>lut_srgb_decode</first> <second>2</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>51</item> <item>51</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>12</count> <item_version>0</item_version> <item> <first>143</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>154</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>216</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>220</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>225</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>229</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>234</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>239</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>244</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>249</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>254</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>259</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>12</count> <item_version>0</item_version> <item> <first>c_V_reg_229</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>exitcond113_i_reg_216</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>exitcond_i4_reg_225</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>lut_srgb_decode_addr_1_reg_239</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>lut_srgb_decode_addr_2_reg_244</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>lut_srgb_decode_addr_reg_234</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>r_V_reg_220</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>t_V_1_reg_154</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>t_V_3_reg_143</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>tmp_41_reg_249</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>tmp_42_reg_254</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>tmp_43_reg_259</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>2</count> <item_version>0</item_version> <item> <first>143</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>154</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>2</count> <item_version>0</item_version> <item> <first>t_V_1_reg_154</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>t_V_3_reg_143</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="53" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="54" tracking_level="0" version="0"> <first>img_crop_data_stream_0_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> </second> </item> <item> <first>img_crop_data_stream_1_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> </second> </item> <item> <first>img_crop_data_stream_2_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> </second> </item> <item> <first>img_nogamma_data_stream_0_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> </second> </item> <item> <first>img_nogamma_data_stream_1_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> </second> </item> <item> <first>img_nogamma_data_stream_2_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="55" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="56" tracking_level="0" version="0"> <first>1</first> <second>FIFO</second> </item> <item> <first>2</first> <second>FIFO</second> </item> <item> <first>3</first> <second>FIFO</second> </item> <item> <first>4</first> <second>FIFO</second> </item> <item> <first>5</first> <second>FIFO</second> </item> <item> <first>6</first> <second>FIFO</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
-- CA1012A1.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. --* -- GENERIC PROCEDURE BODY. -- DECLARATION IS IN CA1012A0.DEP. -- INSTANTIATION IN CA1012A4M.DEP. -- APPLICABILITY CRITERIA: -- THIS UNIT MUST BE ACCEPTED BY ALL ADA 95 IMPLEMENTATIONS. -- HISTORY: -- WKB 07/20/81 CREATED ORIGINAL TEST. -- PWB 02/19/86 ADDED COMMENTS TO DESCRIBE RELATION TO OTHER FILES -- IN TEST AND POSSIBLE NON-APPLICABILITY. -- BCB 01/05/88 MODIFIED HEADER. -- RLB 09/13/99 UPDATED APPLICABILITY CRITERIA FOR ADA 95. PROCEDURE CA1012A0 (I : IN OUT INDEX) IS BEGIN I := I + 1; END CA1012A0;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . C O M M A N D _ L I N E . R E M O V E -- -- -- -- B o d y -- -- -- -- Copyright (C) 1999-2006, 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, 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. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ package body Ada.Command_Line.Remove is ----------------------- -- Local Subprograms -- ----------------------- procedure Initialize; -- Initialize the Remove_Count and Remove_Args variables ---------------- -- Initialize -- ---------------- procedure Initialize is begin if Remove_Args = null then Remove_Count := Argument_Count; Remove_Args := new Arg_Nums (1 .. Argument_Count); for J in Remove_Args'Range loop Remove_Args (J) := J; end loop; end if; end Initialize; --------------------- -- Remove_Argument -- --------------------- procedure Remove_Argument (Number : Positive) is begin Initialize; if Number > Remove_Count then raise Constraint_Error; end if; Remove_Count := Remove_Count - 1; for J in Number .. Remove_Count loop Remove_Args (J) := Remove_Args (J + 1); end loop; end Remove_Argument; procedure Remove_Argument (Argument : String) is begin for J in reverse 1 .. Argument_Count loop if Argument = Ada.Command_Line.Argument (J) then Remove_Argument (J); end if; end loop; end Remove_Argument; ---------------------- -- Remove_Arguments -- ---------------------- procedure Remove_Arguments (From : Positive; To : Natural) is begin Initialize; if From > Remove_Count or else To > Remove_Count then raise Constraint_Error; end if; if To >= From then Remove_Count := Remove_Count - (To - From + 1); for J in From .. Remove_Count loop Remove_Args (J) := Remove_Args (J + (To - From + 1)); end loop; end if; end Remove_Arguments; procedure Remove_Arguments (Argument_Prefix : String) is begin for J in reverse 1 .. Argument_Count loop declare Arg : constant String := Argument (J); begin if Arg'Length >= Argument_Prefix'Length and then Arg (1 .. Argument_Prefix'Length) = Argument_Prefix then Remove_Argument (J); end if; end; end loop; end Remove_Arguments; end Ada.Command_Line.Remove;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ package body SGTL5000 is ------------ -- Modify -- ------------ procedure Modify (This : in out SGTL5000_DAC; Reg : UInt16; Mask : UInt16; Value : UInt16) is Tmp : UInt16 := This.I2C_Read (Reg); begin Tmp := Tmp and (not Mask); Tmp := Tmp or Value; This.I2C_Write (Reg, Tmp); end Modify; --------------- -- I2C_Write -- --------------- procedure I2C_Write (This : in out SGTL5000_DAC; Reg : UInt16; Value : UInt16) is Status : I2C_Status with Unreferenced; begin This.Port.Mem_Write (Addr => SGTL5000_QFN20_I2C_Addr, Mem_Addr => Reg, Mem_Addr_Size => Memory_Size_16b, Data => (1 => UInt8 (Shift_Right (Value, 8) and 16#FF#), 2 => UInt8 (Value and 16#FF#)), Status => Status); end I2C_Write; -------------- -- I2C_Read -- -------------- function I2C_Read (This : SGTL5000_DAC; Reg : UInt16) return UInt16 is Status : I2C_Status; Data : I2C_Data (1 .. 2); begin This.Port.Mem_Read (Addr => SGTL5000_QFN20_I2C_Addr, Mem_Addr => Reg, Mem_Addr_Size => Memory_Size_16b, Data => Data, Status => Status); return Shift_Left (UInt16 (Data (1)), 8) or UInt16 (Data (2)); end I2C_Read; -------------- -- Valid_Id -- -------------- function Valid_Id (This : SGTL5000_DAC) return Boolean is Id : constant UInt16 := This.I2C_Read (Chip_ID_Reg); begin return (Id and 16#FF00#) = SGTL5000_Chip_ID; end Valid_Id; -------------------- -- Set_DAC_Volume -- -------------------- procedure Set_DAC_Volume (This : in out SGTL5000_DAC; Left, Right : DAC_Volume) is begin This.I2C_Write (DAC_VOL_REG, UInt16 (Left) or Shift_Left (UInt16 (Right), 8)); end Set_DAC_Volume; -------------------- -- Set_ADC_Volume -- -------------------- procedure Set_ADC_Volume (This : in out SGTL5000_DAC; Left, Right : ADC_Volume; Minus_6db : Boolean) is begin This.Modify (ANA_ADC_CTRL_REG, 2#0000_0001_1111_1111#, UInt16 (Left) or Shift_Left (UInt16 (Right), 4) or (if Minus_6db then 2#000_0001_0000_0000# else 0)); end Set_ADC_Volume; --------------------------- -- Set_Headphones_Volume -- --------------------------- procedure Set_Headphones_Volume (This : in out SGTL5000_DAC; Left, Right : HP_Volume) is begin This.Modify (ANA_HP_CTRL_REG, 2#0111_1111_0111_1111#, UInt16 (Left) or Shift_Left (UInt16 (Right), 8)); end Set_Headphones_Volume; ------------------------- -- Set_Line_Out_Volume -- ------------------------- procedure Set_Line_Out_Volume (This : in out SGTL5000_DAC; Left, Right : Line_Out_Volume) is begin This.Modify (LINE_OUT_VOL_REG, 2#0001_1111_0001_1111#, UInt16 (Left) or Shift_Left (UInt16 (Right), 8)); end Set_Line_Out_Volume; --------------------- -- Mute_Headphones -- --------------------- procedure Mute_Headphones (This : in out SGTL5000_DAC; Mute : Boolean := True) is begin This.Modify (ANA_CTRL_REG, 2#0000_0000_0001_0000#, (if Mute then 2#0000_0000_0001_0000# else 0)); end Mute_Headphones; ------------------- -- Mute_Line_Out -- ------------------- procedure Mute_Line_Out (This : in out SGTL5000_DAC; Mute : Boolean := True) is begin This.Modify (ANA_CTRL_REG, 2#0000_0001_0000_0000#, (if Mute then 2#0000_0001_0000_0000# else 0)); end Mute_Line_Out; -------------- -- Mute_ADC -- -------------- procedure Mute_ADC (This : in out SGTL5000_DAC; Mute : Boolean := True) is begin This.Modify (ANA_CTRL_REG, 2#0000_0000_0000_0001#, (if Mute then 2#0000_0000_0000_0001# else 0)); end Mute_ADC; -------------- -- Mute_DAC -- -------------- procedure Mute_DAC (This : in out SGTL5000_DAC; Mute : Boolean := True) is begin This.Modify (ADCDAC_CTRL_REG, 2#0000_0000_0000_1100#, (if Mute then 2#0000_0000_0000_1100# else 0)); end Mute_DAC; ----------------------- -- Set_Power_Control -- ----------------------- procedure Set_Power_Control (This : in out SGTL5000_DAC; ADC : Power_State; DAC : Power_State; DAP : Power_State; I2S_Out : Power_State; I2S_In : Power_State) is Value : UInt16 := 0; begin if ADC = On then Value := Value or 2#0000_0000_0100_0000#; end if; if DAC = On then Value := Value or 2#0000_0000_0010_0000#; end if; if DAP = On then Value := Value or 2#0000_0000_0001_0000#; end if; if I2S_Out = On then Value := Value or 2#0000_0000_0000_0010#; end if; if I2S_In = On then Value := Value or 2#0000_0000_0000_0001#; end if; This.Modify (DIG_POWER_REG, 2#0000_0000_0111_0011#, Value); end Set_Power_Control; --------------------------- -- Set_Reference_Control -- --------------------------- procedure Set_Reference_Control (This : in out SGTL5000_DAC; VAG : Analog_Ground_Voltage; Bias : Current_Bias; Slow_VAG_Ramp : Boolean) is Value : UInt16 := 0; begin Value := Value or Shift_Left (UInt16 (VAG), 4); Value := Value or Shift_Left (UInt16 (Bias), 1); Value := Value or (if Slow_VAG_Ramp then 1 else 0); This.I2C_Write (REF_CTRL_REG, Value); end Set_Reference_Control; ------------------------- -- Set_Short_Detectors -- ------------------------- procedure Set_Short_Detectors (This : in out SGTL5000_DAC; Right_HP : Short_Detector_Level; Left_HP : Short_Detector_Level; Center_HP : Short_Detector_Level; Mode_LR : UInt2; Mode_CM : UInt2) is Value : UInt16 := 0; begin Value := Value or (Shift_Left (UInt16 (Right_HP), 12)); Value := Value or (Shift_Left (UInt16 (Left_HP), 8)); Value := Value or (Shift_Left (UInt16 (Center_HP), 4)); Value := Value or (Shift_Left (UInt16 (Mode_LR), 2)); Value := Value or UInt16 (Mode_CM); This.I2C_Write (SHORT_CTRL_REG, Value); end Set_Short_Detectors; ------------------------- -- Set_Linereg_Control -- ------------------------- procedure Set_Linereg_Control (This : in out SGTL5000_DAC; Charge_Pump_Src_Override : Boolean; Charge_Pump_Src : Charge_Pump_Source; Linereg_Out_Voltage : Linear_Regulator_Out_Voltage) is Value : UInt16 := 0; begin if Charge_Pump_Src_Override then Value := Value or 2#10_0000#; end if; if Charge_Pump_Src = VDDIO then Value := Value or 2#100_0000#; end if; Value := Value or UInt16 (Linereg_Out_Voltage); This.I2C_Write (LINE_OUT_CTRL_REG, Value); end Set_Linereg_Control; ---------------------- -- Set_Analog_Power -- ---------------------- procedure Set_Analog_Power (This : in out SGTL5000_DAC; DAC_Mono : Boolean := False; Linreg_Simple_PowerUp : Boolean := False; Startup_PowerUp : Boolean := False; VDDC_Charge_Pump_PowerUp : Boolean := False; PLL_PowerUp : Boolean := False; Linereg_D_PowerUp : Boolean := False; VCOAmp_PowerUp : Boolean := False; VAG_PowerUp : Boolean := False; ADC_Mono : Boolean := False; Reftop_PowerUp : Boolean := False; Headphone_PowerUp : Boolean := False; DAC_PowerUp : Boolean := False; Capless_Headphone_PowerUp : Boolean := False; ADC_PowerUp : Boolean := False; Linout_PowerUp : Boolean := False) is Value : UInt16 := 0; begin if Linout_PowerUp then Value := Value or 2**0; end if; if ADC_PowerUp then Value := Value or 2**1; end if; if Capless_Headphone_PowerUp then Value := Value or 2**2; end if; if DAC_PowerUp then Value := Value or 2**3; end if; if Headphone_PowerUp then Value := Value or 2**4; end if; if Reftop_PowerUp then Value := Value or 2**5; end if; if not ADC_Mono then Value := Value or 2**6; end if; if VAG_PowerUp then Value := Value or 2**7; end if; if VCOAmp_PowerUp then Value := Value or 2**8; end if; if Linereg_D_PowerUp then Value := Value or 2**9; end if; if PLL_PowerUp then Value := Value or 2**10; end if; if VDDC_Charge_Pump_PowerUp then Value := Value or 2**11; end if; if Startup_PowerUp then Value := Value or 2**12; end if; if Linreg_Simple_PowerUp then Value := Value or 2**13; end if; if not DAC_Mono then Value := Value or 2**14; end if; This.I2C_Write (ANA_POWER_REG, Value); end Set_Analog_Power; ----------------------- -- Set_Clock_Control -- ----------------------- procedure Set_Clock_Control (This : in out SGTL5000_DAC; Rate : Rate_Mode; FS : SYS_FS_Freq; MCLK : MCLK_Mode) is Value : UInt16 := 0; begin Value := Value or (case Rate is when SYS_FS => 2#00_0000#, when Half_SYS_FS => 2#01_0000#, when Quarter_SYS_FS => 2#10_0000#, when Sixth_SYS_FS => 2#11_0000#); Value := Value or (case FS is when SYS_FS_32kHz => 2#0000#, when SYS_FS_44kHz => 2#0100#, when SYS_FS_48kHz => 2#1000#, when SYS_FS_96kHz => 2#1100#); Value := Value or (case MCLK is when MCLK_256FS => 2#00#, when MCLK_384FS => 2#01#, when MCLK_512FS => 2#10#, when Use_PLL => 2#11#); This.I2C_Write (CLK_CTRL_REG, Value); end Set_Clock_Control; --------------------- -- Set_I2S_Control -- --------------------- procedure Set_I2S_Control (This : in out SGTL5000_DAC; SCLKFREQ : SCLKFREQ_Mode; Invert_SCLK : Boolean; Master_Mode : Boolean; Data_Len : Data_Len_Mode; I2S : I2S_Mode; LR_Align : Boolean; LR_Polarity : Boolean) is Value : UInt16 := 0; begin Value := Value or (case SCLKFREQ is when SCLKFREQ_64FS => 2#0_0000_0000#, when SCLKFREQ_32FS => 2#1_0000_0000#); if Invert_SCLK then Value := Value or 2#0100_0000#; end if; if Master_Mode then Value := Value or 2#1000_0000#; end if; Value := Value or (case Data_Len is when Data_32b => 2#00_0000#, when Data_24b => 2#01_0000#, when Data_20b => 2#10_0000#, when Data_16b => 2#11_0000#); Value := Value or (case I2S is when I2S_Left_Justified => 2#0000#, when Right_Justified => 2#0100#, when PCM => 2#1000#); if LR_Align then Value := Value or 2#10#; end if; if LR_Polarity then Value := Value or 2#1#; end if; This.I2C_Write (I2S_CTRL_REG, Value); end Set_I2S_Control; ----------------------- -- Select_ADC_Source -- ----------------------- procedure Select_ADC_Source (This : in out SGTL5000_DAC; Source : ADC_Source; Enable_ZCD : Boolean) is begin This.Modify (ANA_CTRL_REG, 2#0000_0000_0000_0100#, (case Source is when Microphone => 2#0000_0000_0000_0000#, when Line_In => 2#0000_0000_0000_0100#) or (if Enable_ZCD then 2#0000_0000_0000_0010# else 0)); end Select_ADC_Source; ----------------------- -- Select_DAP_Source -- ----------------------- procedure Select_DAP_Source (This : in out SGTL5000_DAC; Source : DAP_Source) is begin This.Modify (SSS_CTRL_REG, 2#0000_0000_1100_0000#, (case Source is when ADC => 2#0000_0000_0000_0000#, when I2S_In => 2#0000_0000_0100_0000#)); end Select_DAP_Source; --------------------------- -- Select_DAP_Mix_Source -- --------------------------- procedure Select_DAP_Mix_Source (This : in out SGTL5000_DAC; Source : DAP_Mix_Source) is begin This.Modify (SSS_CTRL_REG, 2#0000_0011_0000_0000#, (case Source is when ADC => 2#0000_0000_0000_0000#, when I2S_In => 2#0000_0001_0000_0000#)); end Select_DAP_Mix_Source; ----------------------- -- Select_DAC_Source -- ----------------------- procedure Select_DAC_Source (This : in out SGTL5000_DAC; Source : DAC_Source) is begin This.Modify (SSS_CTRL_REG, 2#0000_0000_0011_0000#, (case Source is when ADC => 2#0000_0000_0000_0000#, when I2S_In => 2#0000_0000_0001_0000#, when DAP => 2#0000_0000_0011_0000#)); end Select_DAC_Source; ---------------------- -- Select_HP_Source -- ---------------------- procedure Select_HP_Source (This : in out SGTL5000_DAC; Source : HP_Source; Enable_ZCD : Boolean) is begin This.Modify (ANA_CTRL_REG, 2#0000_0000_0100_0000#, (case Source is when DAC => 2#0000_0000_0000_0000#, when Line_In => 2#0000_0000_0100_0000#) or (if Enable_ZCD then 2#0000_0000_0010_0000# else 0)); end Select_HP_Source; --------------------------- -- Select_I2S_Out_Source -- --------------------------- procedure Select_I2S_Out_Source (This : in out SGTL5000_DAC; Source : I2S_Out_Source) is begin This.Modify (SSS_CTRL_REG, 2#0000_0000_0000_0011#, (case Source is when ADC => 2#0000_0000_0000_0000#, when I2S_In => 2#0000_0000_0000_0001#, when DAP => 2#0000_0000_0000_0011#)); end Select_I2S_Out_Source; end SGTL5000;
----------------------------------------------------------------------- -- wiki-render -- Wiki renderer -- Copyright (C) 2015, 2016, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Wiki.Nodes; with Wiki.Documents; -- == Wiki Renderer {#wiki-render} == -- The `Wiki.Render` package represents the renderer that takes a wiki document -- and render the result either in text, HTML or another format. -- -- @include wiki-render-html.ads -- @include wiki-render-links.ads -- @include wiki-render-text.ads -- @include wiki-render-wiki.ads package Wiki.Render is pragma Preelaborate; -- ------------------------------ -- Document renderer -- ------------------------------ type Renderer is limited interface; type Renderer_Access is access all Renderer'Class; -- Render the node instance from the document. procedure Render (Engine : in out Renderer; Doc : in Wiki.Documents.Document; Node : in Wiki.Nodes.Node_Type) is abstract; -- Finish the rendering pass after all the wiki document nodes are rendered. procedure Finish (Engine : in out Renderer; Doc : in Wiki.Documents.Document) is null; -- Render the list of nodes from the document. procedure Render (Engine : in out Renderer'Class; Doc : in Wiki.Documents.Document; List : in Wiki.Nodes.Node_List_Access); -- Render the document. procedure Render (Engine : in out Renderer'Class; Doc : in Wiki.Documents.Document); end Wiki.Render;
-- -- (c) Copyright 1993,1994,1995,1996 Silicon Graphics, Inc. -- ALL RIGHTS RESERVED -- Permission to use, copy, modify, and distribute this software for -- any purpose and without fee is hereby granted, provided that the above -- copyright notice appear in all copies and that both the copyright notice -- and this permission notice appear in supporting documentation, and that -- the name of Silicon Graphics, Inc. not be used in advertising -- or publicity pertaining to distribution of the software without specific, -- written prior permission. -- -- THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" -- AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, -- INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR -- FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON -- GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, -- SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY -- KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, -- LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF -- THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN -- ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON -- ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE -- POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. -- -- US Government Users Restricted Rights -- Use, duplication, or disclosure by the Government is subject to -- restrictions set forth in FAR 52.227.19(c)(2) or subparagraph -- (c)(1)(ii) of the Rights in Technical Data and Computer Software -- clause at DFARS 252.227-7013 and/or in similar or successor -- clauses in the FAR or the DOD or NASA FAR Supplement. -- Unpublished-- rights reserved under the copyright laws of the -- United States. Contractor/manufacturer is Silicon Graphics, -- Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. -- -- OpenGL(TM) is a trademark of Silicon Graphics, Inc. -- with GL; use GL; package Fog_Procs is fogType : FogMode; procedure CycleFog (btn: Integer; state: Integer; x, y: Integer); procedure Initialize; procedure RenderRedTeapot (x : GLfloat; y : GLfloat; z : GLfloat); procedure Display; procedure HandleReshape (w : Integer; h : Integer); end Fog_Procs;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . V A L _ D E C -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2009, 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. -- -- -- -- -- -- -- -- -- -- -- -- 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 package contains routines for scanning decimal values where the size -- of the type is no greater than Standard.Integer'Size, for use in Text_IO. -- Decimal_IO, and the Value attribute for such decimal types. package System.Val_Dec is pragma Pure; function Scan_Decimal (Str : String; Ptr : not null access Integer; Max : Integer; Scale : Integer) return Integer; -- This function scans the string starting at Str (Ptr.all) for a valid -- real literal according to the syntax described in (RM 3.5(43)). The -- substring scanned extends no further than Str (Max). There are three -- cases for the return: -- -- If a valid real literal is found after scanning past any initial spaces, -- then Ptr.all is updated past the last character of the literal (but -- trailing spaces are not scanned out). The value returned is the value -- Integer'Integer_Value (decimal-literal-value), using the given Scale -- to determine this value. -- -- If no valid real literal is found, then Ptr.all points either to an -- initial non-digit character, or to Max + 1 if the field is all spaces -- and the exception Constraint_Error is raised. -- -- If a syntactically valid integer is scanned, but the value is out of -- range, or, in the based case, the base value is out of range or there -- is an out of range digit, then Ptr.all points past the integer, and -- Constraint_Error is raised. -- -- Note: these rules correspond to the requirements for leaving the -- pointer positioned in Text_Io.Get -- -- Note: if Str is null, i.e. if Max is less than Ptr, then this is a -- special case of an all-blank string, and Ptr is unchanged, and hence -- is greater than Max as required in this case. function Value_Decimal (Str : String; Scale : Integer) return Integer; -- Used in computing X'Value (Str) where X is a decimal types whose size -- does not exceed Standard.Integer'Size. Str is the string argument of -- the attribute. Constraint_Error is raised if the string is malformed -- or if the value is out of range, otherwise the value returned is the -- value Integer'Integer_Value (decimal-literal-value), using the given -- Scale to determine this value. end System.Val_Dec;
-------------------------------------------------------------------------------------------------------------------- -- 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. -------------------------------------------------------------------------------------------------------------------- -- Gen_Keyboard -------------------------------------------------------------------------------------------------------------------- -- Generates the SDL.Events.Keyboards.ads file. -- Makefile should call this and redirect the output to the correct file in $TOP/gen_src/sdl-events-keyboards.ads. -------------------------------------------------------------------------------------------------------------------- with Ada.Unchecked_Conversion; with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Characters.Latin_1; with Utils; use Utils; with Scancodes; use Scancodes; procedure Gen_Keyboard is package Latin_1 renames Ada.Characters.Latin_1; function To_US (Str : in String) return Unbounded_String renames To_Unbounded_String; License : constant array (Positive range <>) of Unbounded_String := (To_US ("Copyright (c) 2013-2020, Luke A. Guest"), To_US (""), To_US ("This software is provided 'as-is', without any express or implied"), To_US ("warranty. In no event will the authors be held liable for any damages"), To_US ("arising from the use of this software."), To_US (""), To_US ("Permission is granted to anyone to use this software for any purpose,"), To_US ("including commercial applications, and to alter it and redistribute it"), To_US ("freely, subject to the following restrictions:"), To_US (""), To_US (" 1. The origin of this software must not be misrepresented; you must not"), To_US (" claim that you wrote the original software. If you use this software"), To_US (" in a product, an acknowledgment in the product documentation would be"), To_US (" appreciated but is not required."), To_US (""), To_US (" 2. Altered source versions must be plainly marked as such, and must not be"), To_US (" misrepresented as being the original software."), To_US (""), To_US (" 3. This notice may not be removed or altered from any source"), To_US (" distribution.")); Package_Description : constant array (Positive range <>) of Unbounded_String := (To_US ("SDL.Events.Keyboards"), To_US (""), To_US ("Keyboard specific events.")); type Mapping_States is (Output, New_Line, Comment); package Scan_Codes_IO is new Integer_IO (Scan_Codes); use Scan_Codes_IO; type Scan_Code_Mapping is record State : Mapping_States := Output; Name : Unbounded_String := Null_Unbounded_String; Code : Scan_Codes := Scan_Codes'Last; Comment : Unbounded_String := Null_Unbounded_String; end record; New_Line_Scan_Code : constant Scan_Code_Mapping := (New_Line, Null_Unbounded_String, Scan_Codes'Last, Null_Unbounded_String); type Scan_Code_Tables is array (Positive range <>) of Scan_Code_Mapping; Scan_Code_Table : constant Scan_Code_Tables := ((Output, To_US ("Scan_Code_Unknown"), 0, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_A"), 4, Null_Unbounded_String), (Output, To_US ("Scan_Code_B"), 5, Null_Unbounded_String), (Output, To_US ("Scan_Code_C"), 6, Null_Unbounded_String), (Output, To_US ("Scan_Code_D"), 7, Null_Unbounded_String), (Output, To_US ("Scan_Code_E"), 8, Null_Unbounded_String), (Output, To_US ("Scan_Code_F"), 9, Null_Unbounded_String), (Output, To_US ("Scan_Code_G"), 10, Null_Unbounded_String), (Output, To_US ("Scan_Code_H"), 11, Null_Unbounded_String), (Output, To_US ("Scan_Code_I"), 12, Null_Unbounded_String), (Output, To_US ("Scan_Code_J"), 13, Null_Unbounded_String), (Output, To_US ("Scan_Code_K"), 14, Null_Unbounded_String), (Output, To_US ("Scan_Code_L"), 15, Null_Unbounded_String), (Output, To_US ("Scan_Code_M"), 16, Null_Unbounded_String), (Output, To_US ("Scan_Code_N"), 17, Null_Unbounded_String), (Output, To_US ("Scan_Code_O"), 18, Null_Unbounded_String), (Output, To_US ("Scan_Code_P"), 19, Null_Unbounded_String), (Output, To_US ("Scan_Code_Q"), 20, Null_Unbounded_String), (Output, To_US ("Scan_Code_R"), 21, Null_Unbounded_String), (Output, To_US ("Scan_Code_S"), 22, Null_Unbounded_String), (Output, To_US ("Scan_Code_T"), 23, Null_Unbounded_String), (Output, To_US ("Scan_Code_U"), 24, Null_Unbounded_String), (Output, To_US ("Scan_Code_V"), 25, Null_Unbounded_String), (Output, To_US ("Scan_Code_W"), 26, Null_Unbounded_String), (Output, To_US ("Scan_Code_X"), 27, Null_Unbounded_String), (Output, To_US ("Scan_Code_Y"), 28, Null_Unbounded_String), (Output, To_US ("Scan_Code_Z"), 29, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_1"), 30, Null_Unbounded_String), (Output, To_US ("Scan_Code_2"), 31, Null_Unbounded_String), (Output, To_US ("Scan_Code_3"), 32, Null_Unbounded_String), (Output, To_US ("Scan_Code_4"), 33, Null_Unbounded_String), (Output, To_US ("Scan_Code_5"), 34, Null_Unbounded_String), (Output, To_US ("Scan_Code_6"), 35, Null_Unbounded_String), (Output, To_US ("Scan_Code_7"), 36, Null_Unbounded_String), (Output, To_US ("Scan_Code_8"), 37, Null_Unbounded_String), (Output, To_US ("Scan_Code_9"), 38, Null_Unbounded_String), (Output, To_US ("Scan_Code_0"), 39, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_Return"), 40, Null_Unbounded_String), (Output, To_US ("Scan_Code_Escape"), 41, Null_Unbounded_String), (Output, To_US ("Scan_Code_Backspace"), 42, Null_Unbounded_String), (Output, To_US ("Scan_Code_Tab"), 43, Null_Unbounded_String), (Output, To_US ("Scan_Code_Space"), 44, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_Minus"), 45, Null_Unbounded_String), (Output, To_US ("Scan_Code_Equals"), 46, Null_Unbounded_String), (Output, To_US ("Scan_Code_Left_Bracket"), 47, Null_Unbounded_String), (Output, To_US ("Scan_Code_Right_Bracket"), 48, Null_Unbounded_String), (Output, To_US ("Scan_Code_Back_Slash"), 49, Null_Unbounded_String), (Output, To_US ("Scan_Code_Non_US_Hash"), 50, Null_Unbounded_String), (Output, To_US ("Scan_Code_Semi_Colon"), 51, Null_Unbounded_String), (Output, To_US ("Scan_Code_Apostrophe"), 52, Null_Unbounded_String), (Output, To_US ("Scan_Code_Grave"), 53, Null_Unbounded_String), (Output, To_US ("Scan_Code_Comma"), 54, Null_Unbounded_String), (Output, To_US ("Scan_Code_Period"), 55, Null_Unbounded_String), (Output, To_US ("Scan_Code_Slash"), 56, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_Caps_Lock"), 57, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_F1"), 58, Null_Unbounded_String), (Output, To_US ("Scan_Code_F2"), 59, Null_Unbounded_String), (Output, To_US ("Scan_Code_F3"), 60, Null_Unbounded_String), (Output, To_US ("Scan_Code_F4"), 61, Null_Unbounded_String), (Output, To_US ("Scan_Code_F5"), 62, Null_Unbounded_String), (Output, To_US ("Scan_Code_F6"), 63, Null_Unbounded_String), (Output, To_US ("Scan_Code_F7"), 64, Null_Unbounded_String), (Output, To_US ("Scan_Code_F8"), 65, Null_Unbounded_String), (Output, To_US ("Scan_Code_F9"), 66, Null_Unbounded_String), (Output, To_US ("Scan_Code_F10"), 67, Null_Unbounded_String), (Output, To_US ("Scan_Code_F11"), 68, Null_Unbounded_String), (Output, To_US ("Scan_Code_F12"), 69, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_Print_Screen"), 70, Null_Unbounded_String), (Output, To_US ("Scan_Code_Scroll_Lock"), 71, Null_Unbounded_String), (Output, To_US ("Scan_Code_Pause"), 72, Null_Unbounded_String), (Output, To_US ("Scan_Code_Insert"), 73, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_Home"), 74, Null_Unbounded_String), (Output, To_US ("Scan_Code_Page_Up"), 75, Null_Unbounded_String), (Output, To_US ("Scan_Code_Delete"), 76, Null_Unbounded_String), (Output, To_US ("Scan_Code_End"), 77, Null_Unbounded_String), (Output, To_US ("Scan_Code_Page_Down"), 78, Null_Unbounded_String), (Output, To_US ("Scan_Code_Right"), 79, Null_Unbounded_String), (Output, To_US ("Scan_Code_Left"), 80, Null_Unbounded_String), (Output, To_US ("Scan_Code_Down"), 81, Null_Unbounded_String), (Output, To_US ("Scan_Code_Up"), 82, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_Num_Lock_Clear"), 83, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_KP_Divide"), 84, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Multiply"), 85, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Minus"), 86, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Plus"), 87, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Enter"), 88, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_1"), 89, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_2"), 90, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_3"), 91, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_4"), 92, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_5"), 93, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_6"), 94, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_7"), 95, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_8"), 96, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_9"), 97, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_0"), 98, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Period"), 99, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_Non_US_Back_Slash"), 100, Null_Unbounded_String), (Output, To_US ("Scan_Code_Application"), 101, Null_Unbounded_String), (Output, To_US ("Scan_Code_Power"), 102, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Equals"), 103, Null_Unbounded_String), (Output, To_US ("Scan_Code_F13"), 104, Null_Unbounded_String), (Output, To_US ("Scan_Code_F14"), 105, Null_Unbounded_String), (Output, To_US ("Scan_Code_F15"), 106, Null_Unbounded_String), (Output, To_US ("Scan_Code_F16"), 107, Null_Unbounded_String), (Output, To_US ("Scan_Code_F17"), 108, Null_Unbounded_String), (Output, To_US ("Scan_Code_F18"), 109, Null_Unbounded_String), (Output, To_US ("Scan_Code_F19"), 110, Null_Unbounded_String), (Output, To_US ("Scan_Code_F20"), 111, Null_Unbounded_String), (Output, To_US ("Scan_Code_F21"), 112, Null_Unbounded_String), (Output, To_US ("Scan_Code_F22"), 113, Null_Unbounded_String), (Output, To_US ("Scan_Code_F23"), 114, Null_Unbounded_String), (Output, To_US ("Scan_Code_F24"), 115, Null_Unbounded_String), (Output, To_US ("Scan_Code_Execute"), 116, Null_Unbounded_String), (Output, To_US ("Scan_Code_Help"), 117, Null_Unbounded_String), (Output, To_US ("Scan_Code_Menu"), 118, Null_Unbounded_String), (Output, To_US ("Scan_Code_Select"), 119, Null_Unbounded_String), (Output, To_US ("Scan_Code_Stop"), 120, Null_Unbounded_String), (Output, To_US ("Scan_Code_Again"), 121, Null_Unbounded_String), (Output, To_US ("Scan_Code_Undo"), 122, Null_Unbounded_String), (Output, To_US ("Scan_Code_Cut"), 123, Null_Unbounded_String), (Output, To_US ("Scan_Code_Copy"), 124, Null_Unbounded_String), (Output, To_US ("Scan_Code_Paste"), 125, Null_Unbounded_String), (Output, To_US ("Scan_Code_Find"), 126, Null_Unbounded_String), (Output, To_US ("Scan_Code_Mute"), 127, Null_Unbounded_String), (Output, To_US ("Scan_Code_Volume_Up"), 128, Null_Unbounded_String), (Output, To_US ("Scan_Code_Volume_Down"), 129, Null_Unbounded_String), (Comment, Null_Unbounded_String, Scan_Codes'Last, To_US ("Scan_Code_Locking_Caps_Lock : constant Scan_Codes := 130;")), (Comment, Null_Unbounded_String, Scan_Codes'Last, To_US ("Scan_Code_Locking_Num_Lock : constant Scan_Codes := 131;")), (Comment, Null_Unbounded_String, Scan_Codes'Last, To_US ("Scan_Code_Locking_Scroll_Lock : constant Scan_Codes := 132;")), (Output, To_US ("Scan_Code_KP_Comma"), 133, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Equals_AS400"), 134, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_International_1"), 135, To_US ("Used on Asian keyboards.")), (Output, To_US ("Scan_Code_International_2"), 136, Null_Unbounded_String), (Output, To_US ("Scan_Code_International_3"), 137, To_US ("Yen")), (Output, To_US ("Scan_Code_International_4"), 138, Null_Unbounded_String), (Output, To_US ("Scan_Code_International_5"), 139, Null_Unbounded_String), (Output, To_US ("Scan_Code_International_6"), 140, Null_Unbounded_String), (Output, To_US ("Scan_Code_International_7"), 141, Null_Unbounded_String), (Output, To_US ("Scan_Code_International_8"), 142, Null_Unbounded_String), (Output, To_US ("Scan_Code_International_9"), 143, Null_Unbounded_String), (Output, To_US ("Scan_Code_Language_1"), 144, To_US ("Hangul/En")), (Output, To_US ("Scan_Code_Language_2"), 145, To_US ("Hanja con")), (Output, To_US ("Scan_Code_Language_3"), 146, To_US ("Katakana.")), (Output, To_US ("Scan_Code_Language_4"), 147, To_US ("Hiragana.")), (Output, To_US ("Scan_Code_Language_5"), 148, To_US ("Zenkaku/H")), (Output, To_US ("Scan_Code_Language_6"), 149, To_US ("Reserved.")), (Output, To_US ("Scan_Code_Language_7"), 150, To_US ("Reserved.")), (Output, To_US ("Scan_Code_Language_8"), 151, To_US ("Reserved.")), (Output, To_US ("Scan_Code_Language_9"), 152, To_US ("Reserved.")), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_Alt_Erase"), 153, To_US ("Erase-ease.")), (Output, To_US ("Scan_Code_Sys_Req"), 154, Null_Unbounded_String), (Output, To_US ("Scan_Code_Cancel"), 155, Null_Unbounded_String), (Output, To_US ("Scan_Code_Clear"), 156, Null_Unbounded_String), (Output, To_US ("Scan_Code_Prior"), 157, Null_Unbounded_String), (Output, To_US ("Scan_Code_Return_2"), 158, Null_Unbounded_String), (Output, To_US ("Scan_Code_Separator"), 159, Null_Unbounded_String), (Output, To_US ("Scan_Code_Out"), 160, Null_Unbounded_String), (Output, To_US ("Scan_Code_Oper"), 161, Null_Unbounded_String), (Output, To_US ("Scan_Code_Clear_Again"), 162, Null_Unbounded_String), (Output, To_US ("Scan_Code_CR_Sel"), 163, Null_Unbounded_String), (Output, To_US ("Scan_Code_EX_Sel"), 164, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_KP_00"), 176, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_000"), 177, Null_Unbounded_String), (Output, To_US ("Scan_Code_Thousands_Separator"), 178, Null_Unbounded_String), (Output, To_US ("Scan_Code_Decimal_Separator"), 179, Null_Unbounded_String), (Output, To_US ("Scan_Code_Currency_Unit"), 180, Null_Unbounded_String), (Output, To_US ("Scan_Code_Currency_Subunit"), 181, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Left_Parenthesis"), 182, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Right_Parentheesis"), 183, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Left_Brace"), 184, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Right_Brace"), 185, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Tab"), 186, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Backspace"), 187, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_A"), 188, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_B"), 189, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_C"), 190, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_D"), 191, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_E"), 192, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_F"), 193, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_XOR"), 194, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Power"), 195, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Percent"), 196, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Less"), 197, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Greater"), 198, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Ampersand"), 199, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Double_Ampersand"), 200, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Vertical_Bar"), 201, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Double_Vertical_Bar"), 202, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Colon"), 203, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Hash"), 204, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Space"), 205, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_At"), 206, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Exclamation"), 207, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Memory_Store"), 208, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Memory_Recall"), 209, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Memory_Clear"), 210, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Memory_Add"), 211, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Memory_Subtract"), 212, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Memory_Multiply"), 213, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Memory_Divide"), 214, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Plus_Minus"), 215, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Clear"), 216, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Clear_Entry"), 217, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Binary"), 218, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Octal"), 219, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Decimal"), 220, Null_Unbounded_String), (Output, To_US ("Scan_Code_KP_Hexadecimal"), 221, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_Left_Control"), 224, Null_Unbounded_String), (Output, To_US ("Scan_Code_Left_Shift"), 225, Null_Unbounded_String), (Output, To_US ("Scan_Code_Left_Alt"), 226, To_US ("Alt, option, etc.")), (Output, To_US ("Scan_Code_Left_GUI"), 227, To_US ("Windows, Command (Apple), Meta, etc.")), (Output, To_US ("Scan_Code_Right_Control"), 228, Null_Unbounded_String), (Output, To_US ("Scan_Code_Right_Shift"), 229, Null_Unbounded_String), (Output, To_US ("Scan_Code_Right_Alt"), 230, To_US ("Alt gr, option, etc.")), (Output, To_US ("Scan_Code_Right_GUI"), 231, To_US ("Windows, Command (Apple), Meta, etc.")), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_Mode"), 257, Null_Unbounded_String), (New_Line_Scan_Code), (Comment, Null_Unbounded_String, Scan_Codes'Last, To_US ("Usage page in USB document.")), (Output, To_US ("Scan_Code_Audio_Next"), 258, Null_Unbounded_String), (Output, To_US ("Scan_Code_Audio_Previous"), 259, Null_Unbounded_String), (Output, To_US ("Scan_Code_Audio_Stop"), 260, Null_Unbounded_String), (Output, To_US ("Scan_Code_Audio_Play"), 261, Null_Unbounded_String), (Output, To_US ("Scan_Code_Audio_Mute"), 262, Null_Unbounded_String), (Output, To_US ("Scan_Code_Media_Select"), 263, Null_Unbounded_String), (Output, To_US ("Scan_Code_WWW"), 264, Null_Unbounded_String), (Output, To_US ("Scan_Code_Mail"), 265, Null_Unbounded_String), (Output, To_US ("Scan_Code_Calculator"), 266, Null_Unbounded_String), (Output, To_US ("Scan_Code_Computer"), 267, Null_Unbounded_String), (Output, To_US ("Scan_Code_AC_Search"), 268, Null_Unbounded_String), (Output, To_US ("Scan_Code_AC_Home"), 269, Null_Unbounded_String), (Output, To_US ("Scan_Code_AC_Back"), 270, Null_Unbounded_String), (Output, To_US ("Scan_Code_AC_Forward"), 271, Null_Unbounded_String), (Output, To_US ("Scan_Code_AC_Stop"), 272, Null_Unbounded_String), (Output, To_US ("Scan_Code_AC_Refresh"), 273, Null_Unbounded_String), (Output, To_US ("Scan_Code_AC_Bookmarks"), 274, Null_Unbounded_String), (New_Line_Scan_Code), (Comment, Null_Unbounded_String, Scan_Codes'Last, To_US ("Walther keys (for Mac?).")), (Output, To_US ("Scan_Code_Brightness_Up"), 275, Null_Unbounded_String), (Output, To_US ("Scan_Code_Brightness_Down"), 276, Null_Unbounded_String), (Output, To_US ("Scan_Code_Display_Switch"), 277, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_Illumination_Toggle"), 278, Null_Unbounded_String), (Output, To_US ("Scan_Code_Illumination_Down"), 279, Null_Unbounded_String), (Output, To_US ("Scan_Code_Illumination_Up"), 280, Null_Unbounded_String), (Output, To_US ("Scan_Code_Eject"), 281, Null_Unbounded_String), (Output, To_US ("Scan_Code_Sleep"), 282, Null_Unbounded_String), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_Application_1"), 283, Null_Unbounded_String), (Output, To_US ("Scan_Code_Application_2"), 284, Null_Unbounded_String), (New_Line_Scan_Code), (Comment, Null_Unbounded_String, Scan_Codes'Last, To_US ("All other scan codes go here.")), (New_Line_Scan_Code), (Output, To_US ("Scan_Code_Total"), 512, Null_Unbounded_String)); type Key_Codes is mod 2 ** 32 with Convention => C, Size => 32; Internal_To_Key_Code_Mask : constant Key_Codes := 16#2000_0000#; package Key_Codes_IO is new Modular_IO (Key_Codes); use Key_Codes_IO; function Convert is new Ada.Unchecked_Conversion (Source => Scan_Codes, Target => Key_Codes); function To_Key_Code (Code : in Scan_Codes) return Key_Codes is (Internal_To_Key_Code_Mask or Convert (Code)); type Key_Code_Mapping is record State : Mapping_States := Output; Name : Unbounded_String := Null_Unbounded_String; Code : Key_Codes := Key_Codes'Last; end record; New_Line_Code : constant Key_Code_Mapping := (New_Line, Null_Unbounded_String, Key_Codes'Last); type Key_Code_Tables is array (Positive range <>) of Key_Code_Mapping; Key_Code_Table : constant Key_Code_Tables := ((Output, To_US ("Code_Return"), Character'Pos (Latin_1.CR)), (Output, To_US ("Code_Escape"), Character'Pos (Latin_1.ESC)), (Output, To_US ("Code_Backspace"), Character'Pos (Latin_1.BS)), (Output, To_US ("Code_Tab"), Character'Pos (Latin_1.HT)), (Output, To_US ("Code_Space"), Character'Pos (Latin_1.Space)), (Output, To_US ("Code_Exclamation"), Character'Pos (Latin_1.Exclamation)), (Output, To_US ("Code_Double_Quote"), Character'Pos (Latin_1.Quotation)), (Output, To_US ("Code_Hash"), Character'Pos (Latin_1.Number_Sign)), (Output, To_US ("Code_Percent"), Character'Pos (Latin_1.Percent_Sign)), (Output, To_US ("Code_Dollar"), Character'Pos (Latin_1.Dollar_Sign)), (Output, To_US ("Code_Ampersand"), Character'Pos (Latin_1.Ampersand)), (Output, To_US ("Code_Quote"), Character'Pos (Latin_1.Apostrophe)), (Output, To_US ("Code_Left_Parenthesis"), Character'Pos (Latin_1.Left_Parenthesis)), (Output, To_US ("Code_Right_Parenthesis"), Character'Pos (Latin_1.Right_Parenthesis)), (Output, To_US ("Code_Asterisk"), Character'Pos (Latin_1.Asterisk)), (Output, To_US ("Code_Plus"), Character'Pos (Latin_1.Plus_Sign)), (Output, To_US ("Code_Comma"), Character'Pos (Latin_1.Comma)), (Output, To_US ("Code_Minus"), Character'Pos (Latin_1.Minus_Sign)), (Output, To_US ("Code_Period"), Character'Pos (Latin_1.Full_Stop)), (Output, To_US ("Code_Slash"), Character'Pos (Latin_1.Solidus)), (Output, To_US ("Code_0"), Character'Pos ('0')), (Output, To_US ("Code_1"), Character'Pos ('1')), (Output, To_US ("Code_2"), Character'Pos ('2')), (Output, To_US ("Code_3"), Character'Pos ('3')), (Output, To_US ("Code_4"), Character'Pos ('4')), (Output, To_US ("Code_5"), Character'Pos ('5')), (Output, To_US ("Code_6"), Character'Pos ('6')), (Output, To_US ("Code_7"), Character'Pos ('7')), (Output, To_US ("Code_8"), Character'Pos ('8')), (Output, To_US ("Code_9"), Character'Pos ('9')), (Output, To_US ("Code_Colon"), Character'Pos (Latin_1.Colon)), (Output, To_US ("Code_Semi_Colon"), Character'Pos (Latin_1.Semicolon)), (Output, To_US ("Code_Less"), Character'Pos (Latin_1.Less_Than_Sign)), (Output, To_US ("Code_Equals"), Character'Pos (Latin_1.Equals_Sign)), (Output, To_US ("Code_Greater"), Character'Pos (Latin_1.Greater_Than_Sign)), (Output, To_US ("Code_Question"), Character'Pos (Latin_1.Question)), (Output, To_US ("Code_At"), Character'Pos (Latin_1.Commercial_At)), (New_Line_Code), (Comment, To_US ("Skip the uppercase letters."), Key_Codes'Last), (New_Line_Code), (Output, To_US ("Code_Left_Bracket"), Character'Pos (Latin_1.Left_Square_Bracket)), (Output, To_US ("Code_Back_Slash"), Character'Pos (Latin_1.Reverse_Solidus)), (Output, To_US ("Code_Right_Bracket"), Character'Pos (Latin_1.Right_Square_Bracket)), (Output, To_US ("Code_Caret"), Character'Pos (Latin_1.Circumflex)), (Output, To_US ("Code_Underscore"), Character'Pos (Latin_1.Low_Line)), (Output, To_US ("Code_Back_Quote"), Character'Pos (Latin_1.Grave)), (Output, To_US ("Code_A"), Character'Pos ('a')), (Output, To_US ("Code_B"), Character'Pos ('b')), (Output, To_US ("Code_C"), Character'Pos ('c')), (Output, To_US ("Code_D"), Character'Pos ('d')), (Output, To_US ("Code_E"), Character'Pos ('e')), (Output, To_US ("Code_F"), Character'Pos ('f')), (Output, To_US ("Code_G"), Character'Pos ('g')), (Output, To_US ("Code_H"), Character'Pos ('h')), (Output, To_US ("Code_I"), Character'Pos ('i')), (Output, To_US ("Code_J"), Character'Pos ('j')), (Output, To_US ("Code_K"), Character'Pos ('k')), (Output, To_US ("Code_L"), Character'Pos ('l')), (Output, To_US ("Code_M"), Character'Pos ('m')), (Output, To_US ("Code_N"), Character'Pos ('n')), (Output, To_US ("Code_O"), Character'Pos ('o')), (Output, To_US ("Code_P"), Character'Pos ('p')), (Output, To_US ("Code_Q"), Character'Pos ('q')), (Output, To_US ("Code_R"), Character'Pos ('r')), (Output, To_US ("Code_S"), Character'Pos ('s')), (Output, To_US ("Code_T"), Character'Pos ('t')), (Output, To_US ("Code_U"), Character'Pos ('u')), (Output, To_US ("Code_V"), Character'Pos ('v')), (Output, To_US ("Code_W"), Character'Pos ('w')), (Output, To_US ("Code_X"), Character'Pos ('x')), (Output, To_US ("Code_Y"), Character'Pos ('y')), (Output, To_US ("Code_Z"), Character'Pos ('z')), (New_Line_Code), (Output, To_US ("Code_Caps_Lock"), To_Key_Code (Scan_Code_Caps_Lock)), (Output, To_US ("Code_F1"), To_Key_Code (Scan_Code_F1)), (Output, To_US ("Code_F2"), To_Key_Code (Scan_Code_F2)), (Output, To_US ("Code_F3"), To_Key_Code (Scan_Code_F3)), (Output, To_US ("Code_F4"), To_Key_Code (Scan_Code_F4)), (Output, To_US ("Code_F5"), To_Key_Code (Scan_Code_F5)), (Output, To_US ("Code_F6"), To_Key_Code (Scan_Code_F6)), (Output, To_US ("Code_F7"), To_Key_Code (Scan_Code_F7)), (Output, To_US ("Code_F8"), To_Key_Code (Scan_Code_F8)), (Output, To_US ("Code_F9"), To_Key_Code (Scan_Code_F9)), (Output, To_US ("Code_F10"), To_Key_Code (Scan_Code_F10)), (Output, To_US ("Code_F11"), To_Key_Code (Scan_Code_F11)), (Output, To_US ("Code_F12"), To_Key_Code (Scan_Code_F12)), (New_Line_Code), (Output, To_US ("Code_Print_Screen"), To_Key_Code (Scan_Code_Print_Screen)), (Output, To_US ("Code_Scroll_Lock"), To_Key_Code (Scan_Code_Scroll_Lock)), (Output, To_US ("Code_Pause"), To_Key_Code (Scan_Code_Pause)), (Output, To_US ("Code_Insert"), To_Key_Code (Scan_Code_Insert)), (Output, To_US ("Code_Home"), To_Key_Code (Scan_Code_Home)), (Output, To_US ("Code_Page_Up"), To_Key_Code (Scan_Code_Page_Up)), (Output, To_US ("Code_Delete"), Character'Pos (Latin_1.DEL)), (Output, To_US ("Code_End"), To_Key_Code (Scan_Code_End)), (Output, To_US ("Code_Page_Down"), To_Key_Code (Scan_Code_Page_Down)), (Output, To_US ("Code_Right"), To_Key_Code (Scan_Code_Right)), (Output, To_US ("Code_Left"), To_Key_Code (Scan_Code_Left)), (Output, To_US ("Code_Down"), To_Key_Code (Scan_Code_Down)), (Output, To_US ("Code_Up"), To_Key_Code (Scan_Code_Up)), (New_Line_Code), (Output, To_US ("Code_Num_Lock_Clear"), To_Key_Code (Scan_Code_Num_Lock_Clear)), (Output, To_US ("Code_KP_Divide"), To_Key_Code (Scan_Code_KP_Divide)), (Output, To_US ("Code_KP_Multiply"), To_Key_Code (Scan_Code_KP_Multiply)), (Output, To_US ("Code_KP_Minus"), To_Key_Code (Scan_Code_KP_Minus)), (Output, To_US ("Code_KP_Plus"), To_Key_Code (Scan_Code_KP_Plus)), (Output, To_US ("Code_KP_Enter"), To_Key_Code (Scan_Code_KP_Enter)), (Output, To_US ("Code_KP_1"), To_Key_Code (Scan_Code_KP_1)), (Output, To_US ("Code_KP_2"), To_Key_Code (Scan_Code_KP_2)), (Output, To_US ("Code_KP_3"), To_Key_Code (Scan_Code_KP_3)), (Output, To_US ("Code_KP_4"), To_Key_Code (Scan_Code_KP_4)), (Output, To_US ("Code_KP_5"), To_Key_Code (Scan_Code_KP_5)), (Output, To_US ("Code_KP_6"), To_Key_Code (Scan_Code_KP_6)), (Output, To_US ("Code_KP_7"), To_Key_Code (Scan_Code_KP_7)), (Output, To_US ("Code_KP_8"), To_Key_Code (Scan_Code_KP_8)), (Output, To_US ("Code_KP_9"), To_Key_Code (Scan_Code_KP_9)), (Output, To_US ("Code_KP_0"), To_Key_Code (Scan_Code_KP_0)), (Output, To_US ("Code_KP_Period"), To_Key_Code (Scan_Code_KP_Period)), (New_Line_Code), (Output, To_US ("Code_Application"), To_Key_Code (Scan_Code_Application)), (Output, To_US ("Code_Power"), To_Key_Code (Scan_Code_Power)), (Output, To_US ("Code_KP_Equals"), To_Key_Code (Scan_Code_KP_Equals)), (Output, To_US ("Code_F13"), To_Key_Code (Scan_Code_F13)), (Output, To_US ("Code_F14"), To_Key_Code (Scan_Code_F14)), (Output, To_US ("Code_F15"), To_Key_Code (Scan_Code_F15)), (Output, To_US ("Code_F16"), To_Key_Code (Scan_Code_F16)), (Output, To_US ("Code_F17"), To_Key_Code (Scan_Code_F17)), (Output, To_US ("Code_F18"), To_Key_Code (Scan_Code_F18)), (Output, To_US ("Code_F19"), To_Key_Code (Scan_Code_F19)), (Output, To_US ("Code_F20"), To_Key_Code (Scan_Code_F20)), (Output, To_US ("Code_F21"), To_Key_Code (Scan_Code_F21)), (Output, To_US ("Code_F22"), To_Key_Code (Scan_Code_F22)), (Output, To_US ("Code_F23"), To_Key_Code (Scan_Code_F23)), (Output, To_US ("Code_F24"), To_Key_Code (Scan_Code_F24)), (Output, To_US ("Code_Execute"), To_Key_Code (Scan_Code_Execute)), (Output, To_US ("Code_Help"), To_Key_Code (Scan_Code_Help)), (Output, To_US ("Code_Menu"), To_Key_Code (Scan_Code_Menu)), (Output, To_US ("Code_Select"), To_Key_Code (Scan_Code_Select)), (Output, To_US ("Code_Stop"), To_Key_Code (Scan_Code_Stop)), (Output, To_US ("Code_Again"), To_Key_Code (Scan_Code_Again)), (Output, To_US ("Code_Undo"), To_Key_Code (Scan_Code_Undo)), (Output, To_US ("Code_Cut"), To_Key_Code (Scan_Code_Cut)), (Output, To_US ("Code_Copy"), To_Key_Code (Scan_Code_Copy)), (Output, To_US ("Code_Paste"), To_Key_Code (Scan_Code_Paste)), (Output, To_US ("Code_Find"), To_Key_Code (Scan_Code_Find)), (Output, To_US ("Code_Mute"), To_Key_Code (Scan_Code_Mute)), (Output, To_US ("Code_Volume_Up"), To_Key_Code (Scan_Code_Volume_Up)), (Output, To_US ("Code_Volume_Down"), To_Key_Code (Scan_Code_Volume_Down)), (Output, To_US ("Code_KP_Comma"), To_Key_Code (Scan_Code_KP_Comma)), (Output, To_US ("Code_KP_Equals_AS400"), To_Key_Code (Scan_Code_KP_Equals_AS400)), (New_Line_Code), (Output, To_US ("Code_Alt_Erase"), To_Key_Code (Scan_Code_Alt_Erase)), (Output, To_US ("Code_Sys_Req"), To_Key_Code (Scan_Code_Sys_Req)), (Output, To_US ("Code_Cancel"), To_Key_Code (Scan_Code_Cancel)), (Output, To_US ("Code_Clear"), To_Key_Code (Scan_Code_Clear)), (Output, To_US ("Code_Prior"), To_Key_Code (Scan_Code_Prior)), (Output, To_US ("Code_Return_2"), To_Key_Code (Scan_Code_Return_2)), (Output, To_US ("Code_Separator"), To_Key_Code (Scan_Code_Separator)), (Output, To_US ("Code_Out"), To_Key_Code (Scan_Code_Out)), (Output, To_US ("Code_Oper"), To_Key_Code (Scan_Code_Oper)), (Output, To_US ("Code_Clear_Again"), To_Key_Code (Scan_Code_Clear_Again)), (Output, To_US ("Code_CR_Sel"), To_Key_Code (Scan_Code_CR_Sel)), (Output, To_US ("Code_Ex_Sel"), To_Key_Code (Scan_Code_EX_Sel)), (New_Line_Code), (Output, To_US ("Code_KP_00"), To_Key_Code (Scan_Code_KP_00)), (Output, To_US ("Code_KP_000"), To_Key_Code (Scan_Code_KP_000)), (Output, To_US ("Code_Thousands_Separator"), To_Key_Code (Scan_Code_Thousands_Separator)), (Output, To_US ("Code_Decimal_Separator"), To_Key_Code (Scan_Code_Decimal_Separator)), (Output, To_US ("Code_Currency_Unit"), To_Key_Code (Scan_Code_Currency_Unit)), (Output, To_US ("Code_Currency_Subunit"), To_Key_Code (Scan_Code_Currency_Subunit)), (Output, To_US ("Code_KP_Left_Parenthesis"), To_Key_Code (Scan_Code_KP_Left_Parenthesis)), (Output, To_US ("Code_KP_Right_Parentheesis"), To_Key_Code (Scan_Code_KP_Right_Parentheesis)), (Output, To_US ("Code_KP_Left_Brace"), To_Key_Code (Scan_Code_KP_Left_Brace)), (Output, To_US ("Code_KP_Right_Brace"), To_Key_Code (Scan_Code_KP_Right_Brace)), (Output, To_US ("Code_KP_Tab"), To_Key_Code (Scan_Code_KP_Tab)), (Output, To_US ("Code_KP_Backspace"), To_Key_Code (Scan_Code_KP_Backspace)), (Output, To_US ("Code_KP_A"), To_Key_Code (Scan_Code_KP_A)), (Output, To_US ("Code_KP_B"), To_Key_Code (Scan_Code_KP_B)), (Output, To_US ("Code_KP_C"), To_Key_Code (Scan_Code_KP_C)), (Output, To_US ("Code_KP_D"), To_Key_Code (Scan_Code_KP_D)), (Output, To_US ("Code_KP_E"), To_Key_Code (Scan_Code_KP_E)), (Output, To_US ("Code_KP_F"), To_Key_Code (Scan_Code_KP_F)), (Output, To_US ("Code_KP_XOR"), To_Key_Code (Scan_Code_KP_XOR)), (Output, To_US ("Code_KP_Power"), To_Key_Code (Scan_Code_KP_Power)), (Output, To_US ("Code_KP_Percent"), To_Key_Code (Scan_Code_KP_Percent)), (Output, To_US ("Code_KP_Less"), To_Key_Code (Scan_Code_KP_Less)), (Output, To_US ("Code_KP_Greater"), To_Key_Code (Scan_Code_KP_Greater)), (Output, To_US ("Code_KP_Ampersand"), To_Key_Code (Scan_Code_KP_Ampersand)), (Output, To_US ("Code_KP_Double_Ampersand"), To_Key_Code (Scan_Code_KP_Double_Ampersand)), (Output, To_US ("Code_KP_Vertical_Bar"), To_Key_Code (Scan_Code_KP_Vertical_Bar)), (Output, To_US ("Code_KP_Double_Vertical_Bar"), To_Key_Code (Scan_Code_KP_Double_Vertical_Bar)), (Output, To_US ("Code_KP_Colon"), To_Key_Code (Scan_Code_KP_Colon)), (Output, To_US ("Code_KP_Hash"), To_Key_Code (Scan_Code_KP_Hash)), (Output, To_US ("Code_KP_Space"), To_Key_Code (Scan_Code_KP_Space)), (Output, To_US ("Code_KP_At"), To_Key_Code (Scan_Code_KP_At)), (Output, To_US ("Code_KP_Exclamation"), To_Key_Code (Scan_Code_KP_Exclamation)), (Output, To_US ("Code_KP_Memory_Store"), To_Key_Code (Scan_Code_KP_Memory_Store)), (Output, To_US ("Code_KP_Memory_Recall"), To_Key_Code (Scan_Code_KP_Memory_Recall)), (Output, To_US ("Code_KP_Memory_Clear"), To_Key_Code (Scan_Code_KP_Memory_Clear)), (Output, To_US ("Code_KP_Memory_Add"), To_Key_Code (Scan_Code_KP_Memory_Add)), (Output, To_US ("Code_KP_Memory_Subtract"), To_Key_Code (Scan_Code_KP_Memory_Subtract)), (Output, To_US ("Code_KP_Memory_Multiply"), To_Key_Code (Scan_Code_KP_Memory_Multiply)), (Output, To_US ("Code_KP_Memory_Divide"), To_Key_Code (Scan_Code_KP_Memory_Divide)), (Output, To_US ("Code_KP_Plus_Minus"), To_Key_Code (Scan_Code_KP_Plus_Minus)), (Output, To_US ("Code_KP_Clear"), To_Key_Code (Scan_Code_KP_Clear)), (Output, To_US ("Code_KP_Clear_Entry"), To_Key_Code (Scan_Code_KP_Clear_Entry)), (Output, To_US ("Code_KP_Binary"), To_Key_Code (Scan_Code_KP_Binary)), (Output, To_US ("Code_KP_Octal"), To_Key_Code (Scan_Code_KP_Octal)), (Output, To_US ("Code_KP_Decimal"), To_Key_Code (Scan_Code_KP_Decimal)), (Output, To_US ("Code_KP_Hexadecimal"), To_Key_Code (Scan_Code_KP_Hexadecimal)), (New_Line_Code), (Output, To_US ("Code_Left_Control"), To_Key_Code (Scan_Code_Left_Control)), (Output, To_US ("Code_Left_Shift"), To_Key_Code (Scan_Code_Left_Shift)), (Output, To_US ("Code_Left_Alt"), To_Key_Code (Scan_Code_Left_Alt)), (Output, To_US ("Code_Left_GUI"), To_Key_Code (Scan_Code_Left_GUI)), (Output, To_US ("Code_Right_Control"), To_Key_Code (Scan_Code_Right_Control)), (Output, To_US ("Code_Right_Shift"), To_Key_Code (Scan_Code_Right_Shift)), (Output, To_US ("Code_Right_Alt"), To_Key_Code (Scan_Code_Right_Alt)), (Output, To_US ("Code_Right_GUI"), To_Key_Code (Scan_Code_Right_GUI)), (New_Line_Code), (Output, To_US ("Code_Mode"), To_Key_Code (Scan_Code_Mode)), (New_Line_Code), (Output, To_US ("Code_Audio_Next"), To_Key_Code (Scan_Code_Audio_Next)), (Output, To_US ("Code_Audio_Previous"), To_Key_Code (Scan_Code_Audio_Previous)), (Output, To_US ("Code_Audio_Stop"), To_Key_Code (Scan_Code_Audio_Stop)), (Output, To_US ("Code_Audio_Play"), To_Key_Code (Scan_Code_Audio_Play)), (Output, To_US ("Code_Audio_Mute"), To_Key_Code (Scan_Code_Audio_Mute)), (Output, To_US ("Code_Media_Select"), To_Key_Code (Scan_Code_Media_Select)), (Output, To_US ("Code_WWW"), To_Key_Code (Scan_Code_WWW)), (Output, To_US ("Code_Mail"), To_Key_Code (Scan_Code_Mail)), (Output, To_US ("Code_Calculator"), To_Key_Code (Scan_Code_Calculator)), (Output, To_US ("Code_Computer"), To_Key_Code (Scan_Code_Computer)), (Output, To_US ("Code_AC_Search"), To_Key_Code (Scan_Code_AC_Search)), (Output, To_US ("Code_AC_Home"), To_Key_Code (Scan_Code_AC_Home)), (Output, To_US ("Code_AC_Back"), To_Key_Code (Scan_Code_AC_Back)), (Output, To_US ("Code_AC_Forward"), To_Key_Code (Scan_Code_AC_Forward)), (Output, To_US ("Code_AC_Stop"), To_Key_Code (Scan_Code_AC_Stop)), (Output, To_US ("Code_AC_Refresh"), To_Key_Code (Scan_Code_AC_Refresh)), (Output, To_US ("Code_AC_Bookmarks"), To_Key_Code (Scan_Code_AC_Bookmarks)), (New_Line_Code), (Output, To_US ("Code_Brightness_Down"), To_Key_Code (Scan_Code_Brightness_Down)), (Output, To_US ("Code_Brightness_Up"), To_Key_Code (Scan_Code_Brightness_Up)), (Output, To_US ("Code_Display_Switch"), To_Key_Code (Scan_Code_Display_Switch)), (Output, To_US ("Code_Illumination_Toggle"), To_Key_Code (Scan_Code_Illumination_Toggle)), (Output, To_US ("Code_Illumination_Down"), To_Key_Code (Scan_Code_Illumination_Down)), (Output, To_US ("Code_Illumination_Up"), To_Key_Code (Scan_Code_Illumination_Up)), (Output, To_US ("Code_Eject"), To_Key_Code (Scan_Code_Eject)), (Output, To_US ("Code_Sleep"), To_Key_Code (Scan_Code_Sleep))); begin Comment (Indent => 0, Text => "Automatically generated, do not edit."); Comment_Dash (117); for Line of License loop Comment (Indent => 0, Text => To_String (Line)); end loop; Comment_Dash (117); for Line of Package_Description loop Comment (Indent => 0, Text => To_String (Line)); end loop; Comment_Dash (117); Put_Line ("package SDL.Events.Keyboards is"); Put_Line (" -- Keyboard events."); Put_Line (" Key_Down : constant Event_Types := 16#0000_0300#;"); Put_Line (" Key_Up : constant Event_Types := Key_Down + 1;"); Put_Line (" Text_Editing : constant Event_Types := Key_Down + 2;"); Put_Line (" Text_Input : constant Event_Types := Key_Down + 3;"); New_Line; -- Output the scan codes. Comment_Dash (Total => 114, Indent => 3); Put_Line (" -- Scan codes."); Comment_Dash (Total => 114, Indent => 3); Put_Line (" type Scan_Codes is range 0 .. 512 with"); Put_Line (" Convention => C,"); Put_Line (" Size => 32;"); New_Line; for Code of Scan_Code_Table loop case Code.State is when Output => Output_Field (Text => To_String (Code.Name), Width => 33, Indent => 3); Put (": constant Scan_Codes := "); Put (Code.Code, Width => 0); Put (Latin_1.Semicolon); if Code.Comment /= Null_Unbounded_String then Put (" -- " & To_String (Code.Comment)); end if; New_Line; when New_Line => New_Line; when Comment => Comment (Indent => 3, Text => To_String (Code.Comment)); end case; end loop; New_Line; Put_Line (" function Value (Name : in String) return SDL.Events.Keyboards.Scan_Codes with"); Put_Line (" Inline => True;"); New_Line; Put_Line (" function Image (Scan_Code : in SDL.Events.Keyboards.Scan_Codes) return String with"); Put_Line (" Inline => True;"); New_Line; Comment_Dash (Total => 114, Indent => 3); Comment (Indent => 3, Text => "Key codes."); Comment_Dash (Total => 114, Indent => 3); Put_Line (" type Key_Codes is mod 2 ** 32 with"); Put_Line (" Convention => C,"); Put_Line (" Size => 32;"); New_Line; for Code of Key_Code_Table loop case Code.State is when Output => Output_Field (Text => To_String (Code.Name), Width => 33, Indent => 3); Put (": constant Key_Codes := "); Put (Code.Code, Width => 12, Base => 16); Put (Latin_1.Semicolon); New_Line; when New_Line => New_Line; when Comment => Comment (Indent => 3, Text => To_String (Code.Name)); end case; end loop; New_Line; Put_Line (" function Value (Name : in String) return SDL.Events.Keyboards.Key_Codes with"); Put_Line (" Inline => True;"); New_Line; Put_Line (" function Image (Key_Code : in SDL.Events.Keyboards.Key_Codes) return String with"); Put_Line (" Inline => True;"); New_Line; Put_Line (" function To_Key_Code (Scan_Code : in SDL.Events.Keyboards.Scan_Codes) return " & "SDL.Events.Keyboards.Key_Codes with"); Put_Line (" Inline => True;"); New_Line; Put_Line (" function To_Scan_Code (Key_Code : in SDL.Events.Keyboards.Key_Codes) return " & "SDL.Events.Keyboards.Scan_Codes with"); Put_Line (" Inline => True;"); New_Line; Comment_Dash (Total => 114, Indent => 3); Comment (Indent => 3, Text => "Key modifiers."); Comment_Dash (Total => 114, Indent => 3); Put_Line (" type Key_Modifiers is mod 2 ** 16 with"); Put_Line (" Convention => C,"); Put_Line (" Size => 16;"); New_Line; Put_Line (" Modifier_None : constant Key_Modifiers := 16#00_00#;"); Put_Line (" Modifier_Left_Shift : constant Key_Modifiers := 16#00_01#;"); Put_Line (" Modifier_Right_Shift : constant Key_Modifiers := 16#00_02#;"); Put_Line (" Modifier_Left_Control : constant Key_Modifiers := 16#00_40#;"); Put_Line (" Modifier_Right_Control : constant Key_Modifiers := 16#00_80#;"); Put_Line (" Modifier_Left_Alt : constant Key_Modifiers := 16#01_00#;"); Put_Line (" Modifier_Right_Alt : constant Key_Modifiers := 16#02_00#;"); Put_Line (" Modifier_Left_GUI : constant Key_Modifiers := 16#04_00#;"); Put_Line (" Modifier_Right_GUI : constant Key_Modifiers := 16#08_00#;"); Put_Line (" Modifier_Num : constant Key_Modifiers := 16#10_00#;"); Put_Line (" Modifier_Caps : constant Key_Modifiers := 16#20_00#;"); Put_Line (" Modifier_Mode : constant Key_Modifiers := 16#40_00#;"); Put_Line (" Modifier_Control : constant Key_Modifiers := Modifier_Left_Control or Modifier_Right_Control;"); Put_Line (" Modifier_Shift : constant Key_Modifiers := Modifier_Left_Shift or Modifier_Right_Shift;"); Put_Line (" Modifier_Alt : constant Key_Modifiers := Modifier_Left_Alt or Modifier_Right_Alt;"); Put_Line (" Modifier_GUI : constant Key_Modifiers := Modifier_Left_GUI or Modifier_Right_GUI;"); Put_Line (" Modifier_Reserved : constant Key_Modifiers := 16#80_00#;"); New_Line; Put_Line (" type Key_Syms is"); Put_Line (" record"); Put_Line (" Scan_Code : Scan_Codes;"); Put_Line (" Key_Code : Key_Codes;"); Put_Line (" Modifiers : Key_Modifiers;"); Put_Line (" Unused : Interfaces.Unsigned_32;"); Put_Line (" end record with"); Put_Line (" Convention => C;"); New_Line; Put_Line (" type Keyboard_Events is"); Put_Line (" record"); Put_Line (" Event_Type : Event_Types; -- Will be set to Key_Up/Down."); Put_Line (" Time_Stamp : Time_Stamps;"); New_Line; Put_Line (" ID : SDL.Video.Windows.ID;"); Put_Line (" State : Button_State;"); Put_Line (" Repeat : Interfaces.Unsigned_8;"); Put_Line (" Padding_2 : Padding_8;"); Put_Line (" Padding_3 : Padding_8;"); Put_Line (" Key_Sym : Key_Syms;"); Put_Line (" end record with"); Put_Line (" Convention => C;"); New_Line; Comment_Dash (Total => 114, Indent => 3); Comment (Indent => 3, Text => "Text editing events."); Comment_Dash (Total => 114, Indent => 3); Put_Line (" Max_UTF8_Elements : constant := 31;"); Put_Line (" Max_UTF8_Element_Storage_Bits : constant := ((Max_UTF8_Elements + 1) * 8) - 1;"); New_Line; Put_Line (" subtype UTF8_Text_Buffers is Interfaces.C.char_array (0 .. Max_UTF8_Elements);"); New_Line; Put_Line (" type Cursor_Positions is range -2 ** 31 .. 2 ** 31 - 1 with"); Put_Line (" Convention => C,"); Put_Line (" Size => 32;"); New_Line; Put_Line (" type Text_Lengths is range -2 ** 31 .. 2 ** 31 - 1 with"); Put_Line (" Convention => C,"); Put_Line (" Size => 32;"); New_Line; Put_Line (" type Text_Editing_Events is"); Put_Line (" record"); Put_Line (" Event_Type : Event_Types; -- Will be set to Text_Editing."); Put_Line (" Time_Stamp : Time_Stamps;"); New_Line; Put_Line (" ID : SDL.Video.Windows.ID;"); Put_Line (" Text : UTF8_Text_Buffers;"); Put_Line (" Start : Cursor_Positions; -- TODO: Find out why this needs to be a signed value!"); Put_Line (" Length : Text_Lengths; -- TODO: Again, signed, why?"); Put_Line (" end record with"); Put_Line (" Convention => C;"); New_Line; Comment_Dash (Total => 114, Indent => 3); Comment (Indent => 3, Text => "Text input events."); Comment_Dash (Total => 114, Indent => 3); Put_Line (" type Text_Input_Events is"); Put_Line (" record"); Put_Line (" Event_Type : Event_Types; -- Will be set to Text_Editing."); Put_Line (" Time_Stamp : Time_Stamps;"); New_Line; Put_Line (" ID : SDL.Video.Windows.ID;"); Put_Line (" Text : UTF8_Text_Buffers;"); Put_Line (" end record with"); Put_Line (" Convention => C;"); New_Line; Put_Line ("private"); Put_Line (" for Key_Syms use"); Put_Line (" record"); Put_Line (" Scan_Code at 0 * SDL.Word range 0 .. 31;"); Put_Line (" Key_Code at 1 * SDL.Word range 0 .. 31;"); Put_Line (" Modifiers at 2 * SDL.Word range 0 .. 15;"); Put_Line (" Unused at 3 * SDL.Word range 0 .. 31;"); Put_Line (" end record;"); New_Line; Put_Line (" for Keyboard_Events use"); Put_Line (" record"); Put_Line (" Event_Type at 0 * SDL.Word range 0 .. 31;"); Put_Line (" Time_Stamp at 1 * SDL.Word range 0 .. 31;"); New_Line; Put_Line (" ID at 2 * SDL.Word range 0 .. 31;"); Put_Line (" State at 3 * SDL.Word range 0 .. 7;"); Put_Line (" Repeat at 3 * SDL.Word range 8 .. 15;"); Put_Line (" Padding_2 at 3 * SDL.Word range 16 .. 23;"); Put_Line (" Padding_3 at 3 * SDL.Word range 24 .. 31;"); Put_Line (" end record;"); New_Line; Put_Line (" for Text_Editing_Events use"); Put_Line (" record"); Put_Line (" Event_Type at 0 * SDL.Word range 0 .. 31;"); Put_Line (" Time_Stamp at 1 * SDL.Word range 0 .. 31;"); New_Line; Put_Line (" ID at 2 * SDL.Word range 0 .. 31;"); Put_Line (" Text at 3 * SDL.Word range 0 .. Max_UTF8_Element_Storage_Bits; -- 31 characters."); Put_Line (" Start at 11 * SDL.Word range 0 .. 31;"); Put_Line (" Length at 12 * SDL.Word range 0 .. 31;"); Put_Line (" end record;"); New_Line; Put_Line (" for Text_Input_Events use"); Put_Line (" record"); Put_Line (" Event_Type at 0 * SDL.Word range 0 .. 31;"); Put_Line (" Time_Stamp at 1 * SDL.Word range 0 .. 31;"); New_Line; Put_Line (" ID at 2 * SDL.Word range 0 .. 31;"); Put_Line (" Text at 3 * SDL.Word range 0 .. Max_UTF8_Element_Storage_Bits; -- 31 characters."); Put_Line (" end record;"); Put_Line ("end SDL.Events.Keyboards;"); end Gen_Keyboard;
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with swig; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_ge_generic_event_t is -- Item -- type Item is record response_type : aliased Interfaces.Unsigned_8; extension : aliased Interfaces.Unsigned_8; sequence : aliased Interfaces.Unsigned_16; length : aliased Interfaces.Unsigned_32; event_type : aliased Interfaces.Unsigned_16; pad0 : aliased swig.int8_t_Array (0 .. 21); full_sequence : aliased Interfaces.Unsigned_32; end record; -- Item_Array -- type Item_Array is array (Interfaces.C.size_t range <>) of aliased xcb.xcb_ge_generic_event_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_ge_generic_event_t.Item, Element_Array => xcb.xcb_ge_generic_event_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_ge_generic_event_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_ge_generic_event_t.Pointer, Element_Array => xcb.xcb_ge_generic_event_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_ge_generic_event_t;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- G N A T . E N C O D E _ S T R I N G -- -- -- -- S p e c -- -- -- -- Copyright (C) 2007-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. -- -- -- ------------------------------------------------------------------------------ -- This generic package provides utility routines for converting from -- Wide_String or Wide_Wide_String to encoded String using a specified -- encoding convention, which is supplied as the generic parameter. If -- this parameter is a known at compile time constant (e.g. a constant -- defined in System.WCh_Con), the instantiation is specialized so that -- it applies only to this specified coding. -- Note: this package is only about encoding sequences of 16- or 32-bit -- characters into a sequence of 8-bit codes. It knows nothing at all about -- the character encodings being used for the input Wide_Character and -- Wide_Wide_Character values, although some of the encoding methods (notably -- JIS and EUC) have built in assumptions about the range of possible input -- code values. Most often the input will be Unicode/ISO-10646 as specified by -- the Ada RM, but this package does not make any assumptions about the -- character coding, and in the case of UTF-8 all possible code values can be -- encoded. See also the packages Ada.Wide_[Wide_]Characters.Unicode for -- unicode specific functions. -- Note on brackets encoding (WCEM_Brackets). On input, upper half characters -- can be represented as ["hh"] but the routines in this package will only use -- brackets encodings for codes higher than 16#FF#, so upper half characters -- will be output as single Character values. with System.WCh_Con; generic Encoding_Method : System.WCh_Con.WC_Encoding_Method; package GNAT.Encode_String is pragma Pure; function Encode_Wide_String (S : Wide_String) return String; pragma Inline (Encode_Wide_String); -- Encode the given Wide_String, returning a String encoded using the -- given encoding method. Constraint_Error will be raised if the encoding -- method cannot accommodate the input data. procedure Encode_Wide_String (S : Wide_String; Result : out String; Length : out Natural); -- Encode the given Wide_String, storing the encoded string in Result, -- with Length being set to the length of the encoded string. The caller -- must ensure that Result is long enough (see useful constants defined -- in System.WCh_Con: WC_Longest_Sequence, WC_Longest_Sequences). If the -- length of Result is insufficient Constraint_Error will be raised. -- Constraint_Error will also be raised if the encoding method cannot -- accommodate the input data. function Encode_Wide_Wide_String (S : Wide_Wide_String) return String; pragma Inline (Encode_Wide_Wide_String); -- Same as above function but for Wide_Wide_String input procedure Encode_Wide_Wide_String (S : Wide_Wide_String; Result : out String; Length : out Natural); -- Same as above procedure, but for Wide_Wide_String input procedure Encode_Wide_Character (Char : Wide_Character; Result : in out String; Ptr : in out Natural); pragma Inline (Encode_Wide_Character); -- This is a lower level procedure that encodes the single character Char. -- The output is stored in Result starting at Result (Ptr), and Ptr is -- updated past the stored value. Constraint_Error is raised if Result -- is not long enough to accommodate the result, or if the encoding method -- specified does not accommodate the input character value, or if Ptr is -- outside the bounds of the Result string. procedure Encode_Wide_Wide_Character (Char : Wide_Wide_Character; Result : in out String; Ptr : in out Natural); -- Same as above procedure but with Wide_Wide_Character input end GNAT.Encode_String;
-- { dg-do compile } with Interfaces.C; use Interfaces.C; procedure Object_Overflow4 is procedure Proc (x : Integer) is begin null; end; type Index_T is new ptrdiff_t range 0 .. ptrdiff_t'Last; type Arr is array(Index_T range <>) of Integer; type Rec (Size: Index_T := 6) is record -- { dg-warning "Storage_Error" } A: Arr (0..Size); end record; Obj : Rec; -- { dg-warning "Storage_Error" } begin Obj.A(1) := 0; Proc (Obj.A(1)); end;
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with i386_utypes_h; package sys_utypes_h is -- * Copyright (c) 2003-2007 Apple Inc. All rights reserved. -- * -- * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ -- * -- * This file contains Original Code and/or Modifications of Original Code -- * as defined in and that are subject to the Apple Public Source License -- * Version 2.0 (the 'License'). You may not use this file except in -- * compliance with the License. The rights granted to you under the License -- * may not be used to create, or enable the creation or redistribution of, -- * unlawful or unlicensed copies of an Apple operating system, or to -- * circumvent, violate, or enable the circumvention or violation of, any -- * terms of an Apple operating system software license agreement. -- * -- * Please obtain a copy of the License at -- * http://www.opensource.apple.com/apsl/ and read it before using this file. -- * -- * The Original Code and all software distributed under the License are -- * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER -- * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, -- * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, -- * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. -- * Please see the License for the specific language governing rights and -- * limitations under the License. -- * -- * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ -- -- * Type definitions; takes common type definitions that must be used -- * in multiple header files due to [XSI], removes them from the system -- * space, and puts them in the implementation space. -- -- total blocks subtype uu_darwin_blkcnt_t is i386_utypes_h.uu_int64_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:55 -- preferred block size subtype uu_darwin_blksize_t is i386_utypes_h.uu_int32_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:56 -- dev_t subtype uu_darwin_dev_t is i386_utypes_h.uu_int32_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:57 -- Used by statvfs and fstatvfs subtype uu_darwin_fsblkcnt_t is unsigned; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:58 -- Used by statvfs and fstatvfs subtype uu_darwin_fsfilcnt_t is unsigned; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:59 -- [???] process and group IDs subtype uu_darwin_gid_t is i386_utypes_h.uu_uint32_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:60 -- [XSI] pid_t, uid_t, or gid_t subtype uu_darwin_id_t is i386_utypes_h.uu_uint32_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:61 -- [???] Used for 64 bit inodes subtype uu_darwin_ino64_t is i386_utypes_h.uu_uint64_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:62 -- [???] Used for inodes subtype uu_darwin_ino_t is uu_darwin_ino64_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:64 -- [???] Used for inodes -- Used by mach subtype uu_darwin_mach_port_name_t is i386_utypes_h.uu_darwin_natural_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:68 -- Used by mach subtype uu_darwin_mach_port_t is uu_darwin_mach_port_name_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:69 -- [???] Some file attributes subtype uu_darwin_mode_t is i386_utypes_h.uu_uint16_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:70 -- [???] Used for file sizes subtype uu_darwin_off_t is i386_utypes_h.uu_int64_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:71 -- [???] process and group IDs subtype uu_darwin_pid_t is i386_utypes_h.uu_int32_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:72 -- [???] signal set subtype uu_darwin_sigset_t is i386_utypes_h.uu_uint32_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:73 -- [???] microseconds subtype uu_darwin_suseconds_t is i386_utypes_h.uu_int32_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:74 -- [???] user IDs subtype uu_darwin_uid_t is i386_utypes_h.uu_uint32_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:75 -- [???] microseconds subtype uu_darwin_useconds_t is i386_utypes_h.uu_uint32_t; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:76 type uu_darwin_uuid_t is array (0 .. 15) of aliased unsigned_char; -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:77 subtype uu_darwin_uuid_string_t is Interfaces.C.char_array (0 .. 36); -- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:78 end sys_utypes_h;
-- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- package Report_Parsers is type Context_Access is private; -- (Global : in Lime.Lemon_Record) XXX function Get_Context return Context_Access; -- Get access to the parser part of then Lemon_Record -- function Get_ARG (Parser : in Context_Access) return String; function Get_CTX (Parser : in Context_Access) return String; procedure Trim_Right_Symbol (Item : in String; Pos : out Natural); -- Split Item at Pos private type Context_Record; type Context_Access is access all Context_Record; end Report_Parsers;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2010-2017, 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 Matreshka.Internals.Strings; package AMF.Internals.Tables.DG_String_Data_00 is -- "opacity" MS_0000 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 7, Length => 7, Value => (16#006F#, 16#0070#, 16#0061#, 16#0063#, 16#0069#, 16#0074#, 16#0079#, others => 16#0000#), others => <>); -- "QuadraticCurveTo is a kind of path command that draws a quadratic bézier curve from the current point to a new point using a single control point." MS_0001 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 151, Unused => 146, Length => 146, Value => (16#0051#, 16#0075#, 16#0061#, 16#0064#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#0063#, 16#0043#, 16#0075#, 16#0072#, 16#0076#, 16#0065#, 16#0054#, 16#006F#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0068#, 16#0020#, 16#0063#, 16#006F#, 16#006D#, 16#006D#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0072#, 16#0061#, 16#0077#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0071#, 16#0075#, 16#0061#, 16#0064#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#0063#, 16#0020#, 16#0062#, 16#00E9#, 16#007A#, 16#0069#, 16#0065#, 16#0072#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0076#, 16#0065#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0061#, 16#0020#, 16#006E#, 16#0065#, 16#0077#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0075#, 16#0073#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0069#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#0074#, 16#0072#, 16#006F#, 16#006C#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "d" MS_0002 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 1, Length => 1, Value => (16#0064#, others => 16#0000#), others => <>); -- "the color of the font used to render a text element. The default is black (red=0, green=0, blue=0)." MS_0003 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 103, Unused => 99, Length => 99, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0072#, 16#0065#, 16#006E#, 16#0064#, 16#0065#, 16#0072#, 16#0020#, 16#0061#, 16#0020#, 16#0074#, 16#0065#, 16#0078#, 16#0074#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0061#, 16#0075#, 16#006C#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0062#, 16#006C#, 16#0061#, 16#0063#, 16#006B#, 16#0020#, 16#0028#, 16#0072#, 16#0065#, 16#0064#, 16#003D#, 16#0030#, 16#002C#, 16#0020#, 16#0067#, 16#0072#, 16#0065#, 16#0065#, 16#006E#, 16#003D#, 16#0030#, 16#002C#, 16#0020#, 16#0062#, 16#006C#, 16#0075#, 16#0065#, 16#003D#, 16#0030#, 16#0029#, 16#002E#, others => 16#0000#), others => <>); -- "the bounds inside which the text is rendered (possibly wrapped into multiple lines)" MS_0004 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 87, Unused => 83, Length => 83, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0062#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0073#, 16#0020#, 16#0069#, 16#006E#, 16#0073#, 16#0069#, 16#0064#, 16#0065#, 16#0020#, 16#0077#, 16#0068#, 16#0069#, 16#0063#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0074#, 16#0065#, 16#0078#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0072#, 16#0065#, 16#006E#, 16#0064#, 16#0065#, 16#0072#, 16#0065#, 16#0064#, 16#0020#, 16#0028#, 16#0070#, 16#006F#, 16#0073#, 16#0073#, 16#0069#, 16#0062#, 16#006C#, 16#0079#, 16#0020#, 16#0077#, 16#0072#, 16#0061#, 16#0070#, 16#0070#, 16#0065#, 16#0064#, 16#0020#, 16#0069#, 16#006E#, 16#0074#, 16#006F#, 16#0020#, 16#006D#, 16#0075#, 16#006C#, 16#0074#, 16#0069#, 16#0070#, 16#006C#, 16#0065#, 16#0020#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#0029#, others => 16#0000#), others => <>); -- "the opacity of the fill is non-negative" MS_0005 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 47, Unused => 39, Length => 39, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006F#, 16#0070#, 16#0061#, 16#0063#, 16#0069#, 16#0074#, 16#0079#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#006E#, 16#006F#, 16#006E#, 16#002D#, 16#006E#, 16#0065#, 16#0067#, 16#0061#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, others => 16#0000#), others => <>); -- "x1" MS_0006 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 2, Length => 2, Value => (16#0078#, 16#0031#, others => 16#0000#), others => <>); -- "The Diagram Graphics (DG) package contains a model of graphical primitives that can be instantiated when mapping from a language abstract syntax models and diagram interchange (DI) models to visual presentations. The mapping effectively defines the concrete syntax of a language. This specification does not restrict how the mappings are done, or what languages are used to define them." MS_0007 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 399, Unused => 386, Length => 386, Value => (16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#0044#, 16#0069#, 16#0061#, 16#0067#, 16#0072#, 16#0061#, 16#006D#, 16#0020#, 16#0047#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0073#, 16#0020#, 16#0028#, 16#0044#, 16#0047#, 16#0029#, 16#0020#, 16#0070#, 16#0061#, 16#0063#, 16#006B#, 16#0061#, 16#0067#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#0074#, 16#0061#, 16#0069#, 16#006E#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006D#, 16#006F#, 16#0064#, 16#0065#, 16#006C#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0070#, 16#0072#, 16#0069#, 16#006D#, 16#0069#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0069#, 16#006E#, 16#0073#, 16#0074#, 16#0061#, 16#006E#, 16#0074#, 16#0069#, 16#0061#, 16#0074#, 16#0065#, 16#0064#, 16#0020#, 16#0077#, 16#0068#, 16#0065#, 16#006E#, 16#0020#, 16#006D#, 16#0061#, 16#0070#, 16#0070#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#0061#, 16#0020#, 16#006C#, 16#0061#, 16#006E#, 16#0067#, 16#0075#, 16#0061#, 16#0067#, 16#0065#, 16#0020#, 16#0061#, 16#0062#, 16#0073#, 16#0074#, 16#0072#, 16#0061#, 16#0063#, 16#0074#, 16#0020#, 16#0073#, 16#0079#, 16#006E#, 16#0074#, 16#0061#, 16#0078#, 16#0020#, 16#006D#, 16#006F#, 16#0064#, 16#0065#, 16#006C#, 16#0073#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0064#, 16#0069#, 16#0061#, 16#0067#, 16#0072#, 16#0061#, 16#006D#, 16#0020#, 16#0069#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#0063#, 16#0068#, 16#0061#, 16#006E#, 16#0067#, 16#0065#, 16#0020#, 16#0028#, 16#0044#, 16#0049#, 16#0029#, 16#0020#, 16#006D#, 16#006F#, 16#0064#, 16#0065#, 16#006C#, 16#0073#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0076#, 16#0069#, 16#0073#, 16#0075#, 16#0061#, 16#006C#, 16#0020#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0073#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#006D#, 16#0061#, 16#0070#, 16#0070#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0065#, 16#0066#, 16#0066#, 16#0065#, 16#0063#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#006C#, 16#0079#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#0063#, 16#0072#, 16#0065#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#006E#, 16#0074#, 16#0061#, 16#0078#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0061#, 16#0020#, 16#006C#, 16#0061#, 16#006E#, 16#0067#, 16#0075#, 16#0061#, 16#0067#, 16#0065#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0069#, 16#0073#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0069#, 16#0063#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0020#, 16#0064#, 16#006F#, 16#0065#, 16#0073#, 16#0020#, 16#006E#, 16#006F#, 16#0074#, 16#0020#, 16#0072#, 16#0065#, 16#0073#, 16#0074#, 16#0072#, 16#0069#, 16#0063#, 16#0074#, 16#0020#, 16#0068#, 16#006F#, 16#0077#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006D#, 16#0061#, 16#0070#, 16#0070#, 16#0069#, 16#006E#, 16#0067#, 16#0073#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0020#, 16#0064#, 16#006F#, 16#006E#, 16#0065#, 16#002C#, 16#0020#, 16#006F#, 16#0072#, 16#0020#, 16#0077#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#006C#, 16#0061#, 16#006E#, 16#0067#, 16#0075#, 16#0061#, 16#0067#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "the text as a string of characters." MS_0008 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 39, Unused => 35, Length => 35, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0074#, 16#0065#, 16#0078#, 16#0074#, 16#0020#, 16#0061#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0063#, 16#0068#, 16#0061#, 16#0072#, 16#0061#, 16#0063#, 16#0074#, 16#0065#, 16#0072#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "Scale is a kind of transform that scales (resizes) a graphical element by a given factor in the x-y coordinate system." MS_0009 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 127, Unused => 118, Length => 118, Value => (16#0053#, 16#0063#, 16#0061#, 16#006C#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0073#, 16#0063#, 16#0061#, 16#006C#, 16#0065#, 16#0073#, 16#0020#, 16#0028#, 16#0072#, 16#0065#, 16#0073#, 16#0069#, 16#007A#, 16#0065#, 16#0073#, 16#0029#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0062#, 16#0079#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0069#, 16#0076#, 16#0065#, 16#006E#, 16#0020#, 16#0066#, 16#0061#, 16#0063#, 16#0074#, 16#006F#, 16#0072#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0079#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "Gradient is a kind of fill that paints a continuously smooth color transition along the gradient range from one color to the next." MS_000A : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 135, Unused => 130, Length => 130, Value => (16#0047#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0075#, 16#006F#, 16#0075#, 16#0073#, 16#006C#, 16#0079#, 16#0020#, 16#0073#, 16#006D#, 16#006F#, 16#006F#, 16#0074#, 16#0068#, 16#0020#, 16#0063#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0069#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0020#, 16#0061#, 16#006C#, 16#006F#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0072#, 16#0061#, 16#006E#, 16#0067#, 16#0065#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#006F#, 16#006E#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006E#, 16#0065#, 16#0078#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "a reference to the canvas that owns this fill." MS_000B : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 47, Unused => 46, Length => 46, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0066#, 16#0065#, 16#0072#, 16#0065#, 16#006E#, 16#0063#, 16#0065#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#006F#, 16#0077#, 16#006E#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0069#, 16#0073#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#002E#, others => 16#0000#), others => <>); -- "the c value of the transform matrix." MS_000C : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 39, Unused => 36, Length => 36, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0020#, 16#006D#, 16#0061#, 16#0074#, 16#0072#, 16#0069#, 16#0078#, 16#002E#, others => 16#0000#), others => <>); -- "whether the coordinates specified by the command are relative to the current point (when true) or to the origin point of the coordinate system (when false)." MS_000D : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 167, Unused => 156, Length => 156, Value => (16#0077#, 16#0068#, 16#0065#, 16#0074#, 16#0068#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0073#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0069#, 16#0065#, 16#0064#, 16#0020#, 16#0062#, 16#0079#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006D#, 16#006D#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0020#, 16#0072#, 16#0065#, 16#006C#, 16#0061#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0028#, 16#0077#, 16#0068#, 16#0065#, 16#006E#, 16#0020#, 16#0074#, 16#0072#, 16#0075#, 16#0065#, 16#0029#, 16#0020#, 16#006F#, 16#0072#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006F#, 16#0072#, 16#0069#, 16#0067#, 16#0069#, 16#006E#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#0020#, 16#0028#, 16#0077#, 16#0068#, 16#0065#, 16#006E#, 16#0020#, 16#0066#, 16#0061#, 16#006C#, 16#0073#, 16#0065#, 16#0029#, 16#002E#, others => 16#0000#), others => <>); -- "centerX" MS_000E : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 7, Length => 7, Value => (16#0063#, 16#0065#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#0058#, others => 16#0000#), others => <>); -- "Image is a graphical element that defines a shape that paints an image with a given URL within given bounds." MS_000F : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 111, Unused => 108, Length => 108, Value => (16#0049#, 16#006D#, 16#0061#, 16#0067#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0068#, 16#0061#, 16#0070#, 16#0065#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#0061#, 16#006E#, 16#0020#, 16#0069#, 16#006D#, 16#0061#, 16#0067#, 16#0065#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0069#, 16#0076#, 16#0065#, 16#006E#, 16#0020#, 16#0055#, 16#0052#, 16#004C#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0069#, 16#006E#, 16#0020#, 16#0067#, 16#0069#, 16#0076#, 16#0065#, 16#006E#, 16#0020#, 16#0062#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "the e value of the transform matrix." MS_0010 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 39, Unused => 36, Length => 36, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0065#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0020#, 16#006D#, 16#0061#, 16#0074#, 16#0072#, 16#0069#, 16#0078#, 16#002E#, others => 16#0000#), others => <>); -- "valid_center_point" MS_0011 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 18, Length => 18, Value => (16#0076#, 16#0061#, 16#006C#, 16#0069#, 16#0064#, 16#005F#, 16#0063#, 16#0065#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#005F#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); -- "a radius for the rectangle's rounded corners. When the radius is 0, the rectangle is drawn with sharp corners." MS_0012 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 119, Unused => 110, Length => 110, Value => (16#0061#, 16#0020#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0075#, 16#0073#, 16#0020#, 16#0066#, 16#006F#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0072#, 16#0065#, 16#0063#, 16#0074#, 16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0027#, 16#0073#, 16#0020#, 16#0072#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0065#, 16#0064#, 16#0020#, 16#0063#, 16#006F#, 16#0072#, 16#006E#, 16#0065#, 16#0072#, 16#0073#, 16#002E#, 16#0020#, 16#0057#, 16#0068#, 16#0065#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0075#, 16#0073#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0030#, 16#002C#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0072#, 16#0065#, 16#0063#, 16#0074#, 16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0064#, 16#0072#, 16#0061#, 16#0077#, 16#006E#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0073#, 16#0068#, 16#0061#, 16#0072#, 16#0070#, 16#0020#, 16#0063#, 16#006F#, 16#0072#, 16#006E#, 16#0065#, 16#0072#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "a point to move to in the coordinate system" MS_0013 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 47, Unused => 43, Length => 43, Value => (16#0061#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#006D#, 16#006F#, 16#0076#, 16#0065#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, others => 16#0000#), others => <>); -- "tile" MS_0014 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 4, Length => 4, Value => (16#0074#, 16#0069#, 16#006C#, 16#0065#, others => 16#0000#), others => <>); -- "Skew" MS_0015 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 4, Length => 4, Value => (16#0053#, 16#006B#, 16#0065#, 16#0077#, others => 16#0000#), others => <>); -- "group" MS_0016 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 5, Length => 5, Value => (16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#0070#, others => 16#0000#), others => <>); -- "clippedElement" MS_0017 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 14, Length => 14, Value => (16#0063#, 16#006C#, 16#0069#, 16#0070#, 16#0070#, 16#0065#, 16#0064#, 16#0045#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); -- "a reference to a graphical element, owned by the pattern, that works as a tile to be painted repeatedly at a fixed interval to fill an closed area." MS_0018 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 151, Unused => 147, Length => 147, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0066#, 16#0065#, 16#0072#, 16#0065#, 16#006E#, 16#0063#, 16#0065#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002C#, 16#0020#, 16#006F#, 16#0077#, 16#006E#, 16#0065#, 16#0064#, 16#0020#, 16#0062#, 16#0079#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0074#, 16#0065#, 16#0072#, 16#006E#, 16#002C#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0077#, 16#006F#, 16#0072#, 16#006B#, 16#0073#, 16#0020#, 16#0061#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0074#, 16#0069#, 16#006C#, 16#0065#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0065#, 16#0064#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0065#, 16#0061#, 16#0074#, 16#0065#, 16#0064#, 16#006C#, 16#0079#, 16#0020#, 16#0061#, 16#0074#, 16#0020#, 16#0061#, 16#0020#, 16#0066#, 16#0069#, 16#0078#, 16#0065#, 16#0064#, 16#0020#, 16#0069#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#0076#, 16#0061#, 16#006C#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0061#, 16#006E#, 16#0020#, 16#0063#, 16#006C#, 16#006F#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0061#, 16#002E#, others => 16#0000#), others => <>); -- "0.5" MS_0019 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 3, Length => 3, Value => (16#0030#, 16#002E#, 16#0035#, others => 16#0000#), others => <>); -- "Transform defines an operation that changes the geometry of a graphical element in a specific way." MS_001A : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 103, Unused => 98, Length => 98, Value => (16#0054#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#006E#, 16#0020#, 16#006F#, 16#0070#, 16#0065#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0063#, 16#0068#, 16#0061#, 16#006E#, 16#0067#, 16#0065#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0065#, 16#006F#, 16#006D#, 16#0065#, 16#0074#, 16#0072#, 16#0079#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0069#, 16#0063#, 16#0020#, 16#0077#, 16#0061#, 16#0079#, 16#002E#, others => 16#0000#), others => <>); -- "A_endMarker_markedElement" MS_001B : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 31, Unused => 25, Length => 25, Value => (16#0041#, 16#005F#, 16#0065#, 16#006E#, 16#0064#, 16#004D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, 16#005F#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0045#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); -- "a list of two or more gradient stops defining the color transitions of the gradient." MS_001C : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 87, Unused => 84, Length => 84, Value => (16#0061#, 16#0020#, 16#006C#, 16#0069#, 16#0073#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0077#, 16#006F#, 16#0020#, 16#006F#, 16#0072#, 16#0020#, 16#006D#, 16#006F#, 16#0072#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0073#, 16#0074#, 16#006F#, 16#0070#, 16#0073#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0069#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "fontUnderline" MS_001D : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 13, Length => 13, Value => (16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#0055#, 16#006E#, 16#0064#, 16#0065#, 16#0072#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, others => 16#0000#), others => <>); -- "a real number representing a translate delta along the x-axis. Both positive and negative values are allowed." MS_001E : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 119, Unused => 109, Length => 109, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#006C#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#006C#, 16#0074#, 16#0061#, 16#0020#, 16#0061#, 16#006C#, 16#006F#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0061#, 16#0078#, 16#0069#, 16#0073#, 16#002E#, 16#0020#, 16#0042#, 16#006F#, 16#0074#, 16#0068#, 16#0020#, 16#0070#, 16#006F#, 16#0073#, 16#0069#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#006E#, 16#0065#, 16#0067#, 16#0061#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0020#, 16#0061#, 16#006C#, 16#006C#, 16#006F#, 16#0077#, 16#0065#, 16#0064#, 16#002E#, others => 16#0000#), others => <>); -- "Polyline is a marked element that defines a shape consisting of a sequence of connected straight line segments." MS_001F : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 119, Unused => 111, Length => 111, Value => (16#0050#, 16#006F#, 16#006C#, 16#0079#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0068#, 16#0061#, 16#0070#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#0073#, 16#0069#, 16#0073#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0065#, 16#0071#, 16#0075#, 16#0065#, 16#006E#, 16#0063#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#006E#, 16#0065#, 16#0063#, 16#0074#, 16#0065#, 16#0064#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#0061#, 16#0069#, 16#0067#, 16#0068#, 16#0074#, 16#0020#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#0073#, 16#0065#, 16#0067#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "the offset must be between 0 and 1." MS_0020 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 39, Unused => 35, Length => 35, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0066#, 16#0073#, 16#0065#, 16#0074#, 16#0020#, 16#006D#, 16#0075#, 16#0073#, 16#0074#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0062#, 16#0065#, 16#0074#, 16#0077#, 16#0065#, 16#0065#, 16#006E#, 16#0020#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0031#, 16#002E#, others => 16#0000#), others => <>); -- "Matrix" MS_0021 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#004D#, 16#0061#, 16#0074#, 16#0072#, 16#0069#, 16#0078#, others => 16#0000#), others => <>); -- "fillColor" MS_0022 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 9, Length => 9, Value => (16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0043#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, others => 16#0000#), others => <>); -- "end" MS_0023 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 3, Length => 3, Value => (16#0065#, 16#006E#, 16#0064#, others => 16#0000#), others => <>); -- "non_negative_radius" MS_0024 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 19, Length => 19, Value => (16#006E#, 16#006F#, 16#006E#, 16#005F#, 16#006E#, 16#0065#, 16#0067#, 16#0061#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#005F#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0075#, 16#0073#, others => 16#0000#), others => <>); -- "x2" MS_0025 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 2, Length => 2, Value => (16#0078#, 16#0032#, others => 16#0000#), others => <>); -- "startControl" MS_0026 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 12, Length => 12, Value => (16#0073#, 16#0074#, 16#0061#, 16#0072#, 16#0074#, 16#0043#, 16#006F#, 16#006E#, 16#0074#, 16#0072#, 16#006F#, 16#006C#, others => 16#0000#), others => <>); -- "Fill" MS_0027 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 4, Length => 4, Value => (16#0046#, 16#0069#, 16#006C#, 16#006C#, others => 16#0000#), others => <>); -- "Ellipse is a graphical element that defines an elliptical shape with a given center point and two radii on the x and y axes." MS_0028 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 127, Unused => 124, Length => 124, Value => (16#0045#, 16#006C#, 16#006C#, 16#0069#, 16#0070#, 16#0073#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#006E#, 16#0020#, 16#0065#, 16#006C#, 16#006C#, 16#0069#, 16#0070#, 16#0074#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0073#, 16#0068#, 16#0061#, 16#0070#, 16#0065#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0069#, 16#0076#, 16#0065#, 16#006E#, 16#0020#, 16#0063#, 16#0065#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0074#, 16#0077#, 16#006F#, 16#0020#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0069#, 16#0020#, 16#006F#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0079#, 16#0020#, 16#0061#, 16#0078#, 16#0065#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "Rectangle" MS_0029 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 9, Length => 9, Value => (16#0052#, 16#0065#, 16#0063#, 16#0074#, 16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, others => 16#0000#), others => <>); -- "the focus point coordinates must be between 0 and 1" MS_002A : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 55, Unused => 51, Length => 51, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#006F#, 16#0063#, 16#0075#, 16#0073#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0073#, 16#0020#, 16#006D#, 16#0075#, 16#0073#, 16#0074#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0062#, 16#0065#, 16#0074#, 16#0077#, 16#0065#, 16#0065#, 16#006E#, 16#0020#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0031#, others => 16#0000#), others => <>); -- "valid_radius" MS_002B : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 12, Length => 12, Value => (16#0076#, 16#0061#, 16#006C#, 16#0069#, 16#0064#, 16#005F#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0075#, 16#0073#, others => 16#0000#), others => <>); -- "A_member_group" MS_002C : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 14, Length => 14, Value => (16#0041#, 16#005F#, 16#006D#, 16#0065#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#005F#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#0070#, others => 16#0000#), others => <>); -- "RadialGradient" MS_002D : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 14, Length => 14, Value => (16#0052#, 16#0061#, 16#0064#, 16#0069#, 16#0061#, 16#006C#, 16#0047#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); -- "the opacity must be between 0 and 1." MS_002E : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 39, Unused => 36, Length => 36, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006F#, 16#0070#, 16#0061#, 16#0063#, 16#0069#, 16#0074#, 16#0079#, 16#0020#, 16#006D#, 16#0075#, 16#0073#, 16#0074#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0062#, 16#0065#, 16#0074#, 16#0077#, 16#0065#, 16#0065#, 16#006E#, 16#0020#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0031#, 16#002E#, others => 16#0000#), others => <>); -- "the b value of the transform matrix." MS_002F : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 39, Unused => 36, Length => 36, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0062#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0020#, 16#006D#, 16#0061#, 16#0074#, 16#0072#, 16#0069#, 16#0078#, 16#002E#, others => 16#0000#), others => <>); -- "a list of real numbers specifying a pattern of alternating dash and gap lengths used in stroking the outline of a graphical element with the first one specifying a dash length. The size of the list is expected to be even. If the list is empty, the stroke is drawn solid. The default is empty list." MS_0030 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 311, Unused => 297, Length => 297, Value => (16#0061#, 16#0020#, 16#006C#, 16#0069#, 16#0073#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0073#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0079#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0074#, 16#0065#, 16#0072#, 16#006E#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0061#, 16#006C#, 16#0074#, 16#0065#, 16#0072#, 16#006E#, 16#0061#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0064#, 16#0061#, 16#0073#, 16#0068#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0067#, 16#0061#, 16#0070#, 16#0020#, 16#006C#, 16#0065#, 16#006E#, 16#0067#, 16#0074#, 16#0068#, 16#0073#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#006F#, 16#006B#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006F#, 16#0075#, 16#0074#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#0069#, 16#0072#, 16#0073#, 16#0074#, 16#0020#, 16#006F#, 16#006E#, 16#0065#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0079#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0064#, 16#0061#, 16#0073#, 16#0068#, 16#0020#, 16#006C#, 16#0065#, 16#006E#, 16#0067#, 16#0074#, 16#0068#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#0073#, 16#0069#, 16#007A#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006C#, 16#0069#, 16#0073#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0065#, 16#0078#, 16#0070#, 16#0065#, 16#0063#, 16#0074#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0065#, 16#0076#, 16#0065#, 16#006E#, 16#002E#, 16#0020#, 16#0049#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006C#, 16#0069#, 16#0073#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0065#, 16#006D#, 16#0070#, 16#0074#, 16#0079#, 16#002C#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#006F#, 16#006B#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0064#, 16#0072#, 16#0061#, 16#0077#, 16#006E#, 16#0020#, 16#0073#, 16#006F#, 16#006C#, 16#0069#, 16#0064#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0061#, 16#0075#, 16#006C#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0065#, 16#006D#, 16#0070#, 16#0074#, 16#0079#, 16#0020#, 16#006C#, 16#0069#, 16#0073#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "valid_fill_opacity" MS_0031 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 18, Length => 18, Value => (16#0076#, 16#0061#, 16#006C#, 16#0069#, 16#0064#, 16#005F#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#005F#, 16#006F#, 16#0070#, 16#0061#, 16#0063#, 16#0069#, 16#0074#, 16#0079#, others => 16#0000#), others => <>); -- "a real number representing the angle (in degrees) of skew along the y-axis. Both positive (clock-wise) and negative (counter-clock-wise) values are allowed." MS_0032 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 167, Unused => 156, Length => 156, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0020#, 16#0028#, 16#0069#, 16#006E#, 16#0020#, 16#0064#, 16#0065#, 16#0067#, 16#0072#, 16#0065#, 16#0065#, 16#0073#, 16#0029#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0073#, 16#006B#, 16#0065#, 16#0077#, 16#0020#, 16#0061#, 16#006C#, 16#006F#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0079#, 16#002D#, 16#0061#, 16#0078#, 16#0069#, 16#0073#, 16#002E#, 16#0020#, 16#0042#, 16#006F#, 16#0074#, 16#0068#, 16#0020#, 16#0070#, 16#006F#, 16#0073#, 16#0069#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0028#, 16#0063#, 16#006C#, 16#006F#, 16#0063#, 16#006B#, 16#002D#, 16#0077#, 16#0069#, 16#0073#, 16#0065#, 16#0029#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#006E#, 16#0065#, 16#0067#, 16#0061#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0028#, 16#0063#, 16#006F#, 16#0075#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#002D#, 16#0063#, 16#006C#, 16#006F#, 16#0063#, 16#006B#, 16#002D#, 16#0077#, 16#0069#, 16#0073#, 16#0065#, 16#0029#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0020#, 16#0061#, 16#006C#, 16#006C#, 16#006F#, 16#0077#, 16#0065#, 16#0064#, 16#002E#, others => 16#0000#), others => <>); -- "Line" MS_0033 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 4, Length => 4, Value => (16#004C#, 16#0069#, 16#006E#, 16#0065#, others => 16#0000#), others => <>); -- "strokeOpacity" MS_0034 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 13, Length => 13, Value => (16#0073#, 16#0074#, 16#0072#, 16#006F#, 16#006B#, 16#0065#, 16#004F#, 16#0070#, 16#0061#, 16#0063#, 16#0069#, 16#0074#, 16#0079#, others => 16#0000#), others => <>); -- "valid_stroke_width" MS_0035 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 18, Length => 18, Value => (16#0076#, 16#0061#, 16#006C#, 16#0069#, 16#0064#, 16#005F#, 16#0073#, 16#0074#, 16#0072#, 16#006F#, 16#006B#, 16#0065#, 16#005F#, 16#0077#, 16#0069#, 16#0064#, 16#0074#, 16#0068#, others => 16#0000#), others => <>); -- "radii" MS_0036 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 5, Length => 5, Value => (16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0069#, others => 16#0000#), others => <>); -- "1" MS_0037 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 1, Length => 1, Value => (16#0031#, others => 16#0000#), others => <>); -- "a list of shared styles for this graphical element." MS_0038 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 55, Unused => 51, Length => 51, Value => (16#0061#, 16#0020#, 16#006C#, 16#0069#, 16#0073#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0073#, 16#0068#, 16#0061#, 16#0072#, 16#0065#, 16#0064#, 16#0020#, 16#0073#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, 16#0073#, 16#0020#, 16#0066#, 16#006F#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0069#, 16#0073#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "cornerRadius" MS_0039 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 12, Length => 12, Value => (16#0063#, 16#006F#, 16#0072#, 16#006E#, 16#0065#, 16#0072#, 16#0052#, 16#0061#, 16#0064#, 16#0069#, 16#0075#, 16#0073#, others => 16#0000#), others => <>); -- "clipPath" MS_003A : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 8, Length => 8, Value => (16#0063#, 16#006C#, 16#0069#, 16#0070#, 16#0050#, 16#0061#, 16#0074#, 16#0068#, others => 16#0000#), others => <>); -- "Text" MS_003B : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 4, Length => 4, Value => (16#0054#, 16#0065#, 16#0078#, 16#0074#, others => 16#0000#), others => <>); -- "A_fill_style" MS_003C : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 12, Length => 12, Value => (16#0041#, 16#005F#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#005F#, 16#0073#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, others => 16#0000#), others => <>); -- "a list of 3 or more points making up the polygon." MS_003D : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 55, Unused => 49, Length => 49, Value => (16#0061#, 16#0020#, 16#006C#, 16#0069#, 16#0073#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0033#, 16#0020#, 16#006F#, 16#0072#, 16#0020#, 16#006D#, 16#006F#, 16#0072#, 16#0065#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#006D#, 16#0061#, 16#006B#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0075#, 16#0070#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0070#, 16#006F#, 16#006C#, 16#0079#, 16#0067#, 16#006F#, 16#006E#, 16#002E#, others => 16#0000#), others => <>); -- "a point to draw a straight line to from the current point in the coordinate system." MS_003E : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 87, Unused => 83, Length => 83, Value => (16#0061#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0064#, 16#0072#, 16#0061#, 16#0077#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#0061#, 16#0069#, 16#0067#, 16#0068#, 16#0074#, 16#0020#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "a real number (>=0 and >=1) representing a ratio of the graphical element's width that is the y center point of the gradient." MS_003F : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 135, Unused => 125, Length => 125, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#003E#, 16#003D#, 16#0031#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0027#, 16#0073#, 16#0020#, 16#0077#, 16#0069#, 16#0064#, 16#0074#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0079#, 16#0020#, 16#0063#, 16#0065#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "wether to preserve the aspect ratio of the image upon scaling, i.e. the same scale factor for width and height." MS_0040 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 119, Unused => 111, Length => 111, Value => (16#0077#, 16#0065#, 16#0074#, 16#0068#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#0072#, 16#0076#, 16#0065#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0074#, 16#0020#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0069#, 16#006D#, 16#0061#, 16#0067#, 16#0065#, 16#0020#, 16#0075#, 16#0070#, 16#006F#, 16#006E#, 16#0020#, 16#0073#, 16#0063#, 16#0061#, 16#006C#, 16#0069#, 16#006E#, 16#0067#, 16#002C#, 16#0020#, 16#0069#, 16#002E#, 16#0065#, 16#002E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0073#, 16#0061#, 16#006D#, 16#0065#, 16#0020#, 16#0073#, 16#0063#, 16#0061#, 16#006C#, 16#0065#, 16#0020#, 16#0066#, 16#0061#, 16#0063#, 16#0074#, 16#006F#, 16#0072#, 16#0020#, 16#0066#, 16#006F#, 16#0072#, 16#0020#, 16#0077#, 16#0069#, 16#0064#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0068#, 16#0065#, 16#0069#, 16#0067#, 16#0068#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "Skew is a kind of transform that skews (deforms) a graphical element by given angles in the x-y coordinate system." MS_0041 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 119, Unused => 114, Length => 114, Value => (16#0053#, 16#006B#, 16#0065#, 16#0077#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0073#, 16#006B#, 16#0065#, 16#0077#, 16#0073#, 16#0020#, 16#0028#, 16#0064#, 16#0065#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0073#, 16#0029#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0062#, 16#0079#, 16#0020#, 16#0067#, 16#0069#, 16#0076#, 16#0065#, 16#006E#, 16#0020#, 16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0073#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0079#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "A_marker_canvas" MS_0042 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 15, Length => 15, Value => (16#0041#, 16#005F#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, 16#005F#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, others => 16#0000#), others => <>); -- "the center point coordinates must be between 0 and 1" MS_0043 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 55, Unused => 52, Length => 52, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0065#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0073#, 16#0020#, 16#006D#, 16#0075#, 16#0073#, 16#0074#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0062#, 16#0065#, 16#0074#, 16#0077#, 16#0065#, 16#0065#, 16#006E#, 16#0020#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0031#, others => 16#0000#), others => <>); -- "fontSize" MS_0044 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 8, Length => 8, Value => (16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#0053#, 16#0069#, 16#007A#, 16#0065#, others => 16#0000#), others => <>); -- "a point in the x-y coordinate system about which the rotation is performed. If the point is not specified, it is assumed to be the origin of the x-y coordinate system." MS_0045 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 175, Unused => 167, Length => 167, Value => (16#0061#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0079#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#0020#, 16#0061#, 16#0062#, 16#006F#, 16#0075#, 16#0074#, 16#0020#, 16#0077#, 16#0068#, 16#0069#, 16#0063#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0072#, 16#006F#, 16#0074#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0070#, 16#0065#, 16#0072#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0065#, 16#0064#, 16#002E#, 16#0020#, 16#0049#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#006E#, 16#006F#, 16#0074#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0069#, 16#0065#, 16#0064#, 16#002C#, 16#0020#, 16#0069#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0073#, 16#0073#, 16#0075#, 16#006D#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006F#, 16#0072#, 16#0069#, 16#0067#, 16#0069#, 16#006E#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0079#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "Image" MS_0046 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 5, Length => 5, Value => (16#0049#, 16#006D#, 16#0061#, 16#0067#, 16#0065#, others => 16#0000#), others => <>); -- "org.omg.xmi.nsURI" MS_0047 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 17, Length => 17, Value => (16#006F#, 16#0072#, 16#0067#, 16#002E#, 16#006F#, 16#006D#, 16#0067#, 16#002E#, 16#0078#, 16#006D#, 16#0069#, 16#002E#, 16#006E#, 16#0073#, 16#0055#, 16#0052#, 16#0049#, others => 16#0000#), others => <>); -- "ClipPath" MS_0048 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 8, Length => 8, Value => (16#0043#, 16#006C#, 16#0069#, 16#0070#, 16#0050#, 16#0061#, 16#0074#, 16#0068#, others => 16#0000#), others => <>); -- "a color that is used to paint the background of the canvas itself. A backgroundColor value is exclusive with a backgroundFill value. If both are specified, the backgroundFill value is used. If none is specified, no fill is applied (i.e. the canvas becomes see-through)." MS_0049 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 279, Unused => 269, Length => 269, Value => (16#0061#, 16#0020#, 16#0063#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0062#, 16#0061#, 16#0063#, 16#006B#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, 16#0020#, 16#0069#, 16#0074#, 16#0073#, 16#0065#, 16#006C#, 16#0066#, 16#002E#, 16#0020#, 16#0041#, 16#0020#, 16#0062#, 16#0061#, 16#0063#, 16#006B#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0043#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0065#, 16#0078#, 16#0063#, 16#006C#, 16#0075#, 16#0073#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#0020#, 16#0062#, 16#0061#, 16#0063#, 16#006B#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0046#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#002E#, 16#0020#, 16#0049#, 16#0066#, 16#0020#, 16#0062#, 16#006F#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0069#, 16#0065#, 16#0064#, 16#002C#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0062#, 16#0061#, 16#0063#, 16#006B#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0046#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#002E#, 16#0020#, 16#0049#, 16#0066#, 16#0020#, 16#006E#, 16#006F#, 16#006E#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0069#, 16#0065#, 16#0064#, 16#002C#, 16#0020#, 16#006E#, 16#006F#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0070#, 16#0070#, 16#006C#, 16#0069#, 16#0065#, 16#0064#, 16#0020#, 16#0028#, 16#0069#, 16#002E#, 16#0065#, 16#002E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, 16#0020#, 16#0062#, 16#0065#, 16#0063#, 16#006F#, 16#006D#, 16#0065#, 16#0073#, 16#0020#, 16#0073#, 16#0065#, 16#0065#, 16#002D#, 16#0074#, 16#0068#, 16#0072#, 16#006F#, 16#0075#, 16#0067#, 16#0068#, 16#0029#, 16#002E#, others => 16#0000#), others => <>); -- "Pattern is a kind of fill that paints a graphical element (a tile) repeatedly at fixed intervals in x and y axes to cover the areas to be filled." MS_004A : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 151, Unused => 145, Length => 145, Value => (16#0050#, 16#0061#, 16#0074#, 16#0074#, 16#0065#, 16#0072#, 16#006E#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0028#, 16#0061#, 16#0020#, 16#0074#, 16#0069#, 16#006C#, 16#0065#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0065#, 16#0061#, 16#0074#, 16#0065#, 16#0064#, 16#006C#, 16#0079#, 16#0020#, 16#0061#, 16#0074#, 16#0020#, 16#0066#, 16#0069#, 16#0078#, 16#0065#, 16#0064#, 16#0020#, 16#0069#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#0076#, 16#0061#, 16#006C#, 16#0073#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0078#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0079#, 16#0020#, 16#0061#, 16#0078#, 16#0065#, 16#0073#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0063#, 16#006F#, 16#0076#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0061#, 16#0073#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0065#, 16#0064#, 16#002E#, others => 16#0000#), others => <>); -- "a point to draw a quadratic bézier curve to from the current point in the coordinate system." MS_004B : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 95, Unused => 92, Length => 92, Value => (16#0061#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0064#, 16#0072#, 16#0061#, 16#0077#, 16#0020#, 16#0061#, 16#0020#, 16#0071#, 16#0075#, 16#0061#, 16#0064#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#0063#, 16#0020#, 16#0062#, 16#00E9#, 16#007A#, 16#0069#, 16#0065#, 16#0072#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0076#, 16#0065#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "markedElement" MS_004C : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 13, Length => 13, Value => (16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0045#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); -- "a real number representing the angle (in degrees) of rotation. Both positive (clock-wise) and negative (counter-clock-wise) values are allowed." MS_004D : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 151, Unused => 143, Length => 143, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0020#, 16#0028#, 16#0069#, 16#006E#, 16#0020#, 16#0064#, 16#0065#, 16#0067#, 16#0072#, 16#0065#, 16#0065#, 16#0073#, 16#0029#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0072#, 16#006F#, 16#0074#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#002E#, 16#0020#, 16#0042#, 16#006F#, 16#0074#, 16#0068#, 16#0020#, 16#0070#, 16#006F#, 16#0073#, 16#0069#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0028#, 16#0063#, 16#006C#, 16#006F#, 16#0063#, 16#006B#, 16#002D#, 16#0077#, 16#0069#, 16#0073#, 16#0065#, 16#0029#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#006E#, 16#0065#, 16#0067#, 16#0061#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0028#, 16#0063#, 16#006F#, 16#0075#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#002D#, 16#0063#, 16#006C#, 16#006F#, 16#0063#, 16#006B#, 16#002D#, 16#0077#, 16#0069#, 16#0073#, 16#0065#, 16#0029#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0020#, 16#0061#, 16#006C#, 16#006C#, 16#006F#, 16#0077#, 16#0065#, 16#0064#, 16#002E#, others => 16#0000#), others => <>); -- "A_sharedStyle_styledElement" MS_004E : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 31, Unused => 27, Length => 27, Value => (16#0041#, 16#005F#, 16#0073#, 16#0068#, 16#0061#, 16#0072#, 16#0065#, 16#0064#, 16#0053#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, 16#005F#, 16#0073#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, 16#0064#, 16#0045#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); -- "the control point of the quadratic bézier curve." MS_004F : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 55, Unused => 48, Length => 48, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#0074#, 16#0072#, 16#006F#, 16#006C#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0071#, 16#0075#, 16#0061#, 16#0064#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#0063#, 16#0020#, 16#0062#, 16#00E9#, 16#007A#, 16#0069#, 16#0065#, 16#0072#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0076#, 16#0065#, 16#002E#, others => 16#0000#), others => <>); -- "a list of zero or more transforms to apply to this fill." MS_0050 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 63, Unused => 56, Length => 56, Value => (16#0061#, 16#0020#, 16#006C#, 16#0069#, 16#0073#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#007A#, 16#0065#, 16#0072#, 16#006F#, 16#0020#, 16#006F#, 16#0072#, 16#0020#, 16#006D#, 16#006F#, 16#0072#, 16#0065#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0073#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0061#, 16#0070#, 16#0070#, 16#006C#, 16#0079#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0074#, 16#0068#, 16#0069#, 16#0073#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#002E#, others => 16#0000#), others => <>); -- "a real number (>=0 and<=1) representing the opacity of the color at the stop. A value of 0 means totally transparent, while a value of 1 means totally opaque." MS_0051 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 167, Unused => 158, Length => 158, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#003C#, 16#003D#, 16#0031#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006F#, 16#0070#, 16#0061#, 16#0063#, 16#0069#, 16#0074#, 16#0079#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#0061#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0073#, 16#0074#, 16#006F#, 16#0070#, 16#002E#, 16#0020#, 16#0041#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0030#, 16#0020#, 16#006D#, 16#0065#, 16#0061#, 16#006E#, 16#0073#, 16#0020#, 16#0074#, 16#006F#, 16#0074#, 16#0061#, 16#006C#, 16#006C#, 16#0079#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0070#, 16#0061#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#002C#, 16#0020#, 16#0077#, 16#0068#, 16#0069#, 16#006C#, 16#0065#, 16#0020#, 16#0061#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0031#, 16#0020#, 16#006D#, 16#0065#, 16#0061#, 16#006E#, 16#0073#, 16#0020#, 16#0074#, 16#006F#, 16#0074#, 16#0061#, 16#006C#, 16#006C#, 16#0079#, 16#0020#, 16#006F#, 16#0070#, 16#0061#, 16#0071#, 16#0075#, 16#0065#, 16#002E#, others => 16#0000#), others => <>); -- "isLargeArc" MS_0052 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 10, Length => 10, Value => (16#0069#, 16#0073#, 16#004C#, 16#0061#, 16#0072#, 16#0067#, 16#0065#, 16#0041#, 16#0072#, 16#0063#, others => 16#0000#), others => <>); -- "a real number(>=0) representing a scale factor along the y-axis." MS_0053 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 71, Unused => 64, Length => 64, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0063#, 16#0061#, 16#006C#, 16#0065#, 16#0020#, 16#0066#, 16#0061#, 16#0063#, 16#0074#, 16#006F#, 16#0072#, 16#0020#, 16#0061#, 16#006C#, 16#006F#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0079#, 16#002D#, 16#0061#, 16#0078#, 16#0069#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "MoveTo is a kind of path command that establishes a new current point in the coordinate system." MS_0054 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 103, Unused => 95, Length => 95, Value => (16#004D#, 16#006F#, 16#0076#, 16#0065#, 16#0054#, 16#006F#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0068#, 16#0020#, 16#0063#, 16#006F#, 16#006D#, 16#006D#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0065#, 16#0073#, 16#0074#, 16#0061#, 16#0062#, 16#006C#, 16#0069#, 16#0073#, 16#0068#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006E#, 16#0065#, 16#0077#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "A_backgroundFill_canvas" MS_0055 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 31, Unused => 23, Length => 23, Value => (16#0041#, 16#005F#, 16#0062#, 16#0061#, 16#0063#, 16#006B#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0046#, 16#0069#, 16#006C#, 16#006C#, 16#005F#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, others => 16#0000#), others => <>); -- "localStyle" MS_0056 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 10, Length => 10, Value => (16#006C#, 16#006F#, 16#0063#, 16#0061#, 16#006C#, 16#0053#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, others => 16#0000#), others => <>); -- "all the components of the gradient vector must be between 0 and 1." MS_0057 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 71, Unused => 66, Length => 66, Value => (16#0061#, 16#006C#, 16#006C#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006D#, 16#0070#, 16#006F#, 16#006E#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0076#, 16#0065#, 16#0063#, 16#0074#, 16#006F#, 16#0072#, 16#0020#, 16#006D#, 16#0075#, 16#0073#, 16#0074#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0062#, 16#0065#, 16#0074#, 16#0077#, 16#0065#, 16#0065#, 16#006E#, 16#0020#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0031#, 16#002E#, others => 16#0000#), others => <>); -- "A set of markers packaged by the canvas and referenced by marked elements in the canvas." MS_0058 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 95, Unused => 88, Length => 88, Value => (16#0041#, 16#0020#, 16#0073#, 16#0065#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, 16#0073#, 16#0020#, 16#0070#, 16#0061#, 16#0063#, 16#006B#, 16#0061#, 16#0067#, 16#0065#, 16#0064#, 16#0020#, 16#0062#, 16#0079#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0072#, 16#0065#, 16#0066#, 16#0065#, 16#0072#, 16#0065#, 16#006E#, 16#0063#, 16#0065#, 16#0064#, 16#0020#, 16#0062#, 16#0079#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "MoveTo" MS_0059 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#004D#, 16#006F#, 16#0076#, 16#0065#, 16#0054#, 16#006F#, others => 16#0000#), others => <>); -- "the bounds of the pattern that define a private coordinate system for the pattern's tile." MS_005A : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 95, Unused => 89, Length => 89, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0062#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0074#, 16#0065#, 16#0072#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#0061#, 16#0020#, 16#0070#, 16#0072#, 16#0069#, 16#0076#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#0020#, 16#0066#, 16#006F#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0074#, 16#0065#, 16#0072#, 16#006E#, 16#0027#, 16#0073#, 16#0020#, 16#0074#, 16#0069#, 16#006C#, 16#0065#, 16#002E#, others => 16#0000#), others => <>); -- "Polygon is a marked element that defines a closed shape consisting of a sequence of connected straight line segments." MS_005B : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 127, Unused => 117, Length => 117, Value => (16#0050#, 16#006F#, 16#006C#, 16#0079#, 16#0067#, 16#006F#, 16#006E#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0063#, 16#006C#, 16#006F#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0073#, 16#0068#, 16#0061#, 16#0070#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#0073#, 16#0069#, 16#0073#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0065#, 16#0071#, 16#0075#, 16#0065#, 16#006E#, 16#0063#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#006E#, 16#0065#, 16#0063#, 16#0074#, 16#0065#, 16#0064#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#0061#, 16#0069#, 16#0067#, 16#0068#, 16#0074#, 16#0020#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#0073#, 16#0065#, 16#0067#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "a real number (>=0 and <=1) representing the opacity of the fill or fillColor used to paint a graphical element. A value of 0 means totally transparent, while a value of 1 means totally opaque. The default is 1." MS_005C : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 223, Unused => 211, Length => 211, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#003C#, 16#003D#, 16#0031#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006F#, 16#0070#, 16#0061#, 16#0063#, 16#0069#, 16#0074#, 16#0079#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#006F#, 16#0072#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0043#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, 16#0020#, 16#0041#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0030#, 16#0020#, 16#006D#, 16#0065#, 16#0061#, 16#006E#, 16#0073#, 16#0020#, 16#0074#, 16#006F#, 16#0074#, 16#0061#, 16#006C#, 16#006C#, 16#0079#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0070#, 16#0061#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#002C#, 16#0020#, 16#0077#, 16#0068#, 16#0069#, 16#006C#, 16#0065#, 16#0020#, 16#0061#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0031#, 16#0020#, 16#006D#, 16#0065#, 16#0061#, 16#006E#, 16#0073#, 16#0020#, 16#0074#, 16#006F#, 16#0074#, 16#0061#, 16#006C#, 16#006C#, 16#0079#, 16#0020#, 16#006F#, 16#0070#, 16#0061#, 16#0071#, 16#0075#, 16#0065#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0061#, 16#0075#, 16#006C#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0031#, 16#002E#, others => 16#0000#), others => <>); -- "the text alignment when wrapped into multiple lines." MS_005D : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 55, Unused => 52, Length => 52, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0074#, 16#0065#, 16#0078#, 16#0074#, 16#0020#, 16#0061#, 16#006C#, 16#0069#, 16#0067#, 16#006E#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0077#, 16#0068#, 16#0065#, 16#006E#, 16#0020#, 16#0077#, 16#0072#, 16#0061#, 16#0070#, 16#0070#, 16#0065#, 16#0064#, 16#0020#, 16#0069#, 16#006E#, 16#0074#, 16#006F#, 16#0020#, 16#006D#, 16#0075#, 16#006C#, 16#0074#, 16#0069#, 16#0070#, 16#006C#, 16#0065#, 16#0020#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "valid_dash_length_size" MS_005E : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 22, Length => 22, Value => (16#0076#, 16#0061#, 16#006C#, 16#0069#, 16#0064#, 16#005F#, 16#0064#, 16#0061#, 16#0073#, 16#0068#, 16#005F#, 16#006C#, 16#0065#, 16#006E#, 16#0067#, 16#0074#, 16#0068#, 16#005F#, 16#0073#, 16#0069#, 16#007A#, 16#0065#, others => 16#0000#), others => <>); -- "Marker" MS_005F : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#004D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, others => 16#0000#), others => <>); -- "a real number (>=0 and >=1) representing a ratio of the graphical element's width that is the y focus point of the gradient." MS_0060 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 127, Unused => 124, Length => 124, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#003E#, 16#003D#, 16#0031#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0027#, 16#0073#, 16#0020#, 16#0077#, 16#0069#, 16#0064#, 16#0074#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0079#, 16#0020#, 16#0066#, 16#006F#, 16#0063#, 16#0075#, 16#0073#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "the ending point of the line in the x-y coordinate system." MS_0061 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 63, Unused => 58, Length => 58, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0065#, 16#006E#, 16#0064#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0079#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "the two radii of the ellipse from which the arc is created." MS_0062 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 63, Unused => 59, Length => 59, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0074#, 16#0077#, 16#006F#, 16#0020#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0069#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0065#, 16#006C#, 16#006C#, 16#0069#, 16#0070#, 16#0073#, 16#0065#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#0077#, 16#0068#, 16#0069#, 16#0063#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#0072#, 16#0063#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0063#, 16#0072#, 16#0065#, 16#0061#, 16#0074#, 16#0065#, 16#0064#, 16#002E#, others => 16#0000#), others => <>); -- "a dimension that specifies the two radii of the ellipse (a width along the x-axis and a height along the y-axis)" MS_0063 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 119, Unused => 112, Length => 112, Value => (16#0061#, 16#0020#, 16#0064#, 16#0069#, 16#006D#, 16#0065#, 16#006E#, 16#0073#, 16#0069#, 16#006F#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0069#, 16#0065#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0074#, 16#0077#, 16#006F#, 16#0020#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0069#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0065#, 16#006C#, 16#006C#, 16#0069#, 16#0070#, 16#0073#, 16#0065#, 16#0020#, 16#0028#, 16#0061#, 16#0020#, 16#0077#, 16#0069#, 16#0064#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#006C#, 16#006F#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0061#, 16#0078#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0061#, 16#0020#, 16#0068#, 16#0065#, 16#0069#, 16#0067#, 16#0068#, 16#0074#, 16#0020#, 16#0061#, 16#006C#, 16#006F#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0079#, 16#002D#, 16#0061#, 16#0078#, 16#0069#, 16#0073#, 16#0029#, others => 16#0000#), others => <>); -- "EllipticalArcTo is a kind of path command that draws an elliptical arc from the current point to a new point in the coordinate system." MS_0064 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 143, Unused => 134, Length => 134, Value => (16#0045#, 16#006C#, 16#006C#, 16#0069#, 16#0070#, 16#0074#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0041#, 16#0072#, 16#0063#, 16#0054#, 16#006F#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0068#, 16#0020#, 16#0063#, 16#006F#, 16#006D#, 16#006D#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0072#, 16#0061#, 16#0077#, 16#0073#, 16#0020#, 16#0061#, 16#006E#, 16#0020#, 16#0065#, 16#006C#, 16#006C#, 16#0069#, 16#0070#, 16#0074#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0061#, 16#0072#, 16#0063#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0061#, 16#0020#, 16#006E#, 16#0065#, 16#0077#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "a real number (>=0 and >=1) representing a ratio of the graphical element's size that is the radius of the gradient." MS_0065 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 119, Unused => 116, Length => 116, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#003E#, 16#003D#, 16#0031#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0027#, 16#0073#, 16#0020#, 16#0073#, 16#0069#, 16#007A#, 16#0065#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0075#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "stop" MS_0066 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 4, Length => 4, Value => (16#0073#, 16#0074#, 16#006F#, 16#0070#, others => 16#0000#), others => <>); -- "reference" MS_0067 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 9, Length => 9, Value => (16#0072#, 16#0065#, 16#0066#, 16#0065#, 16#0072#, 16#0065#, 16#006E#, 16#0063#, 16#0065#, others => 16#0000#), others => <>); -- "A_fill_canvas" MS_0068 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 13, Length => 13, Value => (16#0041#, 16#005F#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#005F#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, others => 16#0000#), others => <>); -- "A_midMarker_markedElement" MS_0069 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 31, Unused => 25, Length => 25, Value => (16#0041#, 16#005F#, 16#006D#, 16#0069#, 16#0064#, 16#004D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, 16#005F#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0045#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); -- "an optional end marker that aligns with the last vertex of the marked element." MS_006A : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 87, Unused => 78, Length => 78, Value => (16#0061#, 16#006E#, 16#0020#, 16#006F#, 16#0070#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006E#, 16#0064#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0061#, 16#006C#, 16#0069#, 16#0067#, 16#006E#, 16#0073#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006C#, 16#0061#, 16#0073#, 16#0074#, 16#0020#, 16#0076#, 16#0065#, 16#0072#, 16#0074#, 16#0065#, 16#0078#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "the color of the stroke used to paint the outline of a graphical element. The default is black (red=0, green=0, blue=0)." MS_006B : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 127, Unused => 120, Length => 120, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#006F#, 16#006B#, 16#0065#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006F#, 16#0075#, 16#0074#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0061#, 16#0075#, 16#006C#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0062#, 16#006C#, 16#0061#, 16#0063#, 16#006B#, 16#0020#, 16#0028#, 16#0072#, 16#0065#, 16#0064#, 16#003D#, 16#0030#, 16#002C#, 16#0020#, 16#0067#, 16#0072#, 16#0065#, 16#0065#, 16#006E#, 16#003D#, 16#0030#, 16#002C#, 16#0020#, 16#0062#, 16#006C#, 16#0075#, 16#0065#, 16#003D#, 16#0030#, 16#0029#, 16#002E#, others => 16#0000#), others => <>); -- "valid_gradient_vector" MS_006C : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 21, Length => 21, Value => (16#0076#, 16#0061#, 16#006C#, 16#0069#, 16#0064#, 16#005F#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#005F#, 16#0076#, 16#0065#, 16#0063#, 16#0074#, 16#006F#, 16#0072#, others => 16#0000#), others => <>); -- "strokeWidth" MS_006D : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 11, Length => 11, Value => (16#0073#, 16#0074#, 16#0072#, 16#006F#, 16#006B#, 16#0065#, 16#0057#, 16#0069#, 16#0064#, 16#0074#, 16#0068#, others => 16#0000#), others => <>); -- "the font size is non-negative" MS_006E : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 31, Unused => 29, Length => 29, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#0020#, 16#0073#, 16#0069#, 16#007A#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#006E#, 16#006F#, 16#006E#, 16#002D#, 16#006E#, 16#0065#, 16#0067#, 16#0061#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, others => 16#0000#), others => <>); -- "CubicCurveTo is a kind of path command that draws a cubic bézier curve from the current point to a new point using a start and an end control points." MS_006F : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 159, Unused => 149, Length => 149, Value => (16#0043#, 16#0075#, 16#0062#, 16#0069#, 16#0063#, 16#0043#, 16#0075#, 16#0072#, 16#0076#, 16#0065#, 16#0054#, 16#006F#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0068#, 16#0020#, 16#0063#, 16#006F#, 16#006D#, 16#006D#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0072#, 16#0061#, 16#0077#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0063#, 16#0075#, 16#0062#, 16#0069#, 16#0063#, 16#0020#, 16#0062#, 16#00E9#, 16#007A#, 16#0069#, 16#0065#, 16#0072#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0076#, 16#0065#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0061#, 16#0020#, 16#006E#, 16#0065#, 16#0077#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0075#, 16#0073#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0074#, 16#0061#, 16#0072#, 16#0074#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0061#, 16#006E#, 16#0020#, 16#0065#, 16#006E#, 16#0064#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#0074#, 16#0072#, 16#006F#, 16#006C#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "LinearGradient is a kind of gradient that fills a graphical element by smoothly changing color values along a vector." MS_0070 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 127, Unused => 117, Length => 117, Value => (16#004C#, 16#0069#, 16#006E#, 16#0065#, 16#0061#, 16#0072#, 16#0047#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0062#, 16#0079#, 16#0020#, 16#0073#, 16#006D#, 16#006F#, 16#006F#, 16#0074#, 16#0068#, 16#006C#, 16#0079#, 16#0020#, 16#0063#, 16#0068#, 16#0061#, 16#006E#, 16#0067#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0063#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#006C#, 16#006F#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0076#, 16#0065#, 16#0063#, 16#0074#, 16#006F#, 16#0072#, 16#002E#, others => 16#0000#), others => <>); -- "Path is a marked element that defines a custom shape whose geometry is specified with a sequence of path commands." MS_0071 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 119, Unused => 114, Length => 114, Value => (16#0050#, 16#0061#, 16#0074#, 16#0068#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0063#, 16#0075#, 16#0073#, 16#0074#, 16#006F#, 16#006D#, 16#0020#, 16#0073#, 16#0068#, 16#0061#, 16#0070#, 16#0065#, 16#0020#, 16#0077#, 16#0068#, 16#006F#, 16#0073#, 16#0065#, 16#0020#, 16#0067#, 16#0065#, 16#006F#, 16#006D#, 16#0065#, 16#0074#, 16#0072#, 16#0079#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0069#, 16#0065#, 16#0064#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0065#, 16#0071#, 16#0075#, 16#0065#, 16#006E#, 16#0063#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0068#, 16#0020#, 16#0063#, 16#006F#, 16#006D#, 16#006D#, 16#0061#, 16#006E#, 16#0064#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "Path" MS_0072 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 4, Length => 4, Value => (16#0050#, 16#0061#, 16#0074#, 16#0068#, others => 16#0000#), others => <>); -- "a real number representing a rotation (in degrees) of the ellipse from which the arc is created." MS_0073 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 103, Unused => 96, Length => 96, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0072#, 16#006F#, 16#0074#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0020#, 16#0028#, 16#0069#, 16#006E#, 16#0020#, 16#0064#, 16#0065#, 16#0067#, 16#0072#, 16#0065#, 16#0065#, 16#0073#, 16#0029#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0065#, 16#006C#, 16#006C#, 16#0069#, 16#0070#, 16#0073#, 16#0065#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#0077#, 16#0068#, 16#0069#, 16#0063#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#0072#, 16#0063#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0063#, 16#0072#, 16#0065#, 16#0061#, 16#0074#, 16#0065#, 16#0064#, 16#002E#, others => 16#0000#), others => <>); -- "a set of fills packaged by the canvas and referenced by graphical elements in the canvas." MS_0074 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 95, Unused => 89, Length => 89, Value => (16#0061#, 16#0020#, 16#0073#, 16#0065#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0073#, 16#0020#, 16#0070#, 16#0061#, 16#0063#, 16#006B#, 16#0061#, 16#0067#, 16#0065#, 16#0064#, 16#0020#, 16#0062#, 16#0079#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0072#, 16#0065#, 16#0066#, 16#0065#, 16#0072#, 16#0065#, 16#006E#, 16#0063#, 16#0065#, 16#0064#, 16#0020#, 16#0062#, 16#0079#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "Matrix is a kind of transform that represents any transform operation with a 3x3 transformation matrix." MS_0075 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 111, Unused => 103, Length => 103, Value => (16#004D#, 16#0061#, 16#0074#, 16#0072#, 16#0069#, 16#0078#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#0061#, 16#006E#, 16#0079#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0020#, 16#006F#, 16#0070#, 16#0065#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#0020#, 16#0033#, 16#0078#, 16#0033#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0020#, 16#006D#, 16#0061#, 16#0074#, 16#0072#, 16#0069#, 16#0078#, 16#002E#, others => 16#0000#), others => <>); -- "valid_stroke_opacity" MS_0076 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 20, Length => 20, Value => (16#0076#, 16#0061#, 16#006C#, 16#0069#, 16#0064#, 16#005F#, 16#0073#, 16#0074#, 16#0072#, 16#006F#, 16#006B#, 16#0065#, 16#005F#, 16#006F#, 16#0070#, 16#0061#, 16#0063#, 16#0069#, 16#0074#, 16#0079#, others => 16#0000#), others => <>); -- "the bounds of the rectangle in the x-y coordinate system." MS_0077 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 63, Unused => 57, Length => 57, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0062#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0072#, 16#0065#, 16#0063#, 16#0074#, 16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0079#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "the URL of a referenced image file." MS_0078 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 39, Unused => 35, Length => 35, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0055#, 16#0052#, 16#004C#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0066#, 16#0065#, 16#0072#, 16#0065#, 16#006E#, 16#0063#, 16#0065#, 16#0064#, 16#0020#, 16#0069#, 16#006D#, 16#0061#, 16#0067#, 16#0065#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#0065#, 16#002E#, others => 16#0000#), others => <>); -- "size" MS_0079 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 4, Length => 4, Value => (16#0073#, 16#0069#, 16#007A#, 16#0065#, others => 16#0000#), others => <>); -- "MarkedElement is a graphic element that can be decorated at its vertices with markers (e.g. arrowheads)." MS_007A : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 111, Unused => 104, Length => 104, Value => (16#004D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0045#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#0063#, 16#006F#, 16#0072#, 16#0061#, 16#0074#, 16#0065#, 16#0064#, 16#0020#, 16#0061#, 16#0074#, 16#0020#, 16#0069#, 16#0074#, 16#0073#, 16#0020#, 16#0076#, 16#0065#, 16#0072#, 16#0074#, 16#0069#, 16#0063#, 16#0065#, 16#0073#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, 16#0073#, 16#0020#, 16#0028#, 16#0065#, 16#002E#, 16#0067#, 16#002E#, 16#0020#, 16#0061#, 16#0072#, 16#0072#, 16#006F#, 16#0077#, 16#0068#, 16#0065#, 16#0061#, 16#0064#, 16#0073#, 16#0029#, 16#002E#, others => 16#0000#), others => <>); -- "start" MS_007B : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 5, Length => 5, Value => (16#0073#, 16#0074#, 16#0061#, 16#0072#, 16#0074#, others => 16#0000#), others => <>); -- "Polyline" MS_007C : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 8, Length => 8, Value => (16#0050#, 16#006F#, 16#006C#, 16#0079#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, others => 16#0000#), others => <>); -- "a list of zero or more transforms to apply to this graphical element." MS_007D : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 71, Unused => 69, Length => 69, Value => (16#0061#, 16#0020#, 16#006C#, 16#0069#, 16#0073#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#007A#, 16#0065#, 16#0072#, 16#006F#, 16#0020#, 16#006F#, 16#0072#, 16#0020#, 16#006D#, 16#006F#, 16#0072#, 16#0065#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0073#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0061#, 16#0070#, 16#0070#, 16#006C#, 16#0079#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0074#, 16#0068#, 16#0069#, 16#0073#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "the name of the font used to render a text element (e.g. "Times New Roman", "Arial" or "Helvetica"). The default is "Arial"." MS_007E : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 127, Unused => 124, Length => 124, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006E#, 16#0061#, 16#006D#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0072#, 16#0065#, 16#006E#, 16#0064#, 16#0065#, 16#0072#, 16#0020#, 16#0061#, 16#0020#, 16#0074#, 16#0065#, 16#0078#, 16#0074#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0028#, 16#0065#, 16#002E#, 16#0067#, 16#002E#, 16#0020#, 16#0022#, 16#0054#, 16#0069#, 16#006D#, 16#0065#, 16#0073#, 16#0020#, 16#004E#, 16#0065#, 16#0077#, 16#0020#, 16#0052#, 16#006F#, 16#006D#, 16#0061#, 16#006E#, 16#0022#, 16#002C#, 16#0020#, 16#0022#, 16#0041#, 16#0072#, 16#0069#, 16#0061#, 16#006C#, 16#0022#, 16#0020#, 16#006F#, 16#0072#, 16#0020#, 16#0022#, 16#0048#, 16#0065#, 16#006C#, 16#0076#, 16#0065#, 16#0074#, 16#0069#, 16#0063#, 16#0061#, 16#0022#, 16#0029#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0061#, 16#0075#, 16#006C#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0022#, 16#0041#, 16#0072#, 16#0069#, 16#0061#, 16#006C#, 16#0022#, 16#002E#, others => 16#0000#), others => <>); -- "isRelative" MS_007F : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 10, Length => 10, Value => (16#0069#, 16#0073#, 16#0052#, 16#0065#, 16#006C#, 16#0061#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, others => 16#0000#), others => <>); -- "fontName" MS_0080 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 8, Length => 8, Value => (16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#004E#, 16#0061#, 16#006D#, 16#0065#, others => 16#0000#), others => <>); -- "isAspectRatioPreserved" MS_0081 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 22, Length => 22, Value => (16#0069#, 16#0073#, 16#0041#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0074#, 16#0052#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#0050#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#0072#, 16#0076#, 16#0065#, 16#0064#, others => 16#0000#), others => <>); -- "Fill is the abstract super class of all kinds of fills that are used to paint the interior of graphical elements." MS_0082 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 119, Unused => 113, Length => 113, Value => (16#0046#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#0062#, 16#0073#, 16#0074#, 16#0072#, 16#0061#, 16#0063#, 16#0074#, 16#0020#, 16#0073#, 16#0075#, 16#0070#, 16#0065#, 16#0072#, 16#0020#, 16#0063#, 16#006C#, 16#0061#, 16#0073#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0061#, 16#006C#, 16#006C#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0069#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#0069#, 16#006F#, 16#0072#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "whether the arc is drawn in a positive-angle direction" MS_0083 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 55, Unused => 54, Length => 54, Value => (16#0077#, 16#0068#, 16#0065#, 16#0074#, 16#0068#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#0072#, 16#0063#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0064#, 16#0072#, 16#0061#, 16#0077#, 16#006E#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0061#, 16#0020#, 16#0070#, 16#006F#, 16#0073#, 16#0069#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#002D#, 16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0020#, 16#0064#, 16#0069#, 16#0072#, 16#0065#, 16#0063#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, others => 16#0000#), others => <>); -- "the radius must be between 0 and 1" MS_0084 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 39, Unused => 35, Length => 35, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0075#, 16#0073#, 16#0020#, 16#0020#, 16#006D#, 16#0075#, 16#0073#, 16#0074#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0062#, 16#0065#, 16#0074#, 16#0077#, 16#0065#, 16#0065#, 16#006E#, 16#0020#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0031#, others => 16#0000#), others => <>); -- "QuadraticCurveTo" MS_0085 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 16, Length => 16, Value => (16#0051#, 16#0075#, 16#0061#, 16#0064#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#0063#, 16#0043#, 16#0075#, 16#0072#, 16#0076#, 16#0065#, 16#0054#, 16#006F#, others => 16#0000#), others => <>); -- "y2" MS_0086 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 2, Length => 2, Value => (16#0079#, 16#0032#, others => 16#0000#), others => <>); -- "factorY" MS_0087 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 7, Length => 7, Value => (16#0066#, 16#0061#, 16#0063#, 16#0074#, 16#006F#, 16#0072#, 16#0059#, others => 16#0000#), others => <>); -- "Scale" MS_0088 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 5, Length => 5, Value => (16#0053#, 16#0063#, 16#0061#, 16#006C#, 16#0065#, others => 16#0000#), others => <>); -- "a real number (>=0) representing the size (in unit of length) of the font used to render a text element. The default is 10." MS_0089 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 127, Unused => 123, Length => 123, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0073#, 16#0069#, 16#007A#, 16#0065#, 16#0020#, 16#0028#, 16#0069#, 16#006E#, 16#0020#, 16#0075#, 16#006E#, 16#0069#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#006C#, 16#0065#, 16#006E#, 16#0067#, 16#0074#, 16#0068#, 16#0029#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0072#, 16#0065#, 16#006E#, 16#0064#, 16#0065#, 16#0072#, 16#0020#, 16#0061#, 16#0020#, 16#0074#, 16#0065#, 16#0078#, 16#0074#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0061#, 16#0075#, 16#006C#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0031#, 16#0030#, 16#002E#, others => 16#0000#), others => <>); -- "the size of the stroke dash length list must be even." MS_008A : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 55, Unused => 53, Length => 53, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0073#, 16#0069#, 16#007A#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#006F#, 16#006B#, 16#0065#, 16#0020#, 16#0064#, 16#0061#, 16#0073#, 16#0068#, 16#0020#, 16#006C#, 16#0065#, 16#006E#, 16#0067#, 16#0074#, 16#0068#, 16#0020#, 16#006C#, 16#0069#, 16#0073#, 16#0074#, 16#0020#, 16#006D#, 16#0075#, 16#0073#, 16#0074#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0065#, 16#0076#, 16#0065#, 16#006E#, 16#002E#, others => 16#0000#), others => <>); -- "whether the arc sweep is equal to or greater than 180 degrees (the large arc)." MS_008B : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 87, Unused => 78, Length => 78, Value => (16#0077#, 16#0068#, 16#0065#, 16#0074#, 16#0068#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#0072#, 16#0063#, 16#0020#, 16#0073#, 16#0077#, 16#0065#, 16#0065#, 16#0070#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0065#, 16#0071#, 16#0075#, 16#0061#, 16#006C#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#006F#, 16#0072#, 16#0020#, 16#0067#, 16#0072#, 16#0065#, 16#0061#, 16#0074#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#006E#, 16#0020#, 16#0031#, 16#0038#, 16#0030#, 16#0020#, 16#0064#, 16#0065#, 16#0067#, 16#0072#, 16#0065#, 16#0065#, 16#0073#, 16#0020#, 16#0028#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006C#, 16#0061#, 16#0072#, 16#0067#, 16#0065#, 16#0020#, 16#0061#, 16#0072#, 16#0063#, 16#0029#, 16#002E#, others => 16#0000#), others => <>); -- "Translate is a kind of transform that translates (moves) a graphical element by a given delta along the x-y coordinate system." MS_008C : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 135, Unused => 126, Length => 126, Value => (16#0054#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#006C#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#006C#, 16#0061#, 16#0074#, 16#0065#, 16#0073#, 16#0020#, 16#0028#, 16#006D#, 16#006F#, 16#0076#, 16#0065#, 16#0073#, 16#0029#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0062#, 16#0079#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0069#, 16#0076#, 16#0065#, 16#006E#, 16#0020#, 16#0064#, 16#0065#, 16#006C#, 16#0074#, 16#0061#, 16#0020#, 16#0061#, 16#006C#, 16#006F#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0079#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "valid_offset" MS_008D : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 12, Length => 12, Value => (16#0076#, 16#0061#, 16#006C#, 16#0069#, 16#0064#, 16#005F#, 16#006F#, 16#0066#, 16#0066#, 16#0073#, 16#0065#, 16#0074#, others => 16#0000#), others => <>); -- "bounds" MS_008E : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#0062#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0073#, others => 16#0000#), others => <>); -- "LinearGradient" MS_008F : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 14, Length => 14, Value => (16#004C#, 16#0069#, 16#006E#, 16#0065#, 16#0061#, 16#0072#, 16#0047#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); -- "false" MS_0090 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 5, Length => 5, Value => (16#0066#, 16#0061#, 16#006C#, 16#0073#, 16#0065#, others => 16#0000#), others => <>); -- "whether the font used to render a text element has a <b>strike-through</b> style. The default is false." MS_0091 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 111, Unused => 103, Length => 103, Value => (16#0077#, 16#0068#, 16#0065#, 16#0074#, 16#0068#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0072#, 16#0065#, 16#006E#, 16#0064#, 16#0065#, 16#0072#, 16#0020#, 16#0061#, 16#0020#, 16#0074#, 16#0065#, 16#0078#, 16#0074#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0068#, 16#0061#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#003C#, 16#0062#, 16#003E#, 16#0073#, 16#0074#, 16#0072#, 16#0069#, 16#006B#, 16#0065#, 16#002D#, 16#0074#, 16#0068#, 16#0072#, 16#006F#, 16#0075#, 16#0067#, 16#0068#, 16#003C#, 16#002F#, 16#0062#, 16#003E#, 16#0020#, 16#0073#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0061#, 16#0075#, 16#006C#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0066#, 16#0061#, 16#006C#, 16#0073#, 16#0065#, 16#002E#, others => 16#0000#), others => <>); -- "GradientStop" MS_0092 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 12, Length => 12, Value => (16#0047#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#0053#, 16#0074#, 16#006F#, 16#0070#, others => 16#0000#), others => <>); -- "a real number representing the angle (in degrees) of skew along the x-axis. Both positive (clock-wise) and negative (counter-clock-wise) values are allowed." MS_0093 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 167, Unused => 156, Length => 156, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0020#, 16#0028#, 16#0069#, 16#006E#, 16#0020#, 16#0064#, 16#0065#, 16#0067#, 16#0072#, 16#0065#, 16#0065#, 16#0073#, 16#0029#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0073#, 16#006B#, 16#0065#, 16#0077#, 16#0020#, 16#0061#, 16#006C#, 16#006F#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0061#, 16#0078#, 16#0069#, 16#0073#, 16#002E#, 16#0020#, 16#0042#, 16#006F#, 16#0074#, 16#0068#, 16#0020#, 16#0070#, 16#006F#, 16#0073#, 16#0069#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0028#, 16#0063#, 16#006C#, 16#006F#, 16#0063#, 16#006B#, 16#002D#, 16#0077#, 16#0069#, 16#0073#, 16#0065#, 16#0029#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#006E#, 16#0065#, 16#0067#, 16#0061#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0028#, 16#0063#, 16#006F#, 16#0075#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#002D#, 16#0063#, 16#006C#, 16#006F#, 16#0063#, 16#006B#, 16#002D#, 16#0077#, 16#0069#, 16#0073#, 16#0065#, 16#0029#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0020#, 16#0061#, 16#006C#, 16#006C#, 16#006F#, 16#0077#, 16#0065#, 16#0064#, 16#002E#, others => 16#0000#), others => <>); -- "a reference to the owning element that is clipped by this clip path." MS_0094 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 71, Unused => 68, Length => 68, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0066#, 16#0065#, 16#0072#, 16#0065#, 16#006E#, 16#0063#, 16#0065#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006F#, 16#0077#, 16#006E#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0063#, 16#006C#, 16#0069#, 16#0070#, 16#0070#, 16#0065#, 16#0064#, 16#0020#, 16#0062#, 16#0079#, 16#0020#, 16#0074#, 16#0068#, 16#0069#, 16#0073#, 16#0020#, 16#0063#, 16#006C#, 16#0069#, 16#0070#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0068#, 16#002E#, others => 16#0000#), others => <>); -- "fillOpacity" MS_0095 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 11, Length => 11, Value => (16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#004F#, 16#0070#, 16#0061#, 16#0063#, 16#0069#, 16#0074#, 16#0079#, others => 16#0000#), others => <>); -- "Circle" MS_0096 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#0043#, 16#0069#, 16#0072#, 16#0063#, 16#006C#, 16#0065#, others => 16#0000#), others => <>); -- "the start control point of the cubic bézier curve." MS_0097 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 55, Unused => 50, Length => 50, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0073#, 16#0074#, 16#0061#, 16#0072#, 16#0074#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#0074#, 16#0072#, 16#006F#, 16#006C#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0062#, 16#0069#, 16#0063#, 16#0020#, 16#0062#, 16#00E9#, 16#007A#, 16#0069#, 16#0065#, 16#0072#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0076#, 16#0065#, 16#002E#, others => 16#0000#), others => <>); -- "dg" MS_0098 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 2, Length => 2, Value => (16#0064#, 16#0067#, others => 16#0000#), others => <>); -- "a point to draw an elliptical arc to from the current point in the coordinate system." MS_0099 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 87, Unused => 85, Length => 85, Value => (16#0061#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0064#, 16#0072#, 16#0061#, 16#0077#, 16#0020#, 16#0061#, 16#006E#, 16#0020#, 16#0065#, 16#006C#, 16#006C#, 16#0069#, 16#0070#, 16#0074#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0061#, 16#0072#, 16#0063#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "PathCommand is the abstract super type of all commands that participate in specifying a path element." MS_009A : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 111, Unused => 101, Length => 101, Value => (16#0050#, 16#0061#, 16#0074#, 16#0068#, 16#0043#, 16#006F#, 16#006D#, 16#006D#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#0062#, 16#0073#, 16#0074#, 16#0072#, 16#0061#, 16#0063#, 16#0074#, 16#0020#, 16#0073#, 16#0075#, 16#0070#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0079#, 16#0070#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0061#, 16#006C#, 16#006C#, 16#0020#, 16#0063#, 16#006F#, 16#006D#, 16#006D#, 16#0061#, 16#006E#, 16#0064#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0070#, 16#0061#, 16#0072#, 16#0074#, 16#0069#, 16#0063#, 16#0069#, 16#0070#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0079#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0068#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "b" MS_009B : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 1, Length => 1, Value => (16#0062#, others => 16#0000#), others => <>); -- "style" MS_009C : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 5, Length => 5, Value => (16#0073#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, others => 16#0000#), others => <>); -- "focusY" MS_009D : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#0066#, 16#006F#, 16#0063#, 16#0075#, 16#0073#, 16#0059#, others => 16#0000#), others => <>); -- "deltaY" MS_009E : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#0064#, 16#0065#, 16#006C#, 16#0074#, 16#0061#, 16#0059#, others => 16#0000#), others => <>); -- "Canvas is a kind of group that represents the root of containment for all graphical elements that render one diagram." MS_009F : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 127, Unused => 117, Length => 117, Value => (16#0043#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#0070#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0072#, 16#006F#, 16#006F#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#0074#, 16#0061#, 16#0069#, 16#006E#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0066#, 16#006F#, 16#0072#, 16#0020#, 16#0061#, 16#006C#, 16#006C#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0072#, 16#0065#, 16#006E#, 16#0064#, 16#0065#, 16#0072#, 16#0020#, 16#006F#, 16#006E#, 16#0065#, 16#0020#, 16#0064#, 16#0069#, 16#0061#, 16#0067#, 16#0072#, 16#0061#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "deltaX" MS_00A0 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#0064#, 16#0065#, 16#006C#, 16#0074#, 16#0061#, 16#0058#, others => 16#0000#), others => <>); -- "fontColor" MS_00A1 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 9, Length => 9, Value => (16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#0043#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, others => 16#0000#), others => <>); -- "strokeColor" MS_00A2 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 11, Length => 11, Value => (16#0073#, 16#0074#, 16#0072#, 16#006F#, 16#006B#, 16#0065#, 16#0043#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, others => 16#0000#), others => <>); -- "an optional start marker that aligns with the first vertex of the marked element." MS_00A3 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 87, Unused => 81, Length => 81, Value => (16#0061#, 16#006E#, 16#0020#, 16#006F#, 16#0070#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0061#, 16#006C#, 16#0020#, 16#0073#, 16#0074#, 16#0061#, 16#0072#, 16#0074#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0061#, 16#006C#, 16#0069#, 16#0067#, 16#006E#, 16#0073#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#0069#, 16#0072#, 16#0073#, 16#0074#, 16#0020#, 16#0076#, 16#0065#, 16#0072#, 16#0074#, 16#0065#, 16#0078#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "sharedStyle" MS_00A4 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 11, Length => 11, Value => (16#0073#, 16#0068#, 16#0061#, 16#0072#, 16#0065#, 16#0064#, 16#0053#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, others => 16#0000#), others => <>); -- "transform" MS_00A5 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 9, Length => 9, Value => (16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, others => 16#0000#), others => <>); -- "the group element that owns this graphical element." MS_00A6 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 55, Unused => 51, Length => 51, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#0070#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#006F#, 16#0077#, 16#006E#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0069#, 16#0073#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "y1" MS_00A7 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 2, Length => 2, Value => (16#0079#, 16#0031#, others => 16#0000#), others => <>); -- "focusX" MS_00A8 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#0066#, 16#006F#, 16#0063#, 16#0075#, 16#0073#, 16#0058#, others => 16#0000#), others => <>); -- "fontBold" MS_00A9 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 8, Length => 8, Value => (16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#0042#, 16#006F#, 16#006C#, 16#0064#, others => 16#0000#), others => <>); -- "PathCommand" MS_00AA : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 11, Length => 11, Value => (16#0050#, 16#0061#, 16#0074#, 16#0068#, 16#0043#, 16#006F#, 16#006D#, 16#006D#, 16#0061#, 16#006E#, 16#0064#, others => 16#0000#), others => <>); -- "Rotate is a kind of transform that rotates a graphical element by a given angle about a given center point in the x-y coordinate system." MS_00AB : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 143, Unused => 136, Length => 136, Value => (16#0052#, 16#006F#, 16#0074#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0072#, 16#006F#, 16#0074#, 16#0061#, 16#0074#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0062#, 16#0079#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0069#, 16#0076#, 16#0065#, 16#006E#, 16#0020#, 16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0020#, 16#0061#, 16#0062#, 16#006F#, 16#0075#, 16#0074#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0069#, 16#0076#, 16#0065#, 16#006E#, 16#0020#, 16#0063#, 16#0065#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0079#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "a reference to a fill that is used to paint the background of the canvas itself. A backgroundFill value is exclusive with a backgroundColor value. If both are specified, the backgroundFill value is used. If none is specified, no fill is applied (i.e. the canvas becomes see-through)." MS_00AC : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 295, Unused => 283, Length => 283, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0066#, 16#0065#, 16#0072#, 16#0065#, 16#006E#, 16#0063#, 16#0065#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0061#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0062#, 16#0061#, 16#0063#, 16#006B#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, 16#0020#, 16#0069#, 16#0074#, 16#0073#, 16#0065#, 16#006C#, 16#0066#, 16#002E#, 16#0020#, 16#0041#, 16#0020#, 16#0062#, 16#0061#, 16#0063#, 16#006B#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0046#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0065#, 16#0078#, 16#0063#, 16#006C#, 16#0075#, 16#0073#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#0020#, 16#0062#, 16#0061#, 16#0063#, 16#006B#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0043#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#002E#, 16#0020#, 16#0049#, 16#0066#, 16#0020#, 16#0062#, 16#006F#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0069#, 16#0065#, 16#0064#, 16#002C#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0062#, 16#0061#, 16#0063#, 16#006B#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0046#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#002E#, 16#0020#, 16#0049#, 16#0066#, 16#0020#, 16#006E#, 16#006F#, 16#006E#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0069#, 16#0065#, 16#0064#, 16#002C#, 16#0020#, 16#006E#, 16#006F#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0070#, 16#0070#, 16#006C#, 16#0069#, 16#0065#, 16#0064#, 16#0020#, 16#0028#, 16#0069#, 16#002E#, 16#0065#, 16#002E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, 16#0020#, 16#0062#, 16#0065#, 16#0063#, 16#006F#, 16#006D#, 16#0065#, 16#0073#, 16#0020#, 16#0073#, 16#0065#, 16#0065#, 16#002D#, 16#0074#, 16#0068#, 16#0072#, 16#006F#, 16#0075#, 16#0067#, 16#0068#, 16#0029#, 16#002E#, others => 16#0000#), others => <>); -- "A_tile_pattern" MS_00AD : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 14, Length => 14, Value => (16#0041#, 16#005F#, 16#0074#, 16#0069#, 16#006C#, 16#0065#, 16#005F#, 16#0070#, 16#0061#, 16#0074#, 16#0074#, 16#0065#, 16#0072#, 16#006E#, others => 16#0000#), others => <>); -- "midMarker" MS_00AE : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 9, Length => 9, Value => (16#006D#, 16#0069#, 16#0064#, 16#004D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, others => 16#0000#), others => <>); -- "fontStrikeThrough" MS_00AF : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 17, Length => 17, Value => (16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#0053#, 16#0074#, 16#0072#, 16#0069#, 16#006B#, 16#0065#, 16#0054#, 16#0068#, 16#0072#, 16#006F#, 16#0075#, 16#0067#, 16#0068#, others => 16#0000#), others => <>); -- "whether the font used to render a text element has an <i>italic</i> style. The default is false." MS_00B0 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 103, Unused => 96, Length => 96, Value => (16#0077#, 16#0068#, 16#0065#, 16#0074#, 16#0068#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0072#, 16#0065#, 16#006E#, 16#0064#, 16#0065#, 16#0072#, 16#0020#, 16#0061#, 16#0020#, 16#0074#, 16#0065#, 16#0078#, 16#0074#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0068#, 16#0061#, 16#0073#, 16#0020#, 16#0061#, 16#006E#, 16#0020#, 16#003C#, 16#0069#, 16#003E#, 16#0069#, 16#0074#, 16#0061#, 16#006C#, 16#0069#, 16#0063#, 16#003C#, 16#002F#, 16#0069#, 16#003E#, 16#0020#, 16#0073#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0061#, 16#0075#, 16#006C#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0066#, 16#0061#, 16#006C#, 16#0073#, 16#0065#, 16#002E#, others => 16#0000#), others => <>); -- "centerY" MS_00B1 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 7, Length => 7, Value => (16#0063#, 16#0065#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#0059#, others => 16#0000#), others => <>); -- "the radius cannot be negative" MS_00B2 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 31, Unused => 29, Length => 29, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0075#, 16#0073#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#006E#, 16#006F#, 16#0074#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#006E#, 16#0065#, 16#0067#, 16#0061#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, others => 16#0000#), others => <>); -- "canvas" MS_00B3 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, others => 16#0000#), others => <>); -- "Rectangle is a graphical element that defines a rectangular shape with given bounds. A rectangle may be given rounded corners by setting its corner radius." MS_00B4 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 159, Unused => 155, Length => 155, Value => (16#0052#, 16#0065#, 16#0063#, 16#0074#, 16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0063#, 16#0074#, 16#0061#, 16#006E#, 16#0067#, 16#0075#, 16#006C#, 16#0061#, 16#0072#, 16#0020#, 16#0073#, 16#0068#, 16#0061#, 16#0070#, 16#0065#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0067#, 16#0069#, 16#0076#, 16#0065#, 16#006E#, 16#0020#, 16#0062#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0073#, 16#002E#, 16#0020#, 16#0041#, 16#0020#, 16#0072#, 16#0065#, 16#0063#, 16#0074#, 16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0020#, 16#006D#, 16#0061#, 16#0079#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0067#, 16#0069#, 16#0076#, 16#0065#, 16#006E#, 16#0020#, 16#0072#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0065#, 16#0064#, 16#0020#, 16#0063#, 16#006F#, 16#0072#, 16#006E#, 16#0065#, 16#0072#, 16#0073#, 16#0020#, 16#0062#, 16#0079#, 16#0020#, 16#0073#, 16#0065#, 16#0074#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0069#, 16#0074#, 16#0073#, 16#0020#, 16#0063#, 16#006F#, 16#0072#, 16#006E#, 16#0065#, 16#0072#, 16#0020#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0075#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "Transform" MS_00B5 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 9, Length => 9, Value => (16#0054#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, others => 16#0000#), others => <>); -- "a real number representing a translate delta along the y-axis. Both positive and negative values are allowed." MS_00B6 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 119, Unused => 109, Length => 109, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#006C#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#006C#, 16#0074#, 16#0061#, 16#0020#, 16#0061#, 16#006C#, 16#006F#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0079#, 16#002D#, 16#0061#, 16#0078#, 16#0069#, 16#0073#, 16#002E#, 16#0020#, 16#0042#, 16#006F#, 16#0074#, 16#0068#, 16#0020#, 16#0070#, 16#006F#, 16#0073#, 16#0069#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#006E#, 16#0065#, 16#0067#, 16#0061#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0020#, 16#0061#, 16#006C#, 16#006C#, 16#006F#, 16#0077#, 16#0065#, 16#0064#, 16#002E#, others => 16#0000#), others => <>); -- "a point within the bounds of the marker that aligns exactly with the marked element's vertex." MS_00B7 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 95, Unused => 93, Length => 93, Value => (16#0061#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0062#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0061#, 16#006C#, 16#0069#, 16#0067#, 16#006E#, 16#0073#, 16#0020#, 16#0065#, 16#0078#, 16#0061#, 16#0063#, 16#0074#, 16#006C#, 16#0079#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0027#, 16#0073#, 16#0020#, 16#0076#, 16#0065#, 16#0072#, 16#0074#, 16#0065#, 16#0078#, 16#002E#, others => 16#0000#), others => <>); -- "angleX" MS_00B8 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0058#, others => 16#0000#), others => <>); -- "whether the font used to render a text element has an <b>underline</b> style. The default is false." MS_00B9 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 103, Unused => 99, Length => 99, Value => (16#0077#, 16#0068#, 16#0065#, 16#0074#, 16#0068#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0072#, 16#0065#, 16#006E#, 16#0064#, 16#0065#, 16#0072#, 16#0020#, 16#0061#, 16#0020#, 16#0074#, 16#0065#, 16#0078#, 16#0074#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0068#, 16#0061#, 16#0073#, 16#0020#, 16#0061#, 16#006E#, 16#0020#, 16#003C#, 16#0062#, 16#003E#, 16#0075#, 16#006E#, 16#0064#, 16#0065#, 16#0072#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#003C#, 16#002F#, 16#0062#, 16#003E#, 16#0020#, 16#0073#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0061#, 16#0075#, 16#006C#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0066#, 16#0061#, 16#006C#, 16#0073#, 16#0065#, 16#002E#, others => 16#0000#), others => <>); -- "Line is a marked element that defines a shape consisting of one straight line between two points." MS_00BA : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 103, Unused => 97, Length => 97, Value => (16#004C#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0068#, 16#0061#, 16#0070#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#0073#, 16#0069#, 16#0073#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#006F#, 16#006E#, 16#0065#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#0061#, 16#0069#, 16#0067#, 16#0068#, 16#0074#, 16#0020#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#0062#, 16#0065#, 16#0074#, 16#0077#, 16#0065#, 16#0065#, 16#006E#, 16#0020#, 16#0074#, 16#0077#, 16#006F#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "the color to use at this gradient stop." MS_00BB : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 47, Unused => 39, Length => 39, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0020#, 16#0061#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0069#, 16#0073#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0073#, 16#0074#, 16#006F#, 16#0070#, 16#002E#, others => 16#0000#), others => <>); -- "a real number (>=0) that represents the radius of the circle." MS_00BC : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 63, Unused => 61, Length => 61, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0029#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0075#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0069#, 16#0072#, 16#0063#, 16#006C#, 16#0065#, 16#002E#, others => 16#0000#), others => <>); -- "endMarker" MS_00BD : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 9, Length => 9, Value => (16#0065#, 16#006E#, 16#0064#, 16#004D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, others => 16#0000#), others => <>); -- "center" MS_00BE : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#0063#, 16#0065#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, others => 16#0000#), others => <>); -- "packagedMarker" MS_00BF : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 14, Length => 14, Value => (16#0070#, 16#0061#, 16#0063#, 16#006B#, 16#0061#, 16#0067#, 16#0065#, 16#0064#, 16#004D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, others => 16#0000#), others => <>); -- "GradientStop defines a color transition along the distance from a gradient's start to its end offsets." MS_00C0 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 111, Unused => 102, Length => 102, Value => (16#0047#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#0053#, 16#0074#, 16#006F#, 16#0070#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0063#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0069#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0020#, 16#0061#, 16#006C#, 16#006F#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0064#, 16#0069#, 16#0073#, 16#0074#, 16#0061#, 16#006E#, 16#0063#, 16#0065#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#0027#, 16#0073#, 16#0020#, 16#0073#, 16#0074#, 16#0061#, 16#0072#, 16#0074#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0069#, 16#0074#, 16#0073#, 16#0020#, 16#0065#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0066#, 16#0073#, 16#0065#, 16#0074#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "c" MS_00C1 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 1, Length => 1, Value => (16#0063#, others => 16#0000#), others => <>); -- "endControl" MS_00C2 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 10, Length => 10, Value => (16#0065#, 16#006E#, 16#0064#, 16#0043#, 16#006F#, 16#006E#, 16#0074#, 16#0072#, 16#006F#, 16#006C#, others => 16#0000#), others => <>); -- "a real number (>=0 and >=1) representing a ratio of the graphical element's height that is the y start point of the gradient." MS_00C3 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 135, Unused => 125, Length => 125, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#003E#, 16#003D#, 16#0031#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0027#, 16#0073#, 16#0020#, 16#0068#, 16#0065#, 16#0069#, 16#0067#, 16#0068#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0079#, 16#0020#, 16#0073#, 16#0074#, 16#0061#, 16#0072#, 16#0074#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "the f value of the transform matrix." MS_00C4 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 39, Unused => 36, Length => 36, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0020#, 16#006D#, 16#0061#, 16#0074#, 16#0072#, 16#0069#, 16#0078#, 16#002E#, others => 16#0000#), others => <>); -- "a color that is used to paint the enclosed regions of graphical element. A fillColor value is exclusive with a fill value. If both are specified, the fill value is used. If none is specified, no fill is applied (i.e. the element becomes see-through)." MS_00C5 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 263, Unused => 250, Length => 250, Value => (16#0061#, 16#0020#, 16#0063#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0065#, 16#006E#, 16#0063#, 16#006C#, 16#006F#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0072#, 16#0065#, 16#0067#, 16#0069#, 16#006F#, 16#006E#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, 16#0020#, 16#0041#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0043#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0065#, 16#0078#, 16#0063#, 16#006C#, 16#0075#, 16#0073#, 16#0069#, 16#0076#, 16#0065#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#002E#, 16#0020#, 16#0049#, 16#0066#, 16#0020#, 16#0062#, 16#006F#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0069#, 16#0065#, 16#0064#, 16#002C#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#002E#, 16#0020#, 16#0049#, 16#0066#, 16#0020#, 16#006E#, 16#006F#, 16#006E#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0069#, 16#0065#, 16#0064#, 16#002C#, 16#0020#, 16#006E#, 16#006F#, 16#0020#, 16#0066#, 16#0069#, 16#006C#, 16#006C#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0070#, 16#0070#, 16#006C#, 16#0069#, 16#0065#, 16#0064#, 16#0020#, 16#0028#, 16#0069#, 16#002E#, 16#0065#, 16#002E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0062#, 16#0065#, 16#0063#, 16#006F#, 16#006D#, 16#0065#, 16#0073#, 16#0020#, 16#0073#, 16#0065#, 16#0065#, 16#002D#, 16#0074#, 16#0068#, 16#0072#, 16#006F#, 16#0075#, 16#0067#, 16#0068#, 16#0029#, 16#002E#, others => 16#0000#), others => <>); -- "Circle is a graphical element that defines a circular shape with a given center point and a radius." MS_00C6 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 103, Unused => 99, Length => 99, Value => (16#0043#, 16#0069#, 16#0072#, 16#0063#, 16#006C#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0063#, 16#0069#, 16#0072#, 16#0063#, 16#0075#, 16#006C#, 16#0061#, 16#0072#, 16#0020#, 16#0073#, 16#0068#, 16#0061#, 16#0070#, 16#0065#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0069#, 16#0076#, 16#0065#, 16#006E#, 16#0020#, 16#0063#, 16#0065#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0061#, 16#0020#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0075#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "non-negative-scale" MS_00C7 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 18, Length => 18, Value => (16#006E#, 16#006F#, 16#006E#, 16#002D#, 16#006E#, 16#0065#, 16#0067#, 16#0061#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#002D#, 16#0073#, 16#0063#, 16#0061#, 16#006C#, 16#0065#, others => 16#0000#), others => <>); -- "e" MS_00C8 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 1, Length => 1, Value => (16#0065#, others => 16#0000#), others => <>); -- "Translate" MS_00C9 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 9, Length => 9, Value => (16#0054#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#006C#, 16#0061#, 16#0074#, 16#0065#, others => 16#0000#), others => <>); -- "MarkedElement" MS_00CA : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 13, Length => 13, Value => (16#004D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0045#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); -- "a real number (>=0 and >=1) representing a ratio of the graphical element's width that is the x focus point of the gradient." MS_00CB : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 127, Unused => 124, Length => 124, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#003E#, 16#003D#, 16#0031#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0027#, 16#0073#, 16#0020#, 16#0077#, 16#0069#, 16#0064#, 16#0074#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#0020#, 16#0066#, 16#006F#, 16#0063#, 16#0075#, 16#0073#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "Style contains formatting properties that affect the appearance or style of graphical elements." MS_00CC : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 103, Unused => 95, Length => 95, Value => (16#0053#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#0074#, 16#0061#, 16#0069#, 16#006E#, 16#0073#, 16#0020#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0061#, 16#0074#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0070#, 16#0072#, 16#006F#, 16#0070#, 16#0065#, 16#0072#, 16#0074#, 16#0069#, 16#0065#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0061#, 16#0066#, 16#0066#, 16#0065#, 16#0063#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#0070#, 16#0070#, 16#0065#, 16#0061#, 16#0072#, 16#0061#, 16#006E#, 16#0063#, 16#0065#, 16#0020#, 16#006F#, 16#0072#, 16#0020#, 16#0073#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "pattern" MS_00CD : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 7, Length => 7, Value => (16#0070#, 16#0061#, 16#0074#, 16#0074#, 16#0065#, 16#0072#, 16#006E#, others => 16#0000#), others => <>); -- "a list of 2 or more points making up the polyline." MS_00CE : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 55, Unused => 50, Length => 50, Value => (16#0061#, 16#0020#, 16#006C#, 16#0069#, 16#0073#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0032#, 16#0020#, 16#006F#, 16#0072#, 16#0020#, 16#006D#, 16#006F#, 16#0072#, 16#0065#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#006D#, 16#0061#, 16#006B#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0075#, 16#0070#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0070#, 16#006F#, 16#006C#, 16#0079#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#002E#, others => 16#0000#), others => <>); -- "a point to draw a cubic bézier curve to from the current point in the coordinate system." MS_00CF : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 95, Unused => 88, Length => 88, Value => (16#0061#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0064#, 16#0072#, 16#0061#, 16#0077#, 16#0020#, 16#0061#, 16#0020#, 16#0063#, 16#0075#, 16#0062#, 16#0069#, 16#0063#, 16#0020#, 16#0062#, 16#00E9#, 16#007A#, 16#0069#, 16#0065#, 16#0072#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0076#, 16#0065#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "EllipticalArcTo" MS_00D0 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 15, Length => 15, Value => (16#0045#, 16#006C#, 16#006C#, 16#0069#, 16#0070#, 16#0074#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0041#, 16#0072#, 16#0063#, 16#0054#, 16#006F#, others => 16#0000#), others => <>); -- "the a value of the transform matrix." MS_00D1 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 39, Unused => 36, Length => 36, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0020#, 16#006D#, 16#0061#, 16#0074#, 16#0072#, 16#0069#, 16#0078#, 16#002E#, others => 16#0000#), others => <>); -- "the list of graphical elements that are members of (owned by) this group." MS_00D2 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 79, Unused => 73, Length => 73, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006C#, 16#0069#, 16#0073#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0061#, 16#0072#, 16#0065#, 16#0020#, 16#006D#, 16#0065#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0028#, 16#006F#, 16#0077#, 16#006E#, 16#0065#, 16#0064#, 16#0020#, 16#0062#, 16#0079#, 16#0029#, 16#0020#, 16#0074#, 16#0068#, 16#0069#, 16#0073#, 16#0020#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#0070#, 16#002E#, others => 16#0000#), others => <>); -- "ClosePath is a kind of path command that ends the current subpath and causes an automatic straight line to be drawn from the current point to the initial point of the current subpath." MS_00D3 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 191, Unused => 183, Length => 183, Value => (16#0043#, 16#006C#, 16#006F#, 16#0073#, 16#0065#, 16#0050#, 16#0061#, 16#0074#, 16#0068#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0068#, 16#0020#, 16#0063#, 16#006F#, 16#006D#, 16#006D#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0065#, 16#006E#, 16#0064#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0073#, 16#0075#, 16#0062#, 16#0070#, 16#0061#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0063#, 16#0061#, 16#0075#, 16#0073#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#006E#, 16#0020#, 16#0061#, 16#0075#, 16#0074#, 16#006F#, 16#006D#, 16#0061#, 16#0074#, 16#0069#, 16#0063#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#0061#, 16#0069#, 16#0067#, 16#0068#, 16#0074#, 16#0020#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#0064#, 16#0072#, 16#0061#, 16#0077#, 16#006E#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0069#, 16#006E#, 16#0069#, 16#0074#, 16#0069#, 16#0061#, 16#006C#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0073#, 16#0075#, 16#0062#, 16#0070#, 16#0061#, 16#0074#, 16#0068#, 16#002E#, others => 16#0000#), others => <>); -- "rotation" MS_00D4 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 8, Length => 8, Value => (16#0072#, 16#006F#, 16#0074#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, others => 16#0000#), others => <>); -- "valid_font_size" MS_00D5 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 15, Length => 15, Value => (16#0076#, 16#0061#, 16#006C#, 16#0069#, 16#0064#, 16#005F#, 16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#005F#, 16#0073#, 16#0069#, 16#007A#, 16#0065#, others => 16#0000#), others => <>); -- "a reference to the canvas that owns this marker." MS_00D6 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 55, Unused => 48, Length => 48, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0066#, 16#0065#, 16#0072#, 16#0065#, 16#006E#, 16#0063#, 16#0065#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#006F#, 16#0077#, 16#006E#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0069#, 16#0073#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, 16#002E#, others => 16#0000#), others => <>); -- "Pattern" MS_00D7 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 7, Length => 7, Value => (16#0050#, 16#0061#, 16#0074#, 16#0074#, 16#0065#, 16#0072#, 16#006E#, others => 16#0000#), others => <>); -- "ClipPath is a kind of group whose members collectively define a painting mask for its referencing graphical elements." MS_00D8 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 127, Unused => 117, Length => 117, Value => (16#0043#, 16#006C#, 16#0069#, 16#0070#, 16#0050#, 16#0061#, 16#0074#, 16#0068#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#0070#, 16#0020#, 16#0077#, 16#0068#, 16#006F#, 16#0073#, 16#0065#, 16#0020#, 16#006D#, 16#0065#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0073#, 16#0020#, 16#0063#, 16#006F#, 16#006C#, 16#006C#, 16#0065#, 16#0063#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, 16#006C#, 16#0079#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#0061#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#006D#, 16#0061#, 16#0073#, 16#006B#, 16#0020#, 16#0066#, 16#006F#, 16#0072#, 16#0020#, 16#0069#, 16#0074#, 16#0073#, 16#0020#, 16#0072#, 16#0065#, 16#0066#, 16#0065#, 16#0072#, 16#0065#, 16#006E#, 16#0063#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "control" MS_00D9 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 7, Length => 7, Value => (16#0063#, 16#006F#, 16#006E#, 16#0074#, 16#0072#, 16#006F#, 16#006C#, others => 16#0000#), others => <>); -- "the center point of the ellipse in the x-y coordinate system." MS_00DA : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 63, Unused => 61, Length => 61, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0065#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0065#, 16#006C#, 16#006C#, 16#0069#, 16#0070#, 16#0073#, 16#0065#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0079#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "the end control point of the cubic bézier curve." MS_00DB : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 55, Unused => 48, Length => 48, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0065#, 16#006E#, 16#0064#, 16#0020#, 16#0063#, 16#006F#, 16#006E#, 16#0074#, 16#0072#, 16#006F#, 16#006C#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0062#, 16#0069#, 16#0063#, 16#0020#, 16#0062#, 16#00E9#, 16#007A#, 16#0069#, 16#0065#, 16#0072#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0076#, 16#0065#, 16#002E#, others => 16#0000#), others => <>); -- "Marker is a kind of group that is used as a decoration (e.g. an arrowhead) for the vertices of a marked graphical element." MS_00DC : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 127, Unused => 122, Length => 122, Value => (16#004D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0067#, 16#0072#, 16#006F#, 16#0075#, 16#0070#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0061#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0064#, 16#0065#, 16#0063#, 16#006F#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0020#, 16#0028#, 16#0065#, 16#002E#, 16#0067#, 16#002E#, 16#0020#, 16#0061#, 16#006E#, 16#0020#, 16#0061#, 16#0072#, 16#0072#, 16#006F#, 16#0077#, 16#0068#, 16#0065#, 16#0061#, 16#0064#, 16#0029#, 16#0020#, 16#0066#, 16#006F#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0076#, 16#0065#, 16#0072#, 16#0074#, 16#0069#, 16#0063#, 16#0065#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0061#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "the d value of the transform matrix." MS_00DD : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 39, Unused => 36, Length => 36, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0064#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0074#, 16#0072#, 16#0061#, 16#006E#, 16#0073#, 16#0066#, 16#006F#, 16#0072#, 16#006D#, 16#0020#, 16#006D#, 16#0061#, 16#0074#, 16#0072#, 16#0069#, 16#0078#, 16#002E#, others => 16#0000#), others => <>); -- "Style" MS_00DE : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 5, Length => 5, Value => (16#0053#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, others => 16#0000#), others => <>); -- "a real number (>=0) representing the width of the stroke used to paint the outline of a graphical element. A value of 0 specifies no stroke is painted. The default is 1." MS_00DF : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 175, Unused => 169, Length => 169, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0077#, 16#0069#, 16#0064#, 16#0074#, 16#0068#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#006F#, 16#006B#, 16#0065#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006F#, 16#0075#, 16#0074#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, 16#0020#, 16#0041#, 16#0020#, 16#0076#, 16#0061#, 16#006C#, 16#0075#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0030#, 16#0020#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#0069#, 16#0066#, 16#0069#, 16#0065#, 16#0073#, 16#0020#, 16#006E#, 16#006F#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#006F#, 16#006B#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0065#, 16#0064#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0061#, 16#0075#, 16#006C#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0031#, 16#002E#, others => 16#0000#), others => <>); -- "the size of the marker" MS_00E0 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 22, Length => 22, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0073#, 16#0069#, 16#007A#, 16#0065#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, others => 16#0000#), others => <>); -- "alignment" MS_00E1 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 9, Length => 9, Value => (16#0061#, 16#006C#, 16#0069#, 16#0067#, 16#006E#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); -- "Polygon" MS_00E2 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 7, Length => 7, Value => (16#0050#, 16#006F#, 16#006C#, 16#0079#, 16#0067#, 16#006F#, 16#006E#, others => 16#0000#), others => <>); -- "an optional mid marker that aligns with all vertices of the marked element except the first and the last." MS_00E3 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 111, Unused => 105, Length => 105, Value => (16#0061#, 16#006E#, 16#0020#, 16#006F#, 16#0070#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0061#, 16#006C#, 16#0020#, 16#006D#, 16#0069#, 16#0064#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0061#, 16#006C#, 16#0069#, 16#0067#, 16#006E#, 16#0073#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0020#, 16#0061#, 16#006C#, 16#006C#, 16#0020#, 16#0076#, 16#0065#, 16#0072#, 16#0074#, 16#0069#, 16#0063#, 16#0065#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006D#, 16#0061#, 16#0072#, 16#006B#, 16#0065#, 16#0064#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0065#, 16#0078#, 16#0063#, 16#0065#, 16#0070#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#0069#, 16#0072#, 16#0073#, 16#0074#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006C#, 16#0061#, 16#0073#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "the stroke width is non-negative" MS_00E4 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 39, Unused => 32, Length => 32, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#006F#, 16#006B#, 16#0065#, 16#0020#, 16#0077#, 16#0069#, 16#0064#, 16#0074#, 16#0068#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#006E#, 16#006F#, 16#006E#, 16#002D#, 16#006E#, 16#0065#, 16#0067#, 16#0061#, 16#0074#, 16#0069#, 16#0076#, 16#0065#, others => 16#0000#), others => <>); -- "Ellipse" MS_00E5 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 7, Length => 7, Value => (16#0045#, 16#006C#, 16#006C#, 16#0069#, 16#0070#, 16#0073#, 16#0065#, others => 16#0000#), others => <>); -- "GraphicalElement is the abstract superclass of all graphical elements that can be nested in a canvas." MS_00E6 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 111, Unused => 101, Length => 101, Value => (16#0047#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0045#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0061#, 16#0062#, 16#0073#, 16#0074#, 16#0072#, 16#0061#, 16#0063#, 16#0074#, 16#0020#, 16#0073#, 16#0075#, 16#0070#, 16#0065#, 16#0072#, 16#0063#, 16#006C#, 16#0061#, 16#0073#, 16#0073#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0061#, 16#006C#, 16#006C#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0020#, 16#0062#, 16#0065#, 16#0020#, 16#006E#, 16#0065#, 16#0073#, 16#0074#, 16#0065#, 16#0064#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0061#, 16#0020#, 16#0063#, 16#0061#, 16#006E#, 16#0076#, 16#0061#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "the bounds within which the image is rendered." MS_00E7 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 47, Unused => 46, Length => 46, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0062#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0073#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0069#, 16#006E#, 16#0020#, 16#0077#, 16#0068#, 16#0069#, 16#0063#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0069#, 16#006D#, 16#0061#, 16#0067#, 16#0065#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0072#, 16#0065#, 16#006E#, 16#0064#, 16#0065#, 16#0072#, 16#0065#, 16#0064#, 16#002E#, others => 16#0000#), others => <>); -- "an optional reference to a clip path element that masks the painting of this graphical element." MS_00E8 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 103, Unused => 95, Length => 95, Value => (16#0061#, 16#006E#, 16#0020#, 16#006F#, 16#0070#, 16#0074#, 16#0069#, 16#006F#, 16#006E#, 16#0061#, 16#006C#, 16#0020#, 16#0072#, 16#0065#, 16#0066#, 16#0065#, 16#0072#, 16#0065#, 16#006E#, 16#0063#, 16#0065#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0061#, 16#0020#, 16#0063#, 16#006C#, 16#0069#, 16#0070#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0068#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#006D#, 16#0061#, 16#0073#, 16#006B#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0070#, 16#0061#, 16#0069#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0069#, 16#0073#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "org.omg.xmi.nsPrefix" MS_00E9 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 20, Length => 20, Value => (16#006F#, 16#0072#, 16#0067#, 16#002E#, 16#006F#, 16#006D#, 16#0067#, 16#002E#, 16#0078#, 16#006D#, 16#0069#, 16#002E#, 16#006E#, 16#0073#, 16#0050#, 16#0072#, 16#0065#, 16#0066#, 16#0069#, 16#0078#, others => 16#0000#), others => <>); -- "a real number (>=0 and >=1) representing a ratio of the graphical element's width that is the x center point of the gradient." MS_00EA : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 135, Unused => 125, Length => 125, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#003E#, 16#003D#, 16#0031#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0027#, 16#0073#, 16#0020#, 16#0077#, 16#0069#, 16#0064#, 16#0074#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#0020#, 16#0063#, 16#0065#, 16#006E#, 16#0074#, 16#0065#, 16#0072#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "A_localStyle_styledElement" MS_00EB : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 31, Unused => 26, Length => 26, Value => (16#0041#, 16#005F#, 16#006C#, 16#006F#, 16#0063#, 16#0061#, 16#006C#, 16#0053#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, 16#005F#, 16#0073#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, 16#0064#, 16#0045#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); -- "color" MS_00EC : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 5, Length => 5, Value => (16#0063#, 16#006F#, 16#006C#, 16#006F#, 16#0072#, others => 16#0000#), others => <>); -- "factorX" MS_00ED : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 7, Length => 7, Value => (16#0066#, 16#0061#, 16#0063#, 16#0074#, 16#006F#, 16#0072#, 16#0058#, others => 16#0000#), others => <>); -- "data" MS_00EE : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 4, Length => 4, Value => (16#0064#, 16#0061#, 16#0074#, 16#0061#, others => 16#0000#), others => <>); -- "radius" MS_00EF : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0075#, 16#0073#, others => 16#0000#), others => <>); -- "angleY" MS_00F0 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#0061#, 16#006E#, 16#0067#, 16#006C#, 16#0065#, 16#0059#, others => 16#0000#), others => <>); -- "valid_opacity" MS_00F1 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 13, Length => 13, Value => (16#0076#, 16#0061#, 16#006C#, 16#0069#, 16#0064#, 16#005F#, 16#006F#, 16#0070#, 16#0061#, 16#0063#, 16#0069#, 16#0074#, 16#0079#, others => 16#0000#), others => <>); -- "Text is a graphical element that defines a shape that renders a character string within a bounding box." MS_00F2 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 111, Unused => 103, Length => 103, Value => (16#0054#, 16#0065#, 16#0078#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0069#, 16#006E#, 16#0065#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0068#, 16#0061#, 16#0070#, 16#0065#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0072#, 16#0065#, 16#006E#, 16#0064#, 16#0065#, 16#0072#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#0063#, 16#0068#, 16#0061#, 16#0072#, 16#0061#, 16#0063#, 16#0074#, 16#0065#, 16#0072#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0077#, 16#0069#, 16#0074#, 16#0068#, 16#0069#, 16#006E#, 16#0020#, 16#0061#, 16#0020#, 16#0062#, 16#006F#, 16#0075#, 16#006E#, 16#0064#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0062#, 16#006F#, 16#0078#, 16#002E#, others => 16#0000#), others => <>); -- "GraphicalElement" MS_00F3 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 23, Unused => 16, Length => 16, Value => (16#0047#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0045#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); -- "source" MS_00F4 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#0073#, 16#006F#, 16#0075#, 16#0072#, 16#0063#, 16#0065#, others => 16#0000#), others => <>); -- "styledElement" MS_00F5 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 13, Length => 13, Value => (16#0073#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, 16#0064#, 16#0045#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); -- "whether the font used to render a text element has a <b>bold</b> style. The default is false." MS_00F6 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 95, Unused => 93, Length => 93, Value => (16#0077#, 16#0068#, 16#0065#, 16#0074#, 16#0068#, 16#0065#, 16#0072#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0066#, 16#006F#, 16#006E#, 16#0074#, 16#0020#, 16#0075#, 16#0073#, 16#0065#, 16#0064#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0072#, 16#0065#, 16#006E#, 16#0064#, 16#0065#, 16#0072#, 16#0020#, 16#0061#, 16#0020#, 16#0074#, 16#0065#, 16#0078#, 16#0074#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0068#, 16#0061#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#003C#, 16#0062#, 16#003E#, 16#0062#, 16#006F#, 16#006C#, 16#0064#, 16#003C#, 16#002F#, 16#0062#, 16#003E#, 16#0020#, 16#0073#, 16#0074#, 16#0079#, 16#006C#, 16#0065#, 16#002E#, 16#0020#, 16#0054#, 16#0068#, 16#0065#, 16#0020#, 16#0064#, 16#0065#, 16#0066#, 16#0061#, 16#0075#, 16#006C#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0066#, 16#0061#, 16#006C#, 16#0073#, 16#0065#, 16#002E#, others => 16#0000#), others => <>); -- "http://www.omg.org/spec/DD/20110901/DG" MS_00F7 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 47, Unused => 38, Length => 38, Value => (16#0068#, 16#0074#, 16#0074#, 16#0070#, 16#003A#, 16#002F#, 16#002F#, 16#0077#, 16#0077#, 16#0077#, 16#002E#, 16#006F#, 16#006D#, 16#0067#, 16#002E#, 16#006F#, 16#0072#, 16#0067#, 16#002F#, 16#0073#, 16#0070#, 16#0065#, 16#0063#, 16#002F#, 16#0044#, 16#0044#, 16#002F#, 16#0032#, 16#0030#, 16#0031#, 16#0031#, 16#0030#, 16#0039#, 16#0030#, 16#0031#, 16#002F#, 16#0044#, 16#0047#, others => 16#0000#), others => <>); -- "DG" MS_00F8 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 2, Length => 2, Value => (16#0044#, 16#0047#, others => 16#0000#), others => <>); -- "offset" MS_00F9 : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 6, Length => 6, Value => (16#006F#, 16#0066#, 16#0066#, 16#0073#, 16#0065#, 16#0074#, others => 16#0000#), others => <>); -- "a real number (>=0) representing a scale factor along the x-axis." MS_00FA : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 71, Unused => 65, Length => 65, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0063#, 16#0061#, 16#006C#, 16#0065#, 16#0020#, 16#0066#, 16#0061#, 16#0063#, 16#0074#, 16#006F#, 16#0072#, 16#0020#, 16#0061#, 16#006C#, 16#006F#, 16#006E#, 16#0067#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0061#, 16#0078#, 16#0069#, 16#0073#, 16#002E#, others => 16#0000#), others => <>); -- "the starting point of the line in the x-y coordinate system." MS_00FB : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 63, Unused => 60, Length => 60, Value => (16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0073#, 16#0074#, 16#0061#, 16#0072#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#0069#, 16#006E#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#002D#, 16#0079#, 16#0020#, 16#0063#, 16#006F#, 16#006F#, 16#0072#, 16#0064#, 16#0069#, 16#006E#, 16#0061#, 16#0074#, 16#0065#, 16#0020#, 16#0073#, 16#0079#, 16#0073#, 16#0074#, 16#0065#, 16#006D#, 16#002E#, others => 16#0000#), others => <>); -- "a real number (>=0 and >=1) representing a ratio of the graphical element's width that is the x start point of the gradient." MS_00FC : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 127, Unused => 124, Length => 124, Value => (16#0061#, 16#0020#, 16#0072#, 16#0065#, 16#0061#, 16#006C#, 16#0020#, 16#006E#, 16#0075#, 16#006D#, 16#0062#, 16#0065#, 16#0072#, 16#0020#, 16#0028#, 16#003E#, 16#003D#, 16#0030#, 16#0020#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#003E#, 16#003D#, 16#0031#, 16#0029#, 16#0020#, 16#0072#, 16#0065#, 16#0070#, 16#0072#, 16#0065#, 16#0073#, 16#0065#, 16#006E#, 16#0074#, 16#0069#, 16#006E#, 16#0067#, 16#0020#, 16#0061#, 16#0020#, 16#0072#, 16#0061#, 16#0074#, 16#0069#, 16#006F#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0070#, 16#0068#, 16#0069#, 16#0063#, 16#0061#, 16#006C#, 16#0020#, 16#0065#, 16#006C#, 16#0065#, 16#006D#, 16#0065#, 16#006E#, 16#0074#, 16#0027#, 16#0073#, 16#0020#, 16#0077#, 16#0069#, 16#0064#, 16#0074#, 16#0068#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0078#, 16#0020#, 16#0073#, 16#0074#, 16#0061#, 16#0072#, 16#0074#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0067#, 16#0072#, 16#0061#, 16#0064#, 16#0069#, 16#0065#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "isSweep" MS_00FD : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 15, Unused => 7, Length => 7, Value => (16#0069#, 16#0073#, 16#0053#, 16#0077#, 16#0065#, 16#0065#, 16#0070#, others => 16#0000#), others => <>); -- "LineTo is a kind of path command that draw a straight line from the current point to a new point." MS_00FE : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 103, Unused => 97, Length => 97, Value => (16#004C#, 16#0069#, 16#006E#, 16#0065#, 16#0054#, 16#006F#, 16#0020#, 16#0069#, 16#0073#, 16#0020#, 16#0061#, 16#0020#, 16#006B#, 16#0069#, 16#006E#, 16#0064#, 16#0020#, 16#006F#, 16#0066#, 16#0020#, 16#0070#, 16#0061#, 16#0074#, 16#0068#, 16#0020#, 16#0063#, 16#006F#, 16#006D#, 16#006D#, 16#0061#, 16#006E#, 16#0064#, 16#0020#, 16#0074#, 16#0068#, 16#0061#, 16#0074#, 16#0020#, 16#0064#, 16#0072#, 16#0061#, 16#0077#, 16#0020#, 16#0061#, 16#0020#, 16#0073#, 16#0074#, 16#0072#, 16#0061#, 16#0069#, 16#0067#, 16#0068#, 16#0074#, 16#0020#, 16#006C#, 16#0069#, 16#006E#, 16#0065#, 16#0020#, 16#0066#, 16#0072#, 16#006F#, 16#006D#, 16#0020#, 16#0074#, 16#0068#, 16#0065#, 16#0020#, 16#0063#, 16#0075#, 16#0072#, 16#0072#, 16#0065#, 16#006E#, 16#0074#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#0020#, 16#0074#, 16#006F#, 16#0020#, 16#0061#, 16#0020#, 16#006E#, 16#0065#, 16#0077#, 16#0020#, 16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, 16#002E#, others => 16#0000#), others => <>); -- "point" MS_00FF : aliased Matreshka.Internals.Strings.Shared_String := (Capacity => 7, Unused => 5, Length => 5, Value => (16#0070#, 16#006F#, 16#0069#, 16#006E#, 16#0074#, others => 16#0000#), others => <>); end AMF.Internals.Tables.DG_String_Data_00;
with Ada.Exceptions; with Ada.Strings.Fixed; package body ARM_Texinfo is -- Copyright (C) 2003, 2007, 2010 - 2013, 2015, 2017, 2018 Stephen Leake. All Rights Reserved. -- E-Mail: stephen_leake@acm.org -- -- 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. See the GNU General Public License for more details. You -- should have received a copy of the GNU General Public License -- distributed with this program; see file gnu-3-0.txt. If not, write to -- the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- MA 02111-1307, USA. -- --------------------------------------- -- -- Edit History: -- -- Ancient - S L - Developed package as add-on to Arm_Form. -- 10/19/11 - RLB - Integrated outside-developed package into Arm_Form. -- Commented out/replaced Ada 2005 features (this is -- Ada 95 code). Updated for a few other changes since -- the last update. -- 10/25/11 - RLB - Added old insertion version to Revised_Clause_Header. -- 4/ 1/12 - S L - Implemented remaining Texinfo implementation. -- 4/22/12 - S L - Move @dircategory, @direntry before first @node. -- 4/28/12 - S L - Add @w{} after @anchor; otherwise following whitespace -- is dropped. -- 8/31/12 - RLB - Added Output_Path. -- 10/18/12 - RLB - Added additional hanging styles. -- 11/26/12 - RLB - Added subdivision names to Clause_Header and -- Revised_Clause_Header. -- 3/12/13 - S L - use correct version in direntry use Ada.Text_IO; Indentation : constant := 5; -- VERSION: This is fragile; it changes with each version of the manual. Index_Clause_Name : constant String := "Index"; Operators_Clause : constant String := "operators"; Last_Index_Clause : constant Character := 'Y'; ---------- -- local subprograms procedure Check_Not_In_Paragraph (Output_Object : in Texinfo_Output_Type) is begin if Output_Object.In_Paragraph then Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "In paragraph"); end if; end Check_Not_In_Paragraph; procedure Check_Valid (Output_Object : in Texinfo_Output_Type) is begin if not Output_Object.Is_Valid then Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Not valid object"); end if; end Check_Valid; procedure Unexpected_State (Output_Object : in Texinfo_Output_Type) is begin Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Unexpected state: " & State_Type'Image (Output_Object.State)); end Unexpected_State; procedure Escape_Put (Output_Object : in Texinfo_Output_Type; Char : in Character; Preserve_Space : in Boolean := False) is begin -- Escape special chars if Char = '@' then Put (Output_Object.File, "@@"); elsif Char = '{' then Put (Output_Object.File, "@{"); elsif Char = '}' then Put (Output_Object.File, "@}"); elsif Char = ''' then -- Avoid makeinfo converting '' into " Put (Output_Object.File, "'@w{}"); elsif Char = '`' then -- Avoid makeinfo converting `` into " Put (Output_Object.File, "`@w{}"); elsif Char = '-' then Put (Output_Object.File, "@minus{}"); elsif Char = ' ' and Preserve_Space then -- Don't allow collapsing spaces Put (Output_Object.File, "@w{ }"); elsif Char = '\' then -- This confuses texi2dvi if not escaped. Put (Output_Object.File, "@code{\}"); else Put (Output_Object.File, Char); end if; end Escape_Put; procedure Escape_Put (Output_Object : in Texinfo_Output_Type; Text : in String; Preserve_Space : in Boolean := False) is begin for I in Text'Range loop Escape_Put (Output_Object, Text (I), Preserve_Space); end loop; end Escape_Put; procedure End_Title_Page (Output_Object : in out Texinfo_Output_Type) is use ARM_Contents; procedure Put_Top_Menu_Item (Title : in Title_Type; Level : in Level_Type; Clause_Number : in Clause_Number_Type; Version : in ARM_Contents.Change_Version_Type; Quit : out Boolean) is pragma Unreferenced (Version); -- we are only concerned with version 2 First_Part : String (1 .. 14); -- Get all Titles aligned. begin Quit := False; case Level is when Section | Normative_Annex | Informative_Annex | Plain_Annex => Ada.Strings.Fixed.Move (Source => "* " & Make_Clause_Number (Level, Clause_Number) & " ::", Target => First_Part); Put_Line (Output_Object.File, First_Part & Title); when Unnumbered_Section | Clause | Subclause | Subsubclause => null; when ARM_Contents.Dead_Clause => raise Program_Error with "Dead_Clause header??"; -- No headers for dead clauses. end case; end Put_Top_Menu_Item; procedure Put_Top_Menu is new For_Each (Put_Top_Menu_Item); begin New_Line (Output_Object.File); -- Terminate unneeded "@center" Put_Line (Output_Object.File, "@menu"); Put_Line (Output_Object.File, "* Front Matter:: Copyright, Foreword, etc."); -- Not a section in ARM sources Put_Top_Menu; Put_Line (Output_Object.File, "* Index :: Index"); -- Not in ARM sources Put_Line (Output_Object.File, "@end menu"); -- @node current Put_Line (Output_Object.File, "@node Front Matter"); Put_Line (Output_Object.File, "@chapter Front Matter"); end End_Title_Page; procedure Get_Clause_Section (Clause_String : in String; Section_Number : out ARM_Contents.Section_Number_Type; Clause_Integer : out Natural) is -- This is a partial inverse of ARM_Contents.Make_Clause_Number. -- -- Clause_String has "section.clause.subclause", possibly no subclause. -- -- "section" can be a number, a letter "N", or "Annex N", where -- -- 'N' = Character'Val (Character'Pos('A') + (Section_Number - ANNEX_START) Section_Dot : constant Natural := Ada.Strings.Fixed.Index (Source => Clause_String, Pattern => "."); Clause_Dot : constant Natural := Ada.Strings.Fixed.Index (Source => Clause_String (Section_Dot + 1 .. Clause_String'Last), Pattern => "."); use type ARM_Contents.Section_Number_Type; begin if Section_Dot = 8 then -- Section is "Annex N" Section_Number := ARM_Contents.ANNEX_START + Character'Pos (Clause_String (Clause_String'First + 6)) - Character'Pos ('A'); elsif Character'Pos (Clause_String (Clause_String'First)) >= Character'Pos ('A') then -- Section is letter. Section_Number := ARM_Contents.ANNEX_START + Character'Pos (Clause_String (Clause_String'First)) - Character'Pos ('A'); else Section_Number := ARM_Contents.Section_Number_Type'Value (Clause_String (Clause_String'First .. Section_Dot - 1)); end if; if Clause_Dot = 0 then Clause_Integer := Natural'Value (Clause_String (Section_Dot + 1 .. Clause_String'Last)); else Clause_Integer := Natural'Value (Clause_String (Section_Dot + 1 .. Clause_Dot - 1)); end if; end Get_Clause_Section; procedure Handle_Indent (Output_Object : in Texinfo_Output_Type; Texinfo_Item : in String; Extra_Indent : in ARM_Output.Paragraph_Indent_Type := 0) is use type ARM_Output.Paragraph_Indent_Type; begin for I in 1 .. Output_Object.Indent + Extra_Indent loop Put_Line (Output_Object.File, Texinfo_Item); end loop; end Handle_Indent; procedure Add_To_Column_Item (Output_Object : in out Texinfo_Output_Type; Text : in String) is begin if Output_Object.Column_Text (Output_Object.Current_Column) = null or else Output_Object.Column_Text (Output_Object.Current_Column).Row /= Output_Object.Current_Row then -- Start a new row. Output_Object.Column_Text (Output_Object.Current_Column) := new Column_Text_Item_Type' (Text => (others => ' '), Length => 0, Row => Output_Object.Current_Row, Next => Output_Object.Column_Text (Output_Object.Current_Column)); end if; if Output_Object.Column_Text (Output_Object.Current_Column).Length + Text'Length > Output_Object.Column_Text (Output_Object.Current_Column).Text'Length then Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Column item full, but more text: " & Output_Object.Column_Text (Output_Object.Current_Column).Text (1 .. Output_Object.Column_Text (Output_Object.Current_Column).Length)); else declare Current_Text : Column_Text_Item_Type renames Output_Object.Column_Text (Output_Object.Current_Column).all; begin Current_Text.Text (Current_Text.Length + 1 .. Current_Text.Length + Text'Length) := Text; Current_Text.Length := Current_Text.Length + Text'Length; if Output_Object.Column_Widths (Output_Object.Current_Column) < Current_Text.Length then Output_Object.Column_Widths (Output_Object.Current_Column) := Current_Text.Length; end if; end; end if; end Add_To_Column_Item; procedure Pad_Columns (Output_Object : in out Texinfo_Output_Type) -- Ensure that all columns have the same number of (possibly -- empty) rows, for table headers. is Item : Column_Text_Ptr; First_New_Row : Natural; begin for Col in 1 .. Output_Object.Column_Count loop Item := Output_Object.Column_Text (Col); if Item = null then First_New_Row := 1; else First_New_Row := Item.Row + 1; end if; for I in First_New_Row .. Output_Object.Max_Row loop Output_Object.Column_Text (Col) := new Column_Text_Item_Type' (Text => (others => ' '), Length => 1, Row => I, Next => Output_Object.Column_Text (Col)); end loop; end loop; end Pad_Columns; procedure Output_Column_Widths (Output_Object : in out Texinfo_Output_Type) is begin New_Line (Output_Object.File); Put (Output_Object.File, "@multitable "); for I in 1 .. Output_Object.Column_Count loop Put (Output_Object.File, " {" & String'(1 .. Output_Object.Column_Widths (I) => 'w') & "}"); end loop; end Output_Column_Widths; procedure Output_Columns (Output_Object : in out Texinfo_Output_Type) is Row : Natural := 1; Item : Column_Text_Ptr; Temp : Column_Text_Ptr; begin Rows : loop New_Line (Output_Object.File); Put (Output_Object.File, "@item "); -- For all columns, output the items for this row. Note that -- the last row is at the front of each column list; the -- first row is at the end. We delete the rows as we output -- them, so the one we want is always at the end of the -- column list. Columns : for Col in 1 .. Output_Object.Column_Count loop Item := Output_Object.Column_Text (Col); if Item = null then -- Previously finished column null; elsif Item.Next = null then -- This is the last item in the column. if Item.Row /= Row then -- This column is empty for this row. Item := null; else -- Output Item, and mark that we're done outputing -- this column. Output_Object.Column_Text (Col) := null; end if; else -- Find first item for this row in the column. while Item.Next /= null and then Item.Next.Row /= Row loop Item := Item.Next; end loop; -- Output Item.Next, take it out of list. Temp := Item; Item := Item.Next; Temp.Next := null; end if; if Item /= null then -- Output the item Escape_Put (Output_Object, Item.Text (1 .. Item.Length), Preserve_Space => True); Free (Item); if Col /= Output_Object.Column_Count then Put (Output_Object.File, " @tab "); end if; else -- This column is empty for this row if Col < Output_Object.Column_Count then Put (Output_Object.File, " @tab "); end if; end if; end loop Columns; if Output_Object.Column_Text = Column_Text_Ptrs_Type'(others => null) then -- We've output everything. exit Rows; end if; -- End the row: Row := Row + 1; end loop Rows; end Output_Columns; procedure Index_Menu (Output_Object : in out Texinfo_Output_Type) is begin Put_Line (Output_Object.File, "@menu"); Put_Line (Output_Object.File, "* operators::"); Put_Line (Output_Object.File, "* A::"); Put_Line (Output_Object.File, "* B::"); Put_Line (Output_Object.File, "* C::"); Put_Line (Output_Object.File, "* D::"); Put_Line (Output_Object.File, "* E::"); Put_Line (Output_Object.File, "* F::"); Put_Line (Output_Object.File, "* G::"); Put_Line (Output_Object.File, "* H::"); Put_Line (Output_Object.File, "* I::"); Put_Line (Output_Object.File, "* J::"); Put_Line (Output_Object.File, "* K::"); Put_Line (Output_Object.File, "* L::"); Put_Line (Output_Object.File, "* M::"); Put_Line (Output_Object.File, "* N::"); Put_Line (Output_Object.File, "* O::"); Put_Line (Output_Object.File, "* P::"); Put_Line (Output_Object.File, "* Q::"); Put_Line (Output_Object.File, "* R::"); Put_Line (Output_Object.File, "* S::"); Put_Line (Output_Object.File, "* T::"); Put_Line (Output_Object.File, "* U::"); Put_Line (Output_Object.File, "* V::"); Put_Line (Output_Object.File, "* W::"); Put_Line (Output_Object.File, "* X::"); Put_Line (Output_Object.File, "* Y::"); -- Put_Line (Output_Object.File, "* Z::"); -- VERSION: No entries in Z Put_Line (Output_Object.File, "@end menu"); -- @node current Put_Line (Output_Object.File, "@node " & Operators_Clause); Put_Line (Output_Object.File, "@section operators"); end Index_Menu; ---------- -- Public subprograms. Alphabetical order procedure AI_Reference (Output_Object : in out Texinfo_Output_Type; Text : in String; AI_Number : in String) is begin Ordinary_Text (Output_Object, AI_Number & Text); end AI_Reference; procedure Category_Header (Output_Object : in out Texinfo_Output_Type; Header_Text : String) is begin Check_Not_In_Paragraph (Output_Object); -- Can't be in a multi-column setting. -- -- Don't use @heading; that causes a weird underline in info, -- that isn't centered! Put_Line (Output_Object.File, "@center @emph{" & Header_Text & "}"); New_Line (Output_Object.File, 2); end Category_Header; procedure Clause_Header (Output_Object : in out Texinfo_Output_Type; Header_Text : in String; Level : in ARM_Contents.Level_Type; Clause_Number : in String; Top_Level_Subdivision_Name : in ARM_Output.Top_Level_Subdivision_Name_Kind; No_Page_Break : in Boolean := False) is pragma Unreferenced (No_Page_Break); pragma Unreferenced (Top_Level_Subdivision_Name); Title : constant String := Clause_Number & " " & Header_Text; use ARM_Contents; Section_Number : Section_Number_Type; Clause_Integer : Natural; procedure Put_Clause_Menu_Item (Item_Title : in Title_Type; Item_Level : in Level_Type; Item_Clause_Number : in Clause_Number_Type; Version : in ARM_Contents.Change_Version_Type; Quit : out Boolean) is pragma Unreferenced (Version); -- only version 2 First_Part : String (1 .. 14); -- Get all Titles aligned. begin Quit := False; case Item_Level is when Section | Unnumbered_Section | Normative_Annex | Informative_Annex | Plain_Annex | Subclause | Subsubclause => -- We are doing Clause here null; when Clause => if Item_Clause_Number.Section < Section_Number then null; elsif Item_Clause_Number.Section = Section_Number then Ada.Strings.Fixed.Move (Source => "* " & Make_Clause_Number (Item_Level, Item_Clause_Number) & " ::", Target => First_Part); Put_Line (Output_Object.File, First_Part & Item_Title); else Quit := True; end if; when Dead_Clause => raise Program_Error with "Dead Clause in menu??"; -- No dead clauses should be output. end case; end Put_Clause_Menu_Item; procedure Put_Clause_Menu is new For_Each (Put_Clause_Menu_Item); procedure Put_Subclause_Menu_Item (Item_Title : in Title_Type; Item_Level : in Level_Type; Item_Clause_Number : in Clause_Number_Type; Version : in ARM_Contents.Change_Version_Type; Quit : out Boolean) is pragma Unreferenced (Version); -- only version 2 First_Part : String (1 .. 14); -- Get all Titles aligned. begin Quit := False; case Item_Level is when Section | Unnumbered_Section | Normative_Annex | Informative_Annex | Plain_Annex | Clause | Subsubclause => -- We are doing Subclause here null; when Subclause => if Item_Clause_Number.Section < Section_Number then null; elsif Item_Clause_Number.Section = Section_Number then if Item_Clause_Number.Clause < Clause_Integer then null; elsif Item_Clause_Number.Clause = Clause_Integer then Ada.Strings.Fixed.Move (Source => "* " & Make_Clause_Number (Item_Level, Item_Clause_Number) & " ::", Target => First_Part); Put_Line (Output_Object.File, First_Part & Item_Title); else Quit := True; end if; else Quit := True; end if; when Dead_Clause => raise Program_Error with "Dead clause in submenu??"; -- No dead clauses should be output. end case; end Put_Subclause_Menu_Item; procedure Put_Subclause_Menu is new For_Each (Put_Subclause_Menu_Item); begin Check_Not_In_Paragraph (Output_Object); -- Handle special cases if Clause_Number = "" and Header_Text = "Table of Contents" then -- Actual contents output in TOC_Marker below. return; elsif Header_Text = "The Standard Libraries" then -- This section has no content; don't confuse makeinfo. return; elsif Header_Text = Index_Clause_Name then Put_Line (Output_Object.File, "@node " & Index_Clause_Name); Put_Line (Output_Object.File, "@chapter Index"); Output_Object.State := Index_Start; return; end if; case Level is when Section | Normative_Annex | Informative_Annex | Plain_Annex => -- Menu of these done at @node Top null; when Unnumbered_Section => -- Unnumbered sections are not in ARM_Contents, but there's -- currently only one of them, so they are not worth adding; -- just hard-code the menu here. Get_Clause_Section (Clause_Number, Section_Number, Clause_Integer); if Section_Number = 0 and Clause_Integer = 1 then Put_Line (Output_Object.File, "@menu"); Put_Line (Output_Object.File, "* 0.1 :: Foreword to this version of the Ada Reference Manual"); Put_Line (Output_Object.File, "* 0.2 :: Foreword"); Put_Line (Output_Object.File, "* 0.3 :: Introduction"); Put_Line (Output_Object.File, "* 0.99 :: International Standard"); Put_Line (Output_Object.File, "@end menu"); end if; when Clause => -- Output menu of Clauses in this section, if we haven't already Get_Clause_Section (Clause_Number, Section_Number, Clause_Integer); if Output_Object.Menu_Section /= Section_Number then Put_Line (Output_Object.File, "@menu"); Put_Clause_Menu; Put_Line (Output_Object.File, "@end menu"); Output_Object.Menu_Section := Section_Number; Output_Object.Menu_Clause := 0; end if; when Subclause => -- Output menu of Subclauses in this Clause, if we haven't already Get_Clause_Section (Clause_Number, Section_Number, Clause_Integer); if Output_Object.Menu_Section = Section_Number and Output_Object.Menu_Clause /= Clause_Integer then Put_Line (Output_Object.File, "@menu"); Put_Subclause_Menu; Put_Line (Output_Object.File, "@end menu"); Output_Object.Menu_Clause := Clause_Integer; end if; when Subsubclause => Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Clause_Header: Subsubclause"); when Dead_Clause => Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Clause_Header: Dead_clause"); end case; Put_Line (Output_Object.File, "@node " & Clause_Number); case Level is when Section => Put_Line (Output_Object.File, "@chapter " & Title); when Normative_Annex | Informative_Annex | Plain_Annex => Put_Line (Output_Object.File, "@chapter " & Title); when Clause | Unnumbered_Section => Put_Line (Output_Object.File, "@section " & Title); when Subclause => Put_Line (Output_Object.File, "@subsection " & Title); when Subsubclause => Put_Line (Output_Object.File, "@subsubsection " & Title); when Dead_Clause => raise Program_Error with "Dead_Clause in header?"; -- No output of dead clauses. end case; end Clause_Header; procedure Clause_Reference (Output_Object : in out Texinfo_Output_Type; Text : in String; Clause_Number : in String) is begin case Output_Object.State is when Contents => null; when Multi_Column | Table_Header => -- If this happens, we need to store escaped text in columns. Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "clause reference in multi-column"); when Normal => if Text = Clause_Number then Put (Output_Object.File, "@ref{" & Clause_Number & "}"); else Put (Output_Object.File, "@ref{" & Clause_Number & "} " & Text); end if; when Title | Index_Start | Index => Unexpected_State (Output_Object); end case; end Clause_Reference; procedure Close (Output_Object : in out Texinfo_Output_Type) is begin Check_Valid (Output_Object); Put_Line (Output_Object.File, "@bye"); Close (Output_Object.File); Output_Object.Is_Valid := False; end Close; procedure Create (Output_Object : in out Texinfo_Output_Type; File_Prefix : in String; Output_Path : in String; Change_Version : in ARM_Contents.Change_Version_Type; Title : in String) is File_Name : constant String := Output_Path & Ada.Strings.Fixed.Trim (File_Prefix, Ada.Strings.Right) & ".texinfo"; begin if Output_Object.Is_Valid then Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Already valid object"); end if; Output_Object.Is_Valid := True; Create (Output_Object.File, Out_File, File_Name); Put_Line (Output_Object.File, "\input texinfo"); Put_Line (Output_Object.File, "@documentencoding ISO-8859-1"); Put_Line (Output_Object.File, "@dircategory GNU Ada tools"); Put_Line (Output_Object.File, "@direntry"); case Change_Version is when '2' => Put_Line (Output_Object.File, "* Ada Reference Manual: (arm2005)."); Put_Line (Output_Object.File, "* Annotated ARM: (arm2005)."); when '3' => Put_Line (Output_Object.File, "* Ada Reference Manual: (arm2012)."); Put_Line (Output_Object.File, "* Annotated ARM: (arm2012)."); when '4' => Put_Line (Output_Object.File, "* Ada Reference Manual TC1: (arm2012)."); Put_Line (Output_Object.File, "* Annotated ARM TC1: (arm2012)."); when others => Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "unsupported Change_Version"); end case; Put_Line (Output_Object.File, "@end direntry"); Put_Line (Output_Object.File, "@settitle " & Title); Put_Line (Output_Object.File, "@paragraphindent none"); Put_Line (Output_Object.File, "@exampleindent" & Integer'Image (Indentation)); Put_Line (Output_Object.File, "@node Top"); Put_Line (Output_Object.File, "@top " & Title); Output_Object.State := ARM_Texinfo.Title; Output_Object.First_Word_Last := 0; end Create; procedure DR_Reference (Output_Object : in out Texinfo_Output_Type; Text : in String; DR_Number : in String) is begin Ordinary_Text (Output_Object, DR_Number & Text); end DR_Reference; procedure End_Hang_Item (Output_Object : in out Texinfo_Output_Type) is use ARM_Output; begin Output_Object.End_Hang_Seen := True; case Output_Object.Style is when Normal | Wide_Above | Small | Small_Wide_Above | Header | Small_Header | Syntax_Summary => Handle_Indent (Output_Object, "@quotation"); when Index | Title => null; when Examples | Small_Examples | Swiss_Examples | Small_Swiss_Examples => Handle_Indent (Output_Object, "@example"); when Bulleted | Small_Bulleted => Handle_Indent (Output_Object, "@itemize"); when Nested_Bulleted | Small_Nested_Bulleted => Handle_Indent (Output_Object, "@itemize", Extra_Indent => 1); when Enumerated | Small_Enumerated => -- Number has just been output; start text. Put (Output_Object.File, "@w{ }"); when Giant_Hanging | Small_Giant_Hanging | Wide_Hanging | Small_Wide_Hanging | Medium_Hanging | Small_Medium_Hanging | Narrow_Hanging | Small_Narrow_Hanging | Hanging_in_Bulleted | Small_Hanging_in_Bulleted => New_Line (Output_Object.File); Handle_Indent (Output_Object, "@quotation"); end case; end End_Hang_Item; procedure Text_Format (Output_Object : in out Texinfo_Output_Type; Format : in ARM_Output.Format_Type) is begin -- We only handle italic, for annotated syntax item names if Format.Italic /= Output_Object.Format.Italic then -- Info format does not support fonts, so we use <> Put (Output_Object.File, (if Format.Italic then '<' else '>')); end if; Output_Object.Format := Format; end Text_Format; procedure End_Paragraph (Output_Object : in out Texinfo_Output_Type) is use ARM_Output; begin Output_Object.In_Paragraph := False; case Output_Object.State is when Contents => null; when Multi_Column => -- Skip a row, to separate paragraphs in a column. Output_Object.Current_Row := Output_Object.Current_Row + 2; when Title => if Output_Object.Line_Empty then null; else New_Line (Output_Object.File, 2); Put (Output_Object.File, "@center "); Output_Object.Line_Empty := True; end if; when Normal => case Output_Object.Style is when Normal | Wide_Above | Small | Small_Wide_Above | Header | Small_Header | Syntax_Summary => New_Line (Output_Object.File); Handle_Indent (Output_Object, "@end quotation"); New_Line (Output_Object.File); when Index | Title => New_Line (Output_Object.File, 2); when Examples | Small_Examples | Swiss_Examples | Small_Swiss_Examples => New_Line (Output_Object.File); Handle_Indent (Output_Object, "@end example"); New_Line (Output_Object.File); when Bulleted | Small_Bulleted => New_Line (Output_Object.File); Handle_Indent (Output_Object, "@end itemize"); New_Line (Output_Object.File); when Nested_Bulleted | Small_Nested_Bulleted => New_Line (Output_Object.File); Handle_Indent (Output_Object, "@end itemize", Extra_Indent => 1); New_Line (Output_Object.File); when Enumerated | Small_Enumerated => New_Line (Output_Object.File); Handle_Indent (Output_Object, "@end itemize"); New_Line (Output_Object.File); when Giant_Hanging | Small_Giant_Hanging | Wide_Hanging | Small_Wide_Hanging | Medium_Hanging | Small_Medium_Hanging | Narrow_Hanging | Small_Narrow_Hanging | Hanging_in_Bulleted | Small_Hanging_in_Bulleted => New_Line (Output_Object.File); if Output_Object.End_Hang_Seen then Handle_Indent (Output_Object, "@end quotation"); end if; New_Line (Output_Object.File); end case; when Index_Start => Output_Object.State := Index; Index_Menu (Output_Object); when Index => -- Keep index items tightly grouped. Put_Line (Output_Object.File, "@*"); when Table_Header => Unexpected_State (Output_Object); end case; end End_Paragraph; procedure Hard_Space (Output_Object : in out Texinfo_Output_Type) is begin case Output_Object.State is when Contents => null; when Multi_Column | Table_Header => -- Can't do line breaks in columns Add_To_Column_Item (Output_Object, " "); when Title => if Output_Object.Line_Empty then null; else Put (Output_Object.File, "@w{ }"); end if; when Normal | Index_Start | Index => Put (Output_Object.File, "@w{ }"); end case; end Hard_Space; procedure Index_Line_Break (Output_Object : in out Texinfo_Output_Type; Clear_Keep_with_Next : in Boolean) is pragma Unreferenced (Clear_Keep_with_Next); begin Put_Line (Output_Object.File, "@*"); end Index_Line_Break; procedure Index_Reference (Output_Object : in out Texinfo_Output_Type; Text : in String; Index_Key : in Natural; Clause_Number : in String) is pragma Unreferenced (Clause_Number); -- Text is clause_number & paragraph number (optional). begin Put (Output_Object.File, "@ref{" & Integer'Image (Index_Key) & ", " & Text & "}"); end Index_Reference; procedure Index_Target (Output_Object : in out Texinfo_Output_Type; Index_Key : in Natural) is begin -- Add an empty non-break object, because @anchor ignores -- whitespace after it, which often occurs in the current -- Scribe-like source. Put (Output_Object.File, "@anchor{" & Integer'Image (Index_Key) & "}@w{}"); end Index_Target; procedure Line_Break (Output_Object : in out Texinfo_Output_Type) is use ARM_Output; begin case Output_Object.State is when Title => if Output_Object.Line_Empty then null; else Put_Line (Output_Object.File, "@*"); Output_Object.Line_Empty := True; end if; when Contents => null; when Multi_Column | Table_Header => Output_Object.Current_Row := Output_Object.Current_Row + 1; if Output_Object.Max_Row < Output_Object.Current_Row then Output_Object.Max_Row := Output_Object.Current_Row; end if; when Index_Start => -- This doesn't happen Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Line_Break Index_Start"); when Normal | Index => case Output_Object.Style is when Normal | Wide_Above | Small | Small_Wide_Above | Header | Small_Header | Syntax_Summary | Index | Title => Put_Line (Output_Object.File, "@*"); when Examples | Small_Examples | Swiss_Examples | Small_Swiss_Examples => New_Line (Output_Object.File); when Bulleted | Small_Bulleted | Nested_Bulleted | Small_Nested_Bulleted | Enumerated | Small_Enumerated | Giant_Hanging | Small_Giant_Hanging | Wide_Hanging | Small_Wide_Hanging | Medium_Hanging | Small_Medium_Hanging | Narrow_Hanging | Small_Narrow_Hanging | Hanging_in_Bulleted | Small_Hanging_in_Bulleted => Put_Line (Output_Object.File, "@*"); end case; end case; end Line_Break; procedure Local_Link (Output_Object : in out Texinfo_Output_Type; Text : in String; Target : in String; Clause_Number : in String) is pragma Unreferenced (Target); pragma Unreferenced (Clause_Number); begin -- These are typically references to words in the grammar -- summary. Mildly useful, but the best we can do is: -- -- "@ref{" & Target & "," & Text & "}" -- -- makeinfo prepends 'see' and postpends '.', so it screws up -- the text. For example, section 2.1 (1) ends up with "the -- @ref{S0229, compilation}s." => "the see compilation: S0229." -- Emacs info-mode suppresses the ': S0229', but not the 'see' -- and the trailing '.'. So we just output the text. Ordinary_Text (Output_Object, Text); end Local_Link; procedure Local_Link_End (Output_Object : in out Texinfo_Output_Type; Target : in String; Clause_Number : in String) is begin -- These work better than local links, because they are not in -- the middle of plurals. First use is section 3.1 (1). Put (Output_Object.File, " (@pxref{" & Target & "," & Clause_Number & "})"); end Local_Link_End; procedure Local_Link_Start (Output_Object : in out Texinfo_Output_Type; Target : in String; Clause_Number : in String) is pragma Unreferenced (Output_Object); pragma Unreferenced (Target); pragma Unreferenced (Clause_Number); begin -- implemented in Local_Link_End null; end Local_Link_Start; procedure Local_Target (Output_Object : in out Texinfo_Output_Type; Text : in String; Target : in String) is begin -- Add an empty non-break object, because @anchor ignores -- whitespace after it, which often occurs in the current -- Scheme source. Put (Output_Object.File, "@anchor{" & Target & "}@w{}"); Ordinary_Text (Output_Object, Text); end Local_Target; procedure New_Column (Output_Object : in out Texinfo_Output_Type) is begin if Output_Object.Column_Count >= 4 then Output_Object.Current_Column := Output_Object.Current_Column + 1; Output_Object.Current_Row := 1; end if; end New_Column; procedure New_Page (Output_Object : in out Texinfo_Output_Type; Kind : ARM_Output.Page_Kind_Type := ARM_Output.Any_Page) is pragma Unreferenced (Kind); pragma Unreferenced (Output_Object); begin -- No such thing in Info. null; end New_Page; procedure Ordinary_Character (Output_Object : in out Texinfo_Output_Type; Char : in Character) is Copyright : constant String := "Copyright"; begin case Output_Object.State is when Contents => null; when Multi_Column | Table_Header => Add_To_Column_Item (Output_Object, "" & Char); when Title => -- Check for end of title page; indicated by line starting with "Copyright" if Output_Object.Line_Empty then if Output_Object.First_Word_Last > 0 then if Copyright (Output_Object.First_Word_Last + 1) = Char then Output_Object.First_Word_Last := Output_Object.First_Word_Last + 1; Output_Object.First_Word (Output_Object.First_Word_Last) := Char; if Output_Object.First_Word_Last = Copyright'Last then End_Title_Page (Output_Object); Output_Object.State := Normal; Ordinary_Text (Output_Object, Output_Object.First_Word (1 .. Output_Object.First_Word_Last)); end if; else -- First word is not Copyright; output it Ordinary_Text (Output_Object, Output_Object.First_Word (1 .. Output_Object.First_Word_Last)); Output_Object.Line_Empty := False; end if; else -- No non-space seen yet if Char = ' ' then null; elsif Char = Copyright (1) then Output_Object.First_Word_Last := 1; Output_Object.First_Word (1) := Char; else Escape_Put (Output_Object, Char); Output_Object.Line_Empty := False; end if; end if; else -- Line already has stuff on it Escape_Put (Output_Object, Char); end if; when Normal => Output_Object.Line_Empty := Char /= ' '; Escape_Put (Output_Object, Char); when Index_Start => Escape_Put (Output_Object, Char); if Char = '&' then -- give debugger a place to break Put_Line ("first index entry"); end if; when Index => case Char is when ' ' | ',' | '[' | ']' => Put (Output_Object.File, Char); when 'A' .. Last_Index_Clause => -- Index section heading -- @node current Put_Line (Output_Object.File, "@node " & Char); -- Add non-break space so Emacs info will use big bold -- font for single letter titles. Put_Line (Output_Object.File, "@section " & Char & "@w{ }"); when others => Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Unexpected char in Index: " & Char); end case; end case; end Ordinary_Character; procedure Ordinary_Text (Output_Object : in out Texinfo_Output_Type; Text : in String) is begin case Output_Object.State is when Contents => null; when Multi_Column | Table_Header => Add_To_Column_Item (Output_Object, Text); when Normal | Title | Index_Start | Index => Output_Object.Line_Empty := False; Escape_Put (Output_Object, Text); end case; end Ordinary_Text; procedure Picture (Output_Object : in out Texinfo_Output_Type; Name : in String; Descr : in String; Alignment : in ARM_Output.Picture_Alignment; Height, Width : in Natural; Border : in ARM_Output.Border_Kind) is pragma Unreferenced (Border); pragma Unreferenced (Width); pragma Unreferenced (Height); pragma Unreferenced (Alignment); pragma Unreferenced (Name); begin Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Picture: " & Descr); end Picture; procedure Revised_Clause_Header (Output_Object : in out Texinfo_Output_Type; New_Header_Text : in String; Old_Header_Text : in String; Level : in ARM_Contents.Level_Type; Clause_Number : in String; Version : in ARM_Contents.Change_Version_Type; Old_Version : in ARM_Contents.Change_Version_Type; Top_Level_Subdivision_Name : in ARM_Output.Top_Level_Subdivision_Name_Kind; No_Page_Break : in Boolean := False) is pragma Unreferenced (Version); pragma Unreferenced (Old_Version); pragma Unreferenced (Old_Header_Text); begin Clause_Header (Output_Object, New_Header_Text, Level, Clause_Number, Top_Level_Subdivision_Name, No_Page_Break); end Revised_Clause_Header; procedure Section (Output_Object : in out Texinfo_Output_Type; Section_Title : in String; Section_Name : in String) is pragma Unreferenced (Section_Name); pragma Unreferenced (Section_Title); pragma Unreferenced (Output_Object); begin -- This is redundant with the various Clause functions null; end Section; procedure Separator_Line (Output_Object : in out Texinfo_Output_Type; Is_Thin : Boolean := True) is begin -- Can't be in a multi-column setting. New_Line (Output_Object.File); if Is_Thin then Put_Line (Output_Object.File, "----------"); else Put_Line (Output_Object.File, "=========="); end if; end Separator_Line; procedure Set_Columns (Output_Object : in out Texinfo_Output_Type; Number_of_Columns : in ARM_Output.Column_Count) is begin Check_Valid (Output_Object); Check_Not_In_Paragraph (Output_Object); -- 2 and 3 column formats are displayed without any columns. -- This is mainly used for the syntax cross-reference and -- index, and these definitely look better without columns. -- -- 4 or more columns are output as a table. Note that we assume -- such items are formated with explicit New_Column calls, and -- do not contain any nested paragraph formats. case Output_Object.State is when Normal => if Number_of_Columns >= 4 then Output_Object.State := Multi_Column; Output_Object.Current_Column := 1; Output_Object.Current_Row := 1; Output_Object.Column_Widths := (others => 0); -- Accumulate all column rows in Output_Text, then output -- when done, so we can set the correct column width in -- the header. Each column is a linked list of allocated -- Column_Text_Item_Type. else null; end if; when Multi_Column => if Number_of_Columns = 1 then -- Finished accumulating columns, output the columns as a table. Output_Column_Widths (Output_Object); Output_Columns (Output_Object); New_Line (Output_Object.File); Put_Line (Output_Object.File, "@end multitable"); New_Line (Output_Object.File); Output_Object.State := Normal; else Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "New multi-column section before end of old"); end if; when Index_Start | Index => null; when Table_Header | Contents | Title => Unexpected_State (Output_Object); end case; Output_Object.Column_Count := Number_of_Columns; end Set_Columns; procedure Soft_Hyphen_Break (Output_Object : in out Texinfo_Output_Type) is begin Put (Output_Object.File, "@-"); end Soft_Hyphen_Break; procedure Soft_Line_Break (Output_Object : in out Texinfo_Output_Type) is begin case Output_Object.State is when Contents | Title => null; when Normal | Index_Start | Index => Put (Output_Object.File, "@-"); when Multi_Column | Table_Header => Unexpected_State (Output_Object); end case; end Soft_Line_Break; procedure Special_Character (Output_Object : in out Texinfo_Output_Type; Char : in ARM_Output.Special_Character_Type) is begin -- We use Ordinary_Text, so this is output to columns when appropriate. case Char is when ARM_Output.EM_Dash => Ordinary_Text (Output_Object, "--"); when ARM_Output.EN_Dash => Ordinary_Text (Output_Object, "-"); -- used for '-' in binary_adding_operator when ARM_Output.GEQ => Ordinary_Text (Output_Object, ">="); when ARM_Output.LEQ => Ordinary_Text (Output_Object, "<="); when ARM_Output.NEQ => Ordinary_Text (Output_Object, "/="); when ARM_Output.PI => Ordinary_Text (Output_Object, "PI"); when ARM_Output.Left_Ceiling => case Output_Object.State is when Multi_Column | Table_Header => Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Info does not support ceiling in multi-column"); when Contents => null; when Normal | Index_Start | Index => Put (Output_Object.File, "@code{ceiling("); when Title => Unexpected_State (Output_Object); end case; when ARM_Output.Right_Ceiling => case Output_Object.State is when Multi_Column | Table_Header => Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Info does not support ceiling in multi-column"); when Contents => null; when Normal | Index_Start | Index => Put (Output_Object.File, ")}"); when Title => Unexpected_State (Output_Object); end case; when ARM_Output.Left_Floor => case Output_Object.State is when Multi_Column | Table_Header => Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Info does not support floor in multi-column"); when Contents => null; when Normal | Index_Start | Index => Put (Output_Object.File, "@code{floor("); when Title => Unexpected_State (Output_Object); end case; when ARM_Output.Right_Floor => case Output_Object.State is when Multi_Column | Table_Header => Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Info does not support floor in multi-column"); when Contents => null; when Normal | Index_Start | Index => Put (Output_Object.File, ")}"); when Title => Unexpected_State (Output_Object); end case; when ARM_Output.Thin_Space => Ordinary_Text (Output_Object, " "); when ARM_Output.Left_Quote => Ordinary_Text (Output_Object, "`"); when ARM_Output.Right_Quote => Ordinary_Text (Output_Object, "'"); when ARM_Output.Left_Double_Quote => Ordinary_Text (Output_Object, """"); when ARM_Output.Right_Double_Quote => Ordinary_Text (Output_Object, """"); when ARM_Output.Small_Dotless_I => Ordinary_Text (Output_Object, "i"); when ARM_Output.Capital_Dotted_I => Ordinary_Text (Output_Object, "I"); end case; end Special_Character; procedure Start_Paragraph (Output_Object : in out Texinfo_Output_Type; Style : in ARM_Output.Paragraph_Style_Type; Indent : in ARM_Output.Paragraph_Indent_Type; Number : in String; No_Prefix : in Boolean := False; Tab_Stops : in ARM_Output.Tab_Info := ARM_Output.NO_TABS; No_Breaks : in Boolean := False; Keep_with_Next : in Boolean := False; Space_After : in ARM_Output.Space_After_Type := ARM_Output.Normal; Justification : in ARM_Output.Justification_Type := ARM_Output.Default) is pragma Unreferenced (Justification); pragma Unreferenced (Space_After); pragma Unreferenced (Keep_with_Next); pragma Unreferenced (No_Breaks); pragma Unreferenced (Tab_Stops); use ARM_Output; begin Check_Valid (Output_Object); Check_Not_In_Paragraph (Output_Object); -- Note: makeinfo will do most of the formatting, so No_Breaks, -- Keep_with_Next, Space_After, and Justification have no -- effect here. In addition, info format has no support for -- fonts, so the font aspects of Style are ignored as well. But -- we try to respect the indentation and margin aspects. -- TexInfo does not directly support tabs, but does use a fixed -- font, so we could emulate them. But then we'd have to track -- output characters; let's see if we really need it. case Output_Object.State is when Contents => null; when Normal => if Number'Length > 0 then Put_Line (Output_Object.File, Number & " @*"); end if; Output_Object.In_Paragraph := True; Output_Object.Style := Style; Output_Object.Indent := Indent; case Style is when Normal | Wide_Above | Small | Small_Wide_Above | Header | Small_Header | Syntax_Summary => Handle_Indent (Output_Object, "@quotation"); when Index | Title => null; when Examples | Small_Examples | Swiss_Examples | Small_Swiss_Examples => Handle_Indent (Output_Object, "@example"); when Bulleted | Small_Bulleted => Handle_Indent (Output_Object, "@itemize @bullet"); if not No_Prefix then Put (Output_Object.File, "@item "); end if; when Nested_Bulleted | Small_Nested_Bulleted => Handle_Indent (Output_Object, "@itemize @bullet", Extra_Indent => 1); if not No_Prefix then Put (Output_Object.File, "@item "); end if; when Enumerated | Small_Enumerated => Handle_Indent (Output_Object, "@itemize @w{}"); Put (Output_Object.File, "@item "); when Giant_Hanging | Small_Giant_Hanging | Wide_Hanging | Small_Wide_Hanging | Medium_Hanging | Small_Medium_Hanging | Narrow_Hanging | Small_Narrow_Hanging | Hanging_in_Bulleted | Small_Hanging_in_Bulleted => if No_Prefix then -- Still in hanging part Handle_Indent (Output_Object, "@quotation"); Output_Object.End_Hang_Seen := True; else Output_Object.End_Hang_Seen := False; end if; end case; when Index_Start | Index | Title | Multi_Column | Table_Header => if Number'Length > 0 then Unexpected_State (Output_Object); end if; Output_Object.In_Paragraph := True; Output_Object.Style := Style; Output_Object.Indent := Indent; end case; end Start_Paragraph; procedure Start_Table (Output_Object : in out Texinfo_Output_Type; Columns : in ARM_Output.Column_Count; First_Column_Width : in ARM_Output.Column_Count; Last_Column_Width : in ARM_Output.Column_Count; Alignment : in ARM_Output.Column_Text_Alignment; No_Page_Break : in Boolean; Has_Border : in Boolean; Small_Text_Size : in Boolean; Header_Kind : in ARM_Output.Header_Kind_Type) is pragma Unreferenced (Small_Text_Size); pragma Unreferenced (Has_Border); pragma Unreferenced (No_Page_Break); pragma Unreferenced (Alignment); pragma Unreferenced (Last_Column_Width); pragma Unreferenced (First_Column_Width); use ARM_Output; begin Output_Object.Column_Count := Columns; case Header_Kind is when Both_Caption_and_Header => New_Line (Output_Object.File); -- Next text output will be the caption, which we don't -- format in any special way (first example is F.3.2 (19)). -- Then Table_Marker (End_Caption) is called, which will -- start the actual table. when Header_Only => -- Same as Table_Marker, End_Caption. case Columns is when 1 => Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Table with 1 column"); when 2 => -- @table doesn't work inside @display; PDFTex fails with @table here. -- https://lists.gnu.org/archive/html/bug-texinfo/2004-10/txtJLetHrEhdc.txt New_Line (Output_Object.File); Put_Line (Output_Object.File, "@multitable {wwwwwwwwww} {wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww}"); Put (Output_Object.File, "@headitem "); when others => New_Line (Output_Object.File); Put (Output_Object.File, "@multitable"); Output_Object.State := Table_Header; Output_Object.Current_Column := 1; Output_Object.Current_Row := 1; Output_Object.Max_Row := 0; -- The next text output via Ordinary_Text or -- Ordinary_Character is the table headers. We -- capture them in Output_Object.Column_Text, and -- use them to set the table column widths. end case; when No_Headers => null; end case; end Start_Table; procedure Tab (Output_Object : in out Texinfo_Output_Type) is begin case Output_Object.State is when Contents => null; when Multi_Column | Table_Header => Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Tab in multi-column"); when Title => if Output_Object.Line_Empty then null; else Put (Output_Object.File, "@w{ }"); end if; when Normal | Index_Start | Index => -- Just three spaces for now, for indented trees Put (Output_Object.File, "@w{ }"); end case; end Tab; procedure Table_Marker (Output_Object : in out Texinfo_Output_Type; Marker : in ARM_Output.Table_Marker_Type) is begin case Marker is when ARM_Output.End_Caption => -- Start the actual table case Output_Object.Column_Count is when 1 => Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity, "Table with 1 column"); when 2 => New_Line (Output_Object.File); Put_Line (Output_Object.File, "@multitable {wwwwwwwwww} {wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww}"); Put (Output_Object.File, "@headitem "); when others => New_Line (Output_Object.File); Put (Output_Object.File, "@multitable"); Output_Object.State := Table_Header; Output_Object.Current_Column := 1; Output_Object.Current_Row := 1; Output_Object.Max_Row := 0; -- The next text output via Ordinary_Text or -- Ordinary_Character is the table headers. We -- capture them in Output_Object.Column_Text, and -- use them to set the table column widths. end case; when ARM_Output.End_Item => case Output_Object.State is when Table_Header => Output_Object.Current_Column := Output_Object.Current_Column + 1; Output_Object.Current_Row := 1; when Normal => case Output_Object.Column_Count is when 2 => New_Line (Output_Object.File); Put (Output_Object.File, "@tab "); when others => Put (Output_Object.File, " @tab "); end case; when Multi_Column | Contents | Title | Index_Start | Index => Unexpected_State (Output_Object); end case; when ARM_Output.End_Header => case Output_Object.State is when Table_Header => Output_Object.State := Normal; for I in 1 .. Output_Object.Column_Count loop Put (Output_Object.File, " {" & Output_Object.Column_Text (I).Text (1 .. Output_Object.Column_Text (I).Length) & "}"); end loop; New_Line (Output_Object.File); Put (Output_Object.File, "@item "); Pad_Columns (Output_Object); Output_Columns (Output_Object); New_Line (Output_Object.File); Put (Output_Object.File, "@item "); Output_Object.Current_Column := 1; when Normal => -- A two-column table; header has been output New_Line (Output_Object.File); Put (Output_Object.File, "@item "); when Contents | Multi_Column | Title | Index_Start | Index => Unexpected_State (Output_Object); end case; when ARM_Output.End_Row | ARM_Output.End_Row_Next_Is_Last => New_Line (Output_Object.File); Put (Output_Object.File, "@item "); Output_Object.Current_Column := 1; when ARM_Output.End_Table => case Output_Object.Column_Count is when 2 => New_Line (Output_Object.File); Put_Line (Output_Object.File, "@end multitable"); when others => Put_Line (Output_Object.File, "@end multitable"); end case; end case; end Table_Marker; procedure TOC_Marker (Output_Object : in out Texinfo_Output_Type; For_Start : in Boolean) is begin -- We use menus, not @contents (since makeinfo ignores -- @contents in info mode). The menus (including the top menu) -- are generated from data stored in ARM_Contents during the -- scan pass. if For_Start then Output_Object.State := Contents; -- Ignore futher output until For_Start = False. else Output_Object.State := Normal; end if; end TOC_Marker; procedure Unicode_Character (Output_Object : in out Texinfo_Output_Type; Char : in ARM_Output.Unicode_Type) is begin -- Used in section 2.3 Identifiers examples, 2.5 character -- literals examples, 2.6 string literals examples, 3.3.1 -- Object Declarations examples, 4.4 Expressions examples Put (Output_Object.File, "[Unicode" & ARM_Output.Unicode_Type'Image (Char) & "]"); end Unicode_Character; procedure URL_Link (Output_Object : in out Texinfo_Output_Type; Text : in String; URL : in String) is begin Put (Output_Object.File, "@uref{" & URL & "," & Text & "}"); end URL_Link; end ARM_Texinfo;
----------------------------------------------------------------------- -- util-refs -- Reference Counting -- Copyright (C) 2010, 2011 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.Finalization; with Util.Concurrent.Counters; -- The <b>Util.Refs</b> package provides support to implement object reference counting. -- -- The data type to share through reference counting has to inherit from <b>Ref_Entity</b> -- and the generic package <b>References</b> has to be instantiated. -- <pre> -- type Data is new Util.Refs.Ref_Entity with record ... end record; -- type Data_Access is access all Data; -- -- package Data_Ref is new Utils.Refs.References (Data, Data_Access); -- </pre> -- -- The reference is used as follows: -- -- <pre> -- D : Data_Ref.Ref := Data_Ref.Create; -- Allocate and get a reference -- D2 : Data_Ref.Ref := D; -- Share reference -- D.Value.all.XXXX := 0; -- Set data member XXXX -- </pre> -- -- When a reference is shared in a multi-threaded environment, the reference has to -- be protected by using the <b>References.Atomic_Ref</b> type. -- -- R : Data_Ref.Atomic_Ref; -- -- The reference is then obtained by the protected operation <b>Get</b>. -- -- D : Data_Ref.Ref := R.Get; -- package Util.Refs is -- Root of referenced objects. type Ref_Entity is abstract tagged limited private; -- Finalize the referenced object. This is called before the object is freed. procedure Finalize (Object : in out Ref_Entity) is null; generic type Element_Type (<>) is new Ref_Entity with private; type Element_Access is access all Element_Type; package Indefinite_References is type Ref is new Ada.Finalization.Controlled with private; -- Create an element and return a reference to that element. function Create (Value : in Element_Access) return Ref; -- Get the element access value. function Value (Object : in Ref'Class) return Element_Access; pragma Inline_Always (Value); -- Returns true if the reference does not contain any element. function Is_Null (Object : in Ref'Class) return Boolean; pragma Inline_Always (Is_Null); -- The <b>Atomic_Ref</b> protected type defines a reference to an -- element which can be obtained and changed atomically. The default -- Ada construct: -- -- Ref1 := Ref2; -- -- does not guarantee atomicity of the copy (assignment) and the increment -- of the reference counter (Adjust operation). To replace shared reference -- by another one, the whole assignment and Adjust have to be protected. -- This is achieved by this protected type through the <b>Get</b> and <b>Set</b> protected type Atomic_Ref is -- Get the reference function Get return Ref; -- Change the reference procedure Set (Object : in Ref); private Value : Ref; end Atomic_Ref; private type Ref is new Ada.Finalization.Controlled with record Target : Element_Access := null; end record; -- Release the reference. Invoke <b>Finalize</b> and free the storage if it was -- the last reference. overriding procedure Finalize (Obj : in out Ref); -- Update the reference counter after an assignment. overriding procedure Adjust (Obj : in out Ref); end Indefinite_References; generic type Element_Type is new Ref_Entity with private; type Element_Access is access all Element_Type; package References is package IR is new Indefinite_References (Element_Type, Element_Access); subtype Ref is IR.Ref; -- Create an element and return a reference to that element. function Create return Ref; -- The <b>Atomic_Ref</b> protected type defines a reference to an -- element which can be obtained and changed atomically. The default -- Ada construct: -- -- Ref1 := Ref2; -- -- does not guarantee atomicity of the copy (assignment) and the increment -- of the reference counter (Adjust operation). To replace shared reference -- by another one, the whole assignment and Adjust have to be protected. -- This is achieved by this protected type through the <b>Get</b> and <b>Set</b> subtype Atomic_Ref is IR.Atomic_Ref; end References; private type Ref_Entity is abstract tagged limited record Ref_Counter : Util.Concurrent.Counters.Counter; end record; end Util.Refs;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . T R A C E S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2001-2005 Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNARL is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNARL; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- -- -- -- -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package implements functions for traces when tasking is not involved -- Warning : NO dependencies to tasking should be created here -- This package, and all its children are used to implement debug -- informations -- A new primitive, Send_Trace_Info (Id : Trace_T; 'data') is introduced. -- Trace_T is an event identifier, 'data' are the informations to pass -- with the event. Thid procedure is used from within the Runtime to send -- debug informations. -- This primitive is overloaded in System.Traces.Tasking and this package. -- Send_Trace_Info calls Send_Trace, in System.Traces.Send, which is trarget -- dependent, to send the debug informations to a debugger, stream .. -- To add a new event, just add them to the Trace_T type, and write the -- corresponding Send_Trace_Info procedure. It may be required for some -- target to modify Send_Trace (eg. VxWorks). -- To add a new target, just adapt System.Traces.Send to your own purpose. package System.Traces is pragma Preelaborate; type Trace_T is ( -- Events handled. -- Messages -- M_Accept_Complete, M_Select_Else, M_RDV_Complete, M_Call_Complete, M_Delay, -- Errors -- E_Missed, E_Timeout, E_Kill, -- Waiting events -- W_Call, W_Accept, W_Select, W_Completion, W_Delay, WU_Delay, WT_Call, WT_Select, WT_Completion, -- Protected objects events -- PO_Call, POT_Call, PO_Run, PO_Lock, PO_Unlock, PO_Done, -- Task handling events -- T_Create, T_Activate, T_Abort, T_Terminate); -- Send_Trace_Info procedures -- They are overloaded, depending on the parameters passed with -- the event, e.g. Time information, Task name, Accept name ... procedure Send_Trace_Info (Id : Trace_T); procedure Send_Trace_Info (Id : Trace_T; Timeout : Duration); end System.Traces;
------------------------------------------------------------------------------ -- EMAIL: <darkestkhan@gmail.com> -- -- License: ISC -- -- -- -- Copyright © 2015 - 2016 darkestkhan -- ------------------------------------------------------------------------------ -- Permission to use, copy, modify, and/or distribute this software for any -- -- purpose with or without fee is hereby granted, provided that the above -- -- copyright notice and this permission notice appear in all copies. -- -- -- -- The software is provided "as is" and the author disclaims all warranties -- -- with regard to this software including all implied warranties of -- -- merchantability and fitness. In no event shall the author be liable for -- -- any special, direct, indirect, or consequential damages or any damages -- -- whatsoever resulting from loss of use, data or profits, whether in an -- -- action of contract, negligence or other tortious action, arising out of -- -- or in connection with the use or performance of this software. -- ------------------------------------------------------------------------------ with Imago.IL; use Imago; package Imago.ILU is -------------------------------------------------------------------------- --------------- -- T Y P E S -- --------------- -------------------------------------------------------------------------- -- NOTE: Really, this one should be replaced with type whose definition -- is much more Ada-like. type Info is record ID : IL.UInt; -- the image's ID Data : IL.Pointer; -- the image's data Width : IL.UInt; -- the image's width Height : IL.UInt; -- the image's height Depth : IL.UInt; -- the image's depth Bpp : IL.UByte; -- bytes per pixel (not bits) of the image Size_Of_Data: IL.UInt; -- the total size of the data (in bytes) Format : IL.Enum; -- image format (in IL.Enum style) Of_Type : IL.Enum; -- image type (in IL.Enum style) Origin : IL.Enum; -- origin of the image Palette : IL.Pointer; -- the image's palette Palette_Type: IL.Enum; -- palette size Palette_Size: IL.UInt; -- palette type Cube_Flags : IL.Enum; -- flags for what cube map sides are present Num_Next : IL.UInt; -- number of images following Num_Mips : IL.UInt; -- number of mipmaps Num_Layers : IL.UInt; -- number of layers end record with Convention => C; type Point_F is record X: Float; Y: Float; end record with Convention => C; type Point_I is record X: IL.Int; Y: IL.Int; end record with Convention => C; -------------------------------------------------------------------------- ----------------------- -- C O N S T A N T S -- ----------------------- -------------------------------------------------------------------------- ILU_VERSION_1_7_8 : constant IL.Enum := 1; ILU_VERSION : constant IL.Enum := 178; ILU_FILTER : constant IL.Enum := 16#2600#; ILU_NEAREST : constant IL.Enum := 16#2601#; ILU_LINEAR : constant IL.Enum := 16#2602#; ILU_BILINEAR : constant IL.Enum := 16#2603#; ILU_SCALE_BOX : constant IL.Enum := 16#2604#; ILU_SCALE_TRIANGLE : constant IL.Enum := 16#2605#; ILU_SCALE_BELL : constant IL.Enum := 16#2606#; ILU_SCALE_BSPLINE : constant IL.Enum := 16#2607#; ILU_SCALE_LANCZOS3 : constant IL.Enum := 16#2608#; ILU_SCALE_MITCHELL : constant IL.Enum := 16#2609#; -- Error types. ILU_INVALID_ENUM : constant IL.Enum := 16#0501#; ILU_OUT_OF_MEMORY : constant IL.Enum := 16#0502#; ILU_INTERNAL_ERROR : constant IL.Enum := 16#0504#; ILU_INVALID_VALUE : constant IL.Enum := 16#0505#; ILU_ILLEGAL_OPERATION : constant IL.Enum := 16#0506#; ILU_INVALID_PARAM : constant IL.Enum := 16#0509#; -- Values. ILU_PLACEMENT : constant IL.Enum := 16#0700#; ILU_LOWER_LEFT : constant IL.Enum := 16#0701#; ILU_LOWER_RIGHT : constant IL.Enum := 16#0702#; ILU_UPPER_LEFT : constant IL.Enum := 16#0703#; ILU_UPPER_RIGHT : constant IL.Enum := 16#0704#; ILU_CENTER : constant IL.Enum := 16#0705#; ILU_CONVOLUTION_MATRIX : constant IL.Enum := 16#0710#; ILU_VERSION_NUM : constant IL.Enum := IL.IL_VERSION_NUM; ILU_VENDOR : constant IL.Enum := IL.IL_VENDOR; -- Languages. ILU_ENGLISH : constant IL.Enum := 16#0800#; ILU_ARABIC : constant IL.Enum := 16#0801#; ILU_DUTCH : constant IL.Enum := 16#0802#; ILU_JAPANESE : constant IL.Enum := 16#0803#; ILU_SPANISH : constant IL.Enum := 16#0804#; ILU_GERMAN : constant IL.Enum := 16#0805#; ILU_FRENCH : constant IL.Enum := 16#0806#; -------------------------------------------------------------------------- --------------------------- -- S U B P R O G R A M S -- --------------------------- -------------------------------------------------------------------------- function Alienify return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluAlienify"; function Blur_Avg (Iter: in IL.UInt) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluBlurAvg"; function Blur_Gaussian (Iter: in IL.UInt) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluBlurGaussian"; function Build_Mipmaps return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluBuildMipmaps"; function Colors_Used return IL.UInt with Import => True, Convention => StdCall, External_Name => "iluColoursUsed"; function Colours_Used return IL.UInt with Import => True, Convention => StdCall, External_Name => "iluColoursUsed"; function Compare_Image (Comp: in IL.UInt) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluCompareImage"; function Contrast (Contrats: in Float) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluContrast"; function Crop ( XOff: in IL.UInt; YOff: in IL.UInt; ZOff: in IL.UInt; Width: in IL.UInt; Height: in IL.UInt; Depth: in IL.UInt ) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluCrop"; procedure Delete_Image (ID: in IL.UInt) with Import => True, Convention => StdCall, External_Name => "iluDeleteImage"; function Edge_Detect_E return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluEdgeDetectE"; function Edge_Detect_P return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluEdgeDetectP"; function Edge_Detect_S return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluEdgeDetectS"; function Emboss return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluEmboss"; function Enlarge_Canvas ( Width: in IL.UInt; Height: in IL.UInt; Depth: in IL.UInt ) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluEnlargeCanvas"; function Enlarge_Image ( XDim: in Float; YDim: in Float; ZDim: in Float ) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluEnlargeImage"; function Error_String (String_Name: in IL.Enum) return String with Inline => True; function Equalize return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluEqualize"; function Convolution ( Matrix: in IL.Pointer; Scale: in IL.Int; Bias: in IL.Int ) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluConvolution"; function Flip_Image return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluFlipImage"; function Gamma_Correct (Gamma: in Float) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluGammaCorrect"; function Gen_Image return IL.UInt with Import => True, Convention => StdCall, External_Name => "iluGenImage"; procedure Get_Image_Info (Item: out Info) with Import => True, Convention => StdCall, External_Name => "iluGetImageInfo"; function Get_Integer (Mode: in IL.Enum) return IL.Int with Import => True, Convention => StdCall, External_Name => "iluGetInteger"; procedure Get_Integer (Mode: in IL.Enum; Param: in IL.Pointer) with Import => True, Convention => StdCall, External_Name => "iluGetIntegerv"; function Get_String (String_Name: in IL.Enum) return String with Inline => True; procedure Image_Parameter (P_Name: in IL.Enum; Param: in IL.Enum) with Import => True, Convention => StdCall, External_Name => "iluImageParameter"; procedure Init with Import => True, Convention => StdCall, External_Name => "iluInit"; function Invert_Alpha return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluInvertAlpha"; function Load_Image (File_Name: in String) return IL.UInt with Inline => True; function Mirror return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluMirror"; function Negative return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluNegative"; function Noisify (Tolerance: in IL.ClampF) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluNoisify"; function Pixelize (Pix_Size: in IL.UInt) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluPixelize"; procedure Region_F (Points: in IL.Pointer; N: in IL.UInt) with Import => True, Convention => StdCall, External_Name => "iluRegionfv"; procedure Region_I (Points: in IL.Pointer; N: in IL.UInt) with Import => True, Convention => StdCall, External_Name => "iluRegioniv"; function Replace_Color ( Red: in IL.UByte; Green: in IL.UByte; Blue: in IL.UByte; Tolerance: in Float ) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluReplaceColour"; function Replace_Colour ( Red: in IL.UByte; Green: in IL.UByte; Blue: in IL.UByte; Tolerance: in Float ) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluReplaceColour"; function Rotate (Angle: in Float) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluRotate"; function Rotate ( X: in Float; Y: in Float; Z: in Float; Angle: in Float ) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluRotate3D"; function Saturate (Saturation: in Float) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluSaturate1f"; function Saturate ( R: in Float; G: in Float; B: in Float; Saturation: in Float ) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluSaturate4f"; function Scale ( Width: in IL.UInt; Height: in IL.UInt; Depth: in IL.UInt ) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluScale"; function Scale_Alpha (Scale: in Float) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluScaleAlpha"; function Scale_Colors (R: in Float; G: in Float; B: in Float) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluScaleColours"; function Scale_Colours (R: in Float; G: in Float; B: in Float) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluScaleColours"; function Set_Language (Language: in IL.Enum) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluSetLanguage"; function Sharpen (Factor: in Float; Iter: in IL.UInt) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluSharpen"; function Swap_Colors return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluSwapColours"; function Swap_Colours return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluSwapColours"; function Wave (Angle: in Float) return IL.Bool with Import => True, Convention => StdCall, External_Name => "iluWave"; -------------------------------------------------------------------------- end Imago.ILU;
with Ada.Text_IO; package body Test_Annotation.Append is File_Name : constant String := "tmp/test-append-annotation.sf"; procedure Initialize (T : in out Test) is begin Set_Name (T, "Test_Annotation.Append"); Ahven.Framework.Add_Test_Routine (T, Append_Test_1'Access, "append test 1"); Ahven.Framework.Add_Test_Routine (T, Append_Test_2'Access, "append test 2"); Ahven.Framework.Add_Test_Routine (T, Append_Test_3'Access, "append test 3"); end Initialize; procedure Set_Up (T : in out Test) is State : access Skill_State := new Skill_State; begin Skill.Read (State, "resources/annotationTest.sf"); Skill.Write (State, File_Name); declare A : Date_Type_Access := New_Date (State, 3); B : Date_Type_Access := New_Date (State, 4); begin New_Test (State, Skill_Type_Access (A)); New_Test (State, Skill_Type_Access (B)); end; Skill.Append (State); end Set_Up; procedure Tear_Down (T : in out Test) is begin Ada.Directories.Delete_File (File_Name); end Tear_Down; procedure Append_Test_1 (T : in out Ahven.Framework.Test_Case'Class) is State : access Skill_State := new Skill_State; begin Skill.Read (State, File_Name); declare Test : Test_Type_Access := Skill.Get_Test (State, 1); Date : Date_Type_Access := Skill.Get_Date (State, 1); X : Date_Type_Access := Date_Type_Access (Test.Get_F); Y : Date_Type_Access := Date; begin Ahven.Assert (X = Y, "objects are not equal"); end; end Append_Test_1; procedure Append_Test_2 (T : in out Ahven.Framework.Test_Case'Class) is State : access Skill_State := new Skill_State; begin Skill.Read (State, File_Name); declare Test : Test_Type_Access := Skill.Get_Test (State, 2); Date : Date_Type_Access := Skill.Get_Date (State, 3); X : Date_Type_Access := Date_Type_Access (Test.Get_F); Y : Date_Type_Access := Date; begin Ahven.Assert (X = Y, "objects are not equal"); end; end Append_Test_2; procedure Append_Test_3 (T : in out Ahven.Framework.Test_Case'Class) is State : access Skill_State := new Skill_State; begin Skill.Read (State, File_Name); declare Test : Test_Type_Access := Skill.Get_Test (State, 3); Date : Date_Type_Access := Skill.Get_Date (State, 4); X : Date_Type_Access := Date_Type_Access (Test.Get_F); Y : Date_Type_Access := Date; begin Ahven.Assert (X = Y, "objects are not equal"); end; end Append_Test_3; end Test_Annotation.Append;
-- { dg-compile } -- { dg-options "-O2 -gnato -fdump-tree-optimized" } package body Opt37 is function To_Unchecked (Bits : T_Bit_Array) return Unsigned32 is Value : Unsigned32 := 0; begin for I in Bits'Range loop Value := Value * 2 + Unsigned32 (Bits(I)); end loop; return Value; end; function To_Scalar (Bits : T_Bit_Array) return Positive is Tmp : Unsigned32; Value : Positive; begin Tmp := To_Unchecked (Bits); if Tmp in 0 .. Unsigned32 (Positive'last) then Value := Positive (Tmp); else Value := -Positive (Unsigned32'last - Tmp); if Value > Positive'first then Value := Value - 1; else raise Program_Error; end if; end if; return Value; end; function Func (Bit_Array : T_Bit_Array; Bit_Index : T_Bit_Index) return Positive is begin return To_Scalar (Bit_Array (Bit_Index .. Bit_Index + 1)); end; end Opt37; -- { dg-final { scan-tree-dump-not "alloca" "optimized" } }
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- G N A T . S O C K E T S . T H I N -- -- -- -- B o d y -- -- -- -- Copyright (C) 2002-2013, 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 package provides a target dependent thin interface to the sockets -- layer for use by the GNAT.Sockets package (g-socket.ads). This package -- should not be directly with'ed by an applications program. -- This version is for VxWorks with GNAT.OS_Lib; use GNAT.OS_Lib; with GNAT.Task_Lock; with Interfaces.C; use Interfaces.C; package body GNAT.Sockets.Thin is Non_Blocking_Sockets : aliased Fd_Set; -- When this package is initialized with Process_Blocking_IO set -- to True, sockets are set in non-blocking mode to avoid blocking -- the whole process when a thread wants to perform a blocking IO -- operation. But the user can also set a socket in non-blocking -- mode by purpose. In order to make a difference between these -- two situations, we track the origin of non-blocking mode in -- Non_Blocking_Sockets. If S is in Non_Blocking_Sockets, it has -- been set in non-blocking mode by the user. Quantum : constant Duration := 0.2; -- When SOSC.Thread_Blocking_IO is False, we set sockets in -- non-blocking mode and we spend a period of time Quantum between -- two attempts on a blocking operation. ----------------------- -- Local Subprograms -- ----------------------- -- All these require comments ??? function Syscall_Accept (S : C.int; Addr : System.Address; Addrlen : not null access C.int) return C.int; pragma Import (C, Syscall_Accept, "accept"); function Syscall_Connect (S : C.int; Name : System.Address; Namelen : C.int) return C.int; pragma Import (C, Syscall_Connect, "connect"); function Syscall_Recv (S : C.int; Msg : System.Address; Len : C.int; Flags : C.int) return C.int; pragma Import (C, Syscall_Recv, "recv"); function Syscall_Recvfrom (S : C.int; Msg : System.Address; Len : C.int; Flags : C.int; From : System.Address; Fromlen : not null access C.int) return C.int; pragma Import (C, Syscall_Recvfrom, "recvfrom"); function Syscall_Recvmsg (S : C.int; Msg : System.Address; Flags : C.int) return C.int; pragma Import (C, Syscall_Recvmsg, "recvmsg"); function Syscall_Sendmsg (S : C.int; Msg : System.Address; Flags : C.int) return C.int; pragma Import (C, Syscall_Sendmsg, "sendmsg"); function Syscall_Send (S : C.int; Msg : System.Address; Len : C.int; Flags : C.int) return C.int; pragma Import (C, Syscall_Send, "send"); function Syscall_Sendto (S : C.int; Msg : System.Address; Len : C.int; Flags : C.int; To : System.Address; Tolen : C.int) return C.int; pragma Import (C, Syscall_Sendto, "sendto"); function Syscall_Socket (Domain : C.int; Typ : C.int; Protocol : C.int) return C.int; pragma Import (C, Syscall_Socket, "socket"); function Non_Blocking_Socket (S : C.int) return Boolean; procedure Set_Non_Blocking_Socket (S : C.int; V : Boolean); -------------- -- C_Accept -- -------------- function C_Accept (S : C.int; Addr : System.Address; Addrlen : not null access C.int) return C.int is R : C.int; Val : aliased C.int := 1; Res : C.int; pragma Unreferenced (Res); begin loop R := Syscall_Accept (S, Addr, Addrlen); exit when SOSC.Thread_Blocking_IO or else R /= Failure or else Non_Blocking_Socket (S) or else Errno /= SOSC.EWOULDBLOCK; delay Quantum; end loop; if not SOSC.Thread_Blocking_IO and then R /= Failure then -- A socket inherits the properties of its server especially -- the FIONBIO flag. Do not use Socket_Ioctl as this subprogram -- tracks sockets set in non-blocking mode by user. Set_Non_Blocking_Socket (R, Non_Blocking_Socket (S)); Res := C_Ioctl (R, SOSC.FIONBIO, Val'Access); -- Is it OK to ignore result ??? end if; return R; end C_Accept; --------------- -- C_Connect -- --------------- function C_Connect (S : C.int; Name : System.Address; Namelen : C.int) return C.int is Res : C.int; begin Res := Syscall_Connect (S, Name, Namelen); if SOSC.Thread_Blocking_IO or else Res /= Failure or else Non_Blocking_Socket (S) or else Errno /= SOSC.EINPROGRESS then return Res; end if; declare WSet : aliased Fd_Set; Now : aliased Timeval; begin Reset_Socket_Set (WSet'Access); loop Insert_Socket_In_Set (WSet'Access, S); Now := Immediat; Res := C_Select (S + 1, No_Fd_Set_Access, WSet'Access, No_Fd_Set_Access, Now'Unchecked_Access); exit when Res > 0; if Res = Failure then return Res; end if; delay Quantum; end loop; end; Res := Syscall_Connect (S, Name, Namelen); if Res = Failure and then Errno = SOSC.EISCONN then return Thin_Common.Success; else return Res; end if; end C_Connect; ------------------ -- Socket_Ioctl -- ------------------ function Socket_Ioctl (S : C.int; Req : SOSC.IOCTL_Req_T; Arg : access C.int) return C.int is begin if not SOSC.Thread_Blocking_IO and then Req = SOSC.FIONBIO then if Arg.all /= 0 then Set_Non_Blocking_Socket (S, True); end if; end if; return C_Ioctl (S, Req, Arg); end Socket_Ioctl; ------------ -- C_Recv -- ------------ function C_Recv (S : C.int; Msg : System.Address; Len : C.int; Flags : C.int) return C.int is Res : C.int; begin loop Res := Syscall_Recv (S, Msg, Len, Flags); exit when SOSC.Thread_Blocking_IO or else Res /= Failure or else Non_Blocking_Socket (S) or else Errno /= SOSC.EWOULDBLOCK; delay Quantum; end loop; return Res; end C_Recv; ---------------- -- C_Recvfrom -- ---------------- function C_Recvfrom (S : C.int; Msg : System.Address; Len : C.int; Flags : C.int; From : System.Address; Fromlen : not null access C.int) return C.int is Res : C.int; begin loop Res := Syscall_Recvfrom (S, Msg, Len, Flags, From, Fromlen); exit when SOSC.Thread_Blocking_IO or else Res /= Failure or else Non_Blocking_Socket (S) or else Errno /= SOSC.EWOULDBLOCK; delay Quantum; end loop; return Res; end C_Recvfrom; --------------- -- C_Recvmsg -- --------------- function C_Recvmsg (S : C.int; Msg : System.Address; Flags : C.int) return System.CRTL.ssize_t is Res : C.int; begin loop Res := Syscall_Recvmsg (S, Msg, Flags); exit when SOSC.Thread_Blocking_IO or else Res /= Failure or else Non_Blocking_Socket (S) or else Errno /= SOSC.EWOULDBLOCK; delay Quantum; end loop; return System.CRTL.ssize_t (Res); end C_Recvmsg; --------------- -- C_Sendmsg -- --------------- function C_Sendmsg (S : C.int; Msg : System.Address; Flags : C.int) return System.CRTL.ssize_t is Res : C.int; begin loop Res := Syscall_Sendmsg (S, Msg, Flags); exit when SOSC.Thread_Blocking_IO or else Res /= Failure or else Non_Blocking_Socket (S) or else Errno /= SOSC.EWOULDBLOCK; delay Quantum; end loop; return System.CRTL.ssize_t (Res); end C_Sendmsg; -------------- -- C_Sendto -- -------------- function C_Sendto (S : C.int; Msg : System.Address; Len : C.int; Flags : C.int; To : System.Address; Tolen : C.int) return C.int is use System; Res : C.int; begin loop if To = Null_Address then -- In violation of the standard sockets API, VxWorks does not -- support sendto(2) calls on connected sockets with a null -- destination address, so use send(2) instead in that case. Res := Syscall_Send (S, Msg, Len, Flags); -- Normal case where destination address is non-null else Res := Syscall_Sendto (S, Msg, Len, Flags, To, Tolen); end if; exit when SOSC.Thread_Blocking_IO or else Res /= Failure or else Non_Blocking_Socket (S) or else Errno /= SOSC.EWOULDBLOCK; delay Quantum; end loop; return Res; end C_Sendto; -------------- -- C_Socket -- -------------- function C_Socket (Domain : C.int; Typ : C.int; Protocol : C.int) return C.int is R : C.int; Val : aliased C.int := 1; Res : C.int; pragma Unreferenced (Res); begin R := Syscall_Socket (Domain, Typ, Protocol); if not SOSC.Thread_Blocking_IO and then R /= Failure then -- Do not use Socket_Ioctl as this subprogram tracks sockets set -- in non-blocking mode by user. Res := C_Ioctl (R, SOSC.FIONBIO, Val'Access); -- Is it OK to ignore result ??? Set_Non_Blocking_Socket (R, False); end if; return R; end C_Socket; -------------- -- Finalize -- -------------- procedure Finalize is begin null; end Finalize; ------------------------- -- Host_Error_Messages -- ------------------------- package body Host_Error_Messages is separate; ---------------- -- Initialize -- ---------------- procedure Initialize is begin Reset_Socket_Set (Non_Blocking_Sockets'Access); end Initialize; ------------------------- -- Non_Blocking_Socket -- ------------------------- function Non_Blocking_Socket (S : C.int) return Boolean is R : Boolean; begin Task_Lock.Lock; R := (Is_Socket_In_Set (Non_Blocking_Sockets'Access, S) /= 0); Task_Lock.Unlock; return R; end Non_Blocking_Socket; ----------------------------- -- Set_Non_Blocking_Socket -- ----------------------------- procedure Set_Non_Blocking_Socket (S : C.int; V : Boolean) is begin Task_Lock.Lock; if V then Insert_Socket_In_Set (Non_Blocking_Sockets'Access, S); else Remove_Socket_From_Set (Non_Blocking_Sockets'Access, S); end if; Task_Lock.Unlock; end Set_Non_Blocking_Socket; -------------------- -- Signalling_Fds -- -------------------- package body Signalling_Fds is separate; -------------------------- -- Socket_Error_Message -- -------------------------- function Socket_Error_Message (Errno : Integer) return String is separate; end GNAT.Sockets.Thin;
-- Copyright 2012-2015 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 Pck is procedure Do_Nothing (A : System.Address) is begin null; end Do_Nothing; end Pck;
with AdaM.Factory; package body AdaM.Statement is -- Storage Pool -- record_Version : constant := 1; max_Statements : constant := 5_000; package Pool is new AdaM.Factory.Pools (".adam-store", "statements", max_Statements, record_Version, Statement.item, Statement.view); -- Forge -- procedure define (Self : in out Item; Line : in String) is begin if Line /= "" then Self.Lines.append (+Line); end if; end define; procedure destruct (Self : in out Item) is begin null; end destruct; function new_Statement (Line : in String := "") return View is new_View : constant Statement.view := Pool.new_Item; begin define (Statement.item (new_View.all), Line); return new_View; end new_Statement; procedure free (Self : in out Statement.view) is begin destruct (Statement.item (Self.all)); Pool.free (Self); end free; -- Attributes -- overriding function Id (Self : access Item) return AdaM.Id is begin return Pool.to_Id (Self); end Id; overriding function Name (Self : in Item) return Identifier is pragma Unreferenced (Self); begin return "a_Statement"; end Name; overriding function to_Source (Self : in Item) return text_Vectors.Vector is begin return Self.Lines; end to_Source; -- Operations -- procedure add (Self : in out Item; the_Line : in String) is begin Self.Lines.Append (+the_Line); end add; -- Streams -- procedure View_write (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Self : in View) renames Pool.View_write; procedure View_read (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Self : out View) renames Pool.View_read; end AdaM.Statement;
with Ada.Numerics.Generic_Complex_Types; with Dsp.Ring_Filters; -- -- This package provides several (OK, only filters so far...) DSP functions -- It needs to be instantiated with a floating point type and a corresponding -- complex type. -- generic type Scalar_Type is digits <>; with package Complex_Types is new Ada.Numerics.Generic_Complex_Types (Scalar_Type); package DSP.Generic_Functions is subtype Complex_Type is Complex_Types.Complex; use type Complex_Types.Complex; package Real_Filters is new Dsp.Ring_Filters (Sample_Type => Scalar_Type, Coefficient_Type => Scalar_Type, One => 1.0, Zero => 0.0, Zero_Coeff => 0.0); function Delta_Signal (K : Integer) return Scalar_Type renames Real_Filters.Delta_Signal; subtype Real_FIR is Real_Filters.Ring_FIR; subtype Real_IIR is Real_Filters.Ring_IIR; subtype Real_Filter_Interface is Real_Filters.Ring_Filter_Interface; subtype Real_IIR_Spec is Real_Filters.Ring_IIR_Spec; subtype Scalar_Array is Real_Filters.Sample_Array; package Complex_Filters is new Dsp.Ring_Filters (Sample_Type => Complex_Type, Coefficient_Type => Complex_Type, One => (1.0, 0.0), Zero => (0.0, 0.0), Zero_Coeff => (0.0, 0.0)); function Delta_Signal (K : Integer) return Complex_Type renames Complex_Filters.Delta_Signal; subtype Complex_Filter_Interface is Complex_Filters.Ring_Filter_Interface; subtype Complex_FIR is Complex_Filters.Ring_FIR; subtype Complex_IIR is Complex_Filters.Ring_IIR; subtype Complex_IIR_Spec is Complex_Filters.Ring_IIR_Spec; type Notch_Type is (Passband, Stopband); function Notch_Specs (Freq : Normalized_Frequency; Pole_Radius : Stable_Radius; Class : Notch_Type := Stopband) return Complex_IIR_Spec; -- -- Return the specs of a notch filter tuned at the frequency Freq -- (normalized to sampling frequency, that is, Freq=0.5 -- is the Nyquist frequency). Pole_Radius is the -- radius of compensating poles. Depending on the value of Class -- the filter will be a stopband (that is, it removes frequency -- Freq) or a passband (that is, it leaves unchanged the component -- at frequency Freq, while attenuating the others). -- function Notch_Specs (Freq : Normalized_Frequency; Pole_Radius : Stable_Radius; Class : Notch_Type := Stopband) return Real_IIR_Spec; -- -- Return the specs of a notch filter tuned at the frequency Freq -- (normalized to sampling frequency, that is, Freq=0.5 -- is the Nyquist frequency). Pole_Radius is the -- radius of compensating poles. Depending on the value of Class -- the filter will be a stopband (that is, it removes frequency -- Freq) or a passband (that is, it leaves unchanged the component -- at frequency Freq, while attenuating the others). -- function Complexify (X : Real_Filters.Coefficient_Array) return Complex_Filters.Coefficient_Array with Post => X'First = Complexify'Result'First and X'Last = Complexify'Result'Last; -- Create a complex vector from a real one. Quite handy in many -- cases. end DSP.Generic_Functions;
-- -- (c) Copyright 1993,1994,1995,1996 Silicon Graphics, Inc. -- ALL RIGHTS RESERVED -- Permission to use, copy, modify, and distribute this software for -- any purpose and without fee is hereby granted, provided that the above -- copyright notice appear in all copies and that both the copyright notice -- and this permission notice appear in supporting documentation, and that -- the name of Silicon Graphics, Inc. not be used in advertising -- or publicity pertaining to distribution of the software without specific, -- written prior permission. -- -- THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" -- AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, -- INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR -- FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON -- GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, -- SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY -- KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, -- LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF -- THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN -- ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON -- ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE -- POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. -- -- US Government Users Restricted Rights -- Use, duplication, or disclosure by the Government is subject to -- restrictions set forth in FAR 52.227.19(c)(2) or subparagraph -- (c)(1)(ii) of the Rights in Technical Data and Computer Software -- clause at DFARS 252.227-7013 and/or in similar or successor -- clauses in the FAR or the DOD or NASA FAR Supplement. -- Unpublished-- rights reserved under the copyright laws of the -- United States. Contractor/manufacturer is Silicon Graphics, -- Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. -- -- OpenGL(TM) is a trademark of Silicon Graphics, Inc. -- with GL; use GL; with Glut; use Glut; with Text_IO; with Cone_Procs; use Cone_Procs; with Interfaces.C.Strings; procedure Cone is package Tio renames Text_IO; package ICS renames Interfaces.C.Strings; type chars_ptr_ptr is access ICS.chars_ptr; argc : aliased integer; pragma Import (C, argc, "gnat_argc"); argv : chars_ptr_ptr; pragma Import (C, argv, "gnat_argv"); foobar : Integer; begin glutInitWindowSize(500, 500); glutInit (argc'access, argv); glutInitDisplayMode(GLUT_RGB or GLUT_DEPTH or GLUT_SINGLE); foobar := glutCreateWindow ("OpenGL and Ada: cone"); DoInit; glutReshapeFunc (ReshapeCallback'ACCESS); glutDisplayFunc (DoDisplay'ACCESS); glutMainLoop; end Cone;
with System.Debug; -- assertions with C.errno; with C.sched; with C.signal; package body System.Native_Tasks is use type C.signed_int; use type C.unsigned_int; type sigaction_Wrapper is record -- ??? for No_Elaboration_Code Handle : aliased C.signal.struct_sigaction; end record; pragma Suppress_Initialization (sigaction_Wrapper); Old_SIGTERM_Action : aliased sigaction_Wrapper; -- uninitialized Installed_Abort_Handler : Abort_Handler; procedure SIGTERM_Handler ( Signal_Number : C.signed_int; Info : access C.signal.siginfo_t; Context : C.void_ptr) with Convention => C; procedure SIGTERM_Handler ( Signal_Number : C.signed_int; Info : access C.signal.siginfo_t; Context : C.void_ptr) is pragma Unreferenced (Signal_Number); pragma Unreferenced (Info); pragma Unreferenced (Context); begin Installed_Abort_Handler.all; end SIGTERM_Handler; procedure Mask_SIGTERM (How : C.signed_int); procedure Mask_SIGTERM (How : C.signed_int) is Mask : aliased C.signal.sigset_t; errno : C.signed_int; Dummy_R : C.signed_int; begin Dummy_R := C.signal.sigemptyset (Mask'Access); Dummy_R := C.signal.sigaddset (Mask'Access, C.signal.SIGTERM); errno := C.pthread.pthread_sigmask (How, Mask'Access, null); pragma Check (Debug, Check => errno = 0 or else Debug.Runtime_Error ("pthread_sigmask failed")); end Mask_SIGTERM; -- implementation of thread procedure Create ( Handle : aliased out Handle_Type; Parameter : Parameter_Type; Thread_Body : Thread_Body_Type; Error : out Boolean) is begin Error := C.pthread.pthread_create ( Handle'Access, null, Thread_Body.all'Access, -- type is different between platforms Parameter) /= 0; end Create; procedure Join ( Handle : Handle_Type; -- of target thread Current_Abort_Event : access Synchronous_Objects.Event; Result : aliased out Result_Type; Error : out Boolean) is pragma Unreferenced (Current_Abort_Event); begin Error := C.pthread.pthread_join (Handle, Result'Access) /= 0; end Join; procedure Detach ( Handle : Handle_Type; Error : out Boolean) is begin Error := C.pthread.pthread_detach (Handle) /= 0; end Detach; -- implementation of stack function Info_Block (Handle : Handle_Type) return C.pthread.pthread_t is begin return Handle; end Info_Block; -- implementation of signals procedure Install_Abort_Handler (Handler : Abort_Handler) is act : aliased C.signal.struct_sigaction := ( (Unchecked_Tag => 1, sa_sigaction => SIGTERM_Handler'Access), others => <>); -- uninitialized R : C.signed_int; Dummy_R : C.signed_int; begin Installed_Abort_Handler := Handler; act.sa_flags := C.signal.SA_SIGINFO; Dummy_R := C.signal.sigemptyset (act.sa_mask'Access); R := C.signal.sigaction ( C.signal.SIGTERM, act'Access, Old_SIGTERM_Action.Handle'Access); pragma Check (Debug, Check => not (R < 0) or else Debug.Runtime_Error ("sigaction failed")); end Install_Abort_Handler; procedure Uninstall_Abort_Handler is R : C.signed_int; begin R := C.signal.sigaction ( C.signal.SIGTERM, Old_SIGTERM_Action.Handle'Access, null); pragma Check (Debug, Check => not (R < 0) or else Debug.Runtime_Error ("sigaction failed")); end Uninstall_Abort_Handler; procedure Send_Abort_Signal ( Handle : Handle_Type; Abort_Event : in out Synchronous_Objects.Event; Error : out Boolean) is begin -- write to the pipe Synchronous_Objects.Set (Abort_Event); -- send SIGTERM Resend_Abort_Signal (Handle, Error => Error); end Send_Abort_Signal; procedure Resend_Abort_Signal (Handle : Handle_Type; Error : out Boolean) is begin case C.pthread.pthread_kill (Handle, C.signal.SIGTERM) is when 0 => Yield; Error := False; when C.errno.ESRCH => Error := False; -- it is already terminated, C9A003A when others => Error := True; end case; end Resend_Abort_Signal; procedure Block_Abort_Signal (Abort_Event : Synchronous_Objects.Event) is pragma Unreferenced (Abort_Event); begin Mask_SIGTERM (C.signal.SIG_BLOCK); end Block_Abort_Signal; procedure Unblock_Abort_Signal is begin Mask_SIGTERM (C.signal.SIG_UNBLOCK); end Unblock_Abort_Signal; procedure Yield is R : C.signed_int; begin R := C.sched.sched_yield; pragma Check (Debug, Check => not (R < 0) or else Debug.Runtime_Error ("sched_yield failed")); end Yield; end System.Native_Tasks;
-- 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 Tk.TopLevel.Toplevel_Options_Test_Data.Toplevel_Options_Tests is type Test_Toplevel_Options is new GNATtest_Generated.GNATtest_Standard.Tk .TopLevel .Toplevel_Options_Test_Data .Test_Toplevel_Options with null record; procedure Test_Configure_0076be_a80d92 (Gnattest_T: in out Test_Toplevel_Options); -- tk-toplevel.ads:84:4:Configure:Test_Configure_TopLevel end Tk.TopLevel.Toplevel_Options_Test_Data.Toplevel_Options_Tests; -- end read only
package Case_Null is type T is (a, b, c, d, e); subtype S is T range b .. d; subtype S1 is S range a .. d; -- Low bound out of range of base subtype. procedure P1 (X : T); end Case_Null;
-- parse_args-generic_discrete_option.ads -- A simple command line option parser -- Copyright (c) 2015, James Humphry -- -- 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 Profile(No_Implementation_Extensions); with Parse_Args.Generic_Options; generic type Element is (<>); Fallback_Default : Element; with procedure Valid (Arg : in Element; Result : in out Boolean) is null; package Parse_Args.Generic_Discrete_Options is package Inner is new Parse_Args.Generic_Options(Element => Element, Fallback_Default => Fallback_Default, Value => Element'Value, Image => Element'Image, Valid => Valid); subtype Element_Option is Inner.Element_Option; function Image (O : in Element_Option) return String renames Inner.Image; function Value (O : in Element_Option) return Element renames Inner.Value; function Value(A : in Argument_Parser; Name : in String) return Element renames Inner.Value; function Make_Option(Default : in Element := Fallback_Default) return Option_Ptr renames Inner.Make_Option; end Parse_Args.Generic_Discrete_Options;
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- Copyright (C) 2010, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 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. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Text_IO; use Ada.Text_IO; with Ada.Real_Time; use Ada.Real_Time; procedure Pause is begin Put_Line ("Start of test"); Put_Line ("Waiting for 1 sec"); delay until Clock + Milliseconds (1_000); Put_Line ("End of test"); end Pause;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Representation_Clauses; with Program.Lexical_Elements; with Program.Elements.Expressions; package Program.Elements.Attribute_Definition_Clauses is pragma Pure (Program.Elements.Attribute_Definition_Clauses); type Attribute_Definition_Clause is limited interface and Program.Elements.Representation_Clauses.Representation_Clause; type Attribute_Definition_Clause_Access is access all Attribute_Definition_Clause'Class with Storage_Size => 0; not overriding function Name (Self : Attribute_Definition_Clause) return not null Program.Elements.Expressions.Expression_Access is abstract; not overriding function Expression (Self : Attribute_Definition_Clause) return not null Program.Elements.Expressions.Expression_Access is abstract; type Attribute_Definition_Clause_Text is limited interface; type Attribute_Definition_Clause_Text_Access is access all Attribute_Definition_Clause_Text'Class with Storage_Size => 0; not overriding function To_Attribute_Definition_Clause_Text (Self : in out Attribute_Definition_Clause) return Attribute_Definition_Clause_Text_Access is abstract; not overriding function For_Token (Self : Attribute_Definition_Clause_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Use_Token (Self : Attribute_Definition_Clause_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Semicolon_Token (Self : Attribute_Definition_Clause_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; end Program.Elements.Attribute_Definition_Clauses;
package Integer_Exponentiation is -- int^int procedure Exponentiate (Argument : in Integer; Exponent : in Natural; Result : out Integer); function "**" (Left : Integer; Right : Natural) return Integer; -- real^int procedure Exponentiate (Argument : in Float; Exponent : in Integer; Result : out Float); function "**" (Left : Float; Right : Integer) return Float; end Integer_Exponentiation;
<?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>conv_read</name> <ret_bitwidth>32</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>cofm</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>cofm</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>512</bitwidth> </Value> <direction>2</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>ofm_buff0_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ofm_buff0[0]</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>56</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>ofm_buff0_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ofm_buff0[1]</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>56</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>ofm_buff0_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ofm_buff0[2]</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>56</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>ofm_buff0_3</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ofm_buff0[3]</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>56</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>ofm_buff0_4</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ofm_buff0[4]</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>56</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_7"> <Value> <Obj> <type>1</type> <id>7</id> <name>ofm_buff0_5</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ofm_buff0[5]</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>56</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_8"> <Value> <Obj> <type>1</type> <id>8</id> <name>cofm_counter_read</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>cofm_counter</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</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="_9"> <Value> <Obj> <type>1</type> <id>9</id> <name>enable</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>enable</originalName> <rtlName></rtlName> <coreName></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> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>36</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_10"> <Value> <Obj> <type>0</type> <id>11</id> <name>enable_read</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>217</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>D:\Course\mSOC\final</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>finalpool.cpp</first> <second>conv_read</second> </first> <second>217</second> </item> </second> </item> </inlineStackInfo> <originalName>enable</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>58</item> <item>59</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="_11"> <Value> <Obj> <type>0</type> <id>12</id> <name>cofm_counter_read_1</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>217</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>217</second> </item> </second> </item> </inlineStackInfo> <originalName>cofm_counter</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>61</item> <item>62</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>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>13</id> <name>_ln219</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>219</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>219</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>63</item> <item>64</item> <item>65</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>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>15</id> <name>add_ln221</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>221</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>221</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>66</item> <item>68</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>2.55</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>16</id> <name>_ln221</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>221</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>221</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>69</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>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>18</id> <name>j_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>70</item> <item>71</item> <item>73</item> <item>74</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>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>19</id> <name>icmp_ln221</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>221</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>221</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>75</item> <item>77</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.42</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>21</id> <name>j</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>221</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>221</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>78</item> <item>80</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>1.82</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>22</id> <name>_ln221</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>221</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>221</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>81</item> <item>82</item> <item>83</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>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>26</id> <name>zext_ln224</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>224</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>224</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>84</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>10</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>ofm_buff0_0_addr</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>224</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>224</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>85</item> <item>87</item> <item>88</item> </oprand_edges> <opcode>getelementptr</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="_21"> <Value> <Obj> <type>0</type> <id>28</id> <name>ofm_buff0_0_load</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>224</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>224</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>89</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>3.25</m_delay> <m_topoIndex>12</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>bitcast_ln224</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>224</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>224</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>90</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>23</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>cofm_read</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>224</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>224</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>512</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>92</item> <item>93</item> </oprand_edges> <opcode>read</opcode> <m_Display>1</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>1</m_isLCDNode> <m_isStartOfPath>1</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="_24"> <Value> <Obj> <type>0</type> <id>31</id> <name>ofm_buff0_1_addr</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>225</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>225</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>94</item> <item>95</item> <item>96</item> </oprand_edges> <opcode>getelementptr</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>32</id> <name>ofm_buff0_1_load</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>225</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>225</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>97</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>3.25</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>33</id> <name>bitcast_ln225</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>225</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>225</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>98</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>25</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>ofm_buff0_2_addr</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>226</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>226</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>99</item> <item>100</item> <item>101</item> </oprand_edges> <opcode>getelementptr</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>35</id> <name>ofm_buff0_2_load</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>226</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>226</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>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>3.25</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>36</id> <name>bitcast_ln226</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>226</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>226</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>103</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>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>37</id> <name>ofm_buff0_3_addr</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>227</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>227</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>104</item> <item>105</item> <item>106</item> </oprand_edges> <opcode>getelementptr</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="_31"> <Value> <Obj> <type>0</type> <id>38</id> <name>ofm_buff0_3_load</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>227</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>227</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>107</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>3.25</m_delay> <m_topoIndex>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>39</id> <name>bitcast_ln227</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>227</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>227</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>108</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>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>40</id> <name>ofm_buff0_4_addr</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>228</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>228</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>109</item> <item>110</item> <item>111</item> </oprand_edges> <opcode>getelementptr</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="_34"> <Value> <Obj> <type>0</type> <id>41</id> <name>ofm_buff0_4_load</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>228</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>228</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>112</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>3.25</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>42</id> <name>bitcast_ln228</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>228</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>228</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>113</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="_36"> <Value> <Obj> <type>0</type> <id>43</id> <name>ofm_buff0_5_addr</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>229</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>229</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>114</item> <item>115</item> <item>116</item> </oprand_edges> <opcode>getelementptr</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>44</id> <name>ofm_buff0_5_load</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>229</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>229</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>117</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>3.25</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>45</id> <name>bitcast_ln229</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>229</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>229</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>118</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>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>46</id> <name>tmp_s</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>229</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>229</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>192</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>120</item> <item>121</item> <item>122</item> <item>123</item> <item>124</item> <item>125</item> <item>126</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>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>47</id> <name>cofm_b5_addr1516_par</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>229</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>229</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>512</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>128</item> <item>129</item> <item>130</item> <item>132</item> <item>134</item> </oprand_edges> <opcode>partset</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="_41"> <Value> <Obj> <type>0</type> <id>48</id> <name>cofm_write_ln229</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>229</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>229</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>136</item> <item>137</item> <item>138</item> <item>201</item> <item>2147483647</item> </oprand_edges> <opcode>write</opcode> <m_Display>1</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>1</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>50</id> <name>_ln221</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>221</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>221</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>139</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>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>52</id> <name>_ln0</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>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.76</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>54</id> <name>cofm_counter_1</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>217</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>217</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>141</item> <item>142</item> <item>143</item> <item>144</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>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>55</id> <name>_ln244</name> <fileName>finalpool.cpp</fileName> <fileDirectory>D:\Course\mSOC\final</fileDirectory> <lineNumber>244</lineNumber> <contextFuncName>conv_read</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalpool.cpp</first> <second>conv_read</second> </first> <second>244</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>145</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>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_46"> <Value> <Obj> <type>2</type> <id>67</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>56</content> </item> <item class_id_reference="16" object_id="_47"> <Value> <Obj> <type>2</type> <id>72</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>6</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_48"> <Value> <Obj> <type>2</type> <id>76</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>6</bitwidth> </Value> <const_type>0</const_type> <content>56</content> </item> <item class_id_reference="16" object_id="_49"> <Value> <Obj> <type>2</type> <id>79</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>6</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_50"> <Value> <Obj> <type>2</type> <id>86</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>0</content> </item> <item class_id_reference="16" object_id="_51"> <Value> <Obj> <type>2</type> <id>131</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>0</content> </item> <item class_id_reference="16" object_id="_52"> <Value> <Obj> <type>2</type> <id>133</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>191</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_53"> <Obj> <type>3</type> <id>14</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>11</item> <item>12</item> <item>13</item> </node_objs> </item> <item class_id_reference="18" object_id="_54"> <Obj> <type>3</type> <id>17</id> <name>.preheader.preheader</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>15</item> <item>16</item> </node_objs> </item> <item class_id_reference="18" object_id="_55"> <Obj> <type>3</type> <id>23</id> <name>.preheader</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>18</item> <item>19</item> <item>21</item> <item>22</item> </node_objs> </item> <item class_id_reference="18" object_id="_56"> <Obj> <type>3</type> <id>51</id> <name>hls_label_6</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>24</count> <item_version>0</item_version> <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> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>50</item> </node_objs> </item> <item class_id_reference="18" object_id="_57"> <Obj> <type>3</type> <id>53</id> <name>.loopexit.loopexit</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>1</count> <item_version>0</item_version> <item>52</item> </node_objs> </item> <item class_id_reference="18" object_id="_58"> <Obj> <type>3</type> <id>56</id> <name>.loopexit</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>54</item> <item>55</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>79</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_59"> <id>59</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_60"> <id>62</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_61"> <id>63</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>13</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_62"> <id>64</id> <edge_type>2</edge_type> <source_obj>56</source_obj> <sink_obj>13</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_63"> <id>65</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>13</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_64"> <id>66</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_65"> <id>68</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_66"> <id>69</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_67"> <id>70</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>18</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_68"> <id>71</id> <edge_type>2</edge_type> <source_obj>51</source_obj> <sink_obj>18</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_69"> <id>73</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_70"> <id>74</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_71"> <id>75</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_72"> <id>77</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_73"> <id>78</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_74"> <id>80</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_75"> <id>81</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_76"> <id>82</id> <edge_type>2</edge_type> <source_obj>51</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_77"> <id>83</id> <edge_type>2</edge_type> <source_obj>53</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_78"> <id>84</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_79"> <id>85</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="_80"> <id>87</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_81"> <id>88</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_82"> <id>89</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_83"> <id>90</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="_84"> <id>93</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_85"> <id>94</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_86"> <id>95</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_87"> <id>96</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_88"> <id>97</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="_89"> <id>98</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="_90"> <id>99</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_91"> <id>100</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_92"> <id>101</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_93"> <id>102</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_94"> <id>103</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_95"> <id>104</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_96"> <id>105</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_97"> <id>106</id> <edge_type>1</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="_98"> <id>107</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_99"> <id>108</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_100"> <id>109</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_101"> <id>110</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_102"> <id>111</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_103"> <id>112</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="_104"> <id>113</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_105"> <id>114</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_106"> <id>115</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_107"> <id>116</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_108"> <id>117</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="_109"> <id>118</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="_110"> <id>121</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="_111"> <id>122</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_112"> <id>123</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="_113"> <id>124</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_114"> <id>125</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_115"> <id>126</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_116"> <id>129</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_117"> <id>130</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_118"> <id>132</id> <edge_type>1</edge_type> <source_obj>131</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_119"> <id>134</id> <edge_type>1</edge_type> <source_obj>133</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_120"> <id>137</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_121"> <id>138</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_122"> <id>139</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_123"> <id>140</id> <edge_type>2</edge_type> <source_obj>56</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_124"> <id>141</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_125"> <id>142</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_126"> <id>143</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_127"> <id>144</id> <edge_type>2</edge_type> <source_obj>53</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_128"> <id>145</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_129"> <id>194</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_130"> <id>195</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_131"> <id>196</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_132"> <id>197</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_133"> <id>198</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_134"> <id>199</id> <edge_type>2</edge_type> <source_obj>51</source_obj> <sink_obj>23</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_135"> <id>200</id> <edge_type>2</edge_type> <source_obj>53</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_136"> <id>201</id> <edge_type>4</edge_type> <source_obj>30</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_137"> <id>2147483647</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>30</sink_obj> <is_back_edge>1</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_138"> <mId>1</mId> <mTag>conv_read</mTag> <mType>0</mType> <sub_regions> <count>4</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> <item>5</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>1</mMinLatency> <mMaxLatency>115</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_139"> <mId>2</mId> <mTag>Entry</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>14</item> <item>17</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_140"> <mId>3</mId> <mTag>Loop 1</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>23</item> <item>51</item> </basic_blocks> <mII>2</mII> <mDepth>3</mDepth> <mMinTripCount>56</mMinTripCount> <mMaxTripCount>56</mMaxTripCount> <mMinLatency>112</mMinLatency> <mMaxLatency>112</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_141"> <mId>4</mId> <mTag>Region 1</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>53</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_142"> <mId>5</mId> <mTag>Return</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>56</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_143"> <states class_id="25" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_144"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_145"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_146"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_147"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_148"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_149"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_150"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_151"> <id>2</id> <operations> <count>18</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_152"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_153"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_154"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_155"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_156"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_157"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_158"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_159"> <id>28</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_160"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_161"> <id>32</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_162"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_163"> <id>35</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_164"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_165"> <id>38</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_166"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_167"> <id>41</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_168"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_169"> <id>44</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_170"> <id>3</id> <operations> <count>15</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_171"> <id>28</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_172"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_173"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_174"> <id>32</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_175"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_176"> <id>35</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_177"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_178"> <id>38</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_179"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_180"> <id>41</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_181"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_182"> <id>44</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_183"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_184"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_185"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_186"> <id>4</id> <operations> <count>5</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_187"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_188"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_189"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_190"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_191"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_192"> <id>5</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_193"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_194"> <id>6</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_195"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_196"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_197"> <inState>1</inState> <outState>6</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>1</count> <item_version>0</item_version> <item class_id="34" tracking_level="0" version="0"> <first class_id="35" tracking_level="0" version="0"> <first>11</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_198"> <inState>1</inState> <outState>2</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>11</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_199"> <inState>5</inState> <outState>6</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="30" object_id="_200"> <inState>3</inState> <outState>4</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="30" object_id="_201"> <inState>4</inState> <outState>2</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="30" object_id="_202"> <inState>2</inState> <outState>5</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>19</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_203"> <inState>2</inState> <outState>3</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>19</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="37" tracking_level="0" version="0"> <count>36</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>11</first> <second class_id="39" tracking_level="0" version="0"> <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>15</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>18</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>33</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>36</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>39</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>42</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>45</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>5</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="40" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>14</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>51</first> <second> <first>1</first> <second>3</second> </second> </item> <item> <first>53</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>56</first> <second> <first>3</first> <second>3</second> </second> </item> </bblk_ent_exit> <regions class_id="43" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="44" tracking_level="1" version="0" object_id="_204"> <region_name>Loop 1</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>23</item> <item>51</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>2</interval> <pipe_depth>3</pipe_depth> </item> </regions> <dp_fu_nodes class_id="45" tracking_level="0" version="0"> <count>30</count> <item_version>0</item_version> <item class_id="46" tracking_level="0" version="0"> <first>68</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>74</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>80</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>86</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>93</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>100</first> <second> <count>2</count> <item_version>0</item_version> <item>28</item> <item>28</item> </second> </item> <item> <first>106</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>113</first> <second> <count>2</count> <item_version>0</item_version> <item>32</item> <item>32</item> </second> </item> <item> <first>119</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>126</first> <second> <count>2</count> <item_version>0</item_version> <item>35</item> <item>35</item> </second> </item> <item> <first>132</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>139</first> <second> <count>2</count> <item_version>0</item_version> <item>38</item> <item>38</item> </second> </item> <item> <first>145</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>152</first> <second> <count>2</count> <item_version>0</item_version> <item>41</item> <item>41</item> </second> </item> <item> <first>158</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>165</first> <second> <count>2</count> <item_version>0</item_version> <item>44</item> <item>44</item> </second> </item> <item> <first>175</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>185</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>191</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>197</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>203</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>209</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>219</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>223</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>227</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>231</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>235</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>239</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>243</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>259</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="48" tracking_level="0" version="0"> <count>20</count> <item_version>0</item_version> <item class_id="49" tracking_level="0" version="0"> <first>add_ln221_fu_191</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>bitcast_ln224_fu_219</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>bitcast_ln225_fu_223</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>bitcast_ln226_fu_227</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>bitcast_ln227_fu_231</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>bitcast_ln228_fu_235</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>bitcast_ln229_fu_239</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>cofm_b5_addr1516_par_fu_259</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>cofm_counter_1_phi_fu_185</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>icmp_ln221_fu_197</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>j_0_phi_fu_175</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>j_fu_203</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>ofm_buff0_0_addr_gep_fu_93</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>ofm_buff0_1_addr_gep_fu_106</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>ofm_buff0_2_addr_gep_fu_119</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>ofm_buff0_3_addr_gep_fu_132</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>ofm_buff0_4_addr_gep_fu_145</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>ofm_buff0_5_addr_gep_fu_158</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>tmp_s_fu_243</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>zext_ln224_fu_209</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> </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>4</count> <item_version>0</item_version> <item> <first>cofm_counter_read_1_read_fu_74</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>cofm_read_read_fu_80</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>enable_read_read_fu_68</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>write_ln229_write_fu_86</first> <second> <count>1</count> <item_version>0</item_version> <item>48</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="50" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="51" tracking_level="0" version="0"> <first class_id="52" tracking_level="0" version="0"> <first>ofm_buff0_0</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>28</item> <item>28</item> </second> </item> <item> <first> <first>ofm_buff0_1</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>32</item> <item>32</item> </second> </item> <item> <first> <first>ofm_buff0_2</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>35</item> <item>35</item> </second> </item> <item> <first> <first>ofm_buff0_3</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>38</item> <item>38</item> </second> </item> <item> <first> <first>ofm_buff0_4</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>41</item> <item>41</item> </second> </item> <item> <first> <first>ofm_buff0_5</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>44</item> <item>44</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>14</count> <item_version>0</item_version> <item> <first>171</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>182</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>271</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>275</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>280</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>285</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>289</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>294</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>299</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>304</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>309</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>314</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>319</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>324</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>14</count> <item_version>0</item_version> <item> <first>add_ln221_reg_280</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>cofm_b5_addr1516_par_reg_324</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>cofm_counter_1_reg_182</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>cofm_counter_read_1_reg_275</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>enable_read_reg_271</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>icmp_ln221_reg_285</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>j_0_reg_171</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>j_reg_289</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>ofm_buff0_0_addr_reg_294</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>ofm_buff0_1_addr_reg_299</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>ofm_buff0_2_addr_reg_304</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>ofm_buff0_3_addr_reg_309</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>ofm_buff0_4_addr_reg_314</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>ofm_buff0_5_addr_reg_319</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>2</count> <item_version>0</item_version> <item> <first>171</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>182</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>2</count> <item_version>0</item_version> <item> <first>cofm_counter_1_reg_182</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>j_0_reg_171</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="53" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="54" tracking_level="0" version="0"> <first>cofm</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> </second> </item> <item> <first>cofm_counter_read</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> </second> </item> <item> <first>enable</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> </second> </item> <item> <first>ofm_buff0_0(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>2</count> <item_version>0</item_version> <item>28</item> <item>28</item> </second> </item> </second> </item> <item> <first>ofm_buff0_1(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>2</count> <item_version>0</item_version> <item>32</item> <item>32</item> </second> </item> </second> </item> <item> <first>ofm_buff0_2(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>2</count> <item_version>0</item_version> <item>35</item> <item>35</item> </second> </item> </second> </item> <item> <first>ofm_buff0_3(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>2</count> <item_version>0</item_version> <item>38</item> <item>38</item> </second> </item> </second> </item> <item> <first>ofm_buff0_4(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>2</count> <item_version>0</item_version> <item>41</item> <item>41</item> </second> </item> </second> </item> <item> <first>ofm_buff0_5(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>2</count> <item_version>0</item_version> <item>44</item> <item>44</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="55" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="56" tracking_level="0" version="0"> <first>2</first> <second>RAM</second> </item> <item> <first>3</first> <second>RAM</second> </item> <item> <first>4</first> <second>RAM</second> </item> <item> <first>5</first> <second>RAM</second> </item> <item> <first>6</first> <second>RAM</second> </item> <item> <first>7</first> <second>RAM</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with SDL_stdinc_h; package SDL_rect_h is -- Simple DirectMedia Layer -- Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> -- 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. -- --* -- * \file SDL_rect.h -- * -- * Header file for SDL_rect definition and management functions. -- -- Set up for C function definitions, even when using C++ --* -- * \brief The structure that defines a point -- * -- * \sa SDL_EnclosePoints -- * \sa SDL_PointInRect -- type SDL_Point is record x : aliased int; -- ..\SDL2_tmp\SDL_rect.h:50 y : aliased int; -- ..\SDL2_tmp\SDL_rect.h:51 end record; pragma Convention (C_Pass_By_Copy, SDL_Point); -- ..\SDL2_tmp\SDL_rect.h:48 --* -- * \brief A rectangle, with the origin at the upper left. -- * -- * \sa SDL_RectEmpty -- * \sa SDL_RectEquals -- * \sa SDL_HasIntersection -- * \sa SDL_IntersectRect -- * \sa SDL_UnionRect -- * \sa SDL_EnclosePoints -- type SDL_Rect is record x : aliased int; -- ..\SDL2_tmp\SDL_rect.h:66 y : aliased int; -- ..\SDL2_tmp\SDL_rect.h:66 w : aliased int; -- ..\SDL2_tmp\SDL_rect.h:67 h : aliased int; -- ..\SDL2_tmp\SDL_rect.h:67 end record; pragma Convention (C_Pass_By_Copy, SDL_Rect); -- ..\SDL2_tmp\SDL_rect.h:64 --* -- * \brief Returns true if point resides inside a rectangle. -- function SDL_PointInRect (p : access constant SDL_Point; r : access constant SDL_Rect) return SDL_stdinc_h.SDL_bool; -- ..\SDL2_tmp\SDL_rect.h:73 pragma Import (C, SDL_PointInRect, "SDL_PointInRect"); --* -- * \brief Returns true if the rectangle has no area. -- function SDL_RectEmpty (r : access constant SDL_Rect) return SDL_stdinc_h.SDL_bool; -- ..\SDL2_tmp\SDL_rect.h:82 pragma Import (C, SDL_RectEmpty, "SDL_RectEmpty"); --* -- * \brief Returns true if the two rectangles are equal. -- function SDL_RectEquals (a : access constant SDL_Rect; b : access constant SDL_Rect) return SDL_stdinc_h.SDL_bool; -- ..\SDL2_tmp\SDL_rect.h:90 pragma Import (C, SDL_RectEquals, "SDL_RectEquals"); --* -- * \brief Determine whether two rectangles intersect. -- * -- * \return SDL_TRUE if there is an intersection, SDL_FALSE otherwise. -- function SDL_HasIntersection (A : access constant SDL_Rect; B : access constant SDL_Rect) return SDL_stdinc_h.SDL_bool; -- ..\SDL2_tmp\SDL_rect.h:101 pragma Import (C, SDL_HasIntersection, "SDL_HasIntersection"); --* -- * \brief Calculate the intersection of two rectangles. -- * -- * \return SDL_TRUE if there is an intersection, SDL_FALSE otherwise. -- function SDL_IntersectRect (A : access constant SDL_Rect; B : access constant SDL_Rect; result : access SDL_Rect) return SDL_stdinc_h.SDL_bool; -- ..\SDL2_tmp\SDL_rect.h:109 pragma Import (C, SDL_IntersectRect, "SDL_IntersectRect"); --* -- * \brief Calculate the union of two rectangles. -- procedure SDL_UnionRect (A : access constant SDL_Rect; B : access constant SDL_Rect; result : access SDL_Rect); -- ..\SDL2_tmp\SDL_rect.h:116 pragma Import (C, SDL_UnionRect, "SDL_UnionRect"); --* -- * \brief Calculate a minimal rectangle enclosing a set of points -- * -- * \return SDL_TRUE if any points were within the clipping rect -- function SDL_EnclosePoints (points : access constant SDL_Point; count : int; clip : access constant SDL_Rect; result : access SDL_Rect) return SDL_stdinc_h.SDL_bool; -- ..\SDL2_tmp\SDL_rect.h:125 pragma Import (C, SDL_EnclosePoints, "SDL_EnclosePoints"); --* -- * \brief Calculate the intersection of a rectangle and line segment. -- * -- * \return SDL_TRUE if there is an intersection, SDL_FALSE otherwise. -- function SDL_IntersectRectAndLine (rect : access constant SDL_Rect; X1 : access int; Y1 : access int; X2 : access int; Y2 : access int) return SDL_stdinc_h.SDL_bool; -- ..\SDL2_tmp\SDL_rect.h:135 pragma Import (C, SDL_IntersectRectAndLine, "SDL_IntersectRectAndLine"); -- Ends C function definitions when using C++ -- vi: set ts=4 sw=4 expandtab: end SDL_rect_h;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . B B . P A R A M E T E R S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1999-2002 Universidad Politecnica de Madrid -- -- Copyright (C) 2003-2005 The European Space Agency -- -- Copyright (C) 2003-2021, AdaCore -- -- -- -- 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. 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. -- -- -- -- 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. -- -- -- -- The port of GNARL to bare board targets was initially developed by the -- -- Real-Time Systems Group at the Technical University of Madrid. -- -- -- ------------------------------------------------------------------------------ -- This package defines basic parameters used by the low level tasking system -- This is the x86-64 version of this package pragma Restrictions (No_Elaboration_Code); package System.BB.Parameters is pragma Pure; -------------------- -- Hardware clock -- -------------------- Ticks_Per_Second : constant := 1_000_000_000; -- On x86-64 we read the TSC frequency from the CPU and convert that time -- to nanoseconds. TSC_Frequency : constant := 0; -- The frequency of the Time Stamp Clock (TSC) in Hertz. When set to zero -- the runtime will attempt to determine its value from the processor's -- internal registers following the guidelines provided by the Intel 64 and -- IA-32 Architectures Software Developer's Manual, Volume 3B, Section -- 18.7.3. Since the TSC clock source is implemented differently across -- the different Intel chip families, on some certain processors the -- runtime may fail to either determine the TSC frequency or will set it -- incorrectly. In the former case the runtime will raise a Program_Error -- on boot, while for the latter always check to ensure the timing -- behaviour is as expected. In both cases you will need to manual set the -- TSC_Frequency constant above. APIC_Timer_Divider : constant := 16; -- Since the timer frequency is typically in GHz, clock the timer down as -- we do not need such a fine grain timer capable of firing every -- nanosecond (which also means the longest delay we can have before -- having to reset the 32-bit timer is ~ 1 second). Instead we aim for -- microsecond granularity. ---------------- -- Interrupts -- ---------------- -- These definitions are in this package in order to isolate target -- dependencies. subtype Interrupt_Range is Natural range 0 .. 255; -- Number of interrupts supported by the Local APIC ------------ -- Stacks -- ------------ Interrupt_Stack_Frame_Size : constant := 8 * 1024; -- bytes -- Size of the interrupt stack used for handling an interrupt. Interrupt_Stack_Size : constant := Interrupt_Stack_Frame_Size * (Interrupt_Priority'Last - Interrupt_Priority'First + 1); -- Total size of the interrupt stack per processor. Each processor -- allocates an individual interrupt stack frame for each priority level. Interrupt_Sec_Stack_Size : constant := 128; -- Size of the secondary stack for interrupt handlers Exception_Stack_Size : constant := 4096; -- bytes -- Size for each processor exception stack. ---------- -- CPUS -- ---------- Max_Number_Of_CPUs : constant := 1; -- Maximum number of CPUs Multiprocessor : constant Boolean := Max_Number_Of_CPUs /= 1; -- Are we on a multiprocessor board? end System.BB.Parameters;
with Ada.Text_IO; use Ada.Text_IO; procedure Test is function F return integer is begin return 0; end; begin f; end;
-- This pragma will remove the warning produced by the default -- CE filename and the procedure name differing, -- see : https://gcc.gnu.org/onlinedocs/gcc-8.2.0/gnat_rm/Pragma-Source_005fFile_005fName.html#Pragma-Source_005fFile_005fName pragma Source_File_Name (Square, Body_File_Name => "example.adb"); -- Type your code here, or load an example. function Square(num : Integer) return Integer is begin return num**2; end Square; -- Ada 2012 also provides Expression Functions -- (http://www.ada-auth.org/standards/12rm/html/RM-6-8.html) -- as a short hand for functions whose body consists of a -- single return statement. However they cannot be used as a -- complication unit. -- function Square(num : Integer) return Integer is (num**2);
--********** --* Helen --* Added some declarations here to agree with Ada95 manual --******** ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- A D A . E X C E P T I O N S -- -- -- -- S p e c -- -- -- -- $Revision: 2 $ -- -- -- -- Copyright (c) 1992,1993,1994 NYU, All Rights Reserved -- -- -- -- 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, 675 Mass Ave, Cambridge, MA 02139, USA. -- -- -- ------------------------------------------------------------------------------ package Ada.Exceptions is type Exception_Id is private; Null_Id : constant Exception_Id; function Exception_Name(Id : Exception_Id) return String; type Exception_Occurrence is private; type Exception_Occurrence_Access is access all Exception_Occurrence; Null_Occurrence : constant Exception_Occurrence; procedure Raise_Exception (E : in Exception_Id; Message : in String := ""); function Exception_Message(X : Exception_Occurrence) return String; procedure Reraise_Occurrence (X : Exception_Occurrence); function Exception_Identity(X : Exception_Occurrence) return Exception_Id; function Exception_Name (X : Exception_Occurrence) return String; function Exception_Information (X : Exception_Occurrence) return String; procedure Save_Occurrence(Target : out Exception_Occurrence; Source : in Exception_Occurrence); function Save_Occurrence(Source : Exception_Occurrence) return Exception_Occurrence_Access; private -- Dummy definitions for now (body not implemented yet) ??? type Exception_Id is new Integer; Null_Id : constant Exception_Id := 0; type Exception_Occurrence is new Integer; Null_Occurrence : constant Exception_Occurrence := 0; end Ada.Exceptions;
-- This spec has been automatically generated from STM32F105xx.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; with Interfaces; use Interfaces; with System; -- STM32F105xx package STM32 is pragma Preelaborate; --------------- -- Base type -- --------------- subtype Word is Interfaces.Unsigned_32; subtype Short is Interfaces.Unsigned_16; subtype Byte is Interfaces.Unsigned_8; type Bit is mod 2**1 with Size => 1; type UInt2 is mod 2**2 with Size => 2; type UInt3 is mod 2**3 with Size => 3; type UInt4 is mod 2**4 with Size => 4; type UInt5 is mod 2**5 with Size => 5; type UInt6 is mod 2**6 with Size => 6; type UInt7 is mod 2**7 with Size => 7; type UInt9 is mod 2**9 with Size => 9; type UInt10 is mod 2**10 with Size => 10; type UInt11 is mod 2**11 with Size => 11; type UInt12 is mod 2**12 with Size => 12; type UInt13 is mod 2**13 with Size => 13; type UInt14 is mod 2**14 with Size => 14; type UInt15 is mod 2**15 with Size => 15; type UInt17 is mod 2**17 with Size => 17; type UInt18 is mod 2**18 with Size => 18; type UInt19 is mod 2**19 with Size => 19; type UInt20 is mod 2**20 with Size => 20; type UInt21 is mod 2**21 with Size => 21; type UInt22 is mod 2**22 with Size => 22; type UInt23 is mod 2**23 with Size => 23; type UInt24 is mod 2**24 with Size => 24; type UInt25 is mod 2**25 with Size => 25; type UInt26 is mod 2**26 with Size => 26; type UInt27 is mod 2**27 with Size => 27; type UInt28 is mod 2**28 with Size => 28; type UInt29 is mod 2**29 with Size => 29; type UInt30 is mod 2**30 with Size => 30; type UInt31 is mod 2**31 with Size => 31; -------------------- -- Base addresses -- -------------------- PWR_Base : constant System.Address := System'To_Address (16#40007000#); GPIOA_Base : constant System.Address := System'To_Address (16#40010800#); GPIOB_Base : constant System.Address := System'To_Address (16#40010C00#); GPIOC_Base : constant System.Address := System'To_Address (16#40011000#); GPIOD_Base : constant System.Address := System'To_Address (16#40011400#); GPIOE_Base : constant System.Address := System'To_Address (16#40011800#); AFIO_Base : constant System.Address := System'To_Address (16#40010000#); EXTI_Base : constant System.Address := System'To_Address (16#40010400#); DMA1_Base : constant System.Address := System'To_Address (16#40020000#); DMA2_Base : constant System.Address := System'To_Address (16#40020400#); RTC_Base : constant System.Address := System'To_Address (16#40002800#); BKP_Base : constant System.Address := System'To_Address (16#40006C04#); IWDG_Base : constant System.Address := System'To_Address (16#40003000#); WWDG_Base : constant System.Address := System'To_Address (16#40002C00#); TIM1_Base : constant System.Address := System'To_Address (16#40012C00#); TIM2_Base : constant System.Address := System'To_Address (16#40000000#); TIM3_Base : constant System.Address := System'To_Address (16#40000400#); TIM4_Base : constant System.Address := System'To_Address (16#40000800#); TIM5_Base : constant System.Address := System'To_Address (16#40000C00#); TIM6_Base : constant System.Address := System'To_Address (16#40001000#); TIM7_Base : constant System.Address := System'To_Address (16#40001400#); I2C1_Base : constant System.Address := System'To_Address (16#40005400#); I2C2_Base : constant System.Address := System'To_Address (16#40005800#); SPI1_Base : constant System.Address := System'To_Address (16#40013000#); SPI2_Base : constant System.Address := System'To_Address (16#40003800#); SPI3_Base : constant System.Address := System'To_Address (16#40003C00#); USART1_Base : constant System.Address := System'To_Address (16#40013800#); USART2_Base : constant System.Address := System'To_Address (16#40004400#); USART3_Base : constant System.Address := System'To_Address (16#40004800#); ADC1_Base : constant System.Address := System'To_Address (16#40012400#); ADC2_Base : constant System.Address := System'To_Address (16#40012800#); CAN2_Base : constant System.Address := System'To_Address (16#40006800#); CAN1_Base : constant System.Address := System'To_Address (16#40006400#); USB_OTG_GLOBAL_Base : constant System.Address := System'To_Address (16#50000000#); USB_OTG_HOST_Base : constant System.Address := System'To_Address (16#50000400#); USB_OTG_DEVICE_Base : constant System.Address := System'To_Address (16#50000800#); USB_OTG_PWRCLK_Base : constant System.Address := System'To_Address (16#50000E00#); DAC_Base : constant System.Address := System'To_Address (16#40007400#); DBG_Base : constant System.Address := System'To_Address (16#E0042000#); UART4_Base : constant System.Address := System'To_Address (16#40004C00#); UART5_Base : constant System.Address := System'To_Address (16#40005000#); CRC_Base : constant System.Address := System'To_Address (16#40023000#); FLASH_Base : constant System.Address := System'To_Address (16#40022000#); RCC_Base : constant System.Address := System'To_Address (16#40021000#); NVIC_Base : constant System.Address := System'To_Address (16#E000E000#); end STM32;
procedure factorial is i, x: Integer; y: Integer; begin put("Ingrese un numero "); get(x); y := 1; i := 1; while i <= x loop y := y * i; i := i + 1; end loop; put("\nEl resultado es "); put(y); end factorial;
with Trendy_Test.Generics; generic type T is (<>); package Trendy_Test.Assertions.Discrete is -- Defaults all operations to what is visible. procedure Assert_EQ is new Trendy_Test.Generics.Assert_Discrete (T, "=", "="); procedure Assert_NE is new Trendy_Test.Generics.Assert_Discrete (T, "/=", "/="); procedure Assert_LT is new Trendy_Test.Generics.Assert_Discrete (T, "<", "<"); procedure Assert_GT is new Trendy_Test.Generics.Assert_Discrete (T, ">", ">"); procedure Assert_LE is new Trendy_Test.Generics.Assert_Discrete (T, "<=", "<="); procedure Assert_GE is new Trendy_Test.Generics.Assert_Discrete (T, ">=", ">="); end Trendy_Test.Assertions.Discrete;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ pragma Restrictions (No_Elaboration_Code); package STM32.RCC is procedure AHB_Force_Reset with Inline; procedure AHB_Release_Reset with Inline; procedure APB1_Force_Reset with Inline; procedure APB1_Release_Reset with Inline; procedure APB2_Force_Reset with Inline; procedure APB2_Release_Reset with Inline; procedure Backup_Domain_Reset; -- Disable LSE clock and RTC and reset its configurations. --------------------------------------------------------------------------- -- Clock Configuration -------------------------------------------------- --------------------------------------------------------------------------- --------------- -- HSE Clock -- --------------- procedure Set_HSE_Clock (Enable : Boolean; Bypass : Boolean := False; Enable_CSS : Boolean := False) with Post => HSE_Clock_Enabled = Enable; function HSE_Clock_Enabled return Boolean; --------------- -- LSE Clock -- --------------- type HSE_Capability is (Lowest_Drive, Low_Drive, High_Drive, Highest_Drive) with Size => 2; procedure Set_LSE_Clock (Enable : Boolean; Bypass : Boolean := False; Enable_CSS : Boolean := False; Capability : HSE_Capability) with Post => LSE_Clock_Enabled = Enable; function LSE_Clock_Enabled return Boolean; --------------- -- HSI Clock -- --------------- procedure Set_HSI_Clock (Enable : Boolean) with Post => HSI_Clock_Enabled = Enable; -- The HSI clock can't be disabled if it is used directly (via SW mux) as -- system clock or if the HSI is selected as reference clock for PLL with -- PLL enabled (PLLON bit set to ‘1’). It is set by hardware if it is used -- directly or indirectly as system clock. function HSI_Clock_Enabled return Boolean; ----------------- -- HSI48 Clock -- ----------------- procedure Set_HSI48_Clock (Enable : Boolean) with Post => HSI48_Clock_Enabled = Enable; function HSI48_Clock_Enabled return Boolean; --------------- -- LSI Clock -- --------------- procedure Set_LSI_Clock (Enable : Boolean) with Post => LSI_Clock_Enabled = Enable; function LSI_Clock_Enabled return Boolean; ------------------ -- System Clock -- ------------------ type SYSCLK_Clock_Source is (SYSCLK_SRC_HSI, SYSCLK_SRC_HSE, SYSCLK_SRC_PLL) with Size => 2; for SYSCLK_Clock_Source use (SYSCLK_SRC_HSI => 2#01#, SYSCLK_SRC_HSE => 2#10#, SYSCLK_SRC_PLL => 2#11#); procedure Configure_System_Clock_Mux (Source : SYSCLK_Clock_Source); ------------------------ -- AHB and APB Clocks -- ------------------------ type AHB_Prescaler_Enum is (DIV_2, DIV_4, DIV_8, DIV_16, DIV_64, DIV_128, DIV_256, DIV_512) with Size => 3; type AHB_Prescaler is record Enable : Boolean := False; Value : AHB_Prescaler_Enum := AHB_Prescaler_Enum'First; end record with Size => 4; for AHB_Prescaler use record Enable at 0 range 3 .. 3; Value at 0 range 0 .. 2; end record; procedure Configure_AHB_Clock_Prescaler (Value : AHB_Prescaler); -- The AHB clock bus is the CPU clock selected by the AHB prescaler. -- Example to create a variable: -- AHB_PRE : AHB_Prescaler := (Enable => True, Value => DIV_2); type APB_Prescaler_Enum is (DIV_2, DIV_4, DIV_8, DIV_16) with Size => 2; type APB_Prescaler is record Enable : Boolean; Value : APB_Prescaler_Enum := APB_Prescaler_Enum'First; end record with Size => 3; for APB_Prescaler use record Enable at 0 range 2 .. 2; Value at 0 range 0 .. 1; end record; type APB_Clock_Range is (APB_1, APB_2); procedure Configure_APB_Clock_Prescaler (Bus : APB_Clock_Range; Value : APB_Prescaler); -- The APB1 clock bus is the APB1 peripheral clock selected by the APB1 -- prescaler. -- The APB2 clock bus is the APB2 peripheral clock selected by the APB2 -- prescaler. -- Example to create a variable: -- APB_PRE : APB_Prescaler := (Enable => True, Value => DIV_2); ---------------- -- PLL Clocks -- ---------------- type PLL_Clock_Source is (PLL_No_Source_PWR_OFF, PLL_No_Source, PLL_SRC_HSI, PLL_SRC_HSE) with Size => 2; for PLL_Clock_Source use (PLL_No_Source_PWR_OFF => 2#00#, PLL_No_Source => 2#01#, PLL_SRC_HSI => 2#10#, PLL_SRC_HSE => 2#11#); procedure Configure_PLL_Source_Mux (Source : PLL_Clock_Source); subtype PLLM_Range is Integer range 1 .. 16; subtype PLLN_Range is Integer range 8 .. 127; subtype PLLP_Range is Integer range 2 .. 31; subtype PLLQ_Range is Integer range 2 .. 8 with Static_Predicate => (case PLLQ_Range is when 2 | 4 | 6 | 8 => True, when others => False); subtype PLLR_Range is Integer range 2 .. 8 with Static_Predicate => (case PLLR_Range is when 2 | 4 | 6 | 8 => True, when others => False); procedure Configure_PLL (Enable : Boolean; PLLM : PLLM_Range; PLLN : PLLN_Range; PLLP : PLLP_Range; Enable_Output_P : Boolean; PLLQ : PLLQ_Range; Enable_Output_Q : Boolean; PLLR : PLLR_Range; Enable_Output_R : Boolean); -- Configure PLL according with RM0440 rev 6 Chapter 7.2.4 section "PLL" -- pg 282. ------------------- -- Output Clocks -- ------------------- type MCO_Clock_Source is (MCOSEL_Disabled, MCOSEL_SYSCLK, MCOSEL_HSI, MCOSEL_HSE, MCOSEL_PLL, MCOSEL_LSI, MCOSEL_LSE, MCOSEL_HSI48) with Size => 4; for MCO_Clock_Source use (MCOSEL_Disabled => 2#0000#, MCOSEL_SYSCLK => 2#0001#, MCOSEL_HSI => 2#0011#, MCOSEL_HSE => 2#0100#, MCOSEL_PLL => 2#0101#, MCOSEL_LSI => 2#0110#, MCOSEL_LSE => 2#0111#, MCOSEL_HSI48 => 2#1000#); type MCO_Prescaler is (MCOPRE_DIV1, MCOPRE_DIV2, MCOPRE_DIV4, MCOPRE_DIV8, MCOPRE_DIV16) with Size => 3; for MCO_Prescaler use (MCOPRE_DIV1 => 2#000#, MCOPRE_DIV2 => 2#001#, MCOPRE_DIV4 => 2#010#, MCOPRE_DIV8 => 2#011#, MCOPRE_DIV16 => 2#100#); procedure Configure_MCO_Output_Clock (Source : MCO_Clock_Source; Value : MCO_Prescaler); -- Select the source for micro-controller clock output. type LSCO_Clock_Source is (LSI, LSE); procedure Configure_LSCO_Output_Clock (Enable : Boolean; Source : LSCO_Clock_Source := LSCO_Clock_Source'First); ------------------ -- Flash Memory -- ------------------ -- Flash wait states type FLASH_Wait_State is (FWS0, FWS1, FWS2, FWS3, FWS4) with Size => 4; procedure Set_FLASH_Latency (Latency : FLASH_Wait_State); -- Constants for Flash Latency -- with VCORE Range 1 boost mode | Range 1 normal mode -- 000: Zero wait state 0 < HCLK ≤ 34 MHz | 0 < HCLK ≤ 30 MHz -- 001: One wait state 34 < HCLK ≤ 68 MHz | 30 < HCLK ≤ 60 MHz -- 010: Two wait sates 68 < HCLK ≤ 102 MHz | 60 < HCLK ≤ 90 MHz -- 011: Three wait sates 102 < HCLK ≤ 136 MHz | 90 < HCLK ≤ 120 MHz -- 100: Four wait sates 136 < HCLK ≤ 170 MHz | 120 < HCLK ≤ 150 MHz -- RM0440 STM32G474 pg. 97 chapter 3.3.3 and pg. 129 chapter 3.7.1 ------------------- -- VCORE Scaling -- ------------------- type VCORE_Scaling_Selection is (Range_1, Range_2); for VCORE_Scaling_Selection use (Range_1 => 2#01#, Range_2 => 2#10#); procedure Set_VCORE_Scaling (Scale : VCORE_Scaling_Selection); -- Range 2 => PLL max. is 26 MHz, -- Range 1 => PLL max. is 150 MHz, -- Range 1 boost => PLL max. is 170 MHz, -- See RM0440 rev 6 Chapter 7.2.8 for frequency x voltage scaling. procedure PWR_Overdrive_Enable; -- Range 1 boost mode (R1MODE = 0) when SYSCLK ≤ 170 MHz. -- Range 1 normal mode (R1MODE = 1) when SYSCLK ≤ 150 MHz. -- See RM0440 ver 4 pg. 235 chapter 6.1.5 for other modes. end STM32.RCC;
with ObjectPack, AbstractStrategyPackage, StrategyPackage, VisitablePackage; use ObjectPack, AbstractStrategyPackage, StrategyPackage, VisitablePackage; package AbstractStrategyCombinatorPackage is type AbstractStrategyCombinator is abstract new AbstractStrategy and Object with record arguments : ObjectPtrArrayPtr := null; --contains only StrategyPtr end record; ---------------------------------------------------------------------------- -- Visitable implementation ---------------------------------------------------------------------------- function setChildren(v: access AbstractStrategyCombinator ; children : ObjectPtrArrayPtr) return VisitablePtr; function getChildren(v: access AbstractStrategyCombinator) return ObjectPtrArrayPtr; function getChildAt(v: access AbstractStrategyCombinator; i : Integer) return VisitablePtr; function setChildAt(v: access AbstractStrategyCombinator; i: in Integer; child: in VisitablePtr) return VisitablePtr; function getChildCount(v: access AbstractStrategyCombinator) return Integer; ---------------------------------------------------------------------------- procedure initSubterm(sc : in out AbstractStrategyCombinator); procedure initSubterm(sc : in out AbstractStrategyCombinator; str : StrategyPtr); procedure initSubterm(sc : in out AbstractStrategyCombinator; str1,str2 : StrategyPtr); procedure initSubterm(sc : in out AbstractStrategyCombinator; str1,str2,str3 : StrategyPtr); procedure initSubterm(sc : in out AbstractStrategyCombinator; str : ObjectPtrArray); function getVisitors(sc: AbstractStrategyCombinator) return ObjectPtrArray; ---------------------------------------------------------------------------- end AbstractStrategyCombinatorPackage;
------------------------------------------------------------------------------ -- -- -- 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. ------------------------------------------------------------------------------ with AMF.Internals.OCL_Elements; with AMF.OCL.If_Exps; with AMF.OCL.Ocl_Expressions; with AMF.UML.Comments.Collections; with AMF.UML.Dependencies.Collections; with AMF.UML.Elements.Collections; with AMF.UML.Named_Elements; with AMF.UML.Namespaces.Collections; with AMF.UML.Packages.Collections; with AMF.UML.String_Expressions; with AMF.UML.Types; with AMF.Visitors; package AMF.Internals.OCL_If_Exps is type OCL_If_Exp_Proxy is limited new AMF.Internals.OCL_Elements.OCL_Element_Proxy and AMF.OCL.If_Exps.OCL_If_Exp with null record; overriding function Get_Condition (Self : not null access constant OCL_If_Exp_Proxy) return AMF.OCL.Ocl_Expressions.OCL_Ocl_Expression_Access; -- Getter of IfExp::condition. -- overriding procedure Set_Condition (Self : not null access OCL_If_Exp_Proxy; To : AMF.OCL.Ocl_Expressions.OCL_Ocl_Expression_Access); -- Setter of IfExp::condition. -- overriding function Get_Then_Expression (Self : not null access constant OCL_If_Exp_Proxy) return AMF.OCL.Ocl_Expressions.OCL_Ocl_Expression_Access; -- Getter of IfExp::thenExpression. -- overriding procedure Set_Then_Expression (Self : not null access OCL_If_Exp_Proxy; To : AMF.OCL.Ocl_Expressions.OCL_Ocl_Expression_Access); -- Setter of IfExp::thenExpression. -- overriding function Get_Else_Expression (Self : not null access constant OCL_If_Exp_Proxy) return AMF.OCL.Ocl_Expressions.OCL_Ocl_Expression_Access; -- Getter of IfExp::elseExpression. -- overriding procedure Set_Else_Expression (Self : not null access OCL_If_Exp_Proxy; To : AMF.OCL.Ocl_Expressions.OCL_Ocl_Expression_Access); -- Setter of IfExp::elseExpression. -- overriding function Get_Type (Self : not null access constant OCL_If_Exp_Proxy) return AMF.UML.Types.UML_Type_Access; -- Getter of TypedElement::type. -- -- The type of the TypedElement. -- This information is derived from the return result for this Operation. overriding procedure Set_Type (Self : not null access OCL_If_Exp_Proxy; To : AMF.UML.Types.UML_Type_Access); -- Setter of TypedElement::type. -- -- The type of the TypedElement. -- This information is derived from the return result for this Operation. overriding function Get_Client_Dependency (Self : not null access constant OCL_If_Exp_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 (Self : not null access constant OCL_If_Exp_Proxy) return AMF.Optional_String; -- Getter of NamedElement::name. -- -- The name of the NamedElement. overriding procedure Set_Name (Self : not null access OCL_If_Exp_Proxy; To : AMF.Optional_String); -- Setter of NamedElement::name. -- -- The name of the NamedElement. overriding function Get_Name_Expression (Self : not null access constant OCL_If_Exp_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 OCL_If_Exp_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 OCL_If_Exp_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 OCL_If_Exp_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 Get_Visibility (Self : not null access constant OCL_If_Exp_Proxy) return AMF.UML.Optional_UML_Visibility_Kind; -- Getter of NamedElement::visibility. -- -- Determines where the NamedElement appears within different Namespaces -- within the overall model, and its accessibility. overriding procedure Set_Visibility (Self : not null access OCL_If_Exp_Proxy; To : AMF.UML.Optional_UML_Visibility_Kind); -- Setter of NamedElement::visibility. -- -- Determines where the NamedElement appears within different Namespaces -- within the overall model, and its accessibility. overriding function Get_Owned_Comment (Self : not null access constant OCL_If_Exp_Proxy) return AMF.UML.Comments.Collections.Set_Of_UML_Comment; -- Getter of Element::ownedComment. -- -- The Comments owned by this element. overriding function Get_Owned_Element (Self : not null access constant OCL_If_Exp_Proxy) return AMF.UML.Elements.Collections.Set_Of_UML_Element; -- Getter of Element::ownedElement. -- -- The Elements owned by this element. overriding function Get_Owner (Self : not null access constant OCL_If_Exp_Proxy) return AMF.UML.Elements.UML_Element_Access; -- Getter of Element::owner. -- -- The Element that owns this element. overriding function All_Namespaces (Self : not null access constant OCL_If_Exp_Proxy) return AMF.UML.Namespaces.Collections.Ordered_Set_Of_UML_Namespace; -- Operation NamedElement::allNamespaces. -- -- The query allNamespaces() gives the sequence of namespaces in which the -- NamedElement is nested, working outwards. overriding function All_Owning_Packages (Self : not null access constant OCL_If_Exp_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 OCL_If_Exp_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 OCL_If_Exp_Proxy) return AMF.UML.Namespaces.UML_Namespace_Access; -- Operation NamedElement::namespace. -- -- Missing derivation for NamedElement::/namespace : Namespace overriding function Qualified_Name (Self : not null access constant OCL_If_Exp_Proxy) return League.Strings.Universal_String; -- Operation NamedElement::qualifiedName. -- -- When there is a name, and all of the containing namespaces have a name, -- the qualified name is constructed from the names of the containing -- namespaces. overriding function Separator (Self : not null access constant OCL_If_Exp_Proxy) return League.Strings.Universal_String; -- Operation NamedElement::separator. -- -- The query separator() gives the string that is used to separate names -- when constructing a qualified name. overriding function All_Owned_Elements (Self : not null access constant OCL_If_Exp_Proxy) return AMF.UML.Elements.Collections.Set_Of_UML_Element; -- Operation Element::allOwnedElements. -- -- The query allOwnedElements() gives all of the direct and indirect owned -- elements of an element. overriding function Must_Be_Owned (Self : not null access constant OCL_If_Exp_Proxy) return Boolean; -- Operation Element::mustBeOwned. -- -- The query mustBeOwned() indicates whether elements of this type must -- have an owner. Subclasses of Element that do not require an owner must -- override this operation. overriding procedure Enter_Element (Self : not null access constant OCL_If_Exp_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); overriding procedure Leave_Element (Self : not null access constant OCL_If_Exp_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); overriding procedure Visit_Element (Self : not null access constant OCL_If_Exp_Proxy; Iterator : in out AMF.Visitors.Abstract_Iterator'Class; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); end AMF.Internals.OCL_If_Exps;
----------------------------------------------------------------------- -- basic properties -- Basic types properties -- Copyright (C) 2001, 2002, 2003, 2006, 2008, 2009, 2010 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.Properties.Discrete; package Util.Properties.Basic is pragma Elaborate_Body; -- Get/Set boolean properties. package Boolean_Property is new Util.Properties.Discrete (Boolean); -- Get/Set integer properties. package Integer_Property is new Util.Properties.Discrete (Integer); end Util.Properties.Basic;
with AdaM.Comment, AdaM.raw_Source, AdaM.a_Type.enumeration_type, Glib, Glib.Error, Glib.Object, Gtk.Builder, Gtk.Handlers, Pango.Font; with Ada.Text_IO; use Ada.Text_IO; package body aIDE.Palette.of_source_entities is use Glib, Glib.Error, Glib.Object, Gtk.Builder, Gtk.Button, Gtk.Window; -- Events -- procedure on_raw_source_Button_clicked (the_Button : access Gtk_Button_Record'Class; Self : in aIDE.Palette.of_source_entities.view) is pragma Unreferenced (the_Button); new_Source : constant AdaM.raw_Source.view := AdaM.raw_Source.new_Source; begin Self.Target.append (new_Source.all'Access); Self.Top.Hide; Self.Invoked_by.freshen; end on_raw_source_Button_clicked; procedure on_comment_Button_clicked (the_Button : access Gtk_Button_Record'Class; Self : in aIDE.Palette.of_source_entities.view) is pragma Unreferenced (the_Button); new_Comment : constant AdaM.Comment.view := AdaM.Comment.new_Comment; begin Self.Target.append (new_Comment.all'Access); Self.Top.Hide; Self.Invoked_by.freshen; end on_comment_Button_clicked; procedure on_enumeration_type_Button_clicked (the_Button : access Gtk_Button_Record'Class; Self : in aIDE.Palette.of_source_entities.view) is pragma Unreferenced (the_Button); new_Enumeration : constant AdaM.a_Type.enumeration_type.view := AdaM.a_Type.enumeration_type.new_Type (""); begin Self.Target.append (new_Enumeration.all'Access); Self.Top.Hide; Self.Invoked_by.freshen; end on_enumeration_type_Button_clicked; package Button_Callbacks is new Gtk.Handlers.User_Callback (Gtk_Button_Record, aIDE.Palette.of_source_entities.view); -- Forge -- function to_source_entities_Palette return View is Self : constant Palette.of_source_entities.view := new Palette.of_source_entities.item; the_Builder : Gtk_Builder; Error : aliased GError; Result : Guint; pragma Unreferenced (Result); begin gtk_New (the_Builder); Result := the_Builder.add_from_File ("glade/source_entity_options.glade", Error'Access); if Error /= null then Put_Line ("Error: 'adam.Palette.of_source_Entities' ~ " & Get_Message (Error)); Error_Free (Error); end if; Self.Top := gtk_Window (the_Builder.get_Object ("top_Window")); Self.new_type_Frame := gtk_Frame (the_Builder.get_Object ("new_type_Frame")); Self.raw_source_Button := gtk_Button (the_Builder.get_Object ("raw_source_Button")); Self.comment_Button := gtk_Button (the_Builder.get_Object ("comment_Button")); Self.enumeration_type_Button := gtk_Button (the_Builder.get_Object ("new_enumeration_Button")); Self.close_Button := gtk_Button (the_Builder.get_Object ("close_Button")); Button_Callbacks.connect (Self.raw_source_Button, "clicked", on_raw_source_Button_clicked'Access, Self); Button_Callbacks.connect (Self.comment_Button, "clicked", on_comment_Button_clicked'Access, Self); Button_Callbacks.connect (Self.enumeration_type_Button, "clicked", on_enumeration_type_Button_clicked'Access, Self); Self.Top.modify_Font (Font_Desc => Pango.Font.From_String ("Courier 10")); Self.freshen; return Self; end to_source_entities_Palette; -- Attributes -- function top_Widget (Self : in Item) return gtk.Widget.Gtk_Widget is begin return gtk.Widget.Gtk_Widget (Self.Top); end top_Widget; procedure show (Self : in out Item; Invoked_by : in aIDE.Editor.view; -- Target : in AdaM.Source.Entities_view; Target : in AdaM.Entity.Entities_view; Allowed : in Filter) is begin Self.Invoked_by := Invoked_by; Self.Target := Target; case Allowed is when declare_Region => Self.new_type_Frame.show; when begin_Region => Self.new_type_Frame.hide; end case; Self.Top.show; end show; procedure freshen (Self : in out Item) is begin null; end freshen; end aIDE.Palette.of_source_entities;
with Ada.Text_IO, Ada.Containers.Doubly_Linked_Lists; use Ada.Text_IO; procedure dll is Equal_Limit : constant := 10; generic Threshold : in Integer := 0; function Special_Equal (Left, Right : Integer) return Boolean; function Special_Equal (Left, Right : Integer) return Boolean is begin return abs (Left - Right) <= Threshold; end Special_Equal; function Int_Cmp_Fuzzy is new Special_Equal (Threshold => Equal_Limit); package Integer_List is new Ada.Containers.Doubly_Linked_Lists (Element_Type => Integer, "=" => Int_Cmp_Fuzzy); package Int_IO is new Ada.Text_IO.Integer_IO (Integer); use Int_IO; A_List : Integer_List.List; begin -- we can write it like this: Pkg.Subprogram (O, ...) Integer_List.Append (A_List, 10); Integer_List.Append (A_List, 200); Integer_List.Append (A_List, 220); for E of A_List loop Put (E); New_Line; end loop; -- or like this: O.Subprogram (...) if A_List.Contains (200) then Put_Line ("Contains 200"); end if; -- we haven't put a 210 into the list, but our fuzzy cmp -- says we did. if A_List.Contains (210) then Put_Line ("it seems there's a 210 too"); end if; end dll;
------------------------------------------------------------------------------ -- 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. ------------------------------------------------------------------------------ package Asis.Gela.Elements.Clause is ----------------------- -- Named_Clause_Node -- ----------------------- type Named_Clause_Node is abstract new Clause_Node with private; type Named_Clause_Ptr is access all Named_Clause_Node; for Named_Clause_Ptr'Storage_Pool use Lists.Pool; function Clause_Names (Element : Named_Clause_Node; Include_Pragmas : in Boolean := False) return Asis.Element_List; procedure Set_Clause_Names (Element : in out Named_Clause_Node; Value : in Asis.Element); function Clause_Names_List (Element : Named_Clause_Node) return Asis.Element; function Children (Element : access Named_Clause_Node) return Traverse_List; ----------------------------- -- Use_Package_Clause_Node -- ----------------------------- type Use_Package_Clause_Node is new Named_Clause_Node with private; type Use_Package_Clause_Ptr is access all Use_Package_Clause_Node; for Use_Package_Clause_Ptr'Storage_Pool use Lists.Pool; function New_Use_Package_Clause_Node (The_Context : ASIS.Context) return Use_Package_Clause_Ptr; function Clause_Kind (Element : Use_Package_Clause_Node) return Asis.Clause_Kinds; function Clone (Element : Use_Package_Clause_Node; Parent : Asis.Element) return Asis.Element; procedure Copy (Source : in Asis.Element; Target : access Use_Package_Clause_Node; Cloner : in Cloner_Class; Parent : in Asis.Element); -------------------------- -- Use_Type_Clause_Node -- -------------------------- type Use_Type_Clause_Node is new Named_Clause_Node with private; type Use_Type_Clause_Ptr is access all Use_Type_Clause_Node; for Use_Type_Clause_Ptr'Storage_Pool use Lists.Pool; function New_Use_Type_Clause_Node (The_Context : ASIS.Context) return Use_Type_Clause_Ptr; function Clause_Kind (Element : Use_Type_Clause_Node) return Asis.Clause_Kinds; function Clone (Element : Use_Type_Clause_Node; Parent : Asis.Element) return Asis.Element; procedure Copy (Source : in Asis.Element; Target : access Use_Type_Clause_Node; Cloner : in Cloner_Class; Parent : in Asis.Element); ---------------------- -- With_Clause_Node -- ---------------------- type With_Clause_Node is new Named_Clause_Node with private; type With_Clause_Ptr is access all With_Clause_Node; for With_Clause_Ptr'Storage_Pool use Lists.Pool; function New_With_Clause_Node (The_Context : ASIS.Context) return With_Clause_Ptr; function Has_Limited (Element : With_Clause_Node) return Boolean; procedure Set_Has_Limited (Element : in out With_Clause_Node; Value : in Boolean); function Has_Private (Element : With_Clause_Node) return Boolean; procedure Set_Has_Private (Element : in out With_Clause_Node; Value : in Boolean); function Clause_Kind (Element : With_Clause_Node) return Asis.Clause_Kinds; function Clone (Element : With_Clause_Node; Parent : Asis.Element) return Asis.Element; procedure Copy (Source : in Asis.Element; Target : access With_Clause_Node; Cloner : in Cloner_Class; Parent : in Asis.Element); -------------------------------- -- Representation_Clause_Node -- -------------------------------- type Representation_Clause_Node is abstract new Clause_Node with private; type Representation_Clause_Ptr is access all Representation_Clause_Node; for Representation_Clause_Ptr'Storage_Pool use Lists.Pool; function Representation_Clause_Name (Element : Representation_Clause_Node) return Asis.Name; procedure Set_Representation_Clause_Name (Element : in out Representation_Clause_Node; Value : in Asis.Name); function Clause_Kind (Element : Representation_Clause_Node) return Asis.Clause_Kinds; function Children (Element : access Representation_Clause_Node) return Traverse_List; --------------------------- -- Component_Clause_Node -- --------------------------- type Component_Clause_Node is new Clause_Node with private; type Component_Clause_Ptr is access all Component_Clause_Node; for Component_Clause_Ptr'Storage_Pool use Lists.Pool; function New_Component_Clause_Node (The_Context : ASIS.Context) return Component_Clause_Ptr; function Component_Clause_Position (Element : Component_Clause_Node) return Asis.Expression; procedure Set_Component_Clause_Position (Element : in out Component_Clause_Node; Value : in Asis.Expression); function Component_Clause_Range (Element : Component_Clause_Node) return Asis.Discrete_Range; procedure Set_Component_Clause_Range (Element : in out Component_Clause_Node; Value : in Asis.Discrete_Range); function Representation_Clause_Name (Element : Component_Clause_Node) return Asis.Name; procedure Set_Representation_Clause_Name (Element : in out Component_Clause_Node; Value : in Asis.Name); function Clause_Kind (Element : Component_Clause_Node) return Asis.Clause_Kinds; function Children (Element : access Component_Clause_Node) return Traverse_List; function Clone (Element : Component_Clause_Node; Parent : Asis.Element) return Asis.Element; procedure Copy (Source : in Asis.Element; Target : access Component_Clause_Node; Cloner : in Cloner_Class; Parent : in Asis.Element); private type Named_Clause_Node is abstract new Clause_Node with record Clause_Names : aliased Primary_Expression_Lists.List; end record; type Use_Package_Clause_Node is new Named_Clause_Node with record null; end record; type Use_Type_Clause_Node is new Named_Clause_Node with record null; end record; type With_Clause_Node is new Named_Clause_Node with record Has_Limited : aliased Boolean := False; Has_Private : aliased Boolean := False; end record; type Representation_Clause_Node is abstract new Clause_Node with record Representation_Clause_Name : aliased Asis.Name; end record; type Component_Clause_Node is new Clause_Node with record Component_Clause_Position : aliased Asis.Expression; Component_Clause_Range : aliased Asis.Discrete_Range; Representation_Clause_Name : aliased Asis.Name; end record; end Asis.Gela.Elements.Clause;
-- Copyright 2017 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. name = "ArchiveIt" type = "archive" function start() setratelimit(5) end function vertical(ctx, domain) scrape(ctx, {['url']=buildurl(domain)}) end function buildurl(domain) return "https://wayback.archive-it.org/all/timemap/cdx?matchType=domain&fl=original&collapse=urlkey&url=" .. domain end
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- SYSTEM.BB.CPU_PRIMITIVES.CONTEXT_SWITCH_TRIGGER -- -- -- -- S p e c -- -- -- -- Copyright (C) 1999-2002 Universidad Politecnica de Madrid -- -- Copyright (C) 2003-2004 The European Space Agency -- -- Copyright (C) 2017, 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. -- -- -- -- The port of GNARL to bare board targets was initially developed by the -- -- Real-Time Systems Group at the Technical University of Madrid. -- -- -- ------------------------------------------------------------------------------ pragma Restrictions (No_Elaboration_Code); package System.BB.CPU_Primitives.Context_Switch_Trigger is pragma Preelaborate; procedure Initialize_Context_Switch; -- Procedure that performs the hardware initialization of the context -- switch features. This procedure will be called by Initialize_CPU, if -- necessary. procedure Trigger_Context_Switch; -- One some platforms, the context switch requires the triggering of an or -- Trap or an IRQ. end System.BB.CPU_Primitives.Context_Switch_Trigger;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY COMPONENTS -- -- -- -- S Y S T E M . C O M P A R E _ A R R A Y _ U N S I G N E D _ 6 4 -- -- -- -- B o d y -- -- -- -- Copyright (C) 2002-2005 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, 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. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.Address_Operations; use System.Address_Operations; with Unchecked_Conversion; package body System.Compare_Array_Unsigned_64 is type Word is mod 2 ** 64; -- Used to process operands by words type Uword is record W : Word; end record; pragma Pack (Uword); for Uword'Alignment use 1; -- Used to process operands when unaligned type WP is access Word; type UP is access Uword; function W is new Unchecked_Conversion (Address, WP); function U is new Unchecked_Conversion (Address, UP); ----------------------- -- Compare_Array_U64 -- ----------------------- function Compare_Array_U64 (Left : System.Address; Right : System.Address; Left_Len : Natural; Right_Len : Natural) return Integer is Clen : Natural := Natural'Min (Left_Len, Right_Len); -- Number of elements left to compare L : Address := Left; R : Address := Right; -- Pointers to next elements to compare begin -- Case of going by aligned double words if ModA (OrA (Left, Right), 8) = 0 then while Clen /= 0 loop if W (L).all /= W (R).all then if W (L).all > W (R).all then return +1; else return -1; end if; end if; Clen := Clen - 1; L := AddA (L, 8); R := AddA (R, 8); end loop; -- Case of going by unaligned double words else while Clen /= 0 loop if U (L).W /= U (R).W then if U (L).W > U (R).W then return +1; else return -1; end if; end if; Clen := Clen - 1; L := AddA (L, 8); R := AddA (R, 8); end loop; end if; -- Here if common section equal, result decided by lengths if Left_Len = Right_Len then return 0; elsif Left_Len > Right_Len then return +1; else return -1; end if; end Compare_Array_U64; end System.Compare_Array_Unsigned_64;
<?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>matrixmul</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>3</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>A</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>A</originalName> <rtlName></rtlName> <coreName>RAM_1P</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>1024</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>B</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>B</originalName> <rtlName></rtlName> <coreName>RAM_1P</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>1024</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>AB</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>AB</originalName> <rtlName></rtlName> <coreName>RAM_1P</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>1024</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>40</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_4"> <Value> <Obj> <type>0</type> <id>15</id> <name>_ln10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>D:\msoc\pp4fpgas-master\examples</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>matrixmultiplication.cpp</first> <second>matrixmul</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>75</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>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>17</id> <name>i_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>77</item> <item>78</item> <item>79</item> <item>80</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>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>18</id> <name>icmp_ln10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</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>81</item> <item>83</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.42</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>20</id> <name>i</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>84</item> <item>86</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>1.82</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>21</id> <name>_ln10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>10</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>87</item> <item>88</item> <item>89</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>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>25</id> <name>tmp_2</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>91</item> <item>92</item> <item>94</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>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>26</id> <name>zext_ln11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>95</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>7</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>_ln11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</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>96</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>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>29</id> <name>j_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>97</item> <item>98</item> <item>99</item> <item>100</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>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>30</id> <name>icmp_ln11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</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>101</item> <item>102</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.42</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>32</id> <name>j</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>103</item> <item>104</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>1.82</m_delay> <m_topoIndex>12</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>_ln11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</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>105</item> <item>106</item> <item>107</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>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>37</id> <name>zext_ln18</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>108</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>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>38</id> <name>add_ln18</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>109</item> <item>110</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>1.63</m_delay> <m_topoIndex>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>39</id> <name>zext_ln18_1</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</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>111</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>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>40</id> <name>AB_addr</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>112</item> <item>114</item> <item>115</item> </oprand_edges> <opcode>getelementptr</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="_20"> <Value> <Obj> <type>0</type> <id>41</id> <name>_ln15</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>15</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>116</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>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>43</id> <name>ABij_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ABij</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>118</item> <item>119</item> <item>120</item> <item>121</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>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>44</id> <name>k_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>k</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>122</item> <item>123</item> <item>124</item> <item>125</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>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>45</id> <name>icmp_ln15</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>15</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>126</item> <item>127</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.42</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>47</id> <name>k</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>15</second> </item> </second> </item> </inlineStackInfo> <originalName>k</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>128</item> <item>129</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>1.82</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>48</id> <name>_ln15</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>15</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>130</item> <item>131</item> <item>132</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>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>51</id> <name>zext_ln16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>133</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>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>52</id> <name>add_ln16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>134</item> <item>135</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>1.63</m_delay> <m_topoIndex>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>53</id> <name>zext_ln16_1</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</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>136</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>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>54</id> <name>A_addr</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>137</item> <item>138</item> <item>139</item> </oprand_edges> <opcode>getelementptr</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="_30"> <Value> <Obj> <type>0</type> <id>55</id> <name>tmp_3</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>140</item> <item>141</item> <item>142</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>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>56</id> <name>zext_ln16_2</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>143</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>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>57</id> <name>add_ln16_1</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>144</item> <item>145</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>1.63</m_delay> <m_topoIndex>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>58</id> <name>zext_ln16_3</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</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>146</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>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>59</id> <name>B_addr</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>147</item> <item>148</item> <item>149</item> </oprand_edges> <opcode>getelementptr</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>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>60</id> <name>A_load</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>150</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>2.56</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>61</id> <name>B_load</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>151</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>2.56</m_delay> <m_topoIndex>35</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>mul_ln16</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>152</item> <item>153</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.95</m_delay> <m_topoIndex>38</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>ABij</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName>ABij</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>154</item> <item>155</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>2.55</m_delay> <m_topoIndex>39</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>64</id> <name>_ln15</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>15</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>156</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="_40"> <Value> <Obj> <type>0</type> <id>66</id> <name>AB_addr_write_ln18</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>157</item> <item>158</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>2.56</m_delay> <m_topoIndex>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>68</id> <name>_ln11</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>11</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>11</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>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>37</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>71</id> <name>_ln10</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</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>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="_43"> <Value> <Obj> <type>0</type> <id>73</id> <name>_ln21</name> <fileName>matrixmultiplication.cpp</fileName> <fileDirectory>D:\msoc\pp4fpgas-master\examples</fileDirectory> <lineNumber>21</lineNumber> <contextFuncName>matrixmul</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\msoc\pp4fpgas-master\examples</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>matrixmultiplication.cpp</first> <second>matrixmul</second> </first> <second>21</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <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> </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="_44"> <Value> <Obj> <type>2</type> <id>76</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>6</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_45"> <Value> <Obj> <type>2</type> <id>82</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>6</bitwidth> </Value> <const_type>0</const_type> <content>32</content> </item> <item class_id_reference="16" object_id="_46"> <Value> <Obj> <type>2</type> <id>85</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>6</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_47"> <Value> <Obj> <type>2</type> <id>93</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>5</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_48"> <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>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_49"> <Value> <Obj> <type>2</type> <id>117</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>0</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_50"> <Obj> <type>3</type> <id>16</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>1</count> <item_version>0</item_version> <item>15</item> </node_objs> </item> <item class_id_reference="18" object_id="_51"> <Obj> <type>3</type> <id>22</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>17</item> <item>18</item> <item>20</item> <item>21</item> </node_objs> </item> <item class_id_reference="18" object_id="_52"> <Obj> <type>3</type> <id>28</id> <name>row_begin</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>25</item> <item>26</item> <item>27</item> </node_objs> </item> <item class_id_reference="18" object_id="_53"> <Obj> <type>3</type> <id>34</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>29</item> <item>30</item> <item>32</item> <item>33</item> </node_objs> </item> <item class_id_reference="18" object_id="_54"> <Obj> <type>3</type> <id>42</id> <name>col_begin</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>5</count> <item_version>0</item_version> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> </node_objs> </item> <item class_id_reference="18" object_id="_55"> <Obj> <type>3</type> <id>49</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>5</count> <item_version>0</item_version> <item>43</item> <item>44</item> <item>45</item> <item>47</item> <item>48</item> </node_objs> </item> <item class_id_reference="18" object_id="_56"> <Obj> <type>3</type> <id>65</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>14</count> <item_version>0</item_version> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> <item>64</item> </node_objs> </item> <item class_id_reference="18" object_id="_57"> <Obj> <type>3</type> <id>69</id> <name>col_end</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>66</item> <item>68</item> </node_objs> </item> <item class_id_reference="18" object_id="_58"> <Obj> <type>3</type> <id>72</id> <name>row_end</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>1</count> <item_version>0</item_version> <item>71</item> </node_objs> </item> <item class_id_reference="18" object_id="_59"> <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>1</count> <item_version>0</item_version> <item>73</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>89</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_60"> <id>75</id> <edge_type>2</edge_type> <source_obj>22</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_61"> <id>77</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_62"> <id>78</id> <edge_type>2</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="_63"> <id>79</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>17</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_64"> <id>80</id> <edge_type>2</edge_type> <source_obj>72</source_obj> <sink_obj>17</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_65"> <id>81</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_66"> <id>83</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_67"> <id>84</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_68"> <id>86</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_69"> <id>87</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_70"> <id>88</id> <edge_type>2</edge_type> <source_obj>28</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_71"> <id>89</id> <edge_type>2</edge_type> <source_obj>74</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_72"> <id>92</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_73"> <id>94</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_74"> <id>95</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_75"> <id>96</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_76"> <id>97</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_77"> <id>98</id> <edge_type>2</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="_78"> <id>99</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>29</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_79"> <id>100</id> <edge_type>2</edge_type> <source_obj>69</source_obj> <sink_obj>29</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_80"> <id>101</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="_81"> <id>102</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_82"> <id>103</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_83"> <id>104</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_84"> <id>105</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_85"> <id>106</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_86"> <id>107</id> <edge_type>2</edge_type> <source_obj>72</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_87"> <id>108</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_88"> <id>109</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_89"> <id>110</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_90"> <id>111</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_91"> <id>112</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_92"> <id>114</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_93"> <id>115</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="_94"> <id>116</id> <edge_type>2</edge_type> <source_obj>49</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_95"> <id>118</id> <edge_type>1</edge_type> <source_obj>117</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_96"> <id>119</id> <edge_type>2</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="_97"> <id>120</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>43</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_98"> <id>121</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>43</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_99"> <id>122</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_100"> <id>123</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_101"> <id>124</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>44</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_102"> <id>125</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>44</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_103"> <id>126</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="_104"> <id>127</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_105"> <id>128</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_106"> <id>129</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_107"> <id>130</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_108"> <id>131</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_109"> <id>132</id> <edge_type>2</edge_type> <source_obj>69</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_110"> <id>133</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_111"> <id>134</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="_112"> <id>135</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_113"> <id>136</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="_114"> <id>137</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_115"> <id>138</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_116"> <id>139</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>54</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>44</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_118"> <id>142</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_119"> <id>143</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="_120"> <id>144</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_121"> <id>145</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="_122"> <id>146</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_123"> <id>147</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_124"> <id>148</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_125"> <id>149</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_126"> <id>150</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_127"> <id>151</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_128"> <id>152</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_129"> <id>153</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="_130"> <id>154</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="_131"> <id>155</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_132"> <id>156</id> <edge_type>2</edge_type> <source_obj>49</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_133"> <id>157</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_134"> <id>158</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_135"> <id>159</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_136"> <id>160</id> <edge_type>2</edge_type> <source_obj>22</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_137"> <id>325</id> <edge_type>2</edge_type> <source_obj>16</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_138"> <id>326</id> <edge_type>2</edge_type> <source_obj>22</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_139"> <id>327</id> <edge_type>2</edge_type> <source_obj>22</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_140"> <id>328</id> <edge_type>2</edge_type> <source_obj>28</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_141"> <id>329</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_142"> <id>330</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_143"> <id>331</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_144"> <id>332</id> <edge_type>2</edge_type> <source_obj>49</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_145"> <id>333</id> <edge_type>2</edge_type> <source_obj>49</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_146"> <id>334</id> <edge_type>2</edge_type> <source_obj>65</source_obj> <sink_obj>49</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_147"> <id>335</id> <edge_type>2</edge_type> <source_obj>69</source_obj> <sink_obj>34</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_148"> <id>336</id> <edge_type>2</edge_type> <source_obj>72</source_obj> <sink_obj>22</sink_obj> <is_back_edge>1</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_149"> <mId>1</mId> <mTag>matrixmul</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>10</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>264257</mMinLatency> <mMaxLatency>264257</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_150"> <mId>2</mId> <mTag>Entry</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>16</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_151"> <mId>3</mId> <mTag>row</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>4</item> <item>5</item> <item>9</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>32</mMinTripCount> <mMaxTripCount>32</mMaxTripCount> <mMinLatency>264256</mMinLatency> <mMaxLatency>264256</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_152"> <mId>4</mId> <mTag>Region 1</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>22</item> <item>28</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_153"> <mId>5</mId> <mTag>col</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>6</item> <item>7</item> <item>8</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>32</mMinTripCount> <mMaxTripCount>32</mMaxTripCount> <mMinLatency>8256</mMinLatency> <mMaxLatency>8256</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_154"> <mId>6</mId> <mTag>Region 2</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>34</item> <item>42</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_155"> <mId>7</mId> <mTag>product</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>49</item> <item>65</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>32</mMinTripCount> <mMaxTripCount>32</mMaxTripCount> <mMinLatency>256</mMinLatency> <mMaxLatency>256</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_156"> <mId>8</mId> <mTag>Region 3</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>69</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_157"> <mId>9</mId> <mTag>Region 4</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>72</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_158"> <mId>10</mId> <mTag>Return</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>74</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_159"> <states class_id="25" tracking_level="0" version="0"> <count>11</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_160"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_161"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_162"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_163"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_164"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_165"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_166"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_167"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_168"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_169"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_170"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_171"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_172"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_173"> <id>2</id> <operations> <count>11</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_174"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_175"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_176"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_177"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_178"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_179"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_180"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_181"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_182"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_183"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_184"> <id>73</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_185"> <id>3</id> <operations> <count>14</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_186"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_187"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_188"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_189"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_190"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_191"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_192"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_193"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_194"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_195"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_196"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_197"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_198"> <id>70</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_199"> <id>71</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_200"> <id>4</id> <operations> <count>20</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_201"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_202"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_203"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_204"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_205"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_206"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_207"> <id>51</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_208"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_209"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_210"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_211"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_212"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_213"> <id>57</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_214"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_215"> <id>59</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_216"> <id>60</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_217"> <id>61</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_218"> <id>66</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_219"> <id>67</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_220"> <id>68</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_221"> <id>5</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_222"> <id>60</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_223"> <id>61</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_224"> <id>6</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_225"> <id>62</id> <stage>5</stage> <latency>5</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_226"> <id>7</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_227"> <id>62</id> <stage>4</stage> <latency>5</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_228"> <id>8</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_229"> <id>62</id> <stage>3</stage> <latency>5</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_230"> <id>9</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_231"> <id>62</id> <stage>2</stage> <latency>5</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_232"> <id>10</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_233"> <id>62</id> <stage>1</stage> <latency>5</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_234"> <id>11</id> <operations> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_235"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_236"> <id>63</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_237"> <id>64</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>13</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_238"> <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> <item class_id_reference="30" object_id="_239"> <inState>2</inState> <outState>3</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item class_id="34" tracking_level="0" version="0"> <first class_id="35" tracking_level="0" version="0"> <first>18</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_240"> <inState>3</inState> <outState>4</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>30</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_241"> <inState>4</inState> <outState>5</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>45</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_242"> <inState>5</inState> <outState>6</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="30" object_id="_243"> <inState>6</inState> <outState>7</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="30" object_id="_244"> <inState>7</inState> <outState>8</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="30" object_id="_245"> <inState>8</inState> <outState>9</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="30" object_id="_246"> <inState>9</inState> <outState>10</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="30" object_id="_247"> <inState>10</inState> <outState>11</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="30" object_id="_248"> <inState>11</inState> <outState>4</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="30" object_id="_249"> <inState>4</inState> <outState>3</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>45</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_250"> <inState>3</inState> <outState>2</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>30</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="37" tracking_level="0" version="0"> <count>40</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>15</first> <second class_id="39" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>3</first> <second>1</second> </second> </item> <item> <first>61</first> <second> <first>3</first> <second>1</second> </second> </item> <item> <first>62</first> <second> <first>5</first> <second>4</second> </second> </item> <item> <first>63</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>1</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="40" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>16</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>28</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>34</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>42</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>49</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>65</first> <second> <first>3</first> <second>10</second> </second> </item> <item> <first>69</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>72</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>74</first> <second> <first>1</first> <second>1</second> </second> </item> </bblk_ent_exit> <regions class_id="43" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="44" tracking_level="0" version="0"> <count>30</count> <item_version>0</item_version> <item class_id="45" tracking_level="0" version="0"> <first>60</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>67</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>74</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>81</first> <second> <count>2</count> <item_version>0</item_version> <item>60</item> <item>60</item> </second> </item> <item> <first>87</first> <second> <count>2</count> <item_version>0</item_version> <item>61</item> <item>61</item> </second> </item> <item> <first>93</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>102</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>113</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>124</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>137</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>144</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>150</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>156</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>164</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>168</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>174</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>180</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>184</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>189</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>194</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>200</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>206</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>210</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>215</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>220</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>228</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>232</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>237</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>242</first> <second> <count>5</count> <item_version>0</item_version> <item>62</item> <item>62</item> <item>62</item> <item>62</item> <item>62</item> </second> </item> <item> <first>246</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="47" tracking_level="0" version="0"> <count>26</count> <item_version>0</item_version> <item class_id="48" tracking_level="0" version="0"> <first>AB_addr_gep_fu_60</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>ABij_0_phi_fu_124</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>ABij_fu_246</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>A_addr_gep_fu_67</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>B_addr_gep_fu_74</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>add_ln16_1_fu_232</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>add_ln16_fu_210</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>add_ln18_fu_184</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>i_0_phi_fu_102</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>i_fu_150</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>icmp_ln10_fu_144</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>icmp_ln11_fu_168</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>icmp_ln15_fu_194</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>j_0_phi_fu_113</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>j_fu_174</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>k_0_phi_fu_137</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>k_fu_200</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>tmp_2_fu_156</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>tmp_3_fu_220</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>zext_ln11_fu_164</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>zext_ln16_1_fu_215</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>zext_ln16_2_fu_228</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>zext_ln16_3_fu_237</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>zext_ln16_fu_206</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>zext_ln18_1_fu_189</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>zext_ln18_fu_180</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>1</count> <item_version>0</item_version> <item> <first>grp_fu_242</first> <second> <count>5</count> <item_version>0</item_version> <item>62</item> <item>62</item> <item>62</item> <item>62</item> <item>62</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="49" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="50" tracking_level="0" version="0"> <first class_id="51" tracking_level="0" version="0"> <first>A</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>60</item> <item>60</item> </second> </item> <item> <first> <first>AB</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first> <first>B</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>61</item> <item>61</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>16</count> <item_version>0</item_version> <item> <first>98</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>109</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>120</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>133</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>254</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>259</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>268</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>273</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>278</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>286</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>291</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>296</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>301</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>306</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>311</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>316</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>16</count> <item_version>0</item_version> <item> <first>AB_addr_reg_278</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>ABij_0_reg_120</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>ABij_reg_316</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>A_addr_reg_291</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>A_load_reg_301</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>B_addr_reg_296</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>B_load_reg_306</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>i_0_reg_98</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>i_reg_254</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>j_0_reg_109</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>j_reg_268</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>k_0_reg_133</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>k_reg_286</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>mul_ln16_reg_311</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>zext_ln11_reg_259</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>zext_ln18_reg_273</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>4</count> <item_version>0</item_version> <item> <first>98</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>109</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>120</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>133</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>4</count> <item_version>0</item_version> <item> <first>ABij_0_reg_120</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>i_0_reg_98</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>j_0_reg_109</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>k_0_reg_133</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="52" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="53" tracking_level="0" version="0"> <first>A(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>2</count> <item_version>0</item_version> <item>60</item> <item>60</item> </second> </item> </second> </item> <item> <first>AB(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>store</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> </second> </item> <item> <first>B(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>2</count> <item_version>0</item_version> <item>61</item> <item>61</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="54" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>1</first> <second>RAM_1P</second> </item> <item> <first>2</first> <second>RAM_1P</second> </item> <item> <first>3</first> <second>RAM_1P</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
-- Copyright 2005-2021 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/>. procedure First is procedure Break_Me is begin null; end Break_Me; begin Break_Me; end First;
package body Test_Annotation.Write is File_Name : constant String := "tmp/test-annotation-write.sf"; procedure Initialize (T : in out Test) is begin Set_Name (T, "Test_Annotation.Write"); Ahven.Framework.Add_Test_Routine (T, Read_Written'Access, "read written"); Ahven.Framework.Add_Test_Routine (T, Check_Annotation'Access, "check annotation"); Ahven.Framework.Add_Test_Routine (T, Annotation_Type_Safety'Access, "annotation type-safety"); end Initialize; procedure Set_Up (T : in out Test) is State : access Skill_State := new Skill_State; begin Skill.Read (State, "resources/annotationTest.sf"); Skill.Write (State, File_Name); end Set_Up; procedure Tear_Down (T : in out Test) is begin Ada.Directories.Delete_File (File_Name); end Tear_Down; procedure Read_Written (T : in out Ahven.Framework.Test_Case'Class) is State : access Skill_State := new Skill_State; begin Skill.Read (State, File_Name); end Read_Written; procedure Check_Annotation (T : in out Ahven.Framework.Test_Case'Class) is State : access Skill_State := new Skill_State; begin Skill.Read (State, File_Name); declare Test : Test_Type_Access := Skill.Get_Test (State, 1); Date : Date_Type_Access := Skill.Get_Date (State, 1); X : Date_Type_Access := Date_Type_Access (Test.Get_F); Y : Date_Type_Access := Date; begin Ahven.Assert (X = Y, "objects are not equal"); end; end Check_Annotation; procedure Annotation_Type_Safety (T : in out Ahven.Framework.Test_Case'Class) is State : access Skill_State := new Skill_State; begin Skill.Read (State, File_Name); declare Test : Test_Type_Access := Skill.Get_Test (State, 1); begin Ahven.Assert (Test.Get_F /= Skill_Type_Access (Test), "objects are equal"); end; end Annotation_Type_Safety; end Test_Annotation.Write;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . I M G _ E N U M _ N E W -- -- -- -- S p e c -- -- -- -- Copyright (C) 2000-2019, 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. -- -- -- ------------------------------------------------------------------------------ -- Enumeration_Type'Image for all enumeration types except those in package -- Standard (where we have no opportunity to build image tables), and in -- package System (where it is too early to start building image tables). -- Special routines exist for the enumeration types in these packages. -- This is the new version of the package, for use by compilers built after -- Nov 21st, 2007, which provides procedures that avoid using the secondary -- stack. The original package System.Img_Enum is maintained in the sources -- for bootstrapping with older versions of the compiler which expect to find -- functions in this package. pragma Compiler_Unit_Warning; package System.Img_Enum_New is pragma Pure; procedure Image_Enumeration_8 (Pos : Natural; S : in out String; P : out Natural; Names : String; Indexes : System.Address); -- Used to compute Enum'Image (Str) where Enum is some enumeration type -- other than those defined in package Standard. Names is a string with -- a lower bound of 1 containing the characters of all the enumeration -- literals concatenated together in sequence. Indexes is the address of -- an array of type array (0 .. N) of Natural_8, where N is the number of -- enumeration literals in the type. The Indexes values are the starting -- subscript of each enumeration literal, indexed by Pos values, with an -- extra entry at the end containing Names'Length + 1. The reason that -- Indexes is passed by address is that the actual type is created on the -- fly by the expander. The desired 'Image value is stored in S (1 .. P) -- and P is set on return. The caller guarantees that S is long enough to -- hold the result and that the lower bound is 1. procedure Image_Enumeration_16 (Pos : Natural; S : in out String; P : out Natural; Names : String; Indexes : System.Address); -- Identical to Set_Image_Enumeration_8 except that it handles types using -- array (0 .. Num) of Natural_16 for the Indexes table. procedure Image_Enumeration_32 (Pos : Natural; S : in out String; P : out Natural; Names : String; Indexes : System.Address); -- Identical to Set_Image_Enumeration_8 except that it handles types using -- array (0 .. Num) of Natural_32 for the Indexes table. end System.Img_Enum_New;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Object_Declarations is function Create (Names : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access; Colon_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Aliased_Token : Program.Lexical_Elements .Lexical_Element_Access; Constant_Token : Program.Lexical_Elements .Lexical_Element_Access; Object_Subtype : not null Program.Elements.Definitions .Definition_Access; Assignment_Token : Program.Lexical_Elements .Lexical_Element_Access; Initialization_Expression : Program.Elements.Expressions .Expression_Access; With_Token : Program.Lexical_Elements .Lexical_Element_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access) return Object_Declaration is begin return Result : Object_Declaration := (Names => Names, Colon_Token => Colon_Token, Aliased_Token => Aliased_Token, Constant_Token => Constant_Token, Object_Subtype => Object_Subtype, Assignment_Token => Assignment_Token, Initialization_Expression => Initialization_Expression, With_Token => With_Token, Aspects => Aspects, Semicolon_Token => Semicolon_Token, Enclosing_Element => null) do Initialize (Result); end return; end Create; function Create (Names : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access; Object_Subtype : not null Program.Elements.Definitions .Definition_Access; Initialization_Expression : Program.Elements.Expressions .Expression_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False; Has_Aliased : Boolean := False; Has_Constant : Boolean := False) return Implicit_Object_Declaration is begin return Result : Implicit_Object_Declaration := (Names => Names, Object_Subtype => Object_Subtype, Initialization_Expression => Initialization_Expression, Aspects => Aspects, Is_Part_Of_Implicit => Is_Part_Of_Implicit, Is_Part_Of_Inherited => Is_Part_Of_Inherited, Is_Part_Of_Instance => Is_Part_Of_Instance, Has_Aliased => Has_Aliased, Has_Constant => Has_Constant, Enclosing_Element => null) do Initialize (Result); end return; end Create; overriding function Names (Self : Base_Object_Declaration) return not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access is begin return Self.Names; end Names; overriding function Object_Subtype (Self : Base_Object_Declaration) return not null Program.Elements.Definitions.Definition_Access is begin return Self.Object_Subtype; end Object_Subtype; overriding function Initialization_Expression (Self : Base_Object_Declaration) return Program.Elements.Expressions.Expression_Access is begin return Self.Initialization_Expression; end Initialization_Expression; overriding function Aspects (Self : Base_Object_Declaration) return Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access is begin return Self.Aspects; end Aspects; overriding function Colon_Token (Self : Object_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Colon_Token; end Colon_Token; overriding function Aliased_Token (Self : Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Aliased_Token; end Aliased_Token; overriding function Constant_Token (Self : Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Constant_Token; end Constant_Token; overriding function Assignment_Token (Self : Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Assignment_Token; end Assignment_Token; overriding function With_Token (Self : Object_Declaration) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.With_Token; end With_Token; overriding function Semicolon_Token (Self : Object_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Semicolon_Token; end Semicolon_Token; overriding function Has_Aliased (Self : Object_Declaration) return Boolean is begin return Self.Aliased_Token.Assigned; end Has_Aliased; overriding function Has_Constant (Self : Object_Declaration) return Boolean is begin return Self.Constant_Token.Assigned; end Has_Constant; overriding function Is_Part_Of_Implicit (Self : Implicit_Object_Declaration) return Boolean is begin return Self.Is_Part_Of_Implicit; end Is_Part_Of_Implicit; overriding function Is_Part_Of_Inherited (Self : Implicit_Object_Declaration) return Boolean is begin return Self.Is_Part_Of_Inherited; end Is_Part_Of_Inherited; overriding function Is_Part_Of_Instance (Self : Implicit_Object_Declaration) return Boolean is begin return Self.Is_Part_Of_Instance; end Is_Part_Of_Instance; overriding function Has_Aliased (Self : Implicit_Object_Declaration) return Boolean is begin return Self.Has_Aliased; end Has_Aliased; overriding function Has_Constant (Self : Implicit_Object_Declaration) return Boolean is begin return Self.Has_Constant; end Has_Constant; procedure Initialize (Self : in out Base_Object_Declaration'Class) is begin for Item in Self.Names.Each_Element loop Set_Enclosing_Element (Item.Element, Self'Unchecked_Access); end loop; Set_Enclosing_Element (Self.Object_Subtype, Self'Unchecked_Access); if Self.Initialization_Expression.Assigned then Set_Enclosing_Element (Self.Initialization_Expression, Self'Unchecked_Access); end if; for Item in Self.Aspects.Each_Element loop Set_Enclosing_Element (Item.Element, Self'Unchecked_Access); end loop; null; end Initialize; overriding function Is_Object_Declaration (Self : Base_Object_Declaration) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Object_Declaration; overriding function Is_Declaration (Self : Base_Object_Declaration) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Declaration; overriding procedure Visit (Self : not null access Base_Object_Declaration; Visitor : in out Program.Element_Visitors.Element_Visitor'Class) is begin Visitor.Object_Declaration (Self); end Visit; overriding function To_Object_Declaration_Text (Self : in out Object_Declaration) return Program.Elements.Object_Declarations .Object_Declaration_Text_Access is begin return Self'Unchecked_Access; end To_Object_Declaration_Text; overriding function To_Object_Declaration_Text (Self : in out Implicit_Object_Declaration) return Program.Elements.Object_Declarations .Object_Declaration_Text_Access is pragma Unreferenced (Self); begin return null; end To_Object_Declaration_Text; end Program.Nodes.Object_Declarations;
------------------------------------------------------------------------------ -- -- -- File: -- -- formatted_output-enumeration_output.adb -- -- -- -- Description: -- -- Formatted_Output.Enumeration_Output generic package body -- -- -- -- Author: -- -- Eugene Nonko, cm@liceum.secna.ru -- -- -- -- Revision history: -- -- 27/01/99 - original -- -- 16/03/99 - added support for justification characters -- -- -- ------------------------------------------------------------------------------ with Ada.Text_IO, Ada.Characters.Handling, Ada.Strings, Ada.Strings.Fixed, Ada.Strings.Unbounded; use Ada.Text_IO, Ada.Characters.Handling, Ada.Strings, Ada.Strings.Fixed, Ada.Strings.Unbounded; package body Formatted_Output.Enumeration_Output is package Item_Type_IO is new Enumeration_IO (Item_Type); use Item_Type_IO; type Style_Type is (Capitalized, Upper_Case, Lower_Case); function Format (Value : Item_Type; Initial_Width : Integer; Justification : Alignment; Style : Style_Type) return String is Img : String (1 .. Maximal_Item_Length); Width, Real_Width : Integer; Past_Last : Integer := 1; begin -- Format case Style is when Capitalized => Put (Img, Value, Set => Type_Set'(Lower_Case)); Img (1) := To_Upper (Img (1)); when Lower_Case => Put (Img, Value, Set => Type_Set'(Lower_Case)); when Upper_Case => Put (Img, Value, Set => Type_Set'(Upper_Case)); end case; while Img (Past_Last) /= ' ' loop Past_Last := Past_Last + 1; end loop; Real_Width := Past_Last - 1; if Initial_Width < Real_Width then Width := Real_Width; else Width := Initial_Width; end if; declare S : String (1 .. Width); begin Move (Img (Past_Last - Real_Width .. Past_Last - 1), S, Justify => Justification, Pad => Filler); return S; end; end Format; function "&" (Fmt : Format_Type; Value : Item_Type) return Format_Type is Command_Start : constant Integer := Scan_To_Percent_Sign (Fmt); Width : Integer := 0; Digit_Occured, Justification_Changed : Boolean := False; Justification : Alignment := Right; Fmt_Copy : Unbounded_String; begin -- "&" if Command_Start /= 0 then Fmt_Copy := Unbounded_String (Fmt); for I in Command_Start + 1 .. Length (Fmt_Copy) loop case Element (Fmt_Copy, I) is when 'c' => Replace_Slice (Fmt_Copy, Command_Start, I, Format (Value, Width, Justification, Capitalized)); return Format_Type (Fmt_Copy); when 'u' => Replace_Slice (Fmt_Copy, Command_Start, I, Format (Value, Width, Justification, Upper_Case)); return Format_Type (Fmt_Copy); when 'l' => Replace_Slice (Fmt_Copy, Command_Start, I, Format (Value, Width, Justification, Lower_Case)); return Format_Type (Fmt_Copy); when '-' | '+' | '*' => if Justification_Changed or else Digit_Occured then raise Format_Error; end if; Justification_Changed := True; case Element (Fmt_Copy, I) is when '-' => Justification := Left; when '+' => Justification := Right; when '*' => Justification := Center; when others => null; end case; when '0' .. '9' => Width := Width * 10 + Character'Pos (Element (Fmt_Copy, I)) - Character'Pos ('0'); when others => raise Format_Error; end case; end loop; end if; raise Format_Error; end "&"; end Formatted_Output.Enumeration_Output;
-- Author: A. Ireland -- -- Address: School Mathematical & Computer Sciences -- Heriot-Watt University -- Edinburgh, EH14 4AS -- -- E-mail: a.ireland@hw.ac.uk -- -- Last modified: 13.9.2019 -- -- Filename: handler.ads -- -- Description: Provides the drivers required for simulating the -- environment in which the WTP system operates as -- well as a logging capability. pragma SPARK_Mode (Off); package Handler is subtype Sensor_Range is Integer range 0..2100; type Water_Level_Cat is (Low, Normal, High, Undef); procedure Update_Env; function At_End return Boolean; procedure Open_Env_File; procedure Close_Env_File; procedure Update_Log; procedure Open_Log_File; procedure Close_Log_File; end Handler;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Web Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014-2020, 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$ ------------------------------------------------------------------------------ -- Provides a convenient implementation of the ServletRequest interface that -- can be subclassed by developers wishing to adapt the request to a Servlet. -- This class implements the Wrapper or Decorator pattern. Methods default to -- calling through to the wrapped request object. ------------------------------------------------------------------------------ with Ada.Streams; with League.String_Vectors; with League.Strings; with Servlet.Contexts; with Servlet.Requests; package Servlet.Request_Wrappers is pragma Preelaborate; type Servlet_Request_Wrapper (Request : not null access Servlet.Requests.Servlet_Request'Class) is limited new Servlet.Requests.Servlet_Request with null record; overriding function Get_Content_Type (Self : Servlet_Request_Wrapper) return League.Strings.Universal_String; overriding function Get_Input_Stream (Self : Servlet_Request_Wrapper) return not null access Ada.Streams.Root_Stream_Type'Class; overriding function Get_Parameter_Names (Self : Servlet_Request_Wrapper) return League.String_Vectors.Universal_String_Vector; overriding function Get_Parameter_Values (Self : Servlet_Request_Wrapper; Name : League.Strings.Universal_String) return League.String_Vectors.Universal_String_Vector; overriding function Get_Scheme (Self : Servlet_Request_Wrapper) return League.Strings.Universal_String; overriding function Get_Server_Name (Self : Servlet_Request_Wrapper) return League.Strings.Universal_String; overriding function Get_Server_Port (Self : Servlet_Request_Wrapper) return Positive; overriding function Get_Servlet_Context (Self : Servlet_Request_Wrapper) return access Servlet.Contexts.Servlet_Context'Class; overriding function Is_Async_Supported (Self : not null access Servlet_Request_Wrapper) return Boolean; end Servlet.Request_Wrappers;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . T E X T _ I O -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2006, 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, 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. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Streams; use Ada.Streams; with Interfaces.C_Streams; use Interfaces.C_Streams; with System.File_IO; with System.CRTL; with Unchecked_Conversion; with Unchecked_Deallocation; pragma Elaborate_All (System.File_IO); -- Needed because of calls to Chain_File in package body elaboration package body Ada.Text_IO is package FIO renames System.File_IO; subtype AP is FCB.AFCB_Ptr; function To_FCB is new Unchecked_Conversion (File_Mode, FCB.File_Mode); function To_TIO is new Unchecked_Conversion (FCB.File_Mode, File_Mode); use type FCB.File_Mode; use type System.CRTL.size_t; ------------------- -- AFCB_Allocate -- ------------------- function AFCB_Allocate (Control_Block : Text_AFCB) return FCB.AFCB_Ptr is pragma Unreferenced (Control_Block); begin return new Text_AFCB; end AFCB_Allocate; ---------------- -- AFCB_Close -- ---------------- procedure AFCB_Close (File : access Text_AFCB) is begin -- If the file being closed is one of the current files, then close -- the corresponding current file. It is not clear that this action -- is required (RM A.10.3(23)) but it seems reasonable, and besides -- ACVC test CE3208A expects this behavior. if File_Type (File) = Current_In then Current_In := null; elsif File_Type (File) = Current_Out then Current_Out := null; elsif File_Type (File) = Current_Err then Current_Err := null; end if; Terminate_Line (File_Type (File)); end AFCB_Close; --------------- -- AFCB_Free -- --------------- procedure AFCB_Free (File : access Text_AFCB) is type FCB_Ptr is access all Text_AFCB; FT : FCB_Ptr := FCB_Ptr (File); procedure Free is new Unchecked_Deallocation (Text_AFCB, FCB_Ptr); begin Free (FT); end AFCB_Free; ----------- -- Close -- ----------- procedure Close (File : in out File_Type) is begin FIO.Close (AP (File)); end Close; --------- -- Col -- --------- -- Note: we assume that it is impossible in practice for the column -- to exceed the value of Count'Last, i.e. no check is required for -- overflow raising layout error. function Col (File : File_Type) return Positive_Count is begin FIO.Check_File_Open (AP (File)); return File.Col; end Col; function Col return Positive_Count is begin return Col (Current_Out); end Col; ------------ -- Create -- ------------ procedure Create (File : in out File_Type; Mode : File_Mode := Out_File; Name : String := ""; Form : String := "") is Dummy_File_Control_Block : Text_AFCB; pragma Warnings (Off, Dummy_File_Control_Block); -- Yes, we know this is never assigned a value, only the tag -- is used for dispatching purposes, so that's expected. begin FIO.Open (File_Ptr => AP (File), Dummy_FCB => Dummy_File_Control_Block, Mode => To_FCB (Mode), Name => Name, Form => Form, Amethod => 'T', Creat => True, Text => True); File.Self := File; end Create; ------------------- -- Current_Error -- ------------------- function Current_Error return File_Type is begin return Current_Err; end Current_Error; function Current_Error return File_Access is begin return Current_Err.Self'Access; end Current_Error; ------------------- -- Current_Input -- ------------------- function Current_Input return File_Type is begin return Current_In; end Current_Input; function Current_Input return File_Access is begin return Current_In.Self'Access; end Current_Input; -------------------- -- Current_Output -- -------------------- function Current_Output return File_Type is begin return Current_Out; end Current_Output; function Current_Output return File_Access is begin return Current_Out.Self'Access; end Current_Output; ------------ -- Delete -- ------------ procedure Delete (File : in out File_Type) is begin FIO.Delete (AP (File)); end Delete; ----------------- -- End_Of_File -- ----------------- function End_Of_File (File : File_Type) return Boolean is ch : int; begin FIO.Check_Read_Status (AP (File)); if File.Before_LM then if File.Before_LM_PM then return Nextc (File) = EOF; end if; else ch := Getc (File); if ch = EOF then return True; elsif ch /= LM then Ungetc (ch, File); return False; else -- ch = LM File.Before_LM := True; end if; end if; -- Here we are just past the line mark with Before_LM set so that we -- do not have to try to back up past the LM, thus avoiding the need -- to back up more than one character. ch := Getc (File); if ch = EOF then return True; elsif ch = PM and then File.Is_Regular_File then File.Before_LM_PM := True; return Nextc (File) = EOF; -- Here if neither EOF nor PM followed end of line else Ungetc (ch, File); return False; end if; end End_Of_File; function End_Of_File return Boolean is begin return End_Of_File (Current_In); end End_Of_File; ----------------- -- End_Of_Line -- ----------------- function End_Of_Line (File : File_Type) return Boolean is ch : int; begin FIO.Check_Read_Status (AP (File)); if File.Before_LM then return True; else ch := Getc (File); if ch = EOF then return True; else Ungetc (ch, File); return (ch = LM); end if; end if; end End_Of_Line; function End_Of_Line return Boolean is begin return End_Of_Line (Current_In); end End_Of_Line; ----------------- -- End_Of_Page -- ----------------- function End_Of_Page (File : File_Type) return Boolean is ch : int; begin FIO.Check_Read_Status (AP (File)); if not File.Is_Regular_File then return False; elsif File.Before_LM then if File.Before_LM_PM then return True; end if; else ch := Getc (File); if ch = EOF then return True; elsif ch /= LM then Ungetc (ch, File); return False; else -- ch = LM File.Before_LM := True; end if; end if; -- Here we are just past the line mark with Before_LM set so that we -- do not have to try to back up past the LM, thus avoiding the need -- to back up more than one character. ch := Nextc (File); return ch = PM or else ch = EOF; end End_Of_Page; function End_Of_Page return Boolean is begin return End_Of_Page (Current_In); end End_Of_Page; -------------- -- EOF_Char -- -------------- function EOF_Char return Integer is begin return EOF; end EOF_Char; ----------- -- Flush -- ----------- procedure Flush (File : File_Type) is begin FIO.Flush (AP (File)); end Flush; procedure Flush is begin Flush (Current_Out); end Flush; ---------- -- Form -- ---------- function Form (File : File_Type) return String is begin return FIO.Form (AP (File)); end Form; --------- -- Get -- --------- procedure Get (File : File_Type; Item : out Character) is ch : int; begin FIO.Check_Read_Status (AP (File)); if File.Before_LM then File.Before_LM := False; File.Col := 1; if File.Before_LM_PM then File.Line := 1; File.Page := File.Page + 1; File.Before_LM_PM := False; else File.Line := File.Line + 1; end if; end if; loop ch := Getc (File); if ch = EOF then raise End_Error; elsif ch = LM then File.Line := File.Line + 1; File.Col := 1; elsif ch = PM and then File.Is_Regular_File then File.Page := File.Page + 1; File.Line := 1; else Item := Character'Val (ch); File.Col := File.Col + 1; return; end if; end loop; end Get; procedure Get (Item : out Character) is begin Get (Current_In, Item); end Get; procedure Get (File : File_Type; Item : out String) is ch : int; J : Natural; begin FIO.Check_Read_Status (AP (File)); if File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; File.Col := 1; if File.Before_LM_PM then File.Line := 1; File.Page := File.Page + 1; File.Before_LM_PM := False; else File.Line := File.Line + 1; end if; end if; J := Item'First; while J <= Item'Last loop ch := Getc (File); if ch = EOF then raise End_Error; elsif ch = LM then File.Line := File.Line + 1; File.Col := 1; elsif ch = PM and then File.Is_Regular_File then File.Page := File.Page + 1; File.Line := 1; else Item (J) := Character'Val (ch); J := J + 1; File.Col := File.Col + 1; end if; end loop; end Get; procedure Get (Item : out String) is begin Get (Current_In, Item); end Get; ------------------- -- Get_Immediate -- ------------------- -- More work required here ??? procedure Get_Immediate (File : File_Type; Item : out Character) is ch : int; end_of_file : int; procedure getc_immediate (stream : FILEs; ch : out int; end_of_file : out int); pragma Import (C, getc_immediate, "getc_immediate"); begin FIO.Check_Read_Status (AP (File)); if File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; ch := LM; else getc_immediate (File.Stream, ch, end_of_file); if ferror (File.Stream) /= 0 then raise Device_Error; elsif end_of_file /= 0 then raise End_Error; end if; end if; Item := Character'Val (ch); end Get_Immediate; procedure Get_Immediate (Item : out Character) is begin Get_Immediate (Current_In, Item); end Get_Immediate; procedure Get_Immediate (File : File_Type; Item : out Character; Available : out Boolean) is ch : int; end_of_file : int; avail : int; procedure getc_immediate_nowait (stream : FILEs; ch : out int; end_of_file : out int; avail : out int); pragma Import (C, getc_immediate_nowait, "getc_immediate_nowait"); begin FIO.Check_Read_Status (AP (File)); -- If we are logically before an end of line, but physically after it, -- then we just return the end of line character, no I/O is necessary. if File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; Available := True; Item := Character'Val (LM); -- Normal case where a read operation is required else getc_immediate_nowait (File.Stream, ch, end_of_file, avail); if ferror (File.Stream) /= 0 then raise Device_Error; elsif end_of_file /= 0 then raise End_Error; elsif avail = 0 then Available := False; Item := ASCII.NUL; else Available := True; Item := Character'Val (ch); end if; end if; end Get_Immediate; procedure Get_Immediate (Item : out Character; Available : out Boolean) is begin Get_Immediate (Current_In, Item, Available); end Get_Immediate; -------------- -- Get_Line -- -------------- procedure Get_Line (File : File_Type; Item : out String; Last : out Natural) is ch : int; begin FIO.Check_Read_Status (AP (File)); Last := Item'First - 1; -- Immediate exit for null string, this is a case in which we do not -- need to test for end of file and we do not skip a line mark under -- any circumstances. if Last >= Item'Last then return; end if; -- Here we have at least one character, if we are immediately before -- a line mark, then we will just skip past it storing no characters. if File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; -- Otherwise we need to read some characters else ch := Getc (File); -- If we are at the end of file now, it means we are trying to -- skip a file terminator and we raise End_Error (RM A.10.7(20)) if ch = EOF then raise End_Error; end if; -- Loop through characters. Don't bother if we hit a page mark, -- since in normal files, page marks can only follow line marks -- in any case and we only promise to treat the page nonsense -- correctly in the absense of such rogue page marks. loop -- Exit the loop if read is terminated by encountering line mark exit when ch = LM; -- Otherwise store the character, note that we know that ch is -- something other than LM or EOF. It could possibly be a page -- mark if there is a stray page mark in the middle of a line, -- but this is not an official page mark in any case, since -- official page marks can only follow a line mark. The whole -- page business is pretty much nonsense anyway, so we do not -- want to waste time trying to make sense out of non-standard -- page marks in the file! This means that the behavior of -- Get_Line is different from repeated Get of a character, but -- that's too bad. We only promise that page numbers etc make -- sense if the file is formatted in a standard manner. -- Note: we do not adjust the column number because it is quicker -- to adjust it once at the end of the operation than incrementing -- it each time around the loop. Last := Last + 1; Item (Last) := Character'Val (ch); -- All done if the string is full, this is the case in which -- we do not skip the following line mark. We need to adjust -- the column number in this case. if Last = Item'Last then File.Col := File.Col + Count (Item'Length); return; end if; -- Otherwise read next character. We also exit from the loop if -- we read an end of file. This is the case where the last line -- is not terminated with a line mark, and we consider that there -- is an implied line mark in this case (this is a non-standard -- file, but it is nice to treat it reasonably). ch := Getc (File); exit when ch = EOF; end loop; end if; -- We have skipped past, but not stored, a line mark. Skip following -- page mark if one follows, but do not do this for a non-regular -- file (since otherwise we get annoying wait for an extra character) File.Line := File.Line + 1; File.Col := 1; if File.Before_LM_PM then File.Line := 1; File.Before_LM_PM := False; File.Page := File.Page + 1; elsif File.Is_Regular_File then ch := Getc (File); if ch = PM and then File.Is_Regular_File then File.Line := 1; File.Page := File.Page + 1; else Ungetc (ch, File); end if; end if; end Get_Line; procedure Get_Line (Item : out String; Last : out Natural) is begin Get_Line (Current_In, Item, Last); end Get_Line; function Get_Line (File : File_Type) return String is Buffer : String (1 .. 500); Last : Natural; function Get_Rest (S : String) return String; -- This is a recursive function that reads the rest of the line and -- returns it. S is the part read so far. -------------- -- Get_Rest -- -------------- function Get_Rest (S : String) return String is -- Each time we allocate a buffer the same size as what we have -- read so far. This limits us to a logarithmic number of calls -- to Get_Rest and also ensures only a linear use of stack space. Buffer : String (1 .. S'Length); Last : Natural; begin Get_Line (File, Buffer, Last); declare R : constant String := S & Buffer (1 .. Last); begin if Last < Buffer'Last then return R; else return Get_Rest (R); end if; end; end Get_Rest; -- Start of processing for Get_Line begin Get_Line (File, Buffer, Last); if Last < Buffer'Last then return Buffer (1 .. Last); else return Get_Rest (Buffer (1 .. Last)); end if; end Get_Line; function Get_Line return String is begin return Get_Line (Current_In); end Get_Line; ---------- -- Getc -- ---------- function Getc (File : File_Type) return int is ch : int; begin ch := fgetc (File.Stream); if ch = EOF and then ferror (File.Stream) /= 0 then raise Device_Error; else return ch; end if; end Getc; ------------- -- Is_Open -- ------------- function Is_Open (File : File_Type) return Boolean is begin return FIO.Is_Open (AP (File)); end Is_Open; ---------- -- Line -- ---------- -- Note: we assume that it is impossible in practice for the line -- to exceed the value of Count'Last, i.e. no check is required for -- overflow raising layout error. function Line (File : File_Type) return Positive_Count is begin FIO.Check_File_Open (AP (File)); return File.Line; end Line; function Line return Positive_Count is begin return Line (Current_Out); end Line; ----------------- -- Line_Length -- ----------------- function Line_Length (File : File_Type) return Count is begin FIO.Check_Write_Status (AP (File)); return File.Line_Length; end Line_Length; function Line_Length return Count is begin return Line_Length (Current_Out); end Line_Length; ---------------- -- Look_Ahead -- ---------------- procedure Look_Ahead (File : File_Type; Item : out Character; End_Of_Line : out Boolean) is ch : int; begin FIO.Check_Read_Status (AP (File)); if File.Before_LM then End_Of_Line := True; Item := ASCII.NUL; else ch := Nextc (File); if ch = LM or else ch = EOF or else (ch = PM and then File.Is_Regular_File) then End_Of_Line := True; Item := ASCII.NUL; else End_Of_Line := False; Item := Character'Val (ch); end if; end if; end Look_Ahead; procedure Look_Ahead (Item : out Character; End_Of_Line : out Boolean) is begin Look_Ahead (Current_In, Item, End_Of_Line); end Look_Ahead; ---------- -- Mode -- ---------- function Mode (File : File_Type) return File_Mode is begin return To_TIO (FIO.Mode (AP (File))); end Mode; ---------- -- Name -- ---------- function Name (File : File_Type) return String is begin return FIO.Name (AP (File)); end Name; -------------- -- New_Line -- -------------- procedure New_Line (File : File_Type; Spacing : Positive_Count := 1) is begin -- Raise Constraint_Error if out of range value. The reason for this -- explicit test is that we don't want junk values around, even if -- checks are off in the caller. if not Spacing'Valid then raise Constraint_Error; end if; FIO.Check_Write_Status (AP (File)); for K in 1 .. Spacing loop Putc (LM, File); File.Line := File.Line + 1; if File.Page_Length /= 0 and then File.Line > File.Page_Length then Putc (PM, File); File.Line := 1; File.Page := File.Page + 1; end if; end loop; File.Col := 1; end New_Line; procedure New_Line (Spacing : Positive_Count := 1) is begin New_Line (Current_Out, Spacing); end New_Line; -------------- -- New_Page -- -------------- procedure New_Page (File : File_Type) is begin FIO.Check_Write_Status (AP (File)); if File.Col /= 1 or else File.Line = 1 then Putc (LM, File); end if; Putc (PM, File); File.Page := File.Page + 1; File.Line := 1; File.Col := 1; end New_Page; procedure New_Page is begin New_Page (Current_Out); end New_Page; ----------- -- Nextc -- ----------- function Nextc (File : File_Type) return int is ch : int; begin ch := fgetc (File.Stream); if ch = EOF then if ferror (File.Stream) /= 0 then raise Device_Error; end if; else if ungetc (ch, File.Stream) = EOF then raise Device_Error; end if; end if; return ch; end Nextc; ---------- -- Open -- ---------- procedure Open (File : in out File_Type; Mode : File_Mode; Name : String; Form : String := "") is Dummy_File_Control_Block : Text_AFCB; pragma Warnings (Off, Dummy_File_Control_Block); -- Yes, we know this is never assigned a value, only the tag -- is used for dispatching purposes, so that's expected. begin FIO.Open (File_Ptr => AP (File), Dummy_FCB => Dummy_File_Control_Block, Mode => To_FCB (Mode), Name => Name, Form => Form, Amethod => 'T', Creat => False, Text => True); File.Self := File; end Open; ---------- -- Page -- ---------- -- Note: we assume that it is impossible in practice for the page -- to exceed the value of Count'Last, i.e. no check is required for -- overflow raising layout error. function Page (File : File_Type) return Positive_Count is begin FIO.Check_File_Open (AP (File)); return File.Page; end Page; function Page return Positive_Count is begin return Page (Current_Out); end Page; ----------------- -- Page_Length -- ----------------- function Page_Length (File : File_Type) return Count is begin FIO.Check_Write_Status (AP (File)); return File.Page_Length; end Page_Length; function Page_Length return Count is begin return Page_Length (Current_Out); end Page_Length; --------- -- Put -- --------- procedure Put (File : File_Type; Item : Character) is begin FIO.Check_Write_Status (AP (File)); if File.Line_Length /= 0 and then File.Col > File.Line_Length then New_Line (File); end if; if fputc (Character'Pos (Item), File.Stream) = EOF then raise Device_Error; end if; File.Col := File.Col + 1; end Put; procedure Put (Item : Character) is begin FIO.Check_Write_Status (AP (Current_Out)); if Current_Out.Line_Length /= 0 and then Current_Out.Col > Current_Out.Line_Length then New_Line (Current_Out); end if; if fputc (Character'Pos (Item), Current_Out.Stream) = EOF then raise Device_Error; end if; Current_Out.Col := Current_Out.Col + 1; end Put; --------- -- Put -- --------- procedure Put (File : File_Type; Item : String) is begin FIO.Check_Write_Status (AP (File)); if Item'Length > 0 then -- If we have bounded lines, then do things character by -- character (this seems a rare case anyway!) if File.Line_Length /= 0 then for J in Item'Range loop Put (File, Item (J)); end loop; -- Otherwise we can output the entire string at once. Note that if -- there are LF or FF characters in the string, we do not bother to -- count them as line or page terminators. else FIO.Write_Buf (AP (File), Item'Address, Item'Length); File.Col := File.Col + Item'Length; end if; end if; end Put; procedure Put (Item : String) is begin Put (Current_Out, Item); end Put; -------------- -- Put_Line -- -------------- procedure Put_Line (File : File_Type; Item : String) is Ilen : Natural := Item'Length; Istart : Natural := Item'First; begin FIO.Check_Write_Status (AP (File)); -- If we have bounded lines, then just do a put and a new line. In -- this case we will end up doing things character by character in -- any case, and it is a rare situation. if File.Line_Length /= 0 then Put (File, Item); New_Line (File); return; end if; -- We setup a single string that has the necessary terminators and -- then write it with a single call. The reason for doing this is -- that it gives better behavior for the use of Put_Line in multi- -- tasking programs, since often the OS will treat the entire put -- operation as an atomic operation. -- We only do this if the message is 512 characters or less in length, -- since otherwise Put_Line would use an unbounded amount of stack -- space and could cause undetected stack overflow. If we have a -- longer string, then output the first part separately to avoid this. if Ilen > 512 then FIO.Write_Buf (AP (File), Item'Address, size_t (Ilen - 512)); Istart := Istart + Ilen - 512; Ilen := 512; end if; -- Now prepare the string with its terminator declare Buffer : String (1 .. Ilen + 2); Plen : size_t; begin Buffer (1 .. Ilen) := Item (Istart .. Item'Last); Buffer (Ilen + 1) := Character'Val (LM); if File.Page_Length /= 0 and then File.Line > File.Page_Length then Buffer (Ilen + 2) := Character'Val (PM); Plen := size_t (Ilen) + 2; File.Line := 1; File.Page := File.Page + 1; else Plen := size_t (Ilen) + 1; File.Line := File.Line + 1; end if; FIO.Write_Buf (AP (File), Buffer'Address, Plen); File.Col := 1; end; end Put_Line; procedure Put_Line (Item : String) is begin Put_Line (Current_Out, Item); end Put_Line; ---------- -- Putc -- ---------- procedure Putc (ch : int; File : File_Type) is begin if fputc (ch, File.Stream) = EOF then raise Device_Error; end if; end Putc; ---------- -- Read -- ---------- -- This is the primitive Stream Read routine, used when a Text_IO file -- is treated directly as a stream using Text_IO.Streams.Stream. procedure Read (File : in out Text_AFCB; Item : out Stream_Element_Array; Last : out Stream_Element_Offset) is Discard_ch : int; pragma Warnings (Off, Discard_ch); begin if File.Mode /= FCB.In_File then raise Mode_Error; end if; -- Deal with case where our logical and physical position do not match -- because of being after an LM or LM-PM sequence when in fact we are -- logically positioned before it. if File.Before_LM then -- If we are before a PM, then it is possible for a stream read -- to leave us after the LM and before the PM, which is a bit -- odd. The easiest way to deal with this is to unget the PM, -- so we are indeed positioned between the characters. This way -- further stream read operations will work correctly, and the -- effect on text processing is a little weird, but what can -- be expected if stream and text input are mixed this way? if File.Before_LM_PM then Discard_ch := ungetc (PM, File.Stream); File.Before_LM_PM := False; end if; File.Before_LM := False; Item (Item'First) := Stream_Element (Character'Pos (ASCII.LF)); if Item'Length = 1 then Last := Item'Last; else Last := Item'First + Stream_Element_Offset (fread (buffer => Item'Address, index => size_t (Item'First + 1), size => 1, count => Item'Length - 1, stream => File.Stream)); end if; return; end if; -- Now we do the read. Since this is a text file, it is normally in -- text mode, but stream data must be read in binary mode, so we -- temporarily set binary mode for the read, resetting it after. -- These calls have no effect in a system (like Unix) where there is -- no distinction between text and binary files. set_binary_mode (fileno (File.Stream)); Last := Item'First + Stream_Element_Offset (fread (Item'Address, 1, Item'Length, File.Stream)) - 1; if Last < Item'Last then if ferror (File.Stream) /= 0 then raise Device_Error; end if; end if; set_text_mode (fileno (File.Stream)); end Read; ----------- -- Reset -- ----------- procedure Reset (File : in out File_Type; Mode : File_Mode) is begin -- Don't allow change of mode for current file (RM A.10.2(5)) if (File = Current_In or else File = Current_Out or else File = Current_Error) and then To_FCB (Mode) /= File.Mode then raise Mode_Error; end if; Terminate_Line (File); FIO.Reset (AP (File), To_FCB (Mode)); File.Page := 1; File.Line := 1; File.Col := 1; File.Line_Length := 0; File.Page_Length := 0; File.Before_LM := False; File.Before_LM_PM := False; end Reset; procedure Reset (File : in out File_Type) is begin Terminate_Line (File); FIO.Reset (AP (File)); File.Page := 1; File.Line := 1; File.Col := 1; File.Line_Length := 0; File.Page_Length := 0; File.Before_LM := False; File.Before_LM_PM := False; end Reset; ------------- -- Set_Col -- ------------- procedure Set_Col (File : File_Type; To : Positive_Count) is ch : int; begin -- Raise Constraint_Error if out of range value. The reason for this -- explicit test is that we don't want junk values around, even if -- checks are off in the caller. if not To'Valid then raise Constraint_Error; end if; FIO.Check_File_Open (AP (File)); -- Output case if Mode (File) >= Out_File then -- Error if we attempt to set Col to a value greater than the -- maximum permissible line length. if File.Line_Length /= 0 and then To > File.Line_Length then raise Layout_Error; end if; -- If we are behind current position, then go to start of new line if To < File.Col then New_Line (File); end if; -- Loop to output blanks till we are at the required column while File.Col < To loop Put (File, ' '); end loop; -- Input case else -- If we are logically before a LM, but physically after it, the -- file position still reflects the position before the LM, so eat -- it now and adjust the file position appropriately. if File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; File.Line := File.Line + 1; File.Col := 1; end if; -- Loop reading characters till we get one at the required Col value loop -- Read next character. The reason we have to read ahead is to -- skip formatting characters, the effect of Set_Col is to set -- us to a real character with the right Col value, and format -- characters don't count. ch := Getc (File); -- Error if we hit an end of file if ch = EOF then raise End_Error; -- If line mark, eat it and adjust file position elsif ch = LM then File.Line := File.Line + 1; File.Col := 1; -- If recognized page mark, eat it, and adjust file position elsif ch = PM and then File.Is_Regular_File then File.Page := File.Page + 1; File.Line := 1; File.Col := 1; -- Otherwise this is the character we are looking for, so put it -- back in the input stream (we have not adjusted the file -- position yet, so everything is set right after this ungetc). elsif To = File.Col then Ungetc (ch, File); return; -- Keep skipping characters if we are not there yet, updating the -- file position past the skipped character. else File.Col := File.Col + 1; end if; end loop; end if; end Set_Col; procedure Set_Col (To : Positive_Count) is begin Set_Col (Current_Out, To); end Set_Col; --------------- -- Set_Error -- --------------- procedure Set_Error (File : File_Type) is begin FIO.Check_Write_Status (AP (File)); Current_Err := File; end Set_Error; --------------- -- Set_Input -- --------------- procedure Set_Input (File : File_Type) is begin FIO.Check_Read_Status (AP (File)); Current_In := File; end Set_Input; -------------- -- Set_Line -- -------------- procedure Set_Line (File : File_Type; To : Positive_Count) is begin -- Raise Constraint_Error if out of range value. The reason for this -- explicit test is that we don't want junk values around, even if -- checks are off in the caller. if not To'Valid then raise Constraint_Error; end if; FIO.Check_File_Open (AP (File)); if To = File.Line then return; end if; if Mode (File) >= Out_File then if File.Page_Length /= 0 and then To > File.Page_Length then raise Layout_Error; end if; if To < File.Line then New_Page (File); end if; while File.Line < To loop New_Line (File); end loop; else while To /= File.Line loop Skip_Line (File); end loop; end if; end Set_Line; procedure Set_Line (To : Positive_Count) is begin Set_Line (Current_Out, To); end Set_Line; --------------------- -- Set_Line_Length -- --------------------- procedure Set_Line_Length (File : File_Type; To : Count) is begin -- Raise Constraint_Error if out of range value. The reason for this -- explicit test is that we don't want junk values around, even if -- checks are off in the caller. if not To'Valid then raise Constraint_Error; end if; FIO.Check_Write_Status (AP (File)); File.Line_Length := To; end Set_Line_Length; procedure Set_Line_Length (To : Count) is begin Set_Line_Length (Current_Out, To); end Set_Line_Length; ---------------- -- Set_Output -- ---------------- procedure Set_Output (File : File_Type) is begin FIO.Check_Write_Status (AP (File)); Current_Out := File; end Set_Output; --------------------- -- Set_Page_Length -- --------------------- procedure Set_Page_Length (File : File_Type; To : Count) is begin -- Raise Constraint_Error if out of range value. The reason for this -- explicit test is that we don't want junk values around, even if -- checks are off in the caller. if not To'Valid then raise Constraint_Error; end if; FIO.Check_Write_Status (AP (File)); File.Page_Length := To; end Set_Page_Length; procedure Set_Page_Length (To : Count) is begin Set_Page_Length (Current_Out, To); end Set_Page_Length; --------------- -- Skip_Line -- --------------- procedure Skip_Line (File : File_Type; Spacing : Positive_Count := 1) is ch : int; begin -- Raise Constraint_Error if out of range value. The reason for this -- explicit test is that we don't want junk values around, even if -- checks are off in the caller. if not Spacing'Valid then raise Constraint_Error; end if; FIO.Check_Read_Status (AP (File)); for L in 1 .. Spacing loop if File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; else ch := Getc (File); -- If at end of file now, then immediately raise End_Error. Note -- that we can never be positioned between a line mark and a page -- mark, so if we are at the end of file, we cannot logically be -- before the implicit page mark that is at the end of the file. -- For the same reason, we do not need an explicit check for a -- page mark. If there is a FF in the middle of a line, the file -- is not in canonical format and we do not care about the page -- numbers for files other than ones in canonical format. if ch = EOF then raise End_Error; end if; -- If not at end of file, then loop till we get to an LM or EOF. -- The latter case happens only in non-canonical files where the -- last line is not terminated by LM, but we don't want to blow -- up for such files, so we assume an implicit LM in this case. loop exit when ch = LM or ch = EOF; ch := Getc (File); end loop; end if; -- We have got past a line mark, now, for a regular file only, -- see if a page mark immediately follows this line mark and -- if so, skip past the page mark as well. We do not do this -- for non-regular files, since it would cause an undesirable -- wait for an additional character. File.Col := 1; File.Line := File.Line + 1; if File.Before_LM_PM then File.Page := File.Page + 1; File.Line := 1; File.Before_LM_PM := False; elsif File.Is_Regular_File then ch := Getc (File); -- Page mark can be explicit, or implied at the end of the file if (ch = PM or else ch = EOF) and then File.Is_Regular_File then File.Page := File.Page + 1; File.Line := 1; else Ungetc (ch, File); end if; end if; end loop; end Skip_Line; procedure Skip_Line (Spacing : Positive_Count := 1) is begin Skip_Line (Current_In, Spacing); end Skip_Line; --------------- -- Skip_Page -- --------------- procedure Skip_Page (File : File_Type) is ch : int; begin FIO.Check_Read_Status (AP (File)); -- If at page mark already, just skip it if File.Before_LM_PM then File.Before_LM := False; File.Before_LM_PM := False; File.Page := File.Page + 1; File.Line := 1; File.Col := 1; return; end if; -- This is a bit tricky, if we are logically before an LM then -- it is not an error if we are at an end of file now, since we -- are not really at it. if File.Before_LM then File.Before_LM := False; File.Before_LM_PM := False; ch := Getc (File); -- Otherwise we do raise End_Error if we are at the end of file now else ch := Getc (File); if ch = EOF then raise End_Error; end if; end if; -- Now we can just rumble along to the next page mark, or to the -- end of file, if that comes first. The latter case happens when -- the page mark is implied at the end of file. loop exit when ch = EOF or else (ch = PM and then File.Is_Regular_File); ch := Getc (File); end loop; File.Page := File.Page + 1; File.Line := 1; File.Col := 1; end Skip_Page; procedure Skip_Page is begin Skip_Page (Current_In); end Skip_Page; -------------------- -- Standard_Error -- -------------------- function Standard_Error return File_Type is begin return Standard_Err; end Standard_Error; function Standard_Error return File_Access is begin return Standard_Err'Access; end Standard_Error; -------------------- -- Standard_Input -- -------------------- function Standard_Input return File_Type is begin return Standard_In; end Standard_Input; function Standard_Input return File_Access is begin return Standard_In'Access; end Standard_Input; --------------------- -- Standard_Output -- --------------------- function Standard_Output return File_Type is begin return Standard_Out; end Standard_Output; function Standard_Output return File_Access is begin return Standard_Out'Access; end Standard_Output; -------------------- -- Terminate_Line -- -------------------- procedure Terminate_Line (File : File_Type) is begin FIO.Check_File_Open (AP (File)); -- For file other than In_File, test for needing to terminate last line if Mode (File) /= In_File then -- If not at start of line definition need new line if File.Col /= 1 then New_Line (File); -- For files other than standard error and standard output, we -- make sure that an empty file has a single line feed, so that -- it is properly formatted. We avoid this for the standard files -- because it is too much of a nuisance to have these odd line -- feeds when nothing has been written to the file. -- We also avoid this for files opened in append mode, in -- accordance with (RM A.8.2(10)) elsif (File /= Standard_Err and then File /= Standard_Out) and then (File.Line = 1 and then File.Page = 1) and then Mode (File) = Out_File then New_Line (File); end if; end if; end Terminate_Line; ------------ -- Ungetc -- ------------ procedure Ungetc (ch : int; File : File_Type) is begin if ch /= EOF then if ungetc (ch, File.Stream) = EOF then raise Device_Error; end if; end if; end Ungetc; ----------- -- Write -- ----------- -- This is the primitive Stream Write routine, used when a Text_IO file -- is treated directly as a stream using Text_IO.Streams.Stream. procedure Write (File : in out Text_AFCB; Item : Stream_Element_Array) is function Has_Translated_Characters return Boolean; -- return True if Item array contains a character which will be -- translated under the text file mode. There is only one such -- character under DOS based systems which is character 10. text_translation_required : Boolean; pragma Import (C, text_translation_required, "__gnat_text_translation_required"); Siz : constant size_t := Item'Length; function Has_Translated_Characters return Boolean is begin for K in Item'Range loop if Item (K) = 10 then return True; end if; end loop; return False; end Has_Translated_Characters; Needs_Binary_Write : constant Boolean := text_translation_required and then Has_Translated_Characters; begin if File.Mode = FCB.In_File then raise Mode_Error; end if; -- Now we do the write. Since this is a text file, it is normally in -- text mode, but stream data must be written in binary mode, so we -- temporarily set binary mode for the write, resetting it after. This -- is done only if needed (i.e. there is some characters in Item which -- needs to be written using the binary mode). -- These calls have no effect in a system (like Unix) where there is -- no distinction between text and binary files. -- Since the character translation is done at the time the buffer is -- written (this is true under Windows) we first flush current buffer -- with text mode if needed. if Needs_Binary_Write then if fflush (File.Stream) = -1 then raise Device_Error; end if; set_binary_mode (fileno (File.Stream)); end if; if fwrite (Item'Address, 1, Siz, File.Stream) /= Siz then raise Device_Error; end if; -- At this point we need to flush the buffer using the binary mode then -- we reset to text mode. if Needs_Binary_Write then if fflush (File.Stream) = -1 then raise Device_Error; end if; set_text_mode (fileno (File.Stream)); end if; end Write; -- Use "preallocated" strings to avoid calling "new" during the -- elaboration of the run time. This is needed in the tasking case to -- avoid calling Task_Lock too early. A filename is expected to end with a -- null character in the runtime, here the null characters are added just -- to have a correct filename length. Err_Name : aliased String := "*stderr" & ASCII.Nul; In_Name : aliased String := "*stdin" & ASCII.Nul; Out_Name : aliased String := "*stdout" & ASCII.Nul; begin ------------------------------- -- Initialize Standard Files -- ------------------------------- -- Note: the names in these files are bogus, and probably it would be -- better for these files to have no names, but the ACVC test insist! -- We use names that are bound to fail in open etc. Standard_Err.Stream := stderr; Standard_Err.Name := Err_Name'Access; Standard_Err.Form := Null_Str'Unrestricted_Access; Standard_Err.Mode := FCB.Out_File; Standard_Err.Is_Regular_File := is_regular_file (fileno (stderr)) /= 0; Standard_Err.Is_Temporary_File := False; Standard_Err.Is_System_File := True; Standard_Err.Is_Text_File := True; Standard_Err.Access_Method := 'T'; Standard_Err.Self := Standard_Err; Standard_In.Stream := stdin; Standard_In.Name := In_Name'Access; Standard_In.Form := Null_Str'Unrestricted_Access; Standard_In.Mode := FCB.In_File; Standard_In.Is_Regular_File := is_regular_file (fileno (stdin)) /= 0; Standard_In.Is_Temporary_File := False; Standard_In.Is_System_File := True; Standard_In.Is_Text_File := True; Standard_In.Access_Method := 'T'; Standard_In.Self := Standard_In; Standard_Out.Stream := stdout; Standard_Out.Name := Out_Name'Access; Standard_Out.Form := Null_Str'Unrestricted_Access; Standard_Out.Mode := FCB.Out_File; Standard_Out.Is_Regular_File := is_regular_file (fileno (stdout)) /= 0; Standard_Out.Is_Temporary_File := False; Standard_Out.Is_System_File := True; Standard_Out.Is_Text_File := True; Standard_Out.Access_Method := 'T'; Standard_Out.Self := Standard_Out; FIO.Chain_File (AP (Standard_In)); FIO.Chain_File (AP (Standard_Out)); FIO.Chain_File (AP (Standard_Err)); FIO.Make_Unbuffered (AP (Standard_Out)); FIO.Make_Unbuffered (AP (Standard_Err)); end Ada.Text_IO;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . T E X T _ I O . E N U M E R A T I O N _ I O -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ -- In Ada 95, the package Ada.Text_IO.Enumeration_IO is a subpackage of -- Text_IO. This is for compatibility with Ada 83. In GNAT we make it a -- child package to avoid loading the necessary code if Enumeration_IO is -- not instantiated. See routine Rtsfind.Text_IO_Kludge for a description -- of how we patch up the difference in semantics so that it is invisible -- to the Ada programmer. private generic type Enum is (<>); package Ada.Text_IO.Enumeration_IO is Default_Width : Field := 0; Default_Setting : Type_Set := Upper_Case; procedure Get (File : File_Type; Item : out Enum); procedure Get (Item : out Enum); procedure Put (File : File_Type; Item : Enum; Width : Field := Default_Width; Set : Type_Set := Default_Setting); procedure Put (Item : Enum; Width : Field := Default_Width; Set : Type_Set := Default_Setting); procedure Get (From : String; Item : out Enum; Last : out Positive); procedure Put (To : out String; Item : Enum; Set : Type_Set := Default_Setting); end Ada.Text_IO.Enumeration_IO;
-- -- 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. -- -- package soc.layout.stm32f4 with spark_mode => on is NB_MEM_BANK : constant := 1; end soc.layout.stm32f4;
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with GL.Buffers; with GL.Objects.Renderbuffers; with GL.Objects.Textures; private with GL.Low_Level.Enums; package GL.Objects.Framebuffers is pragma Preelaborate; type Framebuffer_Status is (Undefined, Complete, Incomplete_Attachment, Incomplete_Missing_Attachment, Incomplete_Draw_Buffer, Incomplete_Read_Buffer, Unsupported, Incomplete_Multisample, Incomplete_Layer_Targets); type Attachment_Point is (Depth_Stencil_Attachment, Color_Attachment_0, Color_Attachment_1, Color_Attachment_2, Color_Attachment_3, Color_Attachment_4, Color_Attachment_5, Color_Attachment_6, Color_Attachment_7, Color_Attachment_8, Color_Attachment_9, Color_Attachment_10, Color_Attachment_11, Color_Attachment_12, Color_Attachment_13, Color_Attachment_14, Color_Attachment_15, Depth_Attachment, Stencil_Attachment); type Attachment_List is array (Positive range <>) of Attachment_Point; type Framebuffer_Target (<>) is tagged limited private; function Status (Target : Framebuffer_Target) return Framebuffer_Status; procedure Attach_Renderbuffer (Target : Framebuffer_Target; Attachment : Attachment_Point; Object : Renderbuffers.Renderbuffer'Class); procedure Attach_Texture (Target : Framebuffer_Target; Attachment : Attachment_Point; Object : Textures.Texture'Class; Level : Textures.Mipmap_Level); procedure Attach_Texture_Layer (Target : Framebuffer_Target; Attachment : Attachment_Point; Object : Textures.Texture'Class; Level : Textures.Mipmap_Level; Layer : Int); procedure Invalidate (Target : in out Framebuffer_Target; Attachments : Attachment_List); procedure Invalidate_Sub (Target : in out Framebuffer_Target; Attachments : Attachment_List; X, Y : Int; Width, Height : Size); procedure Set_Default_Width (Target : in out Framebuffer_Target; Value : Size); function Default_Width (Target : Framebuffer_Target) return Size; function Max_Framebuffer_Width return Size; procedure Set_Default_Height (Target : in out Framebuffer_Target; Value : Size); function Default_Height (Target : Framebuffer_Target) return Size; function Max_Framebuffer_Height return Size; procedure Set_Default_Layers (Target : in out Framebuffer_Target; Value : Size); function Default_Layers (Target : Framebuffer_Target) return Size; function Max_Framebuffer_Layers return Size; procedure Set_Default_Samples (Target : in out Framebuffer_Target; Value : Size); function Default_Samples (Target : Framebuffer_Target) return Size; function Max_Framebuffer_Samples return Size; procedure Set_Default_Fixed_Sample_Locactions (Target : in out Framebuffer_Target; Value : Boolean); function Default_Fixed_Sample_Locations (Target : Framebuffer_Target) return Boolean; -- copy from current Read to current Draw framebuffer procedure Blit (Src_X0, Src_Y0, Src_X1, Src_Y1, Dst_X0, Dst_Y0, Dst_X1, Dst_Y1 : Int; Mask : Buffers.Buffer_Bits; Filter : Textures.Magnifying_Function); type Framebuffer is new GL_Object with private; procedure Bind (Target : Framebuffer_Target; Object : Framebuffer'Class); function Current (Target : Framebuffer_Target) return Framebuffer'Class; Read_Target : constant Framebuffer_Target; Draw_Target : constant Framebuffer_Target; Read_And_Draw_Target : constant Framebuffer_Target; Default_Framebuffer : constant Framebuffer; private for Framebuffer_Status use (Undefined => 16#8219#, Complete => 16#8CD5#, Incomplete_Attachment => 16#8CD6#, Incomplete_Missing_Attachment => 16#8CD7#, Incomplete_Draw_Buffer => 16#8CDB#, Incomplete_Read_Buffer => 16#8CDC#, Unsupported => 16#8CDD#, Incomplete_Multisample => 16#8D56#, Incomplete_Layer_Targets => 16#8DA8#); for Framebuffer_Status'Size use Low_Level.Enum'Size; for Attachment_Point use (Depth_Stencil_Attachment => 16#821A#, Color_Attachment_0 => 16#8CE0#, Color_Attachment_1 => 16#8CE1#, Color_Attachment_2 => 16#8CE2#, Color_Attachment_3 => 16#8CE3#, Color_Attachment_4 => 16#8CE4#, Color_Attachment_5 => 16#8CE5#, Color_Attachment_6 => 16#8CE6#, Color_Attachment_7 => 16#8CE7#, Color_Attachment_8 => 16#8CE8#, Color_Attachment_9 => 16#8CE9#, Color_Attachment_10 => 16#8CEA#, Color_Attachment_11 => 16#8CEB#, Color_Attachment_12 => 16#8CEC#, Color_Attachment_13 => 16#8CED#, Color_Attachment_14 => 16#8CEE#, Color_Attachment_15 => 16#8CEF#, Depth_Attachment => 16#8D00#, Stencil_Attachment => 16#8D01#); for Attachment_Point'Size use Low_Level.Enum'Size; pragma Convention (C, Attachment_List); type Framebuffer is new GL_Object with null record; overriding procedure Internal_Create_Id (Object : Framebuffer; Id : out UInt); overriding procedure Internal_Release_Id (Object : Framebuffer; Id : UInt); type Framebuffer_Target (Kind : Low_Level.Enums.Framebuffer_Kind) is tagged limited null record; Read_Target : constant Framebuffer_Target := Framebuffer_Target'(Kind => Low_Level.Enums.Read); Draw_Target : constant Framebuffer_Target := Framebuffer_Target'(Kind => Low_Level.Enums.Draw); Read_And_Draw_Target : constant Framebuffer_Target := Framebuffer_Target'(Kind => Low_Level.Enums.Read_Draw); Default_Framebuffer : constant Framebuffer := Framebuffer'(Ada.Finalization.Controlled with Reference => Reference_To_Null_Object'Access); end GL.Objects.Framebuffers;
package Seminar is pragma Pure; end Seminar;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- E X P _ C H 1 2 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1997-2002 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, 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 Atree; use Atree; with Checks; use Checks; with Einfo; use Einfo; with Exp_Util; use Exp_Util; with Nmake; use Nmake; with Sinfo; use Sinfo; with Stand; use Stand; with Tbuild; use Tbuild; package body Exp_Ch12 is ------------------------------------ -- Expand_N_Generic_Instantiation -- ------------------------------------ -- If elaboration entity is defined and this is not an outer level entity, -- we need to generate a check for it here. procedure Expand_N_Generic_Instantiation (N : Node_Id) is Loc : constant Source_Ptr := Sloc (N); Ent : constant Entity_Id := Entity (Name (N)); begin if Etype (Name (N)) = Any_Type then return; end if; if Present (Elaboration_Entity (Ent)) and then not Is_Compilation_Unit (Ent) and then not Elaboration_Checks_Suppressed (Ent) then Insert_Action (Instance_Spec (N), Make_Raise_Program_Error (Loc, Condition => Make_Op_Not (Loc, Right_Opnd => New_Occurrence_Of (Elaboration_Entity (Ent), Loc)), Reason => PE_Access_Before_Elaboration)); end if; end Expand_N_Generic_Instantiation; end Exp_Ch12;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- G N A T V S N -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ package body Gnatvsn is ---------------------- -- Copyright_Holder -- ---------------------- function Copyright_Holder return String is begin return "Free Software Foundation, Inc."; end Copyright_Holder; ------------------------ -- Gnat_Free_Software -- ------------------------ function Gnat_Free_Software return String is begin return "This is free software; see the source for copying conditions." & ASCII.LF & "There is NO warranty; not even for MERCHANTABILITY or FITNESS" & " FOR A PARTICULAR PURPOSE."; end Gnat_Free_Software; type char_array is array (Natural range <>) of aliased Character; Version_String : char_array (0 .. Ver_Len_Max - 1); -- Import the C string defined in the (language-independent) source file -- version.c using the zero-based convention of the C language. -- The size is not the real one, which does not matter since we will -- check for the nul character in Gnat_Version_String. pragma Import (C, Version_String, "version_string"); ------------------------- -- Gnat_Version_String -- ------------------------- function Gnat_Version_String return String is S : String (1 .. Ver_Len_Max); Pos : Natural := 0; begin loop exit when Version_String (Pos) = ASCII.NUL; S (Pos + 1) := Version_String (Pos); Pos := Pos + 1; exit when Pos = Ver_Len_Max; end loop; return S (1 .. Pos); end Gnat_Version_String; end Gnatvsn;
with Extraction.Node_Edge_Types; package body Extraction.Project_Files is use type GPR.Project_Type; procedure Extract_Nodes (Project : GPR.Project_Type; Graph : Graph_Operations.Graph_Context) is begin Graph.Write_Node (Project); Graph.Write_Node (Project.Project_Path); end Extract_Nodes; procedure Extract_Edges (Project : GPR.Project_Type; Recurse_Projects : Boolean; Graph : Graph_Operations.Graph_Context) is Extended_Project : constant GPR.Project_Type := Project.Extended_Project; begin Graph.Write_Edge (Project, Project.Project_Path, Node_Edge_Types.Edge_Type_Source); if Recurse_Projects and then Extended_Project /= GPR.No_Project and then not Extended_Project.Externally_Built then Graph.Write_Edge (Project, Extended_Project, Node_Edge_Types.Edge_Type_Derives_From); end if; declare Iter : GPR.Project_Iterator := GPR.Start (Project, Recurse_Projects, True); Current_Project : GPR.Project_Type; begin loop Current_Project := GPR.Current (Iter); exit when Current_Project = GPR.No_Project; if Current_Project /= Project and then not Current_Project.Externally_Built then Graph.Write_Edge (Project.Project_Path, Current_Project, Node_Edge_Types.Edge_Type_Imports); end if; GPR.Next (Iter); end loop; end; end Extract_Edges; end Extraction.Project_Files;
------------------------------------------------------------------------------ -- -- -- 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. ------------------------------------------------------------------------------ with AMF.Elements.Generic_Hash; function AMF.DG.Polylines.Hash is new AMF.Elements.Generic_Hash (DG_Polyline, DG_Polyline_Access);
with GL; use GL; with Glut; use Glut; package ada_sphere_procs is procedure display; procedure reshape (w : Integer; h : Integer); procedure menu (value : Integer); procedure init; end ada_sphere_procs;
package Pixtend is end Pixtend;
with HW.GFX.GMA.Config; private package HW.GFX.GMA.GMCH is GMCH_PORT_PIPE_SELECT_SHIFT : constant := 30; GMCH_PORT_PIPE_SELECT_MASK : constant := 1 * 2 ** 30; type GMCH_PORT_PIPE_SELECT_Array is array (Pipe_Index) of Word32; GMCH_PORT_PIPE_SELECT : constant GMCH_PORT_PIPE_SELECT_Array := (Primary => 0 * 2 ** GMCH_PORT_PIPE_SELECT_SHIFT, Secondary => 1 * 2 ** GMCH_PORT_PIPE_SELECT_SHIFT, Tertiary => 0); end HW.GFX.GMA.GMCH;
with Ada.Text_IO; use Ada.Text_IO; with Ada.Numerics.Aux; use Ada.Numerics.Aux; with Prime_Ada; use Prime_Ada; procedure Main is begin declare n : Integer; begin for i in 1 .. 6 loop n := Integer (Pow (Double (10), Double (i))); Put ("n = "); Put_Line (Integer'Image (n)); Get_Prime (n); Put (Integer'Image (cnt)); Put_Line (" prime numbers found."); end loop; end; end Main;
package WPs is type WP_Type is null record; end WPs;
------------------------------------------------------------------------------ -- G P S -- -- -- -- Copyright (C) 2000-2016, AdaCore -- -- -- -- This 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. This software is distributed in the hope that it will be useful, -- -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- -- License for more details. You should have received a copy of the GNU -- -- General Public License distributed with this software; see file -- -- COPYING3. If not, go to http://www.gnu.org/licenses for a complete copy -- -- of the license. -- ------------------------------------------------------------------------------ with Ada.Unchecked_Deallocation; with Ada.Strings.Maps.Constants; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Wide_Wide_Characters.Unicode; use Ada.Wide_Wide_Characters.Unicode; with Ada.Characters.Wide_Wide_Latin_1; with GNAT.Expect; use GNAT.Expect; with GNAT.Regpat; use GNAT.Regpat; with GNATCOLL.Symbols; use GNATCOLL.Symbols; with GNATCOLL.Utils; use GNATCOLL.Utils; with String_Utils; use String_Utils; with UTF8_Utils; use UTF8_Utils; package body Language is Default_Word_Character_Set : constant Character_Set := Constants.Letter_Set or Constants.Decimal_Digit_Set or To_Set ("_"); -- Default character set for keywords and indentifiers procedure Looking_At (Lang : access Language_Root; Buffer : String; First : Natural; Entity : out Language_Entity; Next_Char : out Positive; Line : out Natural; Column : out Natural); -- Internal version of Looking_At, which also returns the Line and Column, -- considering that Buffer (First) is at line 1 column 1. -- Column is a byte index, not a character index. --------------------------- -- Can_Tooltip_On_Entity -- --------------------------- function Can_Tooltip_On_Entity (Lang : access Language_Root; Entity : String) return Boolean is pragma Unreferenced (Lang, Entity); begin return True; end Can_Tooltip_On_Entity; --------------------- -- Scope_Separator -- --------------------- function Scope_Separator (Lang : access Language_Root) return String is pragma Unreferenced (Lang); begin return "."; end Scope_Separator; ---------------------- -- Explorer_Regexps -- ---------------------- function Explorer_Regexps (Lang : access Language_Root) return Explorer_Categories is pragma Unreferenced (Lang); E : Explorer_Categories (1 .. 0); begin return E; end Explorer_Regexps; ---------- -- Free -- ---------- procedure Free (Context : in out Language_Context_Access) is procedure Unchecked_Free is new Ada.Unchecked_Deallocation (Language_Context, Language_Context_Access); Var : GNAT.Expect.Pattern_Matcher_Access := GNAT.Expect.Pattern_Matcher_Access (Context.Syntax.New_Line_Comment_Start_Regexp); begin if Context /= null then GNAT.Strings.Free (Context.Syntax.Comment_Start); GNAT.Strings.Free (Context.Syntax.Comment_End); Basic_Types.Unchecked_Free (Var); GNAT.Strings.Free (Context.Syntax.New_Line_Comment_Start); Unchecked_Free (Context); end if; end Free; ---------- -- Free -- ---------- procedure Free (Lang : in out Language_Access) is procedure Internal is new Ada.Unchecked_Deallocation (Language_Root'Class, Language_Access); begin if Lang /= null then Free (Lang.all); Internal (Lang); end if; end Free; procedure Free (List : in out Construct_List) is Info, Tmp : Construct_Access; procedure Free is new Ada.Unchecked_Deallocation (Construct_Information, Construct_Access); begin Info := List.First; loop exit when Info = null; GNAT.Strings.Free (Info.Profile); Tmp := Info; Info := Info.Next; Free (Tmp); end loop; List.First := null; List.Current := null; List.Last := null; end Free; ---------- -- Free -- ---------- procedure Free (Category : in out Explorer_Category) is begin Basic_Types.Unchecked_Free (Category.Regexp); end Free; ---------- -- Free -- ---------- procedure Free (Categories : in out Explorer_Categories) is begin for C in Categories'Range loop Free (Categories (C)); end loop; end Free; -------------------- -- Is_System_File -- -------------------- function Is_System_File (Lang : access Language_Root; File_Name : String) return Boolean is pragma Unreferenced (Lang, File_Name); begin return False; end Is_System_File; ---------------- -- Looking_At -- ---------------- procedure Looking_At (Lang : access Language_Root; Buffer : String; First : Natural; Entity : out Language_Entity; Next_Char : out Positive) is Line, Column : Natural; begin Looking_At (Lang, Buffer, First, Entity, Next_Char, Line, Column); end Looking_At; procedure Looking_At (Lang : access Language_Root; Buffer : String; First : Natural; Entity : out Language_Entity; Next_Char : out Positive; Line : out Natural; Column : out Natural) is Context : constant Language_Context_Access := Get_Language_Context (Language_Access (Lang)); Keys : constant GNAT.Expect.Pattern_Matcher_Access := Keywords (Language_Access (Lang)); Buffer_Length : constant Natural := Buffer'Last - First + 1; Matched : Match_Array (0 .. 1); C : Wide_Wide_Character; Tmp : Natural; Found : Boolean; use GNAT.Strings; begin Line := 1; Column := 1; if Buffer (First) = ASCII.LF then Next_Char := First + 1; Line := Line + 1; Column := 1; Entity := Normal_Text; return; end if; -- Do we have a comment ? if Context.Syntax.Comment_Start /= null and then Starts_With (Buffer (First .. Buffer'Last), Context.Syntax.Comment_Start.all) then Entity := Comment_Text; Next_Char := First + Context.Syntax.Comment_Start'Length; Column := Column + Context.Syntax.Comment_Start'Length; while Starts_With (Buffer (Next_Char .. Buffer'Last), Context.Syntax.Comment_End.all) loop Tmp := UTF8_Next_Char (Buffer, Next_Char); Column := Column + (Tmp - Next_Char); Next_Char := Tmp; if Next_Char <= Buffer'Last and then Buffer (Next_Char) = ASCII.LF then Column := 1; Line := Line + 1; end if; end loop; Next_Char := Next_Char + Context.Syntax.Comment_End'Length; Column := Column + Context.Syntax.Comment_End'Length; return; end if; -- Do we have a comment that ends on newline ? if Context.Syntax.New_Line_Comment_Start /= null then Found := Starts_With (Buffer (First .. Buffer'Last), Context.Syntax.New_Line_Comment_Start.all); elsif Context.Syntax.New_Line_Comment_Start_Regexp /= null then Found := Match (Context.Syntax.New_Line_Comment_Start_Regexp.all, Buffer (First .. Buffer'Last)); else Found := False; end if; if Found then Entity := Comment_Text; Next_Char := UTF8_Next_Char (Buffer, First); while Next_Char <= Buffer'Last and then Buffer (Next_Char) /= ASCII.LF loop Tmp := UTF8_Next_Char (Buffer, Next_Char); Column := Column + (Tmp - Next_Char); Next_Char := Tmp; end loop; return; end if; -- Do we have a string ? -- Note that we consider that strings never span over multiple lines... if Buffer (First) = Context.String_Delimiter then Entity := String_Text; Next_Char := First; if Next_Char < Buffer'Last and then Buffer (Next_Char + 1) /= ASCII.LF then loop Next_Char := UTF8_Next_Char (Buffer, Next_Char); Column := Column + 1; exit when Next_Char >= Buffer'Last or else Buffer (Next_Char + 1) = ASCII.LF or else (Buffer (Next_Char) = Context.String_Delimiter and then (Context.Quote_Character = ASCII.NUL or else Buffer (Next_Char - 1) /= Context.Quote_Character)); end loop; end if; if Next_Char <= Buffer'Last then Tmp := UTF8_Next_Char (Buffer, Next_Char); Column := Column + (Tmp - Next_Char); Next_Char := Tmp; end if; return; end if; -- A protected constant character -- ??? The following test still does not handle cases such as -- '\012' for instance, or multi-byte character constants. if Buffer_Length > 4 and then Buffer (First) = Context.Constant_Character and then Buffer (First + 1) = Context.Quote_Character and then Buffer (First + 3) = Context.Constant_Character then Entity := Character_Text; Next_Char := First + 4; Column := Column + 4; return; end if; -- A constant character if Buffer_Length > 3 and then Buffer (First) = Context.Constant_Character and then Buffer (First + 2) = Context.Constant_Character then Entity := Character_Text; Next_Char := First + 3; Column := Column + 3; return; end if; -- Do we have a keyword ? -- ??? It is assumed the regexp should check at the current char -- only, not beyond for efficiency... if Keys /= null then Match (Keys.all, Buffer (First .. Buffer'Last), Matched); if Matched (0) /= No_Match then Next_Char := UTF8_Next_Char (Buffer, Matched (0).Last); Column := Column + Matched (0).Last - Matched (0).First + 1; Entity := Keyword_Text; return; end if; end if; -- Another special character, not part of a word: just skip it, before -- doing some regexp matching -- It is better to return a pointer to the newline, so that the icons -- on the side might be displayed properly. if not Is_Word_Char (Language_Access (Lang), UTF8_Get_Char (Buffer (First .. Buffer'Last))) then Entity := Normal_Text; Next_Char := UTF8_Next_Char (Buffer, First); Column := Column + (Next_Char - First); while Next_Char <= Buffer'Last loop C := UTF8_Get_Char (Buffer (Next_Char .. Buffer'Last)); exit when C = Ada.Characters.Wide_Wide_Latin_1.LF or else not Is_Space (C); Tmp := UTF8_Next_Char (Buffer, Next_Char); Column := Column + (Tmp - Next_Char); Next_Char := Tmp; end loop; return; end if; -- Skip to the next meaningful character. we know we are -- starting with a letter Next_Char := UTF8_Next_Char (Buffer, First); Column := Column + (Next_Char - First); Entity := Normal_Text; if Buffer (Next_Char) = ASCII.LF then return; end if; -- Skip the current word. We only take into account Is_Entity_Letter, -- not the full set of chars supported by the language for its keywords -- because of cases like "<foo>bar</foo>" in XML, which would otherwise -- consider this as a single word when they are in fact several. while Next_Char <= Buffer'Last and then Is_Entity_Letter (UTF8_Get_Char (Buffer (Next_Char .. Buffer'Last))) loop Tmp := UTF8_Next_Char (Buffer, Next_Char); Column := Column + (Tmp - Next_Char); Next_Char := Tmp; end loop; end Looking_At; ------------------------------------- -- To_Simple_Construct_Information -- ------------------------------------- procedure To_Simple_Construct_Information (Construct : Construct_Information; Simple : out Simple_Construct_Information; Full_Copy : Boolean) is pragma Unreferenced (Full_Copy); begin Simple := (Category => Construct.Category, Is_Declaration => Construct.Is_Declaration, Is_Generic_Spec => Construct.Is_Generic_Spec, Visibility => Construct.Visibility, Name => Construct.Name, Sloc_Start => Construct.Sloc_Start, Sloc_Entity => Construct.Sloc_Entity, Sloc_End => Construct.Sloc_End, Attributes => Construct.Attributes, Profile_Cache => null); end To_Simple_Construct_Information; ------------------ -- Comment_Line -- ------------------ function Comment_Line (Lang : access Language_Root; Line : String; Comment : Boolean := True; Clean : Boolean := False) return String is pragma Unreferenced (Lang, Comment, Clean); begin return Line; end Comment_Line; ------------------ -- Comment_Block -- ------------------ function Comment_Block (Lang : access Language_Root; Block : String; Comment : Boolean := True; Clean : Boolean := False) return String is Start_Of_Line : Natural := Block'First; End_Of_Line : Natural; New_Block : Unbounded_String := Null_Unbounded_String; begin loop End_Of_Line := Next_Line (Block, Start_Of_Line); if End_Of_Line /= Block'Last and then End_Of_Line /= Block'First then End_Of_Line := End_Of_Line - 1; end if; Append (New_Block, Comment_Line (Language_Access (Lang), Block (Start_Of_Line .. End_Of_Line), Comment, Clean)); Start_Of_Line := Next_Line (Block, Start_Of_Line); exit when Start_Of_Line = Block'Last; end loop; return To_String (New_Block); end Comment_Block; ---------------------- -- Parse_Constructs -- ---------------------- procedure Parse_Constructs (Lang : access Language_Root; File : GNATCOLL.VFS.Virtual_File; Buffer : UTF8_String; Result : out Construct_List) is pragma Unreferenced (File); Matches : Match_Array (0 .. 10); Categories : constant Explorer_Categories := Explorer_Regexps (Language_Access (Lang)); First : Natural; Line : Natural; Line_Pos : Natural; Sloc_Entity : Source_Location; Sloc_Start : Source_Location; Sloc_End : Source_Location; Info : Construct_Access; Match_Index : Natural; End_Index : Natural; procedure Forward (Index : Natural; Sloc : in out Source_Location); -- Compute Line and Column fields in Sloc and update Line and Line_Pos ------------- -- Forward -- ------------- procedure Forward (Index : Natural; Sloc : in out Source_Location) is begin for J in Index .. Sloc.Index loop if Buffer (J) = ASCII.LF then Line := Line + 1; Line_Pos := J; end if; end loop; Sloc.Line := Line; Sloc.Column := Sloc.Index - Line_Pos; end Forward; begin Result := (null, null, null, 0); -- For each category, parse the buffer for C in Categories'Range loop First := Buffer'First; Line := 1; Line_Pos := 0; loop Match (Categories (C).Regexp.all, Buffer (First .. Buffer'Last), Matches); exit when Matches (0) = No_Match; Match_Index := Categories (C).Position_Index; End_Index := Categories (C).End_Index; if Matches (Match_Index) /= No_Match then Sloc_Start.Index := Matches (0).First; Sloc_Entity.Index := Matches (Match_Index).First; Sloc_End.Index := Matches (End_Index).Last; Forward (First, Sloc_Start); Forward (Sloc_Start.Index + 1, Sloc_Entity); Forward (Sloc_Entity.Index + 1, Sloc_End); Info := Result.Current; Result.Current := new Construct_Information; if Result.First = null then Result.First := Result.Current; else Result.Current.Prev := Info; Result.Current.Next := Info.Next; Info.Next := Result.Current; end if; Result.Last := Result.Current; Result.Current.Category := Categories (C).Category; Result.Current.Category_Name := Categories (C).Category_Name; Result.Size := Result.Size + 1; if Categories (C).Make_Entry /= null then Result.Current.Name := Lang.Symbols.Find (Categories (C).Make_Entry (Buffer, Matches)); else Result.Current.Name := Lang.Symbols.Find (Buffer (Matches (Match_Index).First .. Matches (Match_Index).Last)); end if; -- Result.Current.Profile := ??? Result.Current.Sloc_Entity := Sloc_Entity; Result.Current.Sloc_Start := Sloc_Start; Result.Current.Sloc_End := Sloc_End; Result.Current.Is_Declaration := False; end if; First := Matches (End_Index).Last + 1; end loop; end loop; end Parse_Constructs; -------------------- -- Parse_Entities -- -------------------- procedure Parse_Entities (Lang : access Language_Root; Buffer : String; Callback : Entity_Callback) is use type GNAT.Strings.String_Access; Index : Natural := Buffer'First; Next_Char : Natural; End_Char : Natural; Entity : Language_Entity; Line : Natural; Line_Inc : Natural; Col : Natural; Column : Natural; Column_Inc : Natural; begin Line := 1; Column := 1; while Index < Buffer'Last loop Looking_At (Lang, Buffer, Index, Entity, Next_Char, Line_Inc, Column_Inc); if Next_Char = Buffer'Last then End_Char := Buffer'Last; else End_Char := Next_Char - 1; end if; -- If we are still on the same line, Column_Inc is an increment -- compared to what we have initially, otherwise it is an absolute -- column. if Line_Inc = 1 then Column_Inc := Column + Column_Inc - 1; end if; -- Looking_At goes always one character beyond characters and -- strings, otherwise next call to Looking_At would start on -- a string or character delimiter. Keywords are also set one -- character beyond. if Column_Inc > 1 and then (Entity = String_Text or else Entity = Character_Text or else Entity = Keyword_Text) then Col := Column_Inc - 1; else Col := Column_Inc; end if; exit when Callback (Entity, (Line, Column, Index), (Line + Line_Inc - 1, Col, End_Char), Get_Language_Context (Language_Access (Lang)).Syntax.Comment_Start /= null and then Entity = Comment_Text and then Next_Char > Buffer'Last); Line := Line + Line_Inc - 1; Column := Column_Inc; Index := Next_Char; end loop; end Parse_Entities; --------------------------- -- Get_Referenced_Entity -- --------------------------- procedure Get_Referenced_Entity (Lang : access Language_Root; Buffer : String; Construct : Simple_Construct_Information; Sloc_Start : out Source_Location; Sloc_End : out Source_Location; Success : out Boolean; From_Index : Natural := 0) is pragma Unreferenced (Lang, Buffer, Construct, Sloc_Start, Sloc_End, From_Index); begin Success := False; end Get_Referenced_Entity; ------------------- -- Format_Buffer -- ------------------- procedure Format_Buffer (Lang : access Language_Root; Buffer : String; Replace : Replace_Text_Callback; From, To : Natural := 0; Indent_Params : Indent_Parameters := Default_Indent_Parameters; Indent_Offset : Natural := 0; Case_Exceptions : Case_Handling.Casing_Exceptions := Case_Handling.No_Casing_Exception; Is_Optional_Keyword : access function (S : String) return Boolean := null) is pragma Unreferenced (Lang, Indent_Offset, Case_Exceptions, Is_Optional_Keyword); Use_Tabs : Boolean renames Indent_Params.Use_Tabs; Index : Natural; Indent : Natural := 0; Start_Of_Line : Natural; Start_Prev_Line : Natural; function Find_Line_Start (Buffer : String; Index : Natural) return Natural; -- Find the starting ASCII.LF character of the line positioned at -- Buffer (Index). --------------------- -- Find_Line_Start -- --------------------- function Find_Line_Start (Buffer : String; Index : Natural) return Natural is Result : Natural := Index; begin while Result > Buffer'First and then Buffer (Result) /= ASCII.LF loop Result := Result - 1; end loop; return Result; end Find_Line_Start; begin if Buffer'Length <= 1 or else To > From + 1 then return; end if; Start_Of_Line := Find_Line_Start (Buffer, Buffer'Last - 1); Start_Prev_Line := Find_Line_Start (Buffer, Start_Of_Line - 1); -- Compute the indentation level for J in Start_Prev_Line + 1 .. Start_Of_Line - 1 loop if Buffer (J) = ' ' then Indent := Indent + 1; elsif Buffer (J) = ASCII.HT then Indent := Indent + Tab_Width - (Indent mod Tab_Width); else exit; end if; end loop; -- Find the blank slice to replace Index := Start_Of_Line + 1; while Index < Buffer'Last and then (Buffer (Index) = ' ' or else Buffer (Index) = ASCII.HT) loop Index := Index + 1; end loop; Replace (To, 1, Index - Start_Of_Line, Blank_Slice (Indent, Use_Tabs, Tab_Width)); end Format_Buffer; ------------------- -- Category_Name -- ------------------- function Category_Name (Category : Language.Language_Category; Name : GNATCOLL.Symbols.Symbol := GNATCOLL.Symbols.No_Symbol) return String is use type Strings.String_Access; begin if Name /= No_Symbol then return Get (Name).all; end if; case Category is when Cat_Unknown => return ""; when Cat_Custom => return "custom"; when Cat_Package => return "package"; when Cat_Namespace => return "namespace"; when Cat_Task => return "task"; when Cat_Procedure => return "subprogram"; when Cat_Function => return "subprogram"; when Cat_Method => return "method"; when Cat_Constructor => return "constructor"; when Cat_Destructor => return "destructor"; when Cat_Protected => return "protected"; when Cat_Entry => return "entry"; when Cat_Class => return "class"; when Cat_Structure => return "structure"; when Cat_Case_Inside_Record => return "structure variant part"; when Cat_Union => return "union"; when Cat_Type => return "type"; when Cat_Subtype => return "subtype"; when Cat_Variable => return "variable"; when Cat_Local_Variable => return "variable"; when Cat_Parameter => return "parameter"; when Cat_Discriminant => return "discriminant"; when Cat_Field => return "field"; when Cat_Literal => return "literal"; when Cat_Representation_Clause => return "representation clause"; when Cat_With => return "with"; when Cat_Use => return "use"; when Cat_Include => return "include"; when Construct_Category => return ""; when Cat_Exception_Handler => return ""; when Cat_Pragma => return "pragma"; when Cat_Aspect => return "aspect"; end case; end Category_Name; -------------------------------- -- Get_Indentation_Parameters -- -------------------------------- procedure Get_Indentation_Parameters (Lang : access Language_Root; Params : out Indent_Parameters; Indent_Style : out Indentation_Kind) is begin Params := Lang.Indent_Params; Indent_Style := Lang.Indent_Style; end Get_Indentation_Parameters; -------------------------------- -- Set_Indentation_Parameters -- -------------------------------- procedure Set_Indentation_Parameters (Lang : access Language_Root; Params : Indent_Parameters; Indent_Style : Indentation_Kind) is begin Lang.Indent_Params := Params; Lang.Indent_Style := Indent_Style; end Set_Indentation_Parameters; ---------- -- Free -- ---------- procedure Free (Fields : in out Project_Field_Array) is begin for F in Fields'Range loop Strings.Free (Fields (F).Attribute_Name); Strings.Free (Fields (F).Attribute_Index); Strings.Free (Fields (F).Description); end loop; end Free; ------------------------ -- Word_Character_Set -- ------------------------ function Word_Character_Set (Lang : access Language_Root) return Character_Set is pragma Unreferenced (Lang); begin return Default_Word_Character_Set; end Word_Character_Set; ------------------ -- Is_Word_Char -- ------------------ function Is_Word_Char (Lang : access Language_Root; Char : Wide_Wide_Character) return Boolean is pragma Unreferenced (Lang); begin return Is_Entity_Letter (Char); end Is_Word_Char; --------- -- "=" -- --------- overriding function "=" (S1, S2 : Source_Location) return Boolean is begin if S1.Index > 0 and then S2.Index > 0 then return S1.Index = S2.Index; else return S1.Line = S2.Line and then S1.Column = S2.Column; end if; end "="; --------- -- "<" -- --------- function "<" (S1, S2 : Source_Location) return Boolean is begin if S1.Index > 0 and then S2.Index > 0 then return S1.Index < S2.Index; elsif S1.Line = S2.Line then return S1.Column < S2.Column; else return S1.Line < S2.Line; end if; end "<"; ---------- -- "<=" -- ---------- function "<=" (S1, S2 : Source_Location) return Boolean is begin return S1 = S2 or else S1 < S2; end "<="; --------- -- ">" -- --------- function ">" (S1, S2 : Source_Location) return Boolean is begin return S2 < S1; end ">"; ---------- -- ">=" -- ---------- function ">=" (S1, S2 : Source_Location) return Boolean is begin return not (S1 < S2); end ">="; --------------------------- -- Parse_Tokens_Backward -- --------------------------- procedure Parse_Tokens_Backwards (Lang : access Language_Root; Buffer : UTF8_String; Start_Offset : String_Index_Type; End_Offset : String_Index_Type := 0; -- ??? This analysis should be done when looking for comments !!! Callback : access procedure (Token : Token_Record; Stop : in out Boolean)) is pragma Unreferenced (Lang); Lowest : constant String_Index_Type := String_Index_Type'Max (End_Offset, String_Index_Type (Buffer'First)); Index : String_Index_Type := Start_Offset; Stop : Boolean := False; begin if Index not in Lowest .. String_Index_Type (Buffer'Last) then return; else Skip_Word (Buffer (Natural (Lowest) .. Natural (Index)), Natural (Index), Step => -1); Callback ((Tok_Type => No_Token, Token_First => Index + 1, Token_Last => Start_Offset), Stop); end if; end Parse_Tokens_Backwards; ------------------------------ -- Parse_Reference_Backward -- ------------------------------ function Parse_Reference_Backwards (Lang : access Language_Root; Buffer : UTF8_String; Start_Offset : String_Index_Type; End_Offset : String_Index_Type := 0) return String is Buf_Start : Integer := 1; Buf_End : Integer := 0; procedure Callback (Token : Token_Record; Stop : in out Boolean); procedure Callback (Token : Token_Record; Stop : in out Boolean) is begin Buf_End := Integer (Token.Token_Last); Buf_Start := Integer (Token.Token_First); Stop := True; end Callback; begin Lang.Parse_Tokens_Backwards (Buffer => Buffer, Start_Offset => Start_Offset, End_Offset => End_Offset, Callback => Callback'Access); return Buffer (Buf_Start .. Buf_End); end Parse_Reference_Backwards; ----------------- -- Set_Symbols -- ----------------- procedure Set_Symbols (Self : access Language_Root'Class; Symbols : not null access GNATCOLL.Symbols.Symbol_Table_Record'Class) is begin Self.Symbols := Symbol_Table_Access (Symbols); end Set_Symbols; ------------- -- Symbols -- ------------- function Symbols (Self : access Language_Root'Class) return GNATCOLL.Symbols.Symbol_Table_Access is begin return Self.Symbols; end Symbols; ---------------------- -- Entities_Indexed -- ---------------------- function Entities_Indexed (Self : Language_Root) return Boolean is pragma Unreferenced (Self); begin return False; end Entities_Indexed; end Language;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . W I D E _ T E X T _ I O . E D I T I N G -- -- -- -- S p e c -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992-1997 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, 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 Ada.Wide_Text_IO.Editing is type Picture is private; function Valid (Pic_String : in String; Blank_When_Zero : in Boolean := False) return Boolean; function To_Picture (Pic_String : in String; Blank_When_Zero : in Boolean := False) return Picture; function Pic_String (Pic : in Picture) return String; function Blank_When_Zero (Pic : in Picture) return Boolean; Max_Picture_Length : constant := 64; Picture_Error : exception; Default_Currency : constant Wide_String := "$"; Default_Fill : constant Wide_Character := ' '; Default_Separator : constant Wide_Character := ','; Default_Radix_Mark : constant Wide_Character := '.'; generic type Num is delta <> digits <>; Default_Currency : in Wide_String := Wide_Text_IO.Editing.Default_Currency; Default_Fill : in Wide_Character := Wide_Text_IO.Editing.Default_Fill; Default_Separator : in Wide_Character := Wide_Text_IO.Editing.Default_Separator; Default_Radix_Mark : in Wide_Character := Wide_Text_IO.Editing.Default_Radix_Mark; package Decimal_Output is function Length (Pic : in Picture; Currency : in Wide_String := Default_Currency) return Natural; function Valid (Item : Num; Pic : in Picture; Currency : in Wide_String := Default_Currency) return Boolean; function Image (Item : Num; Pic : in Picture; Currency : in Wide_String := Default_Currency; Fill : in Wide_Character := Default_Fill; Separator : in Wide_Character := Default_Separator; Radix_Mark : in Wide_Character := Default_Radix_Mark) return Wide_String; procedure Put (File : in File_Type; Item : Num; Pic : in Picture; Currency : in Wide_String := Default_Currency; Fill : in Wide_Character := Default_Fill; Separator : in Wide_Character := Default_Separator; Radix_Mark : in Wide_Character := Default_Radix_Mark); procedure Put (Item : Num; Pic : in Picture; Currency : in Wide_String := Default_Currency; Fill : in Wide_Character := Default_Fill; Separator : in Wide_Character := Default_Separator; Radix_Mark : in Wide_Character := Default_Radix_Mark); procedure Put (To : out Wide_String; Item : Num; Pic : in Picture; Currency : in Wide_String := Default_Currency; Fill : in Wide_Character := Default_Fill; Separator : in Wide_Character := Default_Separator; Radix_Mark : in Wide_Character := Default_Radix_Mark); end Decimal_Output; private MAX_PICSIZE : constant := 50; MAX_MONEYSIZE : constant := 10; Invalid_Position : constant := -1; subtype Pic_Index is Natural range 0 .. MAX_PICSIZE; type Picture_Record (Length : Pic_Index := 0) is record Expanded : String (1 .. Length); end record; type Format_Record is record Picture : Picture_Record; -- Read only Blank_When_Zero : Boolean; -- Read/write Original_BWZ : Boolean; -- The following components get written Star_Fill : Boolean := False; Radix_Position : Integer := Invalid_Position; Sign_Position, Second_Sign : Integer := Invalid_Position; Start_Float, End_Float : Integer := Invalid_Position; Start_Currency, End_Currency : Integer := Invalid_Position; Max_Leading_Digits : Integer := 0; Max_Trailing_Digits : Integer := 0; Max_Currency_Digits : Integer := 0; Floater : Wide_Character := '!'; -- Initialized to illegal value end record; type Picture is record Contents : Format_Record; end record; type Number_Attributes is record Negative : Boolean := False; Has_Fraction : Boolean := False; Start_Of_Int, End_Of_Int, Start_Of_Fraction, End_Of_Fraction : Integer := Invalid_Position; -- invalid value end record; function Parse_Number_String (Str : String) return Number_Attributes; -- Assumed format is 'IMAGE or Fixed_IO.Put format (depends on no -- trailing blanks...) procedure Precalculate (Pic : in out Format_Record); -- Precalculates fields from the user supplied data function Format_Number (Pic : Format_Record; Number : String; Currency_Symbol : Wide_String; Fill_Character : Wide_Character; Separator_Character : Wide_Character; Radix_Point : Wide_Character) return Wide_String; -- Formats number according to Pic function Expand (Picture : in String) return String; end Ada.Wide_Text_IO.Editing;
[Users] akirmse@3do.com=
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. private with Ada.Exceptions; private with Ada.Tags; with Apsepp.Test_Node_Class.Case_Stub; use Apsepp.Test_Node_Class.Case_Stub; use Apsepp.Test_Node_Class; package Apsepp.Abstract_Early_Test_Case is subtype Test_Routine is Test_Node_Class.Test_Routine; type Early_Test_Case is abstract limited new Test_Case_Stub with private with Type_Invariant'Class => Early_Test_Case.Invariant_Class_Early_Test_Case; not overriding function Invariant_Class_Early_Test_Case (Obj : Early_Test_Case) return Boolean is (Early_Test_Case'Class (Obj).Routine_Count = 1 and then Early_Test_Case'Class (Obj).Has_Early_Test); overriding function Has_Early_Test (Obj : Early_Test_Case) return Boolean is (True); overriding function Early_Run_Done (Obj : Early_Test_Case) return Boolean; not overriding function Early_Routine (Obj : Early_Test_Case) return Test_Routine is abstract; overriding procedure Early_Run (Obj : in out Early_Test_Case); overriding function Routine_Count (Obj : Early_Test_Case) return Test_Routine_Count is (1); overriding function Routine (Obj : Early_Test_Case; K : Test_Routine_Index) return Test_Routine; overriding procedure Run (Obj : in out Early_Test_Case; Outcome : out Test_Outcome; Kind : Run_Kind := Assert_Cond_And_Run_Test); procedure Early_Run_Body (Obj : in out Early_Test_Case'Class); private use Ada.Exceptions, Ada.Tags; type Early_Test_Case is abstract limited new Test_Case_Stub with record Early_Run_Done_Flag : Boolean := False; E : Exception_Occurrence_Access; end record; ---------------------------------------------------------------------------- protected Data_Store is function Locked return Boolean; -- TODOC: Post => Locked <2019-03-27> entry Set (T : Tag; E : Exception_Occurrence_Access); -- TODOC: Pre => Locked <2019-06-09> function T return Tag; -- TODOC: Pre => Locked <2019-06-09> function E return Exception_Occurrence_Access; -- TODOC: Post => not Locked <2019-03-27> procedure Reset; private Locked_Flag : Boolean := False; T_Val : Tag; E_Access : Exception_Occurrence_Access; end Data_Store; ---------------------------------------------------------------------------- end Apsepp.Abstract_Early_Test_Case;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ADA.STRINGS.WIDE_WIDE_UNBOUNDED.WIDE_WIDE_TEXT_IO -- -- -- -- S p e c -- -- -- -- Copyright (C) 1997-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This child package of Ada.Strings.Wide_Wide_Unbounded provides specialized -- Wide_Wide_Text_IO routines that work directly with unbounded wide wide -- strings, avoiding the inefficiencies of access via the standard interface, -- and also taking direct advantage of the variable length semantics of these -- strings. with Ada.Wide_Wide_Text_IO; package Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO is function Get_Line return Unbounded_Wide_Wide_String; function Get_Line (File : Ada.Wide_Wide_Text_IO.File_Type) return Unbounded_Wide_Wide_String; -- Reads up to the end of the current line, returning the result -- as an unbounded string of appropriate length. If no File parameter -- is present, input is from Current_Input. procedure Get_Line (File : Ada.Wide_Wide_Text_IO.File_Type; Item : out Unbounded_Wide_Wide_String); procedure Get_Line (Item : out Unbounded_Wide_Wide_String); -- Similar to the above, but in procedure form with an out parameter procedure Put (U : Unbounded_Wide_Wide_String); procedure Put (File : Ada.Wide_Wide_Text_IO.File_Type; U : Unbounded_Wide_Wide_String); procedure Put_Line (U : Unbounded_Wide_Wide_String); procedure Put_Line (File : Ada.Wide_Wide_Text_IO.File_Type; U : Unbounded_Wide_Wide_String); -- These are equivalent to the standard Wide_Wide_Text_IO routines passed -- the value To_Wide_Wide_String (U), but operate more efficiently, -- because the extra copy of the argument is avoided. end Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, 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 Ada.Unchecked_Deallocation; package body Matreshka.CLDR.Collation_Data is use type Matreshka.Internals.Unicode.Ucd.Collation_Weight; procedure Free is new Ada.Unchecked_Deallocation (Collation_Record, Collation_Record_Access); procedure Free is new Ada.Unchecked_Deallocation (Collation_Element_Array, Collation_Element_Array_Access); function Lookup (Data : Collation_Information; Item : Code_Point_Array) return Collation_Record_Access; procedure Attach (Data : in out Collation_Information; After : Collation_Record_Access; Item : Collation_Record_Access); -- Attach given collation record into the list of relative position of -- collation records immidiately after specified collation record. procedure Detach (Data : in out Collation_Information; Item : Collation_Record_Access); -- Detach given collation record from the list of relative position of -- collation records. procedure Recompute_Trinary (Current_Record : Collation_Record_Access); -- Resolves conflict at trinary level. ------------ -- Attach -- ------------ procedure Attach (Data : in out Collation_Information; After : Collation_Record_Access; Item : Collation_Record_Access) is begin if Data.Greater_Record = After then Data.Greater_Record := Item; end if; Item.Greater_Or_Equal := After.Greater_Or_Equal; Item.Less_Or_Equal := After; if After.Greater_Or_Equal /= null then After.Greater_Or_Equal.Less_Or_Equal := Item; end if; After.Greater_Or_Equal := Item; end Attach; ------------ -- Detach -- ------------ procedure Detach (Data : in out Collation_Information; Item : Collation_Record_Access) is begin -- Remove all other collation records. if Data.Lower_Record = Item then Data.Lower_Record := Item.Greater_Or_Equal; end if; if Data.Greater_Record = Item then Data.Greater_Record := Item.Less_Or_Equal; end if; if Item.Less_Or_Equal /= null then Item.Less_Or_Equal.Greater_Or_Equal := Item.Greater_Or_Equal; end if; if Item.Greater_Or_Equal /= null then Item.Greater_Or_Equal.Less_Or_Equal := Item.Less_Or_Equal; end if; Item.Less_Or_Equal := null; Item.Greater_Or_Equal := null; end Detach; ------------ -- Lookup -- ------------ function Lookup (Data : Collation_Information; Item : Code_Point_Array) return Collation_Record_Access is Current : Collation_Record_Access := Data.Collations (Item (Item'First)); begin while Current /= null loop exit when Current.Contractors.all = Item; Current := Current.Next; end loop; return Current; end Lookup; ----------------------- -- Recompute_Trinary -- ----------------------- procedure Recompute_Trinary (Current_Record : Collation_Record_Access) is Next_Record : constant Collation_Record_Access := Current_Record.Greater_Or_Equal; begin Current_Record.Collations (1).Trinary := Current_Record.Collations (1).Trinary + 1; if Next_Record.Collations (1).Primary = Current_Record.Collations (1).Primary and Next_Record.Collations (1).Secondary = Current_Record.Collations (1).Secondary and Next_Record.Collations (1).Trinary <= Current_Record.Collations (1).Trinary then raise Program_Error; end if; end Recompute_Trinary; ------------- -- Reorder -- ------------- procedure Reorder (Data : in out Collation_Information; Reset_Code : Matreshka.Internals.Unicode.Code_Point; Operator : Collation_Operator; Relation_Code : Matreshka.Internals.Unicode.Code_Point) is Reset_Record : constant Collation_Record_Access := Lookup (Data, (1 => Reset_Code)); Relation_Record : constant Collation_Record_Access := Lookup (Data, (1 => Relation_Code)); Next_Record : Collation_Record_Access; begin -- Detach relation collation record. Detach (Data, Relation_Record); -- Constructs collation elements. Free (Relation_Record.Collations); Relation_Record.Collations := new Collation_Element_Array'(Reset_Record.Collations.all); if Relation_Record.Collations'Length /= 1 then raise Program_Error; end if; case Operator is when Identically => raise Program_Error; when Primary => Relation_Record.Collations (1).Primary := Relation_Record.Collations (1).Primary + 1; Relation_Record.Collations (1).Secondary := 16#0020#; Relation_Record.Collations (1).Trinary := 16#0002#; -- Skip all elements with primary weight equal to reset position. Next_Record := Reset_Record.Greater_Or_Equal; while Next_Record.Collations (1).Primary = Reset_Record.Collations (1).Primary loop Next_Record := Next_Record.Greater_Or_Equal; end loop; -- And insert new collation record before it. Attach (Data, Next_Record.Less_Or_Equal, Relation_Record); if Next_Record.Collations (1).Primary <= Relation_Record.Collations (1).Primary then -- Reordering of the following records are not supported (and -- generally not need to be supported due to construction of -- initial data). raise Program_Error; end if; when Secondary => Relation_Record.Collations (1).Secondary := Relation_Record.Collations (1).Secondary + 1; Next_Record := Reset_Record.Greater_Or_Equal; -- Skip all elements with primary and secondary weights equal to -- reset positon. while Next_Record.Collations (1).Primary = Reset_Record.Collations (1).Primary and Next_Record.Collations (1).Secondary = Reset_Record.Collations (1).Secondary loop Next_Record := Next_Record.Greater_Or_Equal; end loop; -- And insert new collation record before it. Attach (Data, Next_Record.Less_Or_Equal, Relation_Record); if Next_Record.Collations (1).Primary = Relation_Record.Collations (1).Primary and Next_Record.Collations (1).Secondary <= Relation_Record.Collations (1).Secondary then raise Program_Error; end if; when Trinary => Relation_Record.Collations (1).Trinary := Relation_Record.Collations (1).Trinary + 1; Next_Record := Reset_Record.Greater_Or_Equal; -- Skip all elements with primary, secondary and trinary weights -- equal to reset positon. while Next_Record.Collations (1).Primary = Reset_Record.Collations (1).Primary and Next_Record.Collations (1).Secondary = Reset_Record.Collations (1).Secondary and Next_Record.Collations (1).Trinary = Reset_Record.Collations (1).Trinary loop Next_Record := Next_Record.Greater_Or_Equal; end loop; -- And insert new collation record before it. Attach (Data, Next_Record.Less_Or_Equal, Relation_Record); if Next_Record.Collations (1).Primary = Relation_Record.Collations (1).Primary and Next_Record.Collations (1).Secondary = Relation_Record.Collations (1).Secondary and Next_Record.Collations (1).Trinary <= Relation_Record.Collations (1).Trinary then Recompute_Trinary (Next_Record); end if; end case; end Reorder; --------------------------- -- Suppress_Contractions -- --------------------------- procedure Suppress_Contractions (Data : in out Collation_Information; Code : Matreshka.Internals.Unicode.Code_Point) is Current : Collation_Record_Access; Next : Collation_Record_Access; begin Current := Data.Collations (Code); while Current /= null loop Next := Current.Next; if Current.Contractors'Length = 1 then -- Only one collation record can be provides for single code -- point by construction. Left this collation record. Data.Collations (Code) := Current; Current.Next := null; else -- Remove all other collation records. if Data.Lower_Record = Current then Data.Lower_Record := Current.Greater_Or_Equal; end if; if Data.Greater_Record = Current then Data.Greater_Record := Current.Less_Or_Equal; end if; if Current.Less_Or_Equal /= null then Current.Less_Or_Equal.Greater_Or_Equal := Current.Greater_Or_Equal; end if; if Current.Greater_Or_Equal /= null then Current.Greater_Or_Equal.Less_Or_Equal := Current.Less_Or_Equal; end if; Free (Current); end if; Current := Next; end loop; end Suppress_Contractions; end Matreshka.CLDR.Collation_Data;
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Conditions is -- Enable preconditions and postconditinos. pragma Assertion_Policy(Check); -- Trivial example of a post-condition function Increment (x : Integer) return Integer with Post => Increment'Result = (x + 1); -- Precondition checking that Integer division without roundoff is possible procedure Integer_Division (Num : Integer; Den : Integer; Res : out Integer) with Pre => (Num rem Den) = 0; function Increment (x : Integer) return Integer is begin return (x + 1); end Increment; procedure Integer_Division (Num : Integer; Den : Integer; Res : out Integer) is begin Res := Num / Den; end Integer_Division; x : Integer := 10; y : Integer := 3; Res : Integer; begin Put ("The value of x is "); Put (x, 0); Put_Line ("."); Put ("The value of Increment (x) is "); Put (Increment (x), 0); Put_Line ("."); Put ("Trying to divide "); Put (x, 0); Put (" by "); Put (y,0); Put_Line ("."); -- Precondition will fail for `Integer_Division` Integer_Division (x, y, Res); Put ("The result is "); Put (Res, 0); Put_Line ("."); end Conditions;
pragma License (Unrestricted); -- extended unit with Ada.Iterator_Interfaces; private with Ada.Containers.Binary_Trees; private with Ada.Containers.Binary_Trees.Arne_Andersson; -- diff (Copy_On_Write) private with Ada.Finalization; private with Ada.Streams; generic type Key_Type (<>) is limited private; type Element_Type (<>) is limited private; with function "<" (Left, Right : Key_Type) return Boolean is <>; -- diff ("=") package Ada.Containers.Limited_Ordered_Maps is pragma Preelaborate; pragma Remote_Types; function Equivalent_Keys (Left, Right : Key_Type) return Boolean; type Map is tagged limited private with Constant_Indexing => Constant_Reference, Variable_Indexing => Reference, Default_Iterator => Iterate, Iterator_Element => Element_Type; pragma Preelaborable_Initialization (Map); type Cursor is private; pragma Preelaborable_Initialization (Cursor); -- modified -- Empty_Map : constant Map; function Empty_Map return Map; No_Element : constant Cursor; function Has_Element (Position : Cursor) return Boolean; package Map_Iterator_Interfaces is new Iterator_Interfaces (Cursor, Has_Element); -- diff ("=") function Length (Container : Map) return Count_Type; function Is_Empty (Container : Map) return Boolean; procedure Clear (Container : in out Map); type Key_Reference_Type ( Element : not null access constant Key_Type) is private with Implicit_Dereference => Element; function Key (Position : Cursor) return Key_Reference_Type; -- diff (Element) -- diff (Replace_Element) -- -- -- procedure Query_Element ( Position : Cursor; Process : not null access procedure ( Key : Key_Type; Element : Element_Type)); -- modified procedure Update_Element ( Container : in out Map'Class; -- not primitive Position : Cursor; Process : not null access procedure ( Key : Key_Type; Element : in out Element_Type)); type Constant_Reference_Type ( Element : not null access constant Element_Type) is private with Implicit_Dereference => Element; type Reference_Type (Element : not null access Element_Type) is private with Implicit_Dereference => Element; function Constant_Reference (Container : aliased Map; Position : Cursor) return Constant_Reference_Type; function Reference (Container : aliased in out Map; Position : Cursor) return Reference_Type; function Constant_Reference (Container : aliased Map; Key : Key_Type) return Constant_Reference_Type; function Reference (Container : aliased in out Map; Key : Key_Type) return Reference_Type; -- diff (Assign) -- diff (Copy) procedure Move (Target : in out Map; Source : in out Map); procedure Insert ( Container : in out Map'Class; New_Key : not null access function return Key_Type; New_Item : not null access function return Element_Type; Position : out Cursor; Inserted : out Boolean); -- diff (Insert) -- -- -- -- procedure Insert ( Container : in out Map'Class; Key : not null access function return Key_Type; New_Item : not null access function return Element_Type); -- diff (Include) -- -- -- -- diff (Replace) -- -- -- procedure Exclude (Container : in out Map; Key : Key_Type); procedure Delete (Container : in out Map; Key : Key_Type); procedure Delete (Container : in out Map; Position : in out Cursor); -- modified procedure Delete_First (Container : in out Map'Class); -- not primitive -- modified procedure Delete_Last (Container : in out Map'Class); -- not primitive function First (Container : Map) return Cursor; -- diff (First_Element) -- -- -- diff (First_Key) -- -- function Last (Container : Map) return Cursor; -- diff (Last_Element) -- -- -- diff (Last_Key) -- -- function Next (Position : Cursor) return Cursor; procedure Next (Position : in out Cursor); function Previous (Position : Cursor) return Cursor; procedure Previous (Position : in out Cursor); function Find (Container : Map; Key : Key_Type) return Cursor; -- diff (Element) -- -- -- -- function Floor (Container : Map; Key : Key_Type) return Cursor; function Ceiling (Container : Map; Key : Key_Type) return Cursor; function Contains (Container : Map; Key : Key_Type) return Boolean; function "<" (Left, Right : Cursor) return Boolean; function ">" (Left, Right : Cursor) return Boolean; function "<" (Left : Cursor; Right : Key_Type) return Boolean; function ">" (Left : Cursor; Right : Key_Type) return Boolean; function "<" (Left : Key_Type; Right : Cursor) return Boolean; function ">" (Left : Key_Type; Right : Cursor) return Boolean; -- modified procedure Iterate ( Container : Map'Class; -- not primitive Process : not null access procedure (Position : Cursor)); -- modified procedure Reverse_Iterate ( Container : Map'Class; -- not primitive Process : not null access procedure (Position : Cursor)); -- modified function Iterate (Container : Map'Class) -- not primitive return Map_Iterator_Interfaces.Reversible_Iterator'Class; -- extended function Iterate (Container : Map'Class; First, Last : Cursor) return Map_Iterator_Interfaces.Reversible_Iterator'Class; -- extended generic with function "=" (Left, Right : Element_Type) return Boolean is <>; package Equivalents is function "=" (Left, Right : Map) return Boolean; end Equivalents; private package Base renames Binary_Trees.Arne_Andersson; type Key_Access is access Key_Type; type Element_Access is access Element_Type; type Node is limited record Super : aliased Base.Node; Key : Key_Access; Element : Element_Access; end record; -- place Super at first whether Element_Type is controlled-type for Node use record Super at 0 range 0 .. Base.Node_Size - 1; end record; -- diff (Data) -- -- -- -- -- diff (Data_Access) type Map is limited new Finalization.Limited_Controlled with record Root : Binary_Trees.Node_Access := null; Length : Count_Type := 0; end record; -- diff overriding procedure Finalize (Object : in out Map) renames Clear; type Cursor is access Node; type Key_Reference_Type ( Element : not null access constant Key_Type) is null record; type Constant_Reference_Type ( Element : not null access constant Element_Type) is null record; type Reference_Type (Element : not null access Element_Type) is null record; type Map_Access is access constant Map; for Map_Access'Storage_Size use 0; type Map_Iterator is new Map_Iterator_Interfaces.Reversible_Iterator with record First : Cursor; Last : Cursor; end record; overriding function First (Object : Map_Iterator) return Cursor; overriding function Next (Object : Map_Iterator; Position : Cursor) return Cursor; overriding function Last (Object : Map_Iterator) return Cursor; overriding function Previous (Object : Map_Iterator; Position : Cursor) return Cursor; package Streaming is -- diff (Read) -- -- -- diff (Write) -- -- procedure Missing_Read ( Stream : access Streams.Root_Stream_Type'Class; Item : out Cursor) with Import, Convention => Ada, External_Name => "__drake_program_error"; procedure Missing_Write ( Stream : access Streams.Root_Stream_Type'Class; Item : Cursor) with Import, Convention => Ada, External_Name => "__drake_program_error"; procedure Missing_Read ( Stream : access Streams.Root_Stream_Type'Class; Item : out Key_Reference_Type) with Import, Convention => Ada, External_Name => "__drake_program_error"; procedure Missing_Write ( Stream : access Streams.Root_Stream_Type'Class; Item : Key_Reference_Type) with Import, Convention => Ada, External_Name => "__drake_program_error"; procedure Missing_Read ( Stream : access Streams.Root_Stream_Type'Class; Item : out Constant_Reference_Type) with Import, Convention => Ada, External_Name => "__drake_program_error"; procedure Missing_Write ( Stream : access Streams.Root_Stream_Type'Class; Item : Constant_Reference_Type) with Import, Convention => Ada, External_Name => "__drake_program_error"; procedure Missing_Read ( Stream : access Streams.Root_Stream_Type'Class; Item : out Reference_Type) with Import, Convention => Ada, External_Name => "__drake_program_error"; procedure Missing_Write ( Stream : access Streams.Root_Stream_Type'Class; Item : Reference_Type) with Import, Convention => Ada, External_Name => "__drake_program_error"; end Streaming; -- diff ('Read) -- diff ('Write) for Cursor'Read use Streaming.Missing_Read; for Cursor'Write use Streaming.Missing_Write; for Key_Reference_Type'Read use Streaming.Missing_Read; for Key_Reference_Type'Write use Streaming.Missing_Write; for Constant_Reference_Type'Read use Streaming.Missing_Read; for Constant_Reference_Type'Write use Streaming.Missing_Write; for Reference_Type'Read use Streaming.Missing_Read; for Reference_Type'Write use Streaming.Missing_Write; No_Element : constant Cursor := null; end Ada.Containers.Limited_Ordered_Maps;
package STM32.F4.Address_Map is pragma Pure; TIM2: constant := 16#4000_0000#; TIM3: constant := 16#4000_0400#; TIM4: constant := 16#4000_0800#; TIM5: constant := 16#4000_0C00#; TIM6: constant := 16#4000_1000#; TIM7: constant := 16#4000_1400#; TIM12: constant := 16#4000_1800#; TIM13: constant := 16#4000_1C00#; TIM14: constant := 16#4000_2000#; RTC_and_BKP: constant := 16#4000_2800#; WWDG: constant := 16#4000_2C00#; IWDG: constant := 16#4000_3000#; I2S2ext: constant := 16#4000_3400#; SPI2_I2S2: constant := 16#4000_3800#; SPI3_I2S3: constant := 16#4000_3C00#; I2S3ext: constant := 16#4000_4000#; USART2: constant := 16#4000_4400#; USART3: constant := 16#4000_4800#; UART4: constant := 16#4000_4C00#; UART5: constant := 16#4000_5000#; I2C1: constant := 16#4000_5400#; I2C2: constant := 16#4000_5800#; I2C3: constant := 16#4000_5C00#; CAN1: constant := 16#4000_6400#; CAN2: constant := 16#4000_6800#; PWR: constant := 16#4000_7000#; DAC: constant := 16#4000_7400#; UART7: constant := 14#4000_7800#; UART8: constant := 14#4000_7C00#; TIM1: constant := 16#4001_0000#; TIM8: constant := 16#4001_0400#; USART1: constant := 16#4001_1000#; USART6: constant := 16#4001_1400#; ADC1_2_3: constant := 16#4001_2000#; SDIO: constant := 16#4001_2C00#; SPI1: constant := 16#4001_3000#; SPI4: constant := 16#4001_3400#; SYSCFG: constant := 16#4001_3800#; EXTI: constant := 16#4001_3C00#; TIM9: constant := 16#4001_4000#; TIM10: constant := 16#4001_4400#; TIM11: constant := 16#4001_4800#; GPIOA: constant := 16#4002_0000#; GPIOB: constant := 16#4002_0400#; GPIOC: constant := 16#4002_0800#; GPIOD: constant := 16#4002_0C00#; GPIOE: constant := 16#4002_1000#; GPIOF: constant := 16#4002_1400#; GPIOG: constant := 16#4002_1800#; GPIOH: constant := 16#4002_1C00#; GPIOI: constant := 16#4002_2000#; GPIOJ: constant := 16#4002_2400#; GPIOK: constant := 16#4002_2800#; CRC: constant := 16#4002_3000#; RCC: constant := 16#4002_3800#; Flash_IR: constant := 16#4002_3C00#; BKPSRAM: constant := 16#4002_4000#; DMA1: constant := 16#4002_6000#; DMA2: constant := 16#4002_6400#; Ethernet_MAC:constant := 16#4002_8000#; DMA2D: constant := 16#4002_B000#; USB_OTG_HS: constant := 16#4004_0000#; USB_OTG_FS: constant := 16#5000_0000#; DCMI: constant := 16#5005_0000#; CRYP: constant := 16#5006_0000#; HASH: constant := 16#5006_0400#; RNG: constant := 16#5006_0800#; FSMC_Bank1: constant := 16#6000_0000#; FSMC_Bank2: constant := 16#7000_0000#; FSMC_Bank3: constant := 16#8000_0000#; FSMC_Bank4: constant := 16#9000_0000#; FMC_FSMC: constant := 16#A000_0000#; end STM32.F4.Address_Map;
----------------------------------------------------------------------- -- awa-mail -- Mail module -- Copyright (C) 2011, 2012, 2015, 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 AWA.Modules.Beans; with AWA.Modules.Get; with AWA.Mail.Beans; with AWA.Mail.Components.Factory; with AWA.Applications; with ASF.Servlets; with ASF.Requests.Mockup; with ASF.Responses.Mockup; with Util.Beans.Basic; with Util.Beans.Objects; with Util.Log.Loggers; package body AWA.Mail.Modules is Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("AWA.Mail.Module"); package Register is new AWA.Modules.Beans (Module => Mail_Module, Module_Access => Mail_Module_Access); -- ------------------------------ -- Initialize the mail module. -- ------------------------------ overriding procedure Initialize (Plugin : in out Mail_Module; App : in AWA.Modules.Application_Access; Props : in ASF.Applications.Config) is begin Log.Info ("Initializing the mail module"); -- Add the Mail UI components. App.Add_Components (AWA.Mail.Components.Factory.Definition); -- Register here any bean class, servlet, filter. Register.Register (Plugin => Plugin, Name => "AWA.Mail.Beans.Mail_Bean", Handler => AWA.Mail.Beans.Create_Mail_Bean'Access); AWA.Modules.Module (Plugin).Initialize (App, Props); end Initialize; -- ------------------------------ -- Configures the module after its initialization and after having read its XML configuration. -- ------------------------------ overriding procedure Configure (Plugin : in out Mail_Module; Props : in ASF.Applications.Config) is Mailer : constant String := Props.Get ("mailer", "smtp"); begin Log.Info ("Mail plugin is using {0} mailer", Mailer); Plugin.Mailer := AWA.Mail.Clients.Factory (Mailer, Props); end Configure; -- ------------------------------ -- Create a new mail message. -- ------------------------------ function Create_Message (Plugin : in Mail_Module) return AWA.Mail.Clients.Mail_Message_Access is begin return Plugin.Mailer.Create_Message; end Create_Message; -- ------------------------------ -- Receive an event sent by another module with <b>Send_Event</b> method. -- Format and send an email. -- ------------------------------ procedure Send_Mail (Plugin : in Mail_Module; Template : in String; Props : in Util.Beans.Objects.Maps.Map; Content : in AWA.Events.Module_Event'Class) is Name : constant String := Content.Get_Parameter ("name"); begin Log.Info ("Receive event {0} with template {1}", Name, Template); if Template = "" then Log.Debug ("No email template associated with event {0}", Name); return; end if; declare Req : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; Ptr : constant Util.Beans.Basic.Readonly_Bean_Access := Content'Unrestricted_Access; Bean : constant Util.Beans.Objects.Object := Util.Beans.Objects.To_Object (Ptr, Util.Beans.Objects.STATIC); Dispatcher : constant ASF.Servlets.Request_Dispatcher := Plugin.Get_Application.Get_Request_Dispatcher (Template); begin Req.Set_Request_URI (Template); Req.Set_Method ("GET"); Req.Set_Attribute (Name => "event", Value => Bean); Req.Set_Attributes (Props); ASF.Servlets.Forward (Dispatcher, Req, Reply); end; end Send_Mail; -- ------------------------------ -- Get the mail module instance associated with the current application. -- ------------------------------ function Get_Mail_Module return Mail_Module_Access is function Get is new AWA.Modules.Get (Mail_Module, Mail_Module_Access, NAME); begin return Get; end Get_Mail_Module; end AWA.Mail.Modules;
-- AC1015B.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 WITHIN A GENERIC SUBPROGRAM THE NAME OF THE GENERIC -- SUBPROGRAM CAN BE USED AS AN ACTUAL PARAMETER IN AN -- INSTANTIATION. -- HISTORY: -- BCB 03/28/88 CREATED ORIGINAL TEST. WITH REPORT; USE REPORT; PROCEDURE AC1015B IS GENERIC PROCEDURE P; PROCEDURE P IS GENERIC WITH PROCEDURE F; PROCEDURE T; PROCEDURE T IS BEGIN NULL; END T; PROCEDURE S IS NEW T(F => P); BEGIN NULL; END P; GENERIC FUNCTION D RETURN BOOLEAN; FUNCTION D RETURN BOOLEAN IS GENERIC WITH FUNCTION L RETURN BOOLEAN; FUNCTION A RETURN BOOLEAN; FUNCTION A RETURN BOOLEAN IS BEGIN RETURN TRUE; END A; FUNCTION B IS NEW A(L => D); BEGIN RETURN TRUE; END D; BEGIN TEST ("AC1015B", "CHECK THAT WITHIN A GENERIC SUBPROGRAM THE " & "NAME OF THE GENERIC SUBPROGRAM CAN BE USED AS " & "AN ACTUAL PARAMETER IN AN INSTANTIATION"); RESULT; END AC1015B;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . P O O L _ S I Z E -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2011, 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 System.Storage_Pools; with System.Storage_Elements; package System.Pool_Size is pragma Elaborate_Body; -- Needed to ensure that library routines can execute allocators ------------------------ -- Stack_Bounded_Pool -- ------------------------ -- Allocation strategy: -- Pool is a regular stack array, no use of malloc -- user specified size -- Space of pool is globally reclaimed by normal stack management -- Used in the compiler for access types with 'STORAGE_SIZE rep. clause -- Only used for allocating objects of the same type. type Stack_Bounded_Pool (Pool_Size : System.Storage_Elements.Storage_Count; Elmt_Size : System.Storage_Elements.Storage_Count; Alignment : System.Storage_Elements.Storage_Count) is new System.Storage_Pools.Root_Storage_Pool with record First_Free : System.Storage_Elements.Storage_Count; First_Empty : System.Storage_Elements.Storage_Count; Aligned_Elmt_Size : System.Storage_Elements.Storage_Count; The_Pool : System.Storage_Elements.Storage_Array (1 .. Pool_Size); end record; overriding function Storage_Size (Pool : Stack_Bounded_Pool) return System.Storage_Elements.Storage_Count; overriding procedure Allocate (Pool : in out Stack_Bounded_Pool; Address : out System.Address; Storage_Size : System.Storage_Elements.Storage_Count; Alignment : System.Storage_Elements.Storage_Count); overriding procedure Deallocate (Pool : in out Stack_Bounded_Pool; Address : System.Address; Storage_Size : System.Storage_Elements.Storage_Count; Alignment : System.Storage_Elements.Storage_Count); overriding procedure Initialize (Pool : in out Stack_Bounded_Pool); end System.Pool_Size;
limited with Engines; with Ada.Containers.Vectors, Ada.Strings.Bounded; with Libtcod.Maps, Libtcod.Color, Libtcod.Console; with Components, Components.Destructibles, Components.Attackers, Components.AIs; use Components, Components.Destructibles, Components.Attackers, Components.AIs; use Libtcod; package Actors is subtype RGB_Color is Libtcod.Color.RGB_Color; type Actor_Id is range 0 .. 100; package Actor_Names is new Ada.Strings.Bounded.Generic_Bounded_Length(Max => 16); subtype Actor_Name is Actor_Names.Bounded_String; type Actor is tagged record -- Components attacker : access Attackers.Attacker; destructible : access Destructibles.Destructible'Class; ai : access AIs.AI'Class; -- Fields name : Actor_Name; color : RGB_Color; x : aliased Maps.X_Pos; y : aliased Maps.Y_Pos; ch : Wide_Character; blocks : Boolean; end record; -- Properties function get_name(self : Actor) return String with Inline; function is_attacker(self : Actor) return Boolean is (self.attacker /= null) with Inline; function is_destructible(self : Actor) return Boolean is (self.destructible /= null) with Inline; function is_ai(self : Actor) return Boolean is (self.ai /= null) with Inline; -- Operations procedure render(self : Actor; screen : in out Console.Screen); procedure update(self : in out Actor; engine : in out Engines.Engine); -- Constructors function make_player(x : Maps.X_Pos; y : Maps.Y_Pos; name : String; defense_stat : Defense; power, hp, max_hp : Health) return Actor with Pre => name'Length <= Actor_Names.Max_Length; function make_monster(x : Maps.X_Pos; y : Maps.Y_Pos; ch : Wide_Character; name : String; color : RGB_Color; defense_stat : Defense; power, hp, max_hp : Health) return Actor with Pre => name'Length <= Actor_Names.Max_Length; function make_orc(x : Maps.X_Pos; y : Maps.Y_Pos) return Actor; function make_troll(x : Maps.X_Pos; y : Maps.Y_Pos) return Actor; -- Container package Actor_Vectors is new Ada.Containers.Vectors(Index_Type => Actor_Id, Element_Type => Actor); subtype Actor_Vector is Actor_Vectors.Vector; subtype Actor_Ref is Actor_Vectors.Reference_Type; end Actors;
with Ada.Calendar; with Ada.Directories; package body Web.Lock_Files is use type Ada.Calendar.Time; function Lock ( Name : String; Force : Duration := 0.0; Timeout : Duration := 3.0; Retry_Interval : Duration := 1.0; Forced : access Boolean := null) return Boolean is Gone : Duration := 0.0; begin if Forced /= null then Forced.all := False; end if; loop if Force /= 0.0 then declare Now : constant Ada.Calendar.Time := Ada.Calendar.Clock; begin if Now - Ada.Directories.Modification_Time (Name) >= Force then Ada.Directories.Delete_Directory (Name); if Forced /= null then Forced.all := True; end if; end if; exception when Name_Error | Use_Error => null; end; end if; begin Ada.Directories.Create_Directory (Name); return True; exception when Use_Error => null; end; declare Interval : constant Duration := Duration'Min (Retry_Interval, Timeout - Gone); begin if Interval <= 0.0 then return False; end if; delay Interval; Gone := Gone + Interval; end; end loop; end Lock; procedure Lock ( Name : in String; Force : in Duration := 0.0; Timeout : in Duration := 3.0; Retry_Interval : in Duration := 1.0; Forced : access Boolean := null) is begin if not Lock ( Name, Force => Force, Timeout => Timeout, Retry_Interval => Retry_Interval, Forced => Forced) then raise Lock_Error; end if; end Lock; procedure Unlock (Name : in String) renames Ada.Directories.Delete_Directory; function Lock ( Name : String; Force : Duration := 0.0; Timeout : Duration := 3.0; Retry_Interval : Duration := 1.0) return Lock_Type is begin return Result : Lock_Type := (Ada.Finalization.Limited_Controlled with Name_Length => Name'Length, Locked => False, Forced => False, Name => Name) do Lock ( Name, Force => Force, Timeout => Timeout, Retry_Interval => Retry_Interval, Forced => Result.Forced'Access); Result.Locked := True; end return; end Lock; function Forced (Object : Lock_Type) return Boolean is begin return Object.Forced; end Forced; procedure Unlock (Object : in out Lock_Type) is begin if Object.Locked then Unlock (Object.Name); end if; end Unlock; overriding procedure Finalize (Object : in out Lock_Type) is begin Unlock (Object); exception when Name_Error | Use_Error => null; -- Finalize can not raise any exception end Finalize; end Web.Lock_Files;
-- Copyright (c) 2021 Bartek thindil Jasicki <thindil@laeran.pl> -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Interfaces.C; use Interfaces.C; with CArgv; with Tcl.Tk.Ada.Widgets.TtkFrame; use Tcl.Tk.Ada.Widgets.TtkFrame; with Game; use Game; with Items; use Items; -- ****h* Dialogs/Dialogs -- FUNCTION -- Provide code to show various in game dialogs (messages, questins, etc) -- SOURCE package Dialogs is -- **** -- ****f* Dialogs/Dialogs.Create_Dialog -- FUNCTION -- Create a new dialog with the selected title -- PARAMETERS -- Name - The Tk path name of the new dialog -- Title - The title of the new dialog -- Title_Width - The maximum width of the title. Used to set wrapping for -- it. Default value is 275 pixels. Can be empty. -- Columns - The amount of columns which dialog will have. Used to set -- the title. Default value is 1 column. Can be empty. -- RESULT -- The newly created Dialog as Ttk_Frame -- SOURCE function Create_Dialog (Name, Title: String; Title_Width: Positive := 275; Columns: Positive := 1; Parent_Name: String := ".gameframe") return Ttk_Frame; -- **** -- ****f* Dialogs/Dialogs.Add_Close_Button -- FUNCTION -- Add button to close the selected dialog and set proper bindings for -- it. -- PARAMETERS -- Name - The Tk path name for the button -- Text - The text to display on the button -- Command - The Tcl command to run when the button was clicked -- Columnspan - The amount of columns to merge when placing the close -- button. Can be empty. Default value is 1 (no merging). -- Row - The row in which the button will be placed. Can be empty. -- Default value is 0 (place button in the next row) -- SOURCE procedure Add_Close_Button (Name, Text, Command: String; ColumnSpan: Positive := 1; Row: Natural := 0); -- **** -- ****f* Dialogs/Dialogs.Show_Dialog -- FUNCTION -- Show the selected dialog to the player -- PARAMETERS -- Dialog - The dialog which will be shown -- Parent_Frame - The parent frame name for the dialog. Can be empty. -- Default value is .gameframe -- With_Timer - If True, add timer to the dialog. Can be empty. Default -- value is False -- Relative_X - Relative X coordinate inside of parent frame for the -- dialog. 0.0 is left border. Can be empty. Default value -- is 0.3 -- Relative_Y - Relative Y coordinate inside of parent frame for the -- dialog. 0.0 is top border. Can be empty. Default value is -- 0.3 -- SOURCE procedure Show_Dialog (Dialog: Ttk_Frame; Parent_Frame: String := ".gameframe"; With_Timer: Boolean := False; Relative_X, Relative_Y: Damage_Factor := 0.3); -- **** -- ****o* Dialogs/Dialogs.Close_Dialog_Command -- FUNCTION -- Close the selected dialog -- PARAMETERS -- ClientData - Custom data send to the command. Unused -- Interp - Tcl interpreter in which command was executed. -- Argc - Number of arguments passed to the command. -- Argv - Values of arguments passed to the command. -- RESULT -- This function always return TCL_OK -- COMMANDS -- CloseDialog dialogname -- Dialogname is name of the dialog to close -- SOURCE function Close_Dialog_Command (ClientData: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int; Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with Convention => C; -- **** -- ****f* Dialogs/Dialogs.Add_Commands -- FUNCTION -- Add Tcl commands related to dialogs -- SOURCE procedure Add_Commands; -- **** -- ****f* Dialogs/Dialogs.ShowMessage -- FUNCTION -- Show the selected message to a player -- PARAMETERS -- Text - Text of message to show -- ParentFrame - The parent frame of the message dialog. Default is -- the game frame. Can be empty -- Title - The text show in the dialog header. -- SOURCE procedure ShowMessage (Text: String; ParentFrame: String := ".gameframe"; Title: String) with Pre => Text'Length > 0 and ParentFrame'Length > 0; -- **** -- ****f* Dialogs/Dialogs.ShowInfo -- FUNCTION -- Show the selected info to a player -- PARAMETERS -- Text - Text of info to show -- ParentName - Name of the parent widget. If empty, then the main game -- window will be used as parent for widget. Default value -- is .gameframe -- Title - The text show in the dialog header. -- SOURCE procedure ShowInfo (Text: String; ParentName: String := ".gameframe"; Title: String) with Pre => Text'Length > 0 and ParentName'Length > 0; -- **** -- ****f* Dialogs/Dialogs.ShowManipulateItem -- FUNCTION -- Show the dialog for manipulate items amount in cargo (like selling, -- dropping, etc). -- PARAMETERS -- Title - Title of the dialog -- Command - Tcl command which will be executed when the player hit -- the button Ok -- Action - The name of action which the player is doing (like drop, -- sell, ect) -- ItemIndex - The index of the item which will be manipulated -- MaxAmount - Max amount of the items to manipualate. If zero, use max -- amount of items from player ship cargo. Default value is -- zero. -- Cost - The cost (in buying) or gain (in selling) for one item in -- the game money. Can be zero. Default value is zero. -- SOURCE procedure ShowManipulateItem (Title, Command, Action: String; ItemIndex: Inventory_Container.Extended_Index; MaxAmount, Cost: Natural := 0) with Pre => Title'Length > 0 and Command'Length > 0; -- **** -- ****f* Dialogs/Dialogs.ShowQuestion -- FUNCTION -- Show the dialog with question to the player -- PARAMETERS -- Question - The question which will be the player asked for -- Result - The value set for Ok button -- In_Game - The question in show during game -- HISTORY -- 5.9 - Added -- SOURCE procedure ShowQuestion (Question, Result: String; In_Game: Boolean := True) with Pre => Question'Length > 0; -- **** end Dialogs;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of STMicroelectronics nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- -- -- -- This file is based on: -- -- -- -- @file stm32f4xx_hal_dma.h -- -- @author MCD Application Team -- -- @version V1.1.0 -- -- @date 19-June-2014 -- -- @brief Header file of DMA HAL module. -- -- -- -- COPYRIGHT(c) 2014 STMicroelectronics -- ------------------------------------------------------------------------------ -- This file provides definitions for the DMA controllers on the STM32F4 (ARM -- Cortex M4F) microcontrollers from ST Microelectronics. -- See Application Note AN4031: "Using the STM32F2 and STM32F4 DMA controller" -- and Reference Manual RM0090: "STM32F405xx/07xx, STM32F415xx/17xx, -- STM32F42xxx and STM32F43xxx advanced ARM-based 32-bit MCUs" In the -- application note, see especially section four, titled "Tips and -- warnings while programming the DMA controller" -- The basic call sequence, given a Controller and a Stream, is as follows: -- 1) Configure -- Configures the Controller and Stream per application requirements. This -- is the primary setup call, specifying the static characteristics of all -- the transfers to be performed on the stream, such as the direction, the -- channel, and so forth. The Controller is disabled after the call. -- 2) Configure_Data_Flow -- Sets the dynamic parameters of a given transfer, i.e., the source and -- destination addresses and the number of data items to transfer. -- 3) Enable -- Enables transfers on the Controller and Stream. Transfers will begin -- immediately unless programmed otherwise. -- You can enable some or all DMA interrupts prior to the call to Enable, if -- required by your usage. -- Ensure all the status flags are cleared prior to the call to Enable, since -- a transfer will then begin. This can be accomplished by relying on the fact -- that the board has just powered-up, by a call to Reset, or by a call to -- Clear_All_Status. -- Note that there are convenience routines that do steps two and three: -- Start_Transfer -- Start_Transfer_with_Interrupts pragma Restrictions (No_Elaboration_Code); with System; use System; with Ada.Real_Time; use Ada.Real_Time; private with STM32_SVD.DMA; package body STM32.DMA with SPARK_Mode => Off is procedure Enable (This : DMA_Controller; Channel : DMA_Channel_Selector) is begin null; end Enable; -- Before enabling a stream to start a new transfer, the event status flags -- corresponding to the stream must be cleared. Note that the unit may not -- be enabled by the time the call returns. procedure Disable (This : in out DMA_Controller; Channel : DMA_Channel_Selector) is begin case Channel is when Channel_1 => This.CCR1.EN := False; when Channel_2 => This.CCR2.EN := False; when Channel_3 => This.CCR3.EN := False; when Channel_4 => This.CCR4.EN := False; when Channel_5 => This.CCR5.EN := False; when Channel_6 => This.CCR6.EN := False; when Channel_7 => This.CCR7.EN := False; end case; end Disable; function Enabled (This : DMA_Controller; Channel : DMA_Channel_Selector) return Boolean is begin return False; end Enabled; procedure Reset (This : in out DMA_Controller; Channel : DMA_Channel_Selector) is begin null; end Reset; procedure Configure_Data_Flow (This : DMA_Controller; Channel : DMA_Channel_Selector; Source : Address; Destination : Address; Data_Count : UInt16) is begin null; end Configure_Data_Flow; procedure Start_Transfer (This : DMA_Controller; Channel : DMA_Channel_Selector; Source : Address; Destination : Address; Data_Count : UInt16) is begin null; end Start_Transfer; procedure Start_Transfer_with_Interrupts (This : DMA_Controller; Channel : DMA_Channel_Selector; Source : Address; Destination : Address; Data_Count : UInt16; Enabled_Interrupts : Interrupt_Selections := (others => True)) is begin null; end Start_Transfer_with_Interrupts; procedure Abort_Transfer (This : DMA_Controller; Channel : DMA_Channel_Selector; Result : out DMA_Error_Code) is begin -- Disables the specified stream and then waits until the request is -- effective. If a stream is disabled while a data transfer is ongoing, the -- current datum will be transferred and the stream will be disabled only -- after the transfer of this single datum completes. null; end Abort_Transfer; procedure Poll_For_Completion (This : in out DMA_Controller; Channel : DMA_Channel_Selector; Expected_Level : DMA_Transfer_Level; Timeout : Time_Span; Result : out DMA_Error_Code) is begin null; end Poll_For_Completion; procedure Set_NDT (This : DMA_Controller; Channel : DMA_Channel_Selector; Data_Count : UInt16) is begin null; end Set_NDT; -- Sets the number of data items to be transferred on the stream. -- The Data_Count parameter specifies the number of data items to be -- transferred (from 0 to 65535) on the next transfer. The value is -- as described for procedure Configure_Data_Flow. function Items_Transferred (This : DMA_Controller; Channel : DMA_Channel_Selector) return UInt16 is -- returns the number of items transferred begin return 0; end Items_Transferred; function Current_NDT (This : DMA_Controller; Channel : DMA_Channel_Selector) return UInt16 is begin return 0; end Current_NDT; function Circular_Mode (This : DMA_Controller; Channel : DMA_Channel_Selector) return Boolean is begin return False; end Circular_Mode; procedure Enable_Interrupt (This : DMA_Controller; Channel : DMA_Channel_Selector; Source : DMA_Interrupt) is -- The postcondition should not be relied upon completely because it is -- possible, under just the wrong conditions, for the interrupt to be -- disabled immediately, prior to return from this routine begin null; end Enable_Interrupt; procedure Disable_Interrupt (This : DMA_Controller; Channel : DMA_Channel_Selector; Source : DMA_Interrupt) is begin null; end Disable_Interrupt; function Interrupt_Enabled (This : DMA_Controller; Channel : DMA_Channel_Selector; Source : DMA_Interrupt) return Boolean is begin return False; end Interrupt_Enabled; procedure Clear_Status (This : in out DMA_Controller; Channel : DMA_Channel_Selector; Flag : DMA_Status_Flag) is begin null; end Clear_Status; procedure Clear_All_Status (This : in out DMA_Controller; Channel : DMA_Channel_Selector) is begin null; end Clear_All_Status; function Status (This : DMA_Controller; Channel : DMA_Channel_Selector; Flag : DMA_Status_Flag) return Boolean is begin return False; end Status; function Selected_Channel (This : DMA_Controller; Channel : DMA_Channel_Selector) return DMA_Channel_Selector is begin return Channel; -- !!! end Selected_Channel; function Transfer_Direction (This : DMA_Controller; Channel : DMA_Channel_Selector) return DMA_Data_Transfer_Direction is begin return Memory_To_Memory; -- !!! end Transfer_Direction; function Peripheral_Data_Width (This : DMA_Controller; Channel : DMA_Channel_Selector) return DMA_Data_Transfer_Widths is begin return Words; -- !!! end Peripheral_Data_Width; function Memory_Data_Width (This : DMA_Controller; Channel : DMA_Channel_Selector) return DMA_Data_Transfer_Widths is begin return Words; -- !!! end Memory_Data_Width; function Operating_Mode (This : DMA_Controller; Channel : DMA_Channel_Selector) return DMA_Mode is begin return Normal_Mode; -- !!! end Operating_Mode; function Priority (This : DMA_Controller; Channel : DMA_Channel_Selector) return DMA_Priority_Level is begin return Priority_Low; -- !!! end Priority; function Current_Memory_Buffer (This : DMA_Controller; Channel : DMA_Channel_Selector) return Memory_Buffer_Target is begin return Memory_Buffer_0; -- !!! end Current_Memory_Buffer; procedure Select_Current_Memory_Buffer (This : DMA_Controller; Channel : DMA_Channel_Selector; Buffer : Memory_Buffer_Target) is begin null; end Select_Current_Memory_Buffer; procedure Set_Memory_Buffer (This : DMA_Controller; Channel : DMA_Channel_Selector; Buffer : Memory_Buffer_Target; To : System.Address) is begin null; end Set_Memory_Buffer; procedure Configure_Double_Buffered_Mode (This : DMA_Controller; Channel : DMA_Channel_Selector; Buffer_0_Value : Address; Buffer_1_Value : Address; First_Buffer_Used : Memory_Buffer_Target) is begin null; end Configure_Double_Buffered_Mode; procedure Enable_Double_Buffered_Mode (This : DMA_Controller; Channel : DMA_Channel_Selector) is begin null; end Enable_Double_Buffered_Mode; procedure Disable_Double_Buffered_Mode (This : DMA_Controller; Channel : DMA_Channel_Selector) is begin null; end Disable_Double_Buffered_Mode; function Double_Buffered (This : DMA_Controller; Channel : DMA_Channel_Selector) return Boolean is begin return False; end Double_Buffered; procedure Configure (This : in out DMA_Controller; Channel : DMA_Channel_Selector; Config : DMA_Channel_Configuration) is Req : UInt4; begin Disable (This, Channel); -- Setup the request -- Config.Request Req := 0; case Channel is when Channel_1 => This.CSELR.C1S := Req; when Channel_2 => This.CSELR.C2S := Req; when Channel_3 => This.CSELR.C3S := Req; when Channel_4 => This.CSELR.C4S := Req; when Channel_5 => This.CSELR.C5S := Req; when Channel_6 => This.CSELR.C6S := Req; when Channel_7 => This.CSELR.C7S := Req; end case; end Configure; function Aligned (This : Address; Width : DMA_Data_Transfer_Widths) return Boolean is begin return False; end Aligned; end STM32.DMA;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S P R I N T -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2006, 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, 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. -- -- -- ------------------------------------------------------------------------------ -- This package (source print) contains routines for printing the source -- program corresponding to a specified syntax tree. These routines are -- intended for debugging use in the compiler (not as a user level pretty -- print tool). Only information present in the tree is output (e.g. no -- comments are present in the output), and as far as possible we avoid -- making any assumptions about the correctness of the tree, so a bad -- tree may either blow up on a debugging check, or list incorrect source. with Types; use Types; package Sprint is ----------------------- -- Syntax Extensions -- ----------------------- -- When the generated tree is printed, it contains constructs that are not -- pure Ada. For convenience, syntactic extensions to Ada have been defined -- purely for the purposes of this printout (they are not recognized by the -- parser) -- Allocator new xxx [storage_pool = xxx] -- Cleanup action at end procedure name; -- Conditional expression (if expr then expr else expr) -- Conversion wi Float_Truncate target^(source) -- Convert wi Conversion_OK target?(source) -- Convert wi Rounded_Result target@(source) -- Divide wi Treat_Fixed_As_Integer x #/ y -- Divide wi Rounded_Result x @/ y -- Expression with range check {expression} -- Operator with range check {operator} (e.g. {+}) -- Free statement free expr [storage_pool = xxx] -- Freeze entity with freeze actions freeze entityname [ actions ] -- Implicit call to run time routine $routine-name -- Interpretation interpretation type [, entity] -- Intrinsic calls function-name!(arg, arg, arg) -- Itype declaration [(sub)type declaration without ;] -- Itype reference reference itype -- Label declaration labelname : label -- Mod wi Treat_Fixed_As_Integer x #mod y -- Multiple concatenation expr && expr && expr ... && expr -- Multiply wi Treat_Fixed_As_Integer x #* y -- Multiply wi Rounded_Result x @* y -- Others choice for cleanup when all others -- Raise xxx error [xxx_error [when cond]] -- Raise xxx error with msg [xxx_error [when cond], "msg"] -- Rational literal See UR_Write for details -- Rem wi Treat_Fixed_As_Integer x #rem y -- Reference expression'reference -- Shift nodes shift_name!(expr, count) -- Subprogram_Info subprog'Subprogram_Info -- Unchecked conversion target_type!(source_expression) -- Unchecked expression `(expression) -- Validate_Unchecked_Conversion validate unchecked_conversion -- (src-type, target-typ); -- Note: the storage_pool parameters for allocators and the free node -- are omitted if the Storage_Pool field is Empty, indicating use of -- the standard default pool. ----------------- -- Subprograms -- ----------------- procedure Source_Dump; -- This routine is called from the GNAT main program to dump source as -- requested by debug options. The relevant debug options are: -- -ds print source from tree, both original and generated code -- -dg print source from tree, including only the generated code -- -do print source from tree, including only the original code -- -df modify the above to include all units, not just the main unit -- -sz print source from tree for package Standard procedure Sprint_Comma_List (List : List_Id); -- Prints the nodes in a list, with separating commas. If the list -- is empty then no output is generated. procedure Sprint_Paren_Comma_List (List : List_Id); -- Prints the nodes in a list, surrounded by parentheses, and separated -- by comas. If the list is empty, then no output is generated. A blank -- is output before the initial left parenthesis. procedure Sprint_Opt_Paren_Comma_List (List : List_Id); -- Same as normal Sprint_Paren_Comma_List procedure, except that -- an extra blank is output if List is non-empty, and nothing at all is -- printed it the argument is No_List. procedure Sprint_Node_List (List : List_Id); -- Prints the nodes in a list with no separating characters. This is used -- in the case of lists of items which are printed on separate lines using -- the current indentation amount. Note that Sprint_Node_List itself -- does not generate any New_Line calls. procedure Sprint_Opt_Node_List (List : List_Id); -- Like Sprint_Node_List, but prints nothing if List = No_List procedure Sprint_Indented_List (List : List_Id); -- Like Sprint_Line_List, except that the indentation level is -- increased before outputting the list of items, and then decremented -- (back to its original level) before returning to the caller. procedure Sprint_Node (Node : Node_Id); -- Prints a single node. No new lines are output, except as required for -- splitting lines that are too long to fit on a single physical line. -- No output is generated at all if Node is Empty. No trailing or leading -- blank characters are generated. procedure Sprint_Opt_Node (Node : Node_Id); -- Same as normal Sprint_Node procedure, except that one leading -- blank is output before the node if it is non-empty. procedure pg (Node : Node_Id); pragma Export (Ada, pg); -- Print generated source for node N (like -gnatdg output). This is -- intended only for use from gdb for debugging purposes. procedure po (Node : Node_Id); pragma Export (Ada, po); -- Print original source for node N (like -gnatdo output). This is -- intended only for use from gdb for debugging purposes. procedure ps (Node : Node_Id); pragma Export (Ada, ps); -- Print generated and original source for node N (like -gnatds output). -- This is intended only for use from gdb for debugging purposes. end Sprint;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- G N A T . S P E L L I N G _ C H E C K E R -- -- -- -- B o d y -- -- -- -- Copyright (C) 1998-2013, 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. -- -- -- ------------------------------------------------------------------------------ pragma Compiler_Unit_Warning; with GNAT.Spelling_Checker_Generic; package body GNAT.Spelling_Checker is function IBS is new GNAT.Spelling_Checker_Generic.Is_Bad_Spelling_Of (Character, String); ------------------------ -- Is_Bad_Spelling_Of -- ------------------------ function Is_Bad_Spelling_Of (Found : String; Expect : String) return Boolean renames IBS; end GNAT.Spelling_Checker;
with STM32_SVD; use STM32_SVD; with STM32_SVD.GPIO; with STM32_SVD.USB; use STM32_SVD.USB; with STM32_SVD.RCC; with Ada.Interrupts.Names; with Ada.Text_IO; package body STM32GD.USB.Peripheral is procedure Init is begin STM32_SVD.RCC.RCC_Periph.APB1ENR.USBEN := 1; STM32_SVD.RCC.RCC_Periph.APB1RSTR.USBRST := 1; STM32_SVD.RCC.RCC_Periph.APB1RSTR.USBRST:= 0; USB_Periph.CNTR.FRES := 1; USB_Periph.CNTR := ( CTRM => 1, WKUPM => 1, RESETM => 1, SUSPM => 1, Reserved_5_7 => 0, Reserved_16_31 => 0, others => 0 ); end Init; procedure Handle_Reset is BTable_Offset : Integer := 0; begin Ada.Text_IO.Put_Line ("Reset"); USB_Periph.DADDR.ADD := 0; USB_Periph.DADDR.EF := 1; BTable_Offset := EP0_Reset_Callback (BTable_Offset); BTable_Offset := EP1_Reset_Callback (BTable_Offset); BTable_Offset := EP2_Reset_Callback (BTable_Offset); BTable_Offset := EP3_Reset_Callback (BTable_Offset); BTable_Offset := EP4_Reset_Callback (BTable_Offset); BTable_Offset := EP5_Reset_Callback (BTable_Offset); BTable_Offset := EP6_Reset_Callback (BTable_Offset); BTable_Offset := EP7_Reset_Callback (BTable_Offset); end Handle_Reset; protected body Handler is procedure IRQ_Handler is begin if USB_Periph.ISTR.CTR = 1 then USB_Periph.ISTR.CTR := 0; Ada.Text_IO.Put_Line ("Control"); case USB_Periph.ISTR.EP_ID is when 0 => EP0_Handler_Callback (USB_Periph.ISTR.DIR = 1); when others => EP0_Handler_Callback (USB_Periph.ISTR.DIR = 1); end case; elsif USB_Periph.ISTR.RESET = 1 then USB_Periph.ISTR.RESET := 0; Handle_Reset; elsif USB_Periph.ISTR.WKUP = 1 then USB_Periph.ISTR.WKUP := 0; USB_Periph.CNTR := ( CTRM => 1, WKUPM => 1, RESETM => 1, SUSPM => 1, Reserved_5_7 => 0, Reserved_16_31 => 0, others => 0 ); Ada.Text_IO.Put_Line ("Wakeup"); elsif USB_Periph.ISTR.SUSP = 1 then USB_Periph.ISTR.SUSP := 0; USB_Periph.CNTR.LPMODE := 1; USB_Periph.CNTR.FSUSP := 1; Ada.Text_IO.Put_Line ("Suspend"); end if; end IRQ_Handler; end Handler; end STM32GD.USB.Peripheral;