CombinedText
stringlengths
4
3.42M
with ada.text_io, ada.integer_text_io; use ada.text_io, ada.integer_text_io; with multporsumas; procedure prueba_multporsumas is numero, multiplicador, resultado: integer; begin -- Caso de prueba 1: multiplicación estándar numero:=3; multiplicador:=4; put("El resultado de la multiplicacion es 12"); new_line; put("Y tu programa dice que es:"); resultado:=multporsumas(numero, multiplicador); put(resultado); new_line; -- Caso de prueba 2: numero 0 numero:=0; multiplicador:=4; put("El resultado de la multiplicacion es 0"); new_line; put("Y tu programa dice que es:"); resultado:=multporsumas(numero, multiplicador); put(resultado); new_line; -- Caso de prueba 3: multiplicador 0 numero:=5; multiplicador:=0; put("El resultado de la multiplicacion es 0"); new_line; put("Y tu programa dice que es:"); resultado:=multporsumas(numero, multiplicador); put(resultado); new_line; -- Caso de prueba 4: 2 números altos numero:=10; multiplicador:=10; put("El resultado de la multiplicacion es 100"); new_line; put("Y tu programa dice que es:"); resultado:=multporsumas(numero, multiplicador); put(resultado); new_line; end prueba_multporsumas;
-- Taken from Ada Crash Course by Peter Chapin) -- Context clause specifies packages that will be used. -- `use` includes that package in the namespace with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; -- Our main function is "Prime" procedure Prime is -- Declare local variables here Num : Integer; -- Type comes after the name begin Put("Enter an integer: "); Get(Num); -- Retrieve the input into Num. if Num < 2 then Put("The value "); Put(Num, 0); Put_Line(" is bad."); else Put("The value "); Put(Num, 0); -- For loop syntax similar to Python range -- Requires reverse loop for decrementing for idx in 2 .. (Num - 1) loop -- rem is % in C. Single `=` to test for equality -- Assignment uses := if Num rem idx = 0 then Put_Line(" is not prime."); return; end if; exit when (idx * idx > Num); -- Break early when we've hit all possible factors. end loop; Put_Line(" is prime."); end if; end Prime;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . E X C E P T I O N S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2015, 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. -- -- -- ------------------------------------------------------------------------------ -- This version of Ada.Exceptions is used only for building the compiler -- and certain basic tools. The "real" version of Ada.Exceptions is in -- a-except-2005.ads/adb, and is used for all other builds where full Ada -- functionality is required. In particular, it is used for building run -- times on all targets. -- This version is limited to Ada 95 features. It omits Ada 2005 features -- such as the additional definitions of Exception_Name returning -- Wide_[Wide_]String. It differs from the version specified in the Ada 95 RM -- only in that it is declared Preelaborate (see declaration below for why -- this is done). -- The reason for this splitting off of a separate version is to support -- older bootstrap compilers that do not support Ada 2005 features, and -- Ada.Exceptions is part of the compiler sources. pragma Compiler_Unit_Warning; pragma Polling (Off); -- We must turn polling off for this unit, because otherwise we get -- elaboration circularities with ourself. with System; with System.Parameters; with System.Standard_Library; with System.Traceback_Entries; package Ada.Exceptions is pragma Preelaborate; -- We make this preelaborable. If we did not do this, then run time units -- used by the compiler (e.g. s-soflin.ads) would run into trouble. -- Conformance with Ada 95 is not an issue, since this version is used -- only by the compiler. type Exception_Id is private; Null_Id : constant Exception_Id; type Exception_Occurrence is limited private; type Exception_Occurrence_Access is access all Exception_Occurrence; Null_Occurrence : constant Exception_Occurrence; function Exception_Name (X : Exception_Occurrence) return String; -- Same as Exception_Name (Exception_Identity (X)) function Exception_Name (Id : Exception_Id) return String; procedure Raise_Exception (E : Exception_Id; Message : String := ""); pragma No_Return (Raise_Exception); -- Note: In accordance with AI-466, CE is raised if E = Null_Id function Exception_Message (X : Exception_Occurrence) return String; procedure Reraise_Occurrence (X : Exception_Occurrence); -- Note: it would be really nice to give a pragma No_Return for this -- procedure, but it would be wrong, since Reraise_Occurrence does return -- if the argument is the null exception occurrence. See also procedure -- Reraise_Occurrence_Always in the private part of this package. function Exception_Identity (X : Exception_Occurrence) return Exception_Id; function Exception_Information (X : Exception_Occurrence) return String; -- The format of the exception information is as follows: -- -- exception name (as in Exception_Name) -- message (or a null line if no message) -- PID=nnnn -- 0xyyyyyyyy 0xyyyyyyyy ... -- -- The lines are separated by a ASCII.LF character -- The nnnn is the partition Id given as decimal digits. -- The 0x... line represents traceback program counter locations, -- in order with the first one being the exception location. -- Note on ordering: the compiler uses the Save_Occurrence procedure, but -- not the function from Rtsfind, so it is important that the procedure -- come first, since Rtsfind finds the first matching entity. procedure Save_Occurrence (Target : out Exception_Occurrence; Source : Exception_Occurrence); function Save_Occurrence (Source : Exception_Occurrence) return Exception_Occurrence_Access; private package SSL renames System.Standard_Library; package SP renames System.Parameters; subtype EOA is Exception_Occurrence_Access; Exception_Msg_Max_Length : constant := SP.Default_Exception_Msg_Max_Length; ------------------ -- Exception_Id -- ------------------ subtype Code_Loc is System.Address; -- Code location used in building exception tables and for call addresses -- when propagating an exception. Values of this type are created by using -- Label'Address or extracted from machine states using Get_Code_Loc. Null_Loc : constant Code_Loc := System.Null_Address; -- Null code location, used to flag outer level frame type Exception_Id is new SSL.Exception_Data_Ptr; function EId_To_String (X : Exception_Id) return String; function String_To_EId (S : String) return Exception_Id; pragma Stream_Convert (Exception_Id, String_To_EId, EId_To_String); -- Functions for implementing Exception_Id stream attributes Null_Id : constant Exception_Id := null; ------------------------- -- Private Subprograms -- ------------------------- function Exception_Name_Simple (X : Exception_Occurrence) return String; -- Like Exception_Name, but returns the simple non-qualified name of the -- exception. This is used to implement the Exception_Name function in -- Current_Exceptions (the DEC compatible unit). It is called from the -- compiler generated code (using Rtsfind, which does not respect the -- private barrier, so we can place this function in the private part -- where the compiler can find it, but the spec is unchanged.) procedure Raise_Exception_Always (E : Exception_Id; Message : String := ""); pragma No_Return (Raise_Exception_Always); pragma Export (Ada, Raise_Exception_Always, "__gnat_raise_exception"); -- This differs from Raise_Exception only in that the caller has determined -- that for sure the parameter E is not null, and that therefore no check -- for Null_Id is required. The expander converts Raise_Exception calls to -- Raise_Exception_Always if it can determine this is the case. The Export -- allows this routine to be accessed from Pure units. procedure Raise_From_Signal_Handler (E : Exception_Id; M : System.Address); pragma Export (Ada, Raise_From_Signal_Handler, "ada__exceptions__raise_from_signal_handler"); pragma No_Return (Raise_From_Signal_Handler); -- This routine is used to raise an exception from a signal handler. The -- signal handler has already stored the machine state (i.e. the state that -- corresponds to the location at which the signal was raised). E is the -- Exception_Id specifying what exception is being raised, and M is a -- pointer to a null-terminated string which is the message to be raised. -- Note that this routine never returns, so it is permissible to simply -- jump to this routine, rather than call it. This may be appropriate for -- systems where the right way to get out of signal handler is to alter the -- PC value in the machine state or in some other way ask the operating -- system to return here rather than to the original location. procedure Raise_From_Controlled_Operation (X : Ada.Exceptions.Exception_Occurrence); pragma No_Return (Raise_From_Controlled_Operation); pragma Export (Ada, Raise_From_Controlled_Operation, "__gnat_raise_from_controlled_operation"); -- Raise Program_Error, providing information about X (an exception raised -- during a controlled operation) in the exception message. procedure Reraise_Library_Exception_If_Any; pragma Export (Ada, Reraise_Library_Exception_If_Any, "__gnat_reraise_library_exception_if_any"); -- If there was an exception raised during library-level finalization, -- reraise the exception. procedure Reraise_Occurrence_Always (X : Exception_Occurrence); pragma No_Return (Reraise_Occurrence_Always); -- This differs from Raise_Occurrence only in that the caller guarantees -- that for sure the parameter X is not the null occurrence, and that -- therefore this procedure cannot return. The expander uses this routine -- in the translation of a raise statement with no parameter (reraise). procedure Reraise_Occurrence_No_Defer (X : Exception_Occurrence); pragma No_Return (Reraise_Occurrence_No_Defer); -- Exactly like Reraise_Occurrence, except that abort is not deferred -- before the call and the parameter X is known not to be the null -- occurrence. This is used in generated code when it is known that -- abort is already deferred. function Triggered_By_Abort return Boolean; -- Determine whether the current exception (if it exists) is an instance of -- Standard'Abort_Signal. ----------------------- -- Polling Interface -- ----------------------- -- The GNAT compiler has an option to generate polling calls to the Poll -- routine in this package. Specifying the -gnatP option for a compilation -- causes a call to Ada.Exceptions.Poll to be generated on every subprogram -- entry and on every iteration of a loop, thus avoiding the possibility of -- a case of unbounded time between calls. -- This polling interface may be used for instrumentation or debugging -- purposes (e.g. implementing watchpoints in software or in the debugger). -- In the GNAT technology itself, this interface is used to implement -- immediate asynchronous transfer of control and immediate abort on -- targets which do not provide for one thread interrupting another. -- Note: this used to be in a separate unit called System.Poll, but that -- caused horrible circular elaboration problems between System.Poll and -- Ada.Exceptions. procedure Poll; -- Check for asynchronous abort. Note that we do not inline the body. -- This makes the interface more useful for debugging purposes. -------------------------- -- Exception_Occurrence -- -------------------------- package TBE renames System.Traceback_Entries; Max_Tracebacks : constant := 50; -- Maximum number of trace backs stored in exception occurrence subtype Tracebacks_Array is TBE.Tracebacks_Array (1 .. Max_Tracebacks); -- Traceback array stored in exception occurrence type Exception_Occurrence is record Id : Exception_Id; -- Exception_Identity for this exception occurrence Msg_Length : Natural := 0; -- Length of message (zero = no message) Msg : String (1 .. Exception_Msg_Max_Length); -- Characters of message Exception_Raised : Boolean := False; -- Set to true to indicate that this exception occurrence has actually -- been raised. When an exception occurrence is first created, this is -- set to False, then when it is processed by Raise_Current_Exception, -- it is set to True. If Raise_Current_Exception is used to raise an -- exception for which this flag is already True, then it knows that -- it is dealing with the reraise case (which is useful to distinguish -- for exception tracing purposes). Pid : Natural := 0; -- Partition_Id for partition raising exception Num_Tracebacks : Natural range 0 .. Max_Tracebacks := 0; -- Number of traceback entries stored Tracebacks : Tracebacks_Array; -- Stored tracebacks (in Tracebacks (1 .. Num_Tracebacks)) end record; function "=" (Left, Right : Exception_Occurrence) return Boolean is abstract; -- Don't allow comparison on exception occurrences, we should not need -- this, and it would not work right, because of the Msg and Tracebacks -- fields which have unused entries not copied by Save_Occurrence. function EO_To_String (X : Exception_Occurrence) return String; function String_To_EO (S : String) return Exception_Occurrence; pragma Stream_Convert (Exception_Occurrence, String_To_EO, EO_To_String); -- Functions for implementing Exception_Occurrence stream attributes Null_Occurrence : constant Exception_Occurrence := ( Id => null, Msg_Length => 0, Msg => (others => ' '), Exception_Raised => False, Pid => 0, Num_Tracebacks => 0, Tracebacks => (others => TBE.Null_TB_Entry)); end Ada.Exceptions;
----------------------------------------------------------------------- -- wiki-render-wiki -- Wiki to 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 Ada.Strings.Wide_Wide_Maps; with Ada.Strings.Wide_Wide_Unbounded; with Wiki.Documents; with Wiki.Attributes; with Wiki.Streams; with Wiki.Strings; -- === Wiki Renderer === -- The `Wiki_Renderer</tt> allows to render a wiki document into another wiki content. -- The formatting rules are ignored except for the paragraphs and sections. package Wiki.Render.Wiki is use Standard.Wiki.Attributes; -- ------------------------------ -- Wiki to HTML writer -- ------------------------------ type Wiki_Renderer is new Renderer with private; -- Set the output stream. procedure Set_Output_Stream (Engine : in out Wiki_Renderer; Stream : in Streams.Output_Stream_Access; Format : in Wiki_Syntax); -- Render the node instance from the document. overriding procedure Render (Engine : in out Wiki_Renderer; Doc : in Documents.Document; Node : in Nodes.Node_Type); -- Add a section header in the document. procedure Render_Header (Engine : in out Wiki_Renderer; Header : in Wide_Wide_String; Level : in Positive); -- Add a paragraph (<p>). Close the previous paragraph if any. -- The paragraph must be closed at the next paragraph or next header. procedure Add_Paragraph (Engine : in out Wiki_Renderer); -- Add a blockquote (<blockquote>). The level indicates the blockquote nested level. -- The blockquote must be closed at the next header. procedure Add_Blockquote (Engine : in out Wiki_Renderer; Level : in Natural); -- Add a list item (<li>). Close the previous paragraph and list item if any. -- The list item will be closed at the next list item, next paragraph or next header. procedure Add_List_Item (Engine : in out Wiki_Renderer; Level : in Positive; Ordered : in Boolean); -- Render a link. procedure Render_Link (Engine : in out Wiki_Renderer; Name : in Strings.WString; Attrs : in Attributes.Attribute_List); -- Render an image. procedure Render_Image (Engine : in out Wiki_Renderer; Title : in Strings.WString; Attrs : in Attributes.Attribute_List); -- Render a quote. procedure Render_Quote (Engine : in out Wiki_Renderer; Title : in Strings.WString; Attrs : in Attributes.Attribute_List); -- Add a text block with the given format. procedure Render_Text (Engine : in out Wiki_Renderer; Text : in Wide_Wide_String; Format : in Format_Map); -- Render a text block that is pre-formatted. procedure Render_Preformatted (Engine : in out Wiki_Renderer; Text : in Strings.WString; Format : in Strings.WString); procedure Render_Tag (Engine : in out Wiki_Renderer; Doc : in Documents.Document; Node : in Nodes.Node_Type); -- Finish the document after complete wiki text has been parsed. procedure Finish (Engine : in out Wiki_Renderer; Doc : in Documents.Document); -- Set the text style format. procedure Set_Format (Engine : in out Wiki_Renderer; Format : in Format_Map); private use Ada.Strings.Wide_Wide_Unbounded; type Wide_String_Access is access constant Wide_Wide_String; type Wiki_Tag_Type is (Header_Start, Header_End, Img_Start, Img_End, Link_Start, Link_End, Link_Separator, Quote_Start, Quote_End, Quote_Separator, Preformat_Start, Preformat_End, List_Start, List_Item, List_Ordered_Item, Line_Break, Escape_Rule, Horizontal_Rule, Blockquote_Start, Blockquote_End); type Wiki_Tag_Array is array (Wiki_Tag_Type) of Wide_String_Access; type Wiki_Format_Array is array (Format_Type) of Wide_String_Access; procedure Write_Optional_Space (Engine : in out Wiki_Renderer); -- Emit a new line. procedure New_Line (Engine : in out Wiki_Renderer; Optional : in Boolean := False); procedure Need_Separator_Line (Engine : in out Wiki_Renderer); procedure Close_Paragraph (Engine : in out Wiki_Renderer); procedure Start_Keep_Content (Engine : in out Wiki_Renderer); type List_Style_Array is array (1 .. 32) of Boolean; EMPTY_TAG : aliased constant Wide_Wide_String := ""; type Wiki_Renderer is new Renderer with record Output : Streams.Output_Stream_Access := null; Syntax : Wiki_Syntax := SYNTAX_CREOLE; Format : Format_Map := (others => False); Tags : Wiki_Tag_Array := (others => EMPTY_TAG'Access); Style_Start_Tags : Wiki_Format_Array := (others => EMPTY_TAG'Access); Style_End_Tags : Wiki_Format_Array := (others => EMPTY_TAG'Access); Escape_Set : Ada.Strings.Wide_Wide_Maps.Wide_Wide_Character_Set; Has_Paragraph : Boolean := False; Has_Item : Boolean := False; Need_Paragraph : Boolean := False; Need_Newline : Boolean := False; Need_Space : Boolean := False; Empty_Line : Boolean := True; Empty_Previous_Line : Boolean := True; Keep_Content : Natural := 0; In_List : Boolean := False; Invert_Header_Level : Boolean := False; Allow_Link_Language : Boolean := False; Link_First : Boolean := False; Html_Blockquote : Boolean := False; Line_Count : Natural := 0; Current_Level : Natural := 0; Quote_Level : Natural := 0; UL_List_Level : Natural := 0; OL_List_Level : Natural := 0; Current_Style : Format_Map := (others => False); Content : Unbounded_Wide_Wide_String; Link_Href : Unbounded_Wide_Wide_String; Link_Title : Unbounded_Wide_Wide_String; Link_Lang : Unbounded_Wide_Wide_String; end record; end Wiki.Render.Wiki;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . S T R I N G _ O P S _ C O N C A T _ 4 -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2013, 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 contains the function for concatenating four strings -- NOTE: This package is obsolescent. It is no longer used by the compiler -- which now generates concatenation inline. It is retained only because -- it may be used during bootstrapping using old versions of the compiler. pragma Compiler_Unit_Warning; package System.String_Ops_Concat_4 is pragma Pure; function Str_Concat_4 (S1, S2, S3, S4 : String) return String; -- Concatenate four strings and return resulting string end System.String_Ops_Concat_4;
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Type_Definitions; with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Component_Definitions; package Program.Elements.Unconstrained_Array_Types is pragma Pure (Program.Elements.Unconstrained_Array_Types); type Unconstrained_Array_Type is limited interface and Program.Elements.Type_Definitions.Type_Definition; type Unconstrained_Array_Type_Access is access all Unconstrained_Array_Type'Class with Storage_Size => 0; not overriding function Index_Subtypes (Self : Unconstrained_Array_Type) return not null Program.Elements.Expressions.Expression_Vector_Access is abstract; not overriding function Component_Definition (Self : Unconstrained_Array_Type) return not null Program.Elements.Component_Definitions .Component_Definition_Access is abstract; type Unconstrained_Array_Type_Text is limited interface; type Unconstrained_Array_Type_Text_Access is access all Unconstrained_Array_Type_Text'Class with Storage_Size => 0; not overriding function To_Unconstrained_Array_Type_Text (Self : aliased in out Unconstrained_Array_Type) return Unconstrained_Array_Type_Text_Access is abstract; not overriding function Array_Token (Self : Unconstrained_Array_Type_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Left_Bracket_Token (Self : Unconstrained_Array_Type_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Right_Bracket_Token (Self : Unconstrained_Array_Type_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Of_Token (Self : Unconstrained_Array_Type_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; end Program.Elements.Unconstrained_Array_Types;
-- Copyright (C)2021,2022 Steve Merrony -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -- copies of the Software, and to permit persons to whom the Software is -- furnished to do so, subject to the following conditions: -- The above copyright notice and this permission notice shall be included in -- all copies or substantial portions of the Software. -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -- THE SOFTWARE. with Ada.Exceptions; with Ada.Unchecked_Conversion; with Logging; use Logging; with Serial; with Telnet; with Terminal; with Xmodem; package body Redirector is task body Router_TT is begin loop select accept Set_Destination (Dest : in Connection_T) do Destination := Dest; end Set_Destination; or accept Get_Destination (Dest : out Connection_T) do Dest := Destination; end Get_Destination; or accept Send_Data (Data : in String) do case Destination is when Local => Terminal.Processor_Task.Accept_Data (Data); when Async => Serial.Keyboard_Sender_Task.Accept_Data (Data); when Network => Telnet.Keyboard_Sender_Task.Accept_Data (Data); end case; exception when Telnet.Disconnected => Destination := Local; Handler := Visual; end Send_Data; or accept Set_Handler (Handlr : in Handler_T) do Handler := Handlr; end Set_Handler; or accept Handle_Data (C : in Character) do case Handler is when Visual => Terminal.Processor_Task.Accept_Data ("" & C); when Xmodem_Rx => Xmodem.Receiver_Task.Accept_Data (C); when Xmodem_Tx => Xmodem.Sender_Task.Accept_Data (C); end case; end Handle_Data; or terminate; end select; end loop; exception when E : others => Log (ERROR, "Redirector Router task has Exception"); Log (ERROR, Ada.Exceptions.Exception_Information(E)); end Router_TT; end Redirector;
-- The MIT License (MIT) -- Copyright (c) 2015 Pavel Zhukov <landgraf@fedoraproject.org> -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -- copies of the Software, and to permit persons to whom the Software is -- furnished to do so, subject to the following conditions: -- The above copyright notice and this permission notice shall be included in all -- copies or substantial portions of the Software. -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -- SOFTWARE. package Nanomsg.Errors is function Errno return Integer; function Errno_Text return String; function Errno_Id return String; end Nanomsg.Errors;
-- This spec has been automatically generated from STM32F7x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.ADC is pragma Preelaborate; --------------- -- Registers -- --------------- -- status register type SR_Register is record -- Analog watchdog flag AWD : Boolean := False; -- Regular channel end of conversion EOC : Boolean := False; -- Injected channel end of conversion JEOC : Boolean := False; -- Injected channel start flag JSTRT : Boolean := False; -- Regular channel start flag STRT : Boolean := False; -- Overrun OVR : Boolean := False; -- unspecified Reserved_6_31 : HAL.UInt26 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SR_Register use record AWD at 0 range 0 .. 0; EOC at 0 range 1 .. 1; JEOC at 0 range 2 .. 2; JSTRT at 0 range 3 .. 3; STRT at 0 range 4 .. 4; OVR at 0 range 5 .. 5; Reserved_6_31 at 0 range 6 .. 31; end record; subtype CR1_AWDCH_Field is HAL.UInt5; subtype CR1_DISCNUM_Field is HAL.UInt3; subtype CR1_RES_Field is HAL.UInt2; -- control register 1 type CR1_Register is record -- Analog watchdog channel select bits AWDCH : CR1_AWDCH_Field := 16#0#; -- Interrupt enable for EOC EOCIE : Boolean := False; -- Analog watchdog interrupt enable AWDIE : Boolean := False; -- Interrupt enable for injected channels JEOCIE : Boolean := False; -- Scan mode SCAN : Boolean := False; -- Enable the watchdog on a single channel in scan mode AWDSGL : Boolean := False; -- Automatic injected group conversion JAUTO : Boolean := False; -- Discontinuous mode on regular channels DISCEN : Boolean := False; -- Discontinuous mode on injected channels JDISCEN : Boolean := False; -- Discontinuous mode channel count DISCNUM : CR1_DISCNUM_Field := 16#0#; -- unspecified Reserved_16_21 : HAL.UInt6 := 16#0#; -- Analog watchdog enable on injected channels JAWDEN : Boolean := False; -- Analog watchdog enable on regular channels AWDEN : Boolean := False; -- Resolution RES : CR1_RES_Field := 16#0#; -- Overrun interrupt enable OVRIE : Boolean := False; -- unspecified Reserved_27_31 : HAL.UInt5 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR1_Register use record AWDCH at 0 range 0 .. 4; EOCIE at 0 range 5 .. 5; AWDIE at 0 range 6 .. 6; JEOCIE at 0 range 7 .. 7; SCAN at 0 range 8 .. 8; AWDSGL at 0 range 9 .. 9; JAUTO at 0 range 10 .. 10; DISCEN at 0 range 11 .. 11; JDISCEN at 0 range 12 .. 12; DISCNUM at 0 range 13 .. 15; Reserved_16_21 at 0 range 16 .. 21; JAWDEN at 0 range 22 .. 22; AWDEN at 0 range 23 .. 23; RES at 0 range 24 .. 25; OVRIE at 0 range 26 .. 26; Reserved_27_31 at 0 range 27 .. 31; end record; subtype CR2_JEXTSEL_Field is HAL.UInt4; subtype CR2_JEXTEN_Field is HAL.UInt2; subtype CR2_EXTSEL_Field is HAL.UInt4; subtype CR2_EXTEN_Field is HAL.UInt2; -- control register 2 type CR2_Register is record -- A/D Converter ON / OFF ADON : Boolean := False; -- Continuous conversion CONT : Boolean := False; -- unspecified Reserved_2_7 : HAL.UInt6 := 16#0#; -- Direct memory access mode (for single ADC mode) DMA : Boolean := False; -- DMA disable selection (for single ADC mode) DDS : Boolean := False; -- End of conversion selection EOCS : Boolean := False; -- Data alignment ALIGN : Boolean := False; -- unspecified Reserved_12_15 : HAL.UInt4 := 16#0#; -- External event select for injected group JEXTSEL : CR2_JEXTSEL_Field := 16#0#; -- External trigger enable for injected channels JEXTEN : CR2_JEXTEN_Field := 16#0#; -- Start conversion of injected channels JSWSTART : Boolean := False; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- External event select for regular group EXTSEL : CR2_EXTSEL_Field := 16#0#; -- External trigger enable for regular channels EXTEN : CR2_EXTEN_Field := 16#0#; -- Start conversion of regular channels SWSTART : Boolean := False; -- unspecified Reserved_31_31 : HAL.Bit := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR2_Register use record ADON at 0 range 0 .. 0; CONT at 0 range 1 .. 1; Reserved_2_7 at 0 range 2 .. 7; DMA at 0 range 8 .. 8; DDS at 0 range 9 .. 9; EOCS at 0 range 10 .. 10; ALIGN at 0 range 11 .. 11; Reserved_12_15 at 0 range 12 .. 15; JEXTSEL at 0 range 16 .. 19; JEXTEN at 0 range 20 .. 21; JSWSTART at 0 range 22 .. 22; Reserved_23_23 at 0 range 23 .. 23; EXTSEL at 0 range 24 .. 27; EXTEN at 0 range 28 .. 29; SWSTART at 0 range 30 .. 30; Reserved_31_31 at 0 range 31 .. 31; end record; -- SMPR1_SMP array element subtype SMPR1_SMP_Element is HAL.UInt3; -- SMPR1_SMP array type SMPR1_SMP_Field_Array is array (10 .. 18) of SMPR1_SMP_Element with Component_Size => 3, Size => 27; -- Type definition for SMPR1_SMP type SMPR1_SMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- SMP as a value Val : HAL.UInt27; when True => -- SMP as an array Arr : SMPR1_SMP_Field_Array; end case; end record with Unchecked_Union, Size => 27; for SMPR1_SMP_Field use record Val at 0 range 0 .. 26; Arr at 0 range 0 .. 26; end record; -- sample time register 1 type SMPR1_Register is record -- Sample time bits SMP : SMPR1_SMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_27_31 : HAL.UInt5 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SMPR1_Register use record SMP at 0 range 0 .. 26; Reserved_27_31 at 0 range 27 .. 31; end record; -- SMPR2_SMP array element subtype SMPR2_SMP_Element is HAL.UInt3; -- SMPR2_SMP array type SMPR2_SMP_Field_Array is array (0 .. 9) of SMPR2_SMP_Element with Component_Size => 3, Size => 30; -- Type definition for SMPR2_SMP type SMPR2_SMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- SMP as a value Val : HAL.UInt30; when True => -- SMP as an array Arr : SMPR2_SMP_Field_Array; end case; end record with Unchecked_Union, Size => 30; for SMPR2_SMP_Field use record Val at 0 range 0 .. 29; Arr at 0 range 0 .. 29; end record; -- sample time register 2 type SMPR2_Register is record -- Sample time bits SMP : SMPR2_SMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_30_31 : HAL.UInt2 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SMPR2_Register use record SMP at 0 range 0 .. 29; Reserved_30_31 at 0 range 30 .. 31; end record; subtype JOFR1_JOFFSET1_Field is HAL.UInt12; -- injected channel data offset register x type JOFR1_Register is record -- Data offset for injected channel x JOFFSET1 : JOFR1_JOFFSET1_Field := 16#0#; -- unspecified Reserved_12_31 : HAL.UInt20 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for JOFR1_Register use record JOFFSET1 at 0 range 0 .. 11; Reserved_12_31 at 0 range 12 .. 31; end record; subtype JOFR2_JOFFSET2_Field is HAL.UInt12; -- injected channel data offset register x type JOFR2_Register is record -- Data offset for injected channel x JOFFSET2 : JOFR2_JOFFSET2_Field := 16#0#; -- unspecified Reserved_12_31 : HAL.UInt20 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for JOFR2_Register use record JOFFSET2 at 0 range 0 .. 11; Reserved_12_31 at 0 range 12 .. 31; end record; subtype JOFR3_JOFFSET3_Field is HAL.UInt12; -- injected channel data offset register x type JOFR3_Register is record -- Data offset for injected channel x JOFFSET3 : JOFR3_JOFFSET3_Field := 16#0#; -- unspecified Reserved_12_31 : HAL.UInt20 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for JOFR3_Register use record JOFFSET3 at 0 range 0 .. 11; Reserved_12_31 at 0 range 12 .. 31; end record; subtype JOFR4_JOFFSET4_Field is HAL.UInt12; -- injected channel data offset register x type JOFR4_Register is record -- Data offset for injected channel x JOFFSET4 : JOFR4_JOFFSET4_Field := 16#0#; -- unspecified Reserved_12_31 : HAL.UInt20 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for JOFR4_Register use record JOFFSET4 at 0 range 0 .. 11; Reserved_12_31 at 0 range 12 .. 31; end record; subtype HTR_HT_Field is HAL.UInt12; -- watchdog higher threshold register type HTR_Register is record -- Analog watchdog higher threshold HT : HTR_HT_Field := 16#FFF#; -- unspecified Reserved_12_31 : HAL.UInt20 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for HTR_Register use record HT at 0 range 0 .. 11; Reserved_12_31 at 0 range 12 .. 31; end record; subtype LTR_LT_Field is HAL.UInt12; -- watchdog lower threshold register type LTR_Register is record -- Analog watchdog lower threshold LT : LTR_LT_Field := 16#0#; -- unspecified Reserved_12_31 : HAL.UInt20 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for LTR_Register use record LT at 0 range 0 .. 11; Reserved_12_31 at 0 range 12 .. 31; end record; -- SQR1_SQ array element subtype SQR1_SQ_Element is HAL.UInt5; -- SQR1_SQ array type SQR1_SQ_Field_Array is array (13 .. 16) of SQR1_SQ_Element with Component_Size => 5, Size => 20; -- Type definition for SQR1_SQ type SQR1_SQ_Field (As_Array : Boolean := False) is record case As_Array is when False => -- SQ as a value Val : HAL.UInt20; when True => -- SQ as an array Arr : SQR1_SQ_Field_Array; end case; end record with Unchecked_Union, Size => 20; for SQR1_SQ_Field use record Val at 0 range 0 .. 19; Arr at 0 range 0 .. 19; end record; subtype SQR1_L_Field is HAL.UInt4; -- regular sequence register 1 type SQR1_Register is record -- 13th conversion in regular sequence SQ : SQR1_SQ_Field := (As_Array => False, Val => 16#0#); -- Regular channel sequence length L : SQR1_L_Field := 16#0#; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SQR1_Register use record SQ at 0 range 0 .. 19; L at 0 range 20 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; -- SQR2_SQ array element subtype SQR2_SQ_Element is HAL.UInt5; -- SQR2_SQ array type SQR2_SQ_Field_Array is array (7 .. 12) of SQR2_SQ_Element with Component_Size => 5, Size => 30; -- Type definition for SQR2_SQ type SQR2_SQ_Field (As_Array : Boolean := False) is record case As_Array is when False => -- SQ as a value Val : HAL.UInt30; when True => -- SQ as an array Arr : SQR2_SQ_Field_Array; end case; end record with Unchecked_Union, Size => 30; for SQR2_SQ_Field use record Val at 0 range 0 .. 29; Arr at 0 range 0 .. 29; end record; -- regular sequence register 2 type SQR2_Register is record -- 7th conversion in regular sequence SQ : SQR2_SQ_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_30_31 : HAL.UInt2 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SQR2_Register use record SQ at 0 range 0 .. 29; Reserved_30_31 at 0 range 30 .. 31; end record; -- SQR3_SQ array element subtype SQR3_SQ_Element is HAL.UInt5; -- SQR3_SQ array type SQR3_SQ_Field_Array is array (1 .. 6) of SQR3_SQ_Element with Component_Size => 5, Size => 30; -- Type definition for SQR3_SQ type SQR3_SQ_Field (As_Array : Boolean := False) is record case As_Array is when False => -- SQ as a value Val : HAL.UInt30; when True => -- SQ as an array Arr : SQR3_SQ_Field_Array; end case; end record with Unchecked_Union, Size => 30; for SQR3_SQ_Field use record Val at 0 range 0 .. 29; Arr at 0 range 0 .. 29; end record; -- regular sequence register 3 type SQR3_Register is record -- 1st conversion in regular sequence SQ : SQR3_SQ_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_30_31 : HAL.UInt2 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SQR3_Register use record SQ at 0 range 0 .. 29; Reserved_30_31 at 0 range 30 .. 31; end record; -- JSQR_JSQ array element subtype JSQR_JSQ_Element is HAL.UInt5; -- JSQR_JSQ array type JSQR_JSQ_Field_Array is array (1 .. 4) of JSQR_JSQ_Element with Component_Size => 5, Size => 20; -- Type definition for JSQR_JSQ type JSQR_JSQ_Field (As_Array : Boolean := False) is record case As_Array is when False => -- JSQ as a value Val : HAL.UInt20; when True => -- JSQ as an array Arr : JSQR_JSQ_Field_Array; end case; end record with Unchecked_Union, Size => 20; for JSQR_JSQ_Field use record Val at 0 range 0 .. 19; Arr at 0 range 0 .. 19; end record; subtype JSQR_JL_Field is HAL.UInt2; -- injected sequence register type JSQR_Register is record -- 1st conversion in injected sequence JSQ : JSQR_JSQ_Field := (As_Array => False, Val => 16#0#); -- Injected sequence length JL : JSQR_JL_Field := 16#0#; -- unspecified Reserved_22_31 : HAL.UInt10 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for JSQR_Register use record JSQ at 0 range 0 .. 19; JL at 0 range 20 .. 21; Reserved_22_31 at 0 range 22 .. 31; end record; subtype JDR_JDATA_Field is HAL.UInt16; -- injected data register x type JDR_Register is record -- Read-only. Injected data JDATA : JDR_JDATA_Field; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for JDR_Register use record JDATA at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype DR_DATA_Field is HAL.UInt16; -- regular data register type DR_Register is record -- Read-only. Regular data DATA : DR_DATA_Field; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for DR_Register use record DATA at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; -- ADC Common status register type CSR_Register is record -- Read-only. Analog watchdog flag of ADC 1 AWD1 : Boolean; -- Read-only. End of conversion of ADC 1 EOC1 : Boolean; -- Read-only. Injected channel end of conversion of ADC 1 JEOC1 : Boolean; -- Read-only. Injected channel Start flag of ADC 1 JSTRT1 : Boolean; -- Read-only. Regular channel Start flag of ADC 1 STRT1 : Boolean; -- Read-only. Overrun flag of ADC 1 OVR1 : Boolean; -- unspecified Reserved_6_7 : HAL.UInt2; -- Read-only. Analog watchdog flag of ADC 2 AWD2 : Boolean; -- Read-only. End of conversion of ADC 2 EOC2 : Boolean; -- Read-only. Injected channel end of conversion of ADC 2 JEOC2 : Boolean; -- Read-only. Injected channel Start flag of ADC 2 JSTRT2 : Boolean; -- Read-only. Regular channel Start flag of ADC 2 STRT2 : Boolean; -- Read-only. Overrun flag of ADC 2 OVR2 : Boolean; -- unspecified Reserved_14_15 : HAL.UInt2; -- Read-only. Analog watchdog flag of ADC 3 AWD3 : Boolean; -- Read-only. End of conversion of ADC 3 EOC3 : Boolean; -- Read-only. Injected channel end of conversion of ADC 3 JEOC3 : Boolean; -- Read-only. Injected channel Start flag of ADC 3 JSTRT3 : Boolean; -- Read-only. Regular channel Start flag of ADC 3 STRT3 : Boolean; -- Read-only. Overrun flag of ADC3 OVR3 : Boolean; -- unspecified Reserved_22_31 : HAL.UInt10; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CSR_Register use record AWD1 at 0 range 0 .. 0; EOC1 at 0 range 1 .. 1; JEOC1 at 0 range 2 .. 2; JSTRT1 at 0 range 3 .. 3; STRT1 at 0 range 4 .. 4; OVR1 at 0 range 5 .. 5; Reserved_6_7 at 0 range 6 .. 7; AWD2 at 0 range 8 .. 8; EOC2 at 0 range 9 .. 9; JEOC2 at 0 range 10 .. 10; JSTRT2 at 0 range 11 .. 11; STRT2 at 0 range 12 .. 12; OVR2 at 0 range 13 .. 13; Reserved_14_15 at 0 range 14 .. 15; AWD3 at 0 range 16 .. 16; EOC3 at 0 range 17 .. 17; JEOC3 at 0 range 18 .. 18; JSTRT3 at 0 range 19 .. 19; STRT3 at 0 range 20 .. 20; OVR3 at 0 range 21 .. 21; Reserved_22_31 at 0 range 22 .. 31; end record; subtype CCR_MULT_Field is HAL.UInt5; subtype CCR_DELAY_Field is HAL.UInt4; subtype CCR_DMA_Field is HAL.UInt2; subtype CCR_ADCPRE_Field is HAL.UInt2; -- ADC common control register type CCR_Register is record -- Multi ADC mode selection MULT : CCR_MULT_Field := 16#0#; -- unspecified Reserved_5_7 : HAL.UInt3 := 16#0#; -- Delay between 2 sampling phases DELAY_k : CCR_DELAY_Field := 16#0#; -- unspecified Reserved_12_12 : HAL.Bit := 16#0#; -- DMA disable selection for multi-ADC mode DDS : Boolean := False; -- Direct memory access mode for multi ADC mode DMA : CCR_DMA_Field := 16#0#; -- ADC prescaler ADCPRE : CCR_ADCPRE_Field := 16#0#; -- unspecified Reserved_18_21 : HAL.UInt4 := 16#0#; -- VBAT enable VBATE : Boolean := False; -- Temperature sensor and VREFINT enable TSVREFE : Boolean := False; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CCR_Register use record MULT at 0 range 0 .. 4; Reserved_5_7 at 0 range 5 .. 7; DELAY_k at 0 range 8 .. 11; Reserved_12_12 at 0 range 12 .. 12; DDS at 0 range 13 .. 13; DMA at 0 range 14 .. 15; ADCPRE at 0 range 16 .. 17; Reserved_18_21 at 0 range 18 .. 21; VBATE at 0 range 22 .. 22; TSVREFE at 0 range 23 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; -- CDR_DATA array element subtype CDR_DATA_Element is HAL.UInt16; -- CDR_DATA array type CDR_DATA_Field_Array is array (1 .. 2) of CDR_DATA_Element with Component_Size => 16, Size => 32; -- ADC common regular data register for dual and triple modes type CDR_Register (As_Array : Boolean := False) is record case As_Array is when False => -- DATA as a value Val : HAL.UInt32; when True => -- DATA as an array Arr : CDR_DATA_Field_Array; end case; end record with Unchecked_Union, Size => 32, Volatile_Full_Access, Bit_Order => System.Low_Order_First; for CDR_Register use record Val at 0 range 0 .. 31; Arr at 0 range 0 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Analog-to-digital converter type ADC1_Peripheral is record -- status register SR : aliased SR_Register; -- control register 1 CR1 : aliased CR1_Register; -- control register 2 CR2 : aliased CR2_Register; -- sample time register 1 SMPR1 : aliased SMPR1_Register; -- sample time register 2 SMPR2 : aliased SMPR2_Register; -- injected channel data offset register x JOFR1 : aliased JOFR1_Register; -- injected channel data offset register x JOFR2 : aliased JOFR2_Register; -- injected channel data offset register x JOFR3 : aliased JOFR3_Register; -- injected channel data offset register x JOFR4 : aliased JOFR4_Register; -- watchdog higher threshold register HTR : aliased HTR_Register; -- watchdog lower threshold register LTR : aliased LTR_Register; -- regular sequence register 1 SQR1 : aliased SQR1_Register; -- regular sequence register 2 SQR2 : aliased SQR2_Register; -- regular sequence register 3 SQR3 : aliased SQR3_Register; -- injected sequence register JSQR : aliased JSQR_Register; -- injected data register x JDR1 : aliased JDR_Register; -- injected data register x JDR2 : aliased JDR_Register; -- injected data register x JDR3 : aliased JDR_Register; -- injected data register x JDR4 : aliased JDR_Register; -- regular data register DR : aliased DR_Register; end record with Volatile; for ADC1_Peripheral use record SR at 16#0# range 0 .. 31; CR1 at 16#4# range 0 .. 31; CR2 at 16#8# range 0 .. 31; SMPR1 at 16#C# range 0 .. 31; SMPR2 at 16#10# range 0 .. 31; JOFR1 at 16#14# range 0 .. 31; JOFR2 at 16#18# range 0 .. 31; JOFR3 at 16#1C# range 0 .. 31; JOFR4 at 16#20# range 0 .. 31; HTR at 16#24# range 0 .. 31; LTR at 16#28# range 0 .. 31; SQR1 at 16#2C# range 0 .. 31; SQR2 at 16#30# range 0 .. 31; SQR3 at 16#34# range 0 .. 31; JSQR at 16#38# range 0 .. 31; JDR1 at 16#3C# range 0 .. 31; JDR2 at 16#40# range 0 .. 31; JDR3 at 16#44# range 0 .. 31; JDR4 at 16#48# range 0 .. 31; DR at 16#4C# range 0 .. 31; end record; -- Analog-to-digital converter ADC1_Periph : aliased ADC1_Peripheral with Import, Address => System'To_Address (16#40012000#); -- Analog-to-digital converter ADC2_Periph : aliased ADC1_Peripheral with Import, Address => System'To_Address (16#40012100#); -- Analog-to-digital converter ADC3_Periph : aliased ADC1_Peripheral with Import, Address => System'To_Address (16#40012200#); -- Common ADC registers type C_ADC_Peripheral is record -- ADC Common status register CSR : aliased CSR_Register; -- ADC common control register CCR : aliased CCR_Register; -- ADC common regular data register for dual and triple modes CDR : aliased CDR_Register; end record with Volatile; for C_ADC_Peripheral use record CSR at 16#0# range 0 .. 31; CCR at 16#4# range 0 .. 31; CDR at 16#8# range 0 .. 31; end record; -- Common ADC registers C_ADC_Periph : aliased C_ADC_Peripheral with Import, Address => System'To_Address (16#40012300#); end STM32_SVD.ADC;
with GNAT.Spitbol; use GNAT.Spitbol; with Interfaces; use Interfaces; package body GPR_Tools.Gprslaves.DB.JSON is use GNATCOLL.JSON; ------------ -- Create -- ------------ function Create (Item : Info_Struct) return GNATCOLL.JSON.JSON_Value is begin return Ret : constant JSON_Value := Create_Object do Ret.Set_Field ("Host", Create (Item.Host)); Ret.Set_Field ("Keys", Create (Item.Keys)); end return; end Create; ------------ -- Create -- ------------ function Create (Item : Host_Address) return GNATCOLL.JSON.JSON_Value is begin return Ret : constant JSON_Value := Create_Object do Ret.Set_Field ("Name", Create (Item.Name)); Ret.Set_Field ("Port", Create (Integer (Item.Port))); end return; end Create; ------------ -- Create -- ------------ function Create (Item : GNAT.Spitbol.Table_VString.Table) return GNATCOLL.JSON.JSON_Value is MyArr : JSON_Array := Empty_Array; begin for Key of GNAT.Spitbol.Table_VString.Convert_To_Array (Item) loop Append (MyArr, Create (Key)); end loop; return Create (MyArr); end Create; ------------ -- Create -- ------------ function Create (Item : Host_Info_Vectors.Vector) return GNATCOLL.JSON.JSON_Value is MyArr : JSON_Array := Empty_Array; begin for Value of Item loop Append (MyArr, Create (Value)); end loop; return Create (MyArr); end Create; function Get (Item : GNATCOLL.JSON.JSON_Value) return Info_Struct is begin return Ret : Info_Struct do Ret.Host := Get (Get (Item, "Host")); end return; end Get; function Get (Item : GNATCOLL.JSON.JSON_Value) return Host_Address is begin return Ret : Host_Address do Ret.Name := V (String'(Get (Item, "Name"))); Ret.Port := GNAT.Sockets.Port_Type (Natural'(Get (Item, "Port"))); end return; end Get; function Get (Item : GNATCOLL.JSON.JSON_Value) return GNAT.Spitbol.Table_VString.Table_Entry is begin return Ret : GNAT.Spitbol.Table_VString.Table_Entry do Ret.Name := V (String'(Get (Item, "Name"))); Ret.Value := V (String'(Get (Item, "Value"))); end return; end Get; function Get (Item : GNATCOLL.JSON.JSON_Value) return GNAT.Spitbol.Table_VString.Table is Arr : constant GNATCOLL.JSON.JSON_Array := Get (Item); begin return Ret : GNAT.Spitbol.Table_VString.Table (Interfaces.Unsigned_32 (Length (Arr))) do for Ix in 1 .. Length (Arr) loop declare V : constant GNAT.Spitbol.Table_VString.Table_Entry := Get (Get (Arr, Ix)); begin GNAT.Spitbol.Table_VString.Set (Ret, V.Name, V.Value); end; end loop; end return; end Get; function Get (Item : GNATCOLL.JSON.JSON_Value) return Host_Info_Vectors.Vector is Arr : constant GNATCOLL.JSON.JSON_Array := Get (Item); begin return Ret : Host_Info_Vectors.Vector do for Ix in 1 .. Length (Arr) loop Ret.Append (Host_Address'(Get (Get (Arr, Ix)))); end loop; end return; end Get; function Create (Item : GNAT.Spitbol.Table_VString.Table_Entry) return GNATCOLL.JSON.JSON_Value is begin return raise Program_Error; end Create; end GPR_Tools.Gprslaves.DB.JSON;
------------------------------------------------------------------------------- -- LSE -- L-System Editor -- Author: Heziode -- -- License: -- MIT License -- -- Copyright (c) 2018 Quentin Dauprat (Heziode) <Heziode@protonmail.com> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software"), -- to deal in the Software without restriction, including without limitation -- the rights to use, copy, modify, merge, publish, distribute, sublicense, -- and/or sell copies of the Software, and to permit persons to whom the -- Software is furnished to do so, subject to the following conditions: -- -- The above copyright notice and this permission notice shall be included in -- all copies or substantial portions of the Software. -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -- DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------- with LSE.Model.Grammar.Symbol; with LSE.Model.Grammar.Symbol_Utils; use LSE.Model.Grammar.Symbol; use LSE.Model.Grammar.Symbol_Utils; -- @description -- This package define a L-System growth rule. -- package LSE.Model.L_System.Growth_Rule is -- Growth rule type Instance is tagged private; -- Constructor -- @param H Head of the growth rule -- @param B Body of the growth rule procedure Initialize (This : out Instance; H : Ptr.Holder; B : LSE.Model.Grammar.Symbol_Utils.P_List.List); -- Getting the head of this growth rule -- @return Return the symbol that compose the head function Get_Head (This : Instance) return LSE.Model.Grammar.Symbol.Instance'Class; -- Getting the head of this growth rule -- @return Return the symbol that compose the head function Get_Head (This : Instance) return Ptr.Holder; -- Getting the body of this growth rule -- @return Return the symbol list that compose the body function Get_Body (This : Instance) return LSE.Model.Grammar.Symbol_Utils.P_List.List; private type Instance is tagged record -- Head H : Ptr.Holder; -- Body B : LSE.Model.Grammar.Symbol_Utils.P_List.List; end record; end LSE.Model.L_System.Growth_Rule;
-- Ada regular expression library -- (c) Kristian Klomsten Skordal 2020-2021 <kristian.skordal@wafflemail.net> -- Report bugs and issues on <https://github.com/skordal/ada-regex> separate (Regex.Regular_Expressions) procedure Compile (Output : in out Regular_Expression) is Start_State : constant State_Machine_State_Access := Create_State (Firstpos (Output.Syntax_Tree)); Unmarked_State : State_Machine_State_Access := null; begin Output.State_Machine_States.Append (Start_State); Output.Start_State := Start_State; Calculate_Followpos (Output.Syntax_Tree); loop Unmarked_State := null; Find_Unmarked_State_Loop : for State of Output.State_Machine_States loop if State.Marked = False then Unmarked_State := State; exit Find_Unmarked_State_Loop; end if; end loop Find_Unmarked_State_Loop; exit when Unmarked_State = null; -- Mark state: Unmarked_State.Marked := True; declare package Input_Symbol_Sets is new Utilities.Sorted_Sets (Element_Type => Input_Symbol_Access, "<" => Compare_Input_Symbols, "=" => Input_Symbol_Equals); use Input_Symbol_Sets; Input_Symbols : Sorted_Set := Empty_Set; begin -- Find all input symbols for this state and determine if it is an accepting state: for Syntax_Node of Unmarked_State.Syntax_Tree_Nodes loop if Syntax_Node.Node_Type = Single_Character then Input_Symbols.Add (new Input_Symbol'(Symbol_Type => Single_Character, Char => Syntax_Node.Char)); elsif Syntax_Node.Node_Type = Any_Character then Input_Symbols.Add (new Input_Symbol'(Symbol_Type => Any_Character)); elsif Syntax_Node.Node_Type = Acceptance then Unmarked_State.Accepting := True; Unmarked_State.Acceptance_Id := Syntax_Node.Acceptance_Id; end if; end loop; -- Create transitions for each input symbol: for Symbol of Input_Symbols loop declare use type Syntax_Tree_Node_Sets.Sorted_Set; Target_State_Set : Syntax_Tree_Node_Sets.Sorted_Set := Syntax_Tree_Node_Sets.Empty_Set; Target_State : State_Machine_State_Access := null; begin for Syntax_Node of Unmarked_State.Syntax_Tree_Nodes loop if Symbol.Symbol_Type = Single_Character then if Syntax_Node.Node_Type = Single_Character and then Syntax_Node.Char = Symbol.Char then Target_State_Set.Add (Syntax_Node.Followpos); end if; elsif Symbol.Symbol_Type = Any_Character then if Syntax_Node.Node_Type = Any_Character then Target_State_Set.Add (Syntax_Node.Followpos); end if; end if; end loop; -- Find or create the target node: Find_Target_State_Loop : for State of Output.State_Machine_States loop if State.Syntax_Tree_Nodes = Target_State_Set then Target_State := State; exit Find_Target_State_Loop; end if; end loop Find_Target_State_Loop; if Target_State = null then Target_State := Create_State (Target_State_Set); Output.State_Machine_States.Append (Target_State); end if; Unmarked_State.Transitions.Append (Create_Transition_On_Symbol (Clone (Symbol), Target_State)); end; end loop; end; end loop; end Compile;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- G N A T . S I G N A L S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2003-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. -- -- -- ------------------------------------------------------------------------------ -- This package provides operations for querying and setting the blocked -- status of signals. -- This package is supported only on targets where Ada.Interrupts.Interrupt_ID -- corresponds to software signals on the target, and where System.Interrupts -- provides the ability to block and unblock signals. with Ada.Interrupts; package GNAT.Signals is procedure Block_Signal (Signal : Ada.Interrupts.Interrupt_ID); -- Block "Signal" at the process level procedure Unblock_Signal (Signal : Ada.Interrupts.Interrupt_ID); -- Unblock "Signal" at the process level function Is_Blocked (Signal : Ada.Interrupts.Interrupt_ID) return Boolean; -- "Signal" blocked at the process level? end GNAT.Signals;
------------------------------------------------------------------------------ -- -- -- 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 Matreshka.CLDR.Collation_Loader; with Matreshka.Internals.Locales.Defaults; package body League.Locales.Constructors is ------------------- -- Create_Locale -- ------------------- function Create_Locale (Language : League.Strings.Universal_String) return Locale is begin return Result : Locale := (Ada.Finalization.Controlled with Data => new Matreshka.Internals.Locales.Locale_Data' (Counter => <>, Core => Matreshka.Internals.Locales.Defaults.Default_Locale .Core, Casing => Matreshka.Internals.Locales.Defaults.Default_Locale .Casing, Collation => Matreshka.Internals.Locales.Defaults.Default_Locale .Collation)) do Matreshka.CLDR.Collation_Loader.Load_Collation_Data (Language, Result.Data); end return; end Create_Locale; end League.Locales.Constructors;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- B I N D E -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2016, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING3. If not, go to -- -- http://www.gnu.org/licenses for a complete copy of the license. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains the routine that determines library-level elaboration -- order. with ALI; use ALI; with Namet; use Namet; with Types; use Types; with GNAT.Dynamic_Tables; package Binde is package Unit_Id_Tables is new GNAT.Dynamic_Tables (Table_Component_Type => Unit_Id, Table_Index_Type => Nat, Table_Low_Bound => 1, Table_Initial => 500, Table_Increment => 200); use Unit_Id_Tables; subtype Unit_Id_Table is Unit_Id_Tables.Instance; subtype Unit_Id_Array is Unit_Id_Tables.Table_Type; procedure Find_Elab_Order (Elab_Order : out Unit_Id_Table; First_Main_Lib_File : File_Name_Type); -- Determine elaboration order. -- -- The Elab_Order table records the chosen elaboration order. It is used by -- Gen_Elab_Calls to generate the sequence of elaboration calls. Note that -- units are included in this table even if they have no elaboration -- routine, since the table is also used to drive the generation of object -- files in the binder output. Gen_Elab_Calls skips any units that have no -- elaboration routine. end Binde;
pragma Warnings (Off); with Interfaces; use Interfaces; pragma Warnings (On); package STM32GD is pragma Preelaborate; type UID_Type is array (1 .. 3) of Unsigned_32; procedure Wait_For_Interrupt with Inline_Always; procedure Clear_Event with Inline_Always; procedure Wait_For_Event with Inline_Always; procedure Reset; function UID return UID_Type; end STM32GD;
-- @(#)File: logging-appender.adb -- @(#)Last changed: Jul 21 2015 13:08:00 -- @(#)Purpose: Application and system logging -- @(#)Author: Marc Bejerano <marcbejerano@gmail.com> -- @(#)Copyright: Copyright (C) 2015, Marc Bejerano, All Rights Reserved -- @(#)Product: None -- @(#)License: BSD3 -- -- Copyright (c) 2015, Marc Bejerano -- 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 ada-tools nor the names of its -- contributors may be used to endorse or promote products derived from -- this software without specific prior written permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. with Ada.Characters.Latin_1; with ADa.Direct_IO; with Ada.Text_IO; use Ada.Text_IO; with GNAT.Calendar.Time_IO; use GNAT.Calendar.Time_IO; with Logging.Level; use Logging.Level; package body Logging.Appender is package Direct_Character_IO is new Ada.Direct_IO(Character); use Direct_Character_IO; ISO8601_FORMAT : constant Picture_String := "%Y-%m-%d %H:%M:%S,%i"; ABSOLUTE_FORMAT : constant Picture_String := "%H:%M:%S,%i"; DATE_FORMAT : constant Picture_String := "%d %b %Y %H:%M:%S,%i"; -- -- Apply the trimming and/or padding to the given string based on justification, -- width, and maximum width. -- @param Width Width of the target string -- @param Max_Width Maximum width of the allowed string (crop if Text is longer) -- @param Left_Justify Justify the string left or right within Width -- @param Text Text to trim/pad/justify -- @return Modified text -- function Trim_and_Pad(Width, Max_Width: in Integer; Left_Justify: in Boolean; Text : in String) return String is t : Unbounded_String; s : Unbounded_String; begin if (Length(t) > Max_Width) then t := Unbounded_Slice(To_Unbounded_String(Text), 1, Max_Width); else t := To_Unbounded_String(Text); end if; if (Length(t) < Width) then if (Left_Justify) then s := Head(t, Width); else s := Tail(t, Width); end if; else s := t; end if; return To_String(s); end Trim_and_Pad; -- -- Format the given Log_Event according to the pattern defined by the Pattern -- argument. The Pattern formatting follows the same rules as the Log4J 1.2 API -- formatting markers. -- -- A flexible layout configurable with pattern string. The goal of this function -- is to format a Log_Event and return the results as a String. The results depend -- on the conversion pattern. -- -- The conversion pattern is closely related to the conversion pattern of the -- printf function in C. A conversion pattern is composed of literal text and -- format control expressions called conversion specifiers. -- -- You are free to insert any literal text within the conversion pattern. -- -- Each conversion specifier starts with a percent sign (%) and is followed by -- optional format modifiers and a conversion character. The conversion character -- specifies the type of data, e.g. category, priority, date, thread name. The -- format modifiers control such things as field width, padding, left and right -- justification. The following is a simple example. -- -- Let the conversion pattern be "%-5p [%t]: %m%n" and assume that the logging -- environment was set to use a Pattern. Then the statements -- -- Logger root = Get_Logger("foo"); -- root.debug("Message 1"); -- root.warn("Message 2"); -- -- would yield the output -- -- DEBUG [main]: Message 1 -- WARN [main]: Message 2 -- -- Note that there is no explicit separator between text and conversion -- specifiers. The pattern parser knows when it has reached the end of a -- conversion specifier when it reads a conversion character. In the -- example above the conversion specifier %-5p means the priority of the -- logging event should be left justified to a width of five characters. -- The recognized conversion characters are: -- -- +------------+---------------------------------------------------------+ -- | Conversion | | -- | Character | Effect | -- +------------+---------------------------------------------------------+ -- | c | Not used | -- +------------+---------------------------------------------------------+ -- | C | Not used | -- +------------+---------------------------------------------------------+ -- | d | Used to output the date of the logging event. The date | -- | | conversion specifier may be followed by a date format | -- | | specifier enclosed between braces. For example, | -- | | %d{HH:mm:ss,SSS} or %d{dd MMM yyyy HH:mm:ss,SSS}. If no | -- | | date format specifier is given then ISO8601 format is | -- | | assumed. | -- | | | -- | | See the Ada package GNAT.Calendar.Time_IO | -- | | | -- | | For better results it is recommended to use one of the | -- | | strings "ABSOLUTE", "DATE" and "ISO8601". | -- +------------+---------------------------------------------------------+ -- | F | Used to output the file name where the logging request | -- | | was issued. | -- +------------+---------------------------------------------------------+ -- | l | Not used | -- +------------+---------------------------------------------------------+ -- | L | Used to output the line number from where the logging | -- | | request was issued. | -- +------------+---------------------------------------------------------+ -- | m | Used to output the application supplied message | -- | | associated with the logging event. | -- +------------+---------------------------------------------------------+ -- | M | Used to output the method (enclosing entity) name where | -- | | the logging request was issued. | -- +------------+---------------------------------------------------------+ -- | n | Outputs the line separator strings "\n" | -- +------------+---------------------------------------------------------+ -- | p | Used to output the priority of the logging event. | -- +------------+---------------------------------------------------------+ -- | r | Used to output the current time in milliseconds | -- +------------+---------------------------------------------------------+ -- | t | Not used | -- +------------+---------------------------------------------------------+ -- | x | Not used | -- +------------+---------------------------------------------------------+ -- | X | Not used | -- +------------+---------------------------------------------------------+ -- | % | The sequence %% outputs a single percent sign | -- +------------+---------------------------------------------------------+ -- -- @param Pattern Formatting pattern -- @param Event Logging event -- function Format(aPattern: in String; aEvent: in Log_Event) return String is ch : Character; s : Unbounded_String; idx : Natural; begin idx := aPattern'First; while idx <= aPattern'Last loop ch := aPattern(idx); if (ch = '%' and idx < aPattern'Last) then idx := idx + 1; declare width : Integer := 0; max_width : Integer := 0; left_just : Boolean := False; param : Unbounded_String := Null_Unbounded_String; begin ch := aPattern(idx); -- check for a Last modifier if (ch = '-' or ch = '.' or ch in '0'..'9') then if (ch = '-') then left_just := True; idx := idx + 1; end if; -- determine width while (idx <= aPattern'Last and aPattern(idx) in '0'..'9') loop ch := aPattern(idx); width := (width * 10) + (Character'Pos(ch) - Character'Pos('0')); idx := idx + 1; end loop; -- max_width specified if (aPattern(idx) = '.') then idx := idx + 1; while (idx <= aPattern'Last and aPattern(idx) in '0'..'9') loop ch := aPattern(idx); max_width := (max_width * 10) + (Character'Pos(ch) - Character'Pos('0')); idx := idx + 1; end loop; end if; ch := aPattern(idx); end if; -- determine the pattern parameter if (idx + 1 < aPattern'Last) then if (aPattern(idx + 1) = '{') then idx := idx + 1; if (idx <= aPattern'Last) then idx := idx + 1; while (idx < aPattern'Last and aPattern(idx) /= '}') loop Append(param, aPattern(idx)); idx := idx + 1; end loop; end if; end if; end if; -- process the conversion character case ch is when 'c' => null; -- not used when 'C' => null; -- not used when 'd' => if (param = "ISO8601" or param = Null_Unbounded_String) then Append(s, Trim_and_Pad(width, max_width, left_just, Image(aEvent.Timestamp, ISO8601_FORMAT))); elsif (param = "DATE") then Append(s, Trim_and_Pad(width, max_width, left_just, Image(aEvent.Timestamp, DATE_FORMAT))); elsif (param = "ABSOLUTE") then Append(s, Trim_and_Pad(width, max_width, left_just, Image(aEvent.Timestamp, ABSOLUTE_FORMAT))); else Append(s, Trim_and_Pad(width, max_width, left_just, Image(aEvent.Timestamp, ISO_DATE))); end if; when 'F' => if (aEvent.File_Name /= Null_Unbounded_String) then Append(s, Trim_and_Pad(width, max_width, left_just, To_String(aEvent.File_Name))); end if; when 'l' => null; -- not used when 'L' => if (aEvent.Line_Number >= 0) then Append(s, Trim_and_Pad(width, max_width, left_just, Natural'Image(aEvent.Line_Number))); end if; when 'm' => if (aEvent.Message /= Null_Unbounded_String) then Append(s, Trim_and_Pad(width, max_width, left_just, To_String(aEvent.Message))); end if; when 'M' => if (aEvent.Entity /= Null_Unbounded_String) then Append(s, Trim_and_Pad(width, max_width, left_just, To_String(aEvent.Entity))); end if; when 'n' => Append(s, Ada.Characters.Latin_1.LF); when 'p' => Append(s, Trim_and_Pad(width, max_width, left_just, To_String(aEvent.Priority))); when 'r' => null; -- not used when 't' => null; -- not used when 'x' => null; -- not used when 'X' => null; -- not used when '%' => Append(s, ch); when others => Append(s, ch); end case; end; else Append(s, aPattern(idx)); end if; idx := idx + 1; end loop; return To_String(s); end Format; -- -- Set the logger output format pattern for all log messages. See Format() -- for formatting conversion codes. -- @param aPattern Message output pattern -- procedure Set_Pattern(aAppender: in out Appender; aPattern: in String) is begin aAppender.Pattern := To_Unbounded_String(aPattern); end Set_Pattern; -- -- Return the current message formatting pattern. -- @return Formatting pattern -- function Get_Pattern(aAppender: in Appender) return String is begin return To_String(aAppender.Pattern); end Get_Pattern; -- -- Output the given string top the File_Appender -- @param aAppender Appender to write to -- @param aEvent Event to log -- @param aString String to write -- procedure Put(aAppender: in Appender; aEvent: in Log_Event) is begin null; end Put; -- -- Output the given string top the File_Appender -- @param aAppender Appender to write to -- @param aEvent Event to log -- @param aString String to write -- procedure Put(aAppender: in Console_Appender; aEvent: in Log_Event) is aText: constant String := Format(aAppender.Get_Pattern, aEvent); begin if aEvent.Priority = INFO then Put(Standard_Output, aText); else Put(Standard_Error, aText); end if; end Put; -- -- Output the given string top the File_Appender -- @param aAppender Appender to write to -- @param aEvent Event to log -- @param aString String to write -- procedure Put(aAppender: in File_Appender; aEvent: in Log_Event) is aFile: Direct_Character_IO.File_Type; aText: constant String := Format(aAppender.Get_Pattern, aEvent); begin Direct_Character_IO.Open(aFile, Direct_Character_IO.Out_File, To_String(aAppender.File_Name)); Direct_Character_IO.Set_Index(aFile, Direct_Character_IO.Size(aFile) + 1); for C in aText'First .. aText'Last loop Direct_Character_IO.Write(aFile, aText(C)); end loop; Direct_Character_IO.Close(aFile); exception when Direct_Character_IO.Name_Error => Direct_Character_IO.Create(aFile, Direct_Character_IO.Out_File, To_String(aAppender.File_Name)); for C in aText'First .. aText'Last loop Direct_Character_IO.Write(aFile, aText(C)); end loop; Direct_Character_IO.Close(aFile); end Put; -- -- Set the file appender output filename -- @param aAppender Appender to update -- @param aFileName Name of file -- procedure Set_File_Name(aAppender: in out File_Appender; aFileName: in String) is begin aAppender.File_Name := To_Unbounded_String(aFileName); end Set_File_Name; end Logging.Appender;
-- CC3606B.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 ANY CONSTRAINTS SPECIFIED FOR THE ACTUAL -- SUBPROGRAM'S PARAMETERS ARE USED IN PLACE OF THOSE -- ASSOCIATED WITH THE FORMAL SUBPROGRAM'S PARAMETERS -- (INCLUDING PARAMETERS SPECIFIED WITH A FORMAL GENERIC TYPE). -- HISTORY: -- LDC 06/30/88 CREATED ORIGINAL TEST. -- PWN 05/31/96 Corrected spelling problems. WITH REPORT; USE REPORT; PROCEDURE CC3606B IS SUBTYPE ONE_TO_TEN IS INTEGER RANGE IDENT_INT (1) .. IDENT_INT (10); SUBTYPE ONE_TO_FIVE IS INTEGER RANGE IDENT_INT (1) .. IDENT_INT (5); BEGIN TEST ( "CC3606B", "CHECK THAT ANY CONSTRAINTS SPECIFIED FOR " & "THE ACTUAL SUBPROGRAM'S PARAMETERS ARE USED " & "IN PLACE OF THOSE ASSOCIATED WITH THE " & "FORMAL SUBPROGRAM'S PARAMETERS (INCLUDING " & "PARAMETERS SPECIFIED WITH A FORMAL GENERIC " & "TYPE)"); DECLARE GENERIC BRIAN : IN OUT INTEGER; WITH PROCEDURE PASSED_PROC(LYNN :IN OUT ONE_TO_TEN); PACKAGE GEN IS END GEN; DOUG : INTEGER := 10; PACKAGE BODY GEN IS BEGIN PASSED_PROC(BRIAN); FAILED("WRONG CONSTRAINTS FOR ACTUAL PARAMETER IN GEN"); EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED("OTHER EXCEPTION WAS RAISED FOR ACTUAL " & "PARAMETER"); END GEN; PROCEDURE PROC(JODIE : IN OUT ONE_TO_FIVE) IS JOHN : ONE_TO_TEN; BEGIN JOHN := IDENT_INT(JODIE); EXCEPTION WHEN OTHERS => FAILED("EXCEPTION RAISED INSIDE PROCEDURE"); END PROC; PACKAGE GEN_PCK IS NEW GEN( DOUG, PROC); BEGIN NULL; END; DECLARE TYPE ENUM IS (DAYTON, BEAVERCREEK, CENTERVILLE, ENGLEWOOD, FAIRBORN, HUBER_HEIGHTS, KETTERING, MIAMISBURG, OAKWOOD, RIVERSIDE, TROTWOOD, WEST_CARROLLTON, VANDALIA); SUBTYPE SUB_ENUM IS ENUM RANGE CENTERVILLE..FAIRBORN; GENERIC TYPE T_TYPE IS (<>); BRIAN : T_TYPE; WITH FUNCTION PASSED_FUNC(LYNN : T_TYPE) RETURN T_TYPE; PACKAGE GEN_TWO IS END GEN_TWO; DOUG : ENUM := ENUM'FIRST; PACKAGE BODY GEN_TWO IS DAVE : T_TYPE; BEGIN DAVE := PASSED_FUNC(BRIAN); FAILED("WRONG CONSTRAINTS FOR ACTUAL PARAMETER IN " & "GEN_TWO"); EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED("OTHER EXCEPTION WAS " & "RAISED FOR ACTUAL " & "PARAMETER"); END GEN_TWO; FUNCTION FUNC(JODIE : SUB_ENUM) RETURN SUB_ENUM IS BEGIN RETURN ENUM'VAL(IDENT_INT(ENUM'POS(JODIE))); EXCEPTION WHEN OTHERS => FAILED("EXCEPTION RAISED INSIDE PROCEDURE"); END FUNC; PACKAGE GEN_PCK_TWO IS NEW GEN_TWO( ENUM, DOUG, FUNC); BEGIN RESULT; END; END CC3606B;
----------------------------------------------------------------------- -- are-generator-tests -- Tests for generator -- Copyright (C) 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Ada.Directories; with Util.Test_Caller; with Are.Generator.C.Tests; with Are.Generator.Ada2012.Tests; with Are.Generator.Go.Tests; package body Are.Generator.Tests is function Tool return String; package Caller is new Util.Test_Caller (Test, "Are.Generator"); function Tool return String is begin return "bin/are"; end Tool; procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite) is begin Caller.Add_Test (Suite, "Test are (usage)", Test_Wrong_Usage'Access); Caller.Add_Test (Suite, "Test are (wrong directory)", Test_Wrong_Directory'Access); Caller.Add_Test (Suite, "Test are (exec wrong command)", Test_Exec_Error_1'Access); Caller.Add_Test (Suite, "Test are (missing rule file)", Test_Missing_Rule'Access); Caller.Add_Test (Suite, "Test are (wrong include)", Test_Exec_Error_2'Access); Caller.Add_Test (Suite, "Test are (wrong exclude)", Test_Exec_Error_3'Access); Caller.Add_Test (Suite, "Test are (wrong fileset)", Test_Exec_Error_4'Access); Caller.Add_Test (Suite, "Test are (wrong install)", Test_Exec_Error_5'Access); Caller.Add_Test (Suite, "Test are (XML format error)", Test_Exec_Error_6'Access); Caller.Add_Test (Suite, "Test are (wrong resource format)", Test_Exec_Error_7'Access); Caller.Add_Test (Suite, "Test are (missing <line-separator>)", Test_Exec_Error_8'Access); Caller.Add_Test (Suite, "Test are (invalid <line-filter>)", Test_Exec_Error_9'Access); Caller.Add_Test (Suite, "Test are (verbose mode with error)", Test_Verbose'Access); Caller.Add_Test (Suite, "Test are (webmerge with errors)", Test_Merge_Error_1'Access); Are.Generator.Ada2012.Tests.Add_Tests (Suite); Are.Generator.C.Tests.Add_Tests (Suite); Are.Generator.Go.Tests.Add_Tests (Suite); end Add_Tests; procedure Test_Wrong_Usage (T : in out Test) is Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool, Result, Status => 1); T.Execute (Tool & " --zorro", Result, Status => 1); Util.Tests.Assert_Matches (T, "are: unrecognized option '--zorro'", Result, "Invalid error message with --zorro"); T.Execute (Tool & " --lang=plop .", Result, Status => 1); Util.Tests.Assert_Matches (T, "are: error: language plop not recognized", Result, "Invalid error message with --lang=plop"); end Test_Wrong_Usage; procedure Test_Wrong_Directory (T : in out Test) is Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool & " regtests/toto", Result, Status => 1); Util.Tests.Assert_Matches (T, "are: error: path regtests/toto does not exist", Result, "Invalid error message"); if Ada.Directories.Exists ("/dev/null") then T.Execute (Tool & " /dev/null", Result, Status => 1); Util.Tests.Assert_Matches (T, "are: error: path /dev/null is not a directory", Result, "Invalid error message"); end if; end Test_Wrong_Directory; procedure Test_Missing_Rule (T : in out Test) is Dir : constant String := Util.Tests.Get_Test_Path (""); Web : constant String := "regtests/files/test-ada-4"; Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool & " -o " & Dir & " --rule=package-missing-rule.xml " & Web, Result, Status => 1); Util.Tests.Assert_Matches (T, "are: error: package file " & "package-missing-rule.xml does not exist", Result, "Invalid error message"); end Test_Missing_Rule; procedure Test_Exec_Error_1 (T : in out Test) is Dir : constant String := Util.Tests.Get_Test_Path (""); Web : constant String := "regtests/files/test-ada-4"; Rule : constant String := "regtests/files/package-error-1.xml"; Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool & " -o " & Dir & " --rule=" & Rule & " " & Web, Result, Status => 1); Util.Tests.Assert_Matches (T, ".*missing-command", Result, "Invalid error message"); T.Assert (not Ada.Directories.Exists (Ada.Directories.Compose (Dir, "error1.ads")), "Unexpected file error1.ads was created"); end Test_Exec_Error_1; procedure Test_Exec_Error_2 (T : in out Test) is Dir : constant String := Util.Tests.Get_Test_Path (""); Web : constant String := "regtests/files/test-ada-4"; Rule : constant String := "regtests/files/package-error-2.xml"; Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool & " -o " & Dir & " --rule=" & Rule & " " & Web, Result, Status => 1); Util.Tests.Assert_Matches (T, "are: error: .*package-error-2.xml: empty include", Result, "Invalid error message"); T.Assert (not Ada.Directories.Exists (Ada.Directories.Compose (Dir, "error1.ads")), "Unexpected file error1.ads was created"); end Test_Exec_Error_2; procedure Test_Exec_Error_3 (T : in out Test) is Dir : constant String := Util.Tests.Get_Test_Path (""); Web : constant String := "regtests/files/test-ada-4"; Rule : constant String := "regtests/files/package-error-3.xml"; Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool & " -o " & Dir & " --rule=" & Rule & " " & Web, Result, Status => 1); Util.Tests.Assert_Matches (T, "are: error: .*package-error-3.xml: empty exclude", Result, "Invalid error message"); T.Assert (not Ada.Directories.Exists (Ada.Directories.Compose (Dir, "error1.ads")), "Unexpected file error1.ads was created"); end Test_Exec_Error_3; procedure Test_Exec_Error_4 (T : in out Test) is Dir : constant String := Util.Tests.Get_Test_Path (""); Web : constant String := "regtests/files/test-ada-4"; Rule : constant String := "regtests/files/package-error-4.xml"; Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool & " -o " & Dir & " --rule=" & Rule & " " & Web, Result, Status => 1); Util.Tests.Assert_Matches (T, "are: error: .*package-error-4.xml: empty fileset", Result, "Invalid error message"); T.Assert (not Ada.Directories.Exists (Ada.Directories.Compose (Dir, "error1.ads")), "Unexpected file error1.ads was created"); end Test_Exec_Error_4; procedure Test_Exec_Error_5 (T : in out Test) is Dir : constant String := Util.Tests.Get_Test_Path (""); Web : constant String := "regtests/files/test-ada-4"; Rule : constant String := "regtests/files/package-error-5.xml"; Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool & " -o " & Dir & " --rule=" & Rule & " " & Web, Result, Status => 1); Util.Tests.Assert_Matches (T, "are: error: .*package-error-5.xml: rule 'some-plugin'", Result, "Invalid error message"); T.Assert (not Ada.Directories.Exists (Ada.Directories.Compose (Dir, "error1.ads")), "Unexpected file error1.ads was created"); end Test_Exec_Error_5; procedure Test_Exec_Error_6 (T : in out Test) is Dir : constant String := Util.Tests.Get_Test_Path (""); Web : constant String := "regtests/files/test-ada-4"; Rule : constant String := "regtests/files/package-error-6.xml"; Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool & " -o " & Dir & " --rule=" & Rule & " " & Web, Result, Status => 1); Util.Tests.Assert_Matches (T, "are: error: package-error-6.xml:2:0: " & "Node <package> is not closed", Result, "Invalid error message"); end Test_Exec_Error_6; procedure Test_Exec_Error_7 (T : in out Test) is Dir : constant String := Util.Tests.Get_Test_Path (""); Web : constant String := "regtests/files/test-ada-4"; Rule : constant String := "regtests/files/package-error-7.xml"; Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool & " -o " & Dir & " --rule=" & Rule & " " & Web, Result, Status => 1); Util.Tests.Assert_Matches (T, "are: error: .*: invalid resource format 'bad-format'", Result, "Invalid error message"); end Test_Exec_Error_7; procedure Test_Exec_Error_8 (T : in out Test) is Dir : constant String := Util.Tests.Get_Test_Path (""); Web : constant String := "regtests/files/test-ada-4"; Rule : constant String := "regtests/files/package-error-8.xml"; Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool & " -o " & Dir & " --rule=" & Rule & " " & Web, Result, Status => 1); Util.Tests.Assert_Matches (T, "are: error: .*: missing 'line-separator'" & " for resource 'Error1'", Result, "Invalid error message"); end Test_Exec_Error_8; procedure Test_Exec_Error_9 (T : in out Test) is Dir : constant String := Util.Tests.Get_Test_Path (""); Web : constant String := "regtests/files/test-ada-4"; Rule : constant String := "regtests/files/package-error-9.xml"; Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool & " -o " & Dir & " --rule=" & Rule & " " & Web, Result, Status => 1); Util.Tests.Assert_Matches (T, "are: error: .*: invalid pattern '", Result, "Invalid error message"); end Test_Exec_Error_9; procedure Test_Merge_Error_1 (T : in out Test) is Dir : constant String := Util.Tests.Get_Test_Path (""); Web : constant String := "regtests/files/web-error-1"; Rule : constant String := "regtests/files/package-webmerge-1.xml"; Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool & " -o " & Dir & " --rule=" & Rule & " " & Web, Result, Status => 1); Util.Tests.Assert_Matches (T, "are: error: .*: cannot read ", Result, "Invalid error message"); Util.Tests.Assert_Matches (T, "are: error: .*: expecting a 'href=' ", Result, "Invalid error message"); Util.Tests.Assert_Matches (T, "are: error: .*: may be the end marker 'RESOURCE-MERGE-END' ", Result, "Invalid error message"); end Test_Merge_Error_1; procedure Test_Verbose (T : in out Test) is Dir : constant String := Util.Tests.Get_Test_Path (""); Web : constant String := "regtests/files/test-ada-4"; Rule : constant String := "regtests/files/package-error-1.xml"; Result : Ada.Strings.Unbounded.Unbounded_String; begin T.Execute (Tool & " -v -o " & Dir & " --rule=" & Rule & " " & Web, Result, Status => 1); Util.Tests.Assert_Matches (T, ".*missing-command", Result, "Invalid error message"); T.Assert (not Ada.Directories.Exists (Ada.Directories.Compose (Dir, "error1.ads")), "Unexpected file error1.ads was created"); T.Execute (Tool & " -vv -o " & Dir & " --rule=" & Rule & " " & Web, Result, Status => 1); Util.Tests.Assert_Matches (T, ".*DEBUG.*Process rule", Result, "Invalid debug message"); Util.Tests.Assert_Matches (T, ".*INFO - Util.Processes", Result, "Missing debug message"); T.Assert (not Ada.Directories.Exists (Ada.Directories.Compose (Dir, "error1.ads")), "Unexpected file error1.ads was created"); T.Execute (Tool & " -V", Result, Status => 0); Util.Tests.Assert_Matches (T, "Advanced Resource Embedder 1.*", Result, "Invalid version"); end Test_Verbose; end Are.Generator.Tests;
-- Copyright 2016-2020 Bartek thindil Jasicki -- -- This file is part of Steam Sky. -- -- Steam Sky 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. -- -- Steam Sky 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 Steam Sky. If not, see <http://www.gnu.org/licenses/>. with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Containers.Ordered_Maps; use Ada.Containers; with DOM.Readers; use DOM.Readers; -- ****h* Help/Help -- FUNCTION -- Provide code for manipulate help system -- SOURCE package Help is -- **** -- ****s* Help/Help.Help_Data -- FUNCTION -- Data structure for help topic -- PARAMETERS -- Index - Index of help topic -- Text - Text of help -- SOURCE type Help_Data is record Index: Unbounded_String; Text: Unbounded_String; end record; -- **** -- ****t* Help/Help.Help_Container -- FUNCTION -- Used to store help data -- SOURCE package Help_Container is new Ordered_Maps(Unbounded_String, Help_Data); -- **** -- ****v* Help/Help.Help_List -- FUNCTION -- List of all help topics -- SOURCE Help_List: Help_Container.Map; -- **** -- ****f* Help/Help.LoadHelp -- FUNCTION -- Load help text from file -- PARAMETERS -- Reader - XML Reader from which help will be read -- SOURCE procedure LoadHelp(Reader: Tree_Reader); -- **** end Help;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2010-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ separate (AMF.Internals.Factories.CMOF_Factories) function Convert_String_To_String (Value : League.Holders.Holder) return League.Strings.Universal_String is begin return League.Holders.Element (Value); end Convert_String_To_String;
------------------------------------------------------------------------------ -- -- -- P G A D A . U T I L S -- -- -- -- B o d y -- -- -- -- Copyright (c) coreland 2009 -- -- Copyright (c) Samuel Tardieu 2000 -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form 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 Samuel Tardieu 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 SAMUEL TARDIEU 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 SAMUEL -- -- TARDIEU OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -- -- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -- -- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -- -- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -- -- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -- -- OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, -- -- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with PGAda.Syntax; package body PGAda.Utils is ----------------------- -- Begin_Transaction -- ----------------------- procedure Begin_Transaction (DB : in PGAda.Database.Connection_t'Class) is begin PGAda.Database.Exec (DB, "BEGIN"); end Begin_Transaction; ------------ -- Commit -- ------------ procedure Commit (DB : in PGAda.Database.Connection_t'Class) is begin PGAda.Database.Exec (DB, "COMMIT"); end Commit; ---------------- -- Next_Value -- ---------------- function Next_Value (DB : in PGAda.Database.Connection_t'Class; Sequence_Name : in String) return Integer is Result : PGAda.Database.Result_t; begin PGAda.Database.Exec (DB, "SELECT NEXTVAL(" & PGAda.Syntax.Escape (Sequence_Name) & ")", Result); return Integer'Value (PGAda.Database.Get_Value (Result, 1, 1)); end Next_Value; -------------- -- Rollback -- -------------- procedure Rollback (DB : in PGAda.Database.Connection_t'Class) is begin PGAda.Database.Exec (DB, "ROLLBACK"); end Rollback; end PGAda.Utils;
-- Copyright 2009-2016 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with System; package Pck is procedure Do_Nothing (A : System.Address); end Pck;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- G E T _ S C O S -- -- -- -- B o d y -- -- -- -- Copyright (C) 2009-2016, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING3. If not, go to -- -- http://www.gnu.org/licenses for a complete copy of the license. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ pragma Ada_2005; -- This unit is not part of the compiler proper, it is used in tools that -- read SCO information from ALI files (Xcov and sco_test). Ada 2005 -- constructs may therefore be used freely (and are indeed). with Namet; use Namet; with SCOs; use SCOs; with Types; use Types; with Ada.IO_Exceptions; use Ada.IO_Exceptions; procedure Get_SCOs is Dnum : Nat; C : Character; Loc1 : Source_Location; Loc2 : Source_Location; Cond : Character; Dtyp : Character; use ASCII; -- For CR/LF function At_EOL return Boolean; -- Skips any spaces, then checks if we are the end of a line. If so, -- returns True (but does not skip over the EOL sequence). If not, -- then returns False. procedure Check (C : Character); -- Checks that file is positioned at given character, and if so skips past -- it, If not, raises Data_Error. function Get_Int return Int; -- On entry the file is positioned to a digit. On return, the file is -- positioned past the last digit, and the returned result is the decimal -- value read. Data_Error is raised for overflow (value greater than -- Int'Last), or if the initial character is not a digit. procedure Get_Source_Location (Loc : out Source_Location); -- Reads a source location in the form line:col and places the source -- location in Loc. Raises Data_Error if the format does not match this -- requirement. Note that initial spaces are not skipped. procedure Get_Source_Location_Range (Loc1, Loc2 : out Source_Location); -- Skips initial spaces, then reads a source location range in the form -- line:col-line:col and places the two source locations in Loc1 and Loc2. -- Raises Data_Error if format does not match this requirement. procedure Skip_EOL; -- Called with the current character about to be read being LF or CR. Skips -- past CR/LF characters until either a non-CR/LF character is found, or -- the end of file is encountered. procedure Skip_Spaces; -- Skips zero or more spaces at the current position, leaving the file -- positioned at the first non-blank character (or Types.EOF). ------------ -- At_EOL -- ------------ function At_EOL return Boolean is begin Skip_Spaces; return Nextc = CR or else Nextc = LF; end At_EOL; ----------- -- Check -- ----------- procedure Check (C : Character) is begin if Nextc = C then Skipc; else raise Data_Error; end if; end Check; ------------- -- Get_Int -- ------------- function Get_Int return Int is Val : Int; C : Character; begin C := Nextc; Val := 0; if C not in '0' .. '9' then raise Data_Error; end if; -- Loop to read digits of integer value loop declare pragma Unsuppress (Overflow_Check); begin Val := Val * 10 + (Character'Pos (C) - Character'Pos ('0')); end; Skipc; C := Nextc; exit when C not in '0' .. '9'; end loop; return Val; exception when Constraint_Error => raise Data_Error; end Get_Int; ------------------------- -- Get_Source_Location -- ------------------------- procedure Get_Source_Location (Loc : out Source_Location) is pragma Unsuppress (Range_Check); begin Loc.Line := Logical_Line_Number (Get_Int); Check (':'); Loc.Col := Column_Number (Get_Int); exception when Constraint_Error => raise Data_Error; end Get_Source_Location; ------------------------------- -- Get_Source_Location_Range -- ------------------------------- procedure Get_Source_Location_Range (Loc1, Loc2 : out Source_Location) is begin Skip_Spaces; Get_Source_Location (Loc1); Check ('-'); Get_Source_Location (Loc2); end Get_Source_Location_Range; -------------- -- Skip_EOL -- -------------- procedure Skip_EOL is C : Character; begin loop Skipc; C := Nextc; exit when C /= LF and then C /= CR; if C = ' ' then Skip_Spaces; C := Nextc; exit when C /= LF and then C /= CR; end if; end loop; end Skip_EOL; ----------------- -- Skip_Spaces -- ----------------- procedure Skip_Spaces is begin while Nextc = ' ' loop Skipc; end loop; end Skip_Spaces; Buf : String (1 .. 32_768); N : Natural; -- Scratch buffer, and index into it Nam : Name_Id; -- Start of processing for Get_SCOs begin SCOs.Initialize; -- Loop through lines of SCO information while Nextc = 'C' loop Skipc; C := Getc; -- Make sure first line is a header line if SCO_Unit_Table.Last = 0 and then C /= ' ' then raise Data_Error; end if; -- Otherwise dispatch on type of line case C is -- Header or instance table entry when ' ' => -- Complete previous entry if any if SCO_Unit_Table.Last /= 0 then SCO_Unit_Table.Table (SCO_Unit_Table.Last).To := SCO_Table.Last; end if; Skip_Spaces; case Nextc is -- Instance table entry when 'i' => declare Inum : SCO_Instance_Index; begin Skipc; Skip_Spaces; Inum := SCO_Instance_Index (Get_Int); SCO_Instance_Table.Increment_Last; pragma Assert (SCO_Instance_Table.Last = Inum); Skip_Spaces; declare SIE : SCO_Instance_Table_Entry renames SCO_Instance_Table.Table (Inum); begin SIE.Inst_Dep_Num := Get_Int; C := Getc; pragma Assert (C = '|'); Get_Source_Location (SIE.Inst_Loc); if At_EOL then SIE.Enclosing_Instance := 0; else Skip_Spaces; SIE.Enclosing_Instance := SCO_Instance_Index (Get_Int); pragma Assert (SIE.Enclosing_Instance in SCO_Instance_Table.First .. SCO_Instance_Table.Last); end if; end; end; -- Unit header when '0' .. '9' => -- Scan out dependency number and file name Dnum := Get_Int; Skip_Spaces; N := 0; while Nextc > ' ' loop N := N + 1; Buf (N) := Getc; end loop; -- Make new unit table entry (will fill in To later) SCO_Unit_Table.Append ( (File_Name => new String'(Buf (1 .. N)), File_Index => 0, Dep_Num => Dnum, From => SCO_Table.Last + 1, To => 0)); when others => raise Program_Error; end case; -- Statement entry when 'S' | 's' => declare Typ : Character; Key : Character; begin Key := 'S'; -- If continuation, reset Last indication in last entry stored -- for previous CS or cs line. if C = 's' then SCO_Table.Table (SCO_Table.Last).Last := False; end if; -- Initialize to scan items on one line Skip_Spaces; -- Loop through items on one line loop Nam := No_Name; Typ := Nextc; case Typ is when '>' => -- Dominance marker may be present only at entry point pragma Assert (Key = 'S'); Skipc; Key := '>'; Typ := Getc; -- Sanity check on dominance marker type indication pragma Assert (Typ in 'A' .. 'Z'); when '1' .. '9' => Typ := ' '; when others => Skipc; if Typ = 'P' or else Typ = 'p' then if Nextc not in '1' .. '9' then Name_Len := 0; loop Name_Len := Name_Len + 1; Name_Buffer (Name_Len) := Getc; exit when Nextc = ':'; end loop; Skipc; -- Past ':' Nam := Name_Find; end if; end if; end case; if Key = '>' and then Typ /= 'E' then Get_Source_Location (Loc1); Loc2 := No_Source_Location; else Get_Source_Location_Range (Loc1, Loc2); end if; SCO_Table.Append ((C1 => Key, C2 => Typ, From => Loc1, To => Loc2, Last => At_EOL, Pragma_Sloc => No_Location, Pragma_Aspect_Name => Nam)); if Key = '>' then Key := 'S'; end if; exit when At_EOL; end loop; end; -- Decision entry when 'E' | 'G' | 'I' | 'P' | 'W' | 'X' | 'A' => Dtyp := C; if C = 'A' then Name_Len := 0; while Nextc /= ' ' loop Name_Len := Name_Len + 1; Name_Buffer (Name_Len) := Getc; end loop; Nam := Name_Find; else Nam := No_Name; end if; Skip_Spaces; -- Output header declare Loc : Source_Location; begin -- Acquire location information if Dtyp = 'X' then Loc := No_Source_Location; else Get_Source_Location (Loc); end if; SCO_Table.Append ((C1 => Dtyp, C2 => ' ', From => Loc, To => No_Source_Location, Last => False, Pragma_Aspect_Name => Nam, others => <>)); end; -- Loop through terms in complex expression C := Nextc; while C /= CR and then C /= LF loop if C = 'c' or else C = 't' or else C = 'f' then Cond := C; Skipc; Get_Source_Location_Range (Loc1, Loc2); SCO_Table.Append ((C2 => Cond, From => Loc1, To => Loc2, Last => False, others => <>)); elsif C = '!' or else C = '&' or else C = '|' then Skipc; declare Loc : Source_Location; begin Get_Source_Location (Loc); SCO_Table.Append ((C1 => C, From => Loc, Last => False, others => <>)); end; elsif C = ' ' then Skip_Spaces; elsif C = 'T' or else C = 'F' then -- Chaining indicator: skip for now??? declare Loc1, Loc2 : Source_Location; pragma Unreferenced (Loc1, Loc2); begin Skipc; Get_Source_Location_Range (Loc1, Loc2); end; else raise Data_Error; end if; C := Nextc; end loop; -- Reset Last indication to True for last entry SCO_Table.Table (SCO_Table.Last).Last := True; -- No other SCO lines are possible when others => raise Data_Error; end case; Skip_EOL; end loop; -- Here with all SCO's stored, complete last SCO Unit table entry SCO_Unit_Table.Table (SCO_Unit_Table.Last).To := SCO_Table.Last; end Get_SCOs;
------------------------------------------------------------------------------ -- -- -- 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 fonts.h -- -- @author MCD Application Team -- -- @version V1.1.0 -- -- @date 19-June-2014 -- -- @brief Header for fonts.c file. -- -- -- -- COPYRIGHT(c) 2014 STMicroelectronics -- ------------------------------------------------------------------------------ -- with HAL; use HAL; with Bitmap; use Bitmap; package BMP_Fonts is type BMP_Font is (Font8x8, Font12x12, Font16x24); function Data (Font : BMP_Font; C : Character; Height_Offset : Natural) return UInt16 with Inline; -- Provides the numeric data values representing individual characters. For -- the given font and character within that font, returns the numeric value -- representing the bits at the Height_Offset within the representation. function Mask (Font : BMP_Font; Width_Offset : Natural) return UInt16 with Inline; -- Provides the mask value used to test individual bits in the data -- values representing individual characters. For example, to see if bit W -- within the bits representing Char at height H is set, you would do the -- following: -- -- if (Data (Font, Char, H) and Mask (Font, W)) /= 0 then function Char_Height (Font : BMP_Font) return Natural with Inline; -- Returns the height of any individual character in the specified font, in -- terms of pixels . function Char_Width (Font : BMP_Font) return Natural with Inline; -- Returns the width of any individual character in the specified font, in -- terms of pixels . end BMP_Fonts;
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ncurses -- -- -- -- B O D Y -- -- -- ------------------------------------------------------------------------------ -- Copyright (c) 2000 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- -- "Software"), to deal in the Software without restriction, including -- -- without limitation the rights to use, copy, modify, merge, publish, -- -- distribute, distribute with modifications, sublicense, and/or sell -- -- copies of the Software, and to permit persons to whom the Software is -- -- furnished to do so, subject to the following conditions: -- -- -- -- The above copyright notice and this permission notice shall be included -- -- in all copies or substantial portions of the Software. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -- -- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR -- -- THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- -- -- -- Except as contained in this notice, the name(s) of the above copyright -- -- holders shall not be used in advertising or otherwise to promote the -- -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno <aldomel@ix.netcom.com> 2000 -- Version Control -- $Revision: 1.1 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.acs_and_scroll;
-- This spec has been automatically generated from STM32F072x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; package STM32_SVD.CRS is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_SYNCOKIE_Field is STM32_SVD.Bit; subtype CR_SYNCWARNIE_Field is STM32_SVD.Bit; subtype CR_ERRIE_Field is STM32_SVD.Bit; subtype CR_ESYNCIE_Field is STM32_SVD.Bit; subtype CR_CEN_Field is STM32_SVD.Bit; subtype CR_AUTOTRIMEN_Field is STM32_SVD.Bit; subtype CR_SWSYNC_Field is STM32_SVD.Bit; subtype CR_TRIM_Field is STM32_SVD.UInt6; -- control register type CR_Register is record -- SYNC event OK interrupt enable SYNCOKIE : CR_SYNCOKIE_Field := 16#0#; -- SYNC warning interrupt enable SYNCWARNIE : CR_SYNCWARNIE_Field := 16#0#; -- Synchronization or trimming error interrupt enable ERRIE : CR_ERRIE_Field := 16#0#; -- Expected SYNC interrupt enable ESYNCIE : CR_ESYNCIE_Field := 16#0#; -- unspecified Reserved_4_4 : STM32_SVD.Bit := 16#0#; -- Frequency error counter enable CEN : CR_CEN_Field := 16#0#; -- Automatic trimming enable AUTOTRIMEN : CR_AUTOTRIMEN_Field := 16#0#; -- Generate software SYNC event SWSYNC : CR_SWSYNC_Field := 16#0#; -- HSI48 oscillator smooth trimming TRIM : CR_TRIM_Field := 16#20#; -- unspecified Reserved_14_31 : STM32_SVD.UInt18 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR_Register use record SYNCOKIE at 0 range 0 .. 0; SYNCWARNIE at 0 range 1 .. 1; ERRIE at 0 range 2 .. 2; ESYNCIE at 0 range 3 .. 3; Reserved_4_4 at 0 range 4 .. 4; CEN at 0 range 5 .. 5; AUTOTRIMEN at 0 range 6 .. 6; SWSYNC at 0 range 7 .. 7; TRIM at 0 range 8 .. 13; Reserved_14_31 at 0 range 14 .. 31; end record; subtype CFGR_RELOAD_Field is STM32_SVD.UInt16; subtype CFGR_FELIM_Field is STM32_SVD.Byte; subtype CFGR_SYNCDIV_Field is STM32_SVD.UInt3; subtype CFGR_SYNCSRC_Field is STM32_SVD.UInt2; subtype CFGR_SYNCPOL_Field is STM32_SVD.Bit; -- configuration register type CFGR_Register is record -- Counter reload value RELOAD : CFGR_RELOAD_Field := 16#BB7F#; -- Frequency error limit FELIM : CFGR_FELIM_Field := 16#22#; -- SYNC divider SYNCDIV : CFGR_SYNCDIV_Field := 16#0#; -- unspecified Reserved_27_27 : STM32_SVD.Bit := 16#0#; -- SYNC signal source selection SYNCSRC : CFGR_SYNCSRC_Field := 16#2#; -- unspecified Reserved_30_30 : STM32_SVD.Bit := 16#0#; -- SYNC polarity selection SYNCPOL : CFGR_SYNCPOL_Field := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CFGR_Register use record RELOAD at 0 range 0 .. 15; FELIM at 0 range 16 .. 23; SYNCDIV at 0 range 24 .. 26; Reserved_27_27 at 0 range 27 .. 27; SYNCSRC at 0 range 28 .. 29; Reserved_30_30 at 0 range 30 .. 30; SYNCPOL at 0 range 31 .. 31; end record; subtype ISR_SYNCOKF_Field is STM32_SVD.Bit; subtype ISR_SYNCWARNF_Field is STM32_SVD.Bit; subtype ISR_ERRF_Field is STM32_SVD.Bit; subtype ISR_ESYNCF_Field is STM32_SVD.Bit; subtype ISR_SYNCERR_Field is STM32_SVD.Bit; subtype ISR_SYNCMISS_Field is STM32_SVD.Bit; subtype ISR_TRIMOVF_Field is STM32_SVD.Bit; subtype ISR_FEDIR_Field is STM32_SVD.Bit; subtype ISR_FECAP_Field is STM32_SVD.UInt16; -- interrupt and status register type ISR_Register is record -- Read-only. SYNC event OK flag SYNCOKF : ISR_SYNCOKF_Field; -- Read-only. SYNC warning flag SYNCWARNF : ISR_SYNCWARNF_Field; -- Read-only. Error flag ERRF : ISR_ERRF_Field; -- Read-only. Expected SYNC flag ESYNCF : ISR_ESYNCF_Field; -- unspecified Reserved_4_7 : STM32_SVD.UInt4; -- Read-only. SYNC error SYNCERR : ISR_SYNCERR_Field; -- Read-only. SYNC missed SYNCMISS : ISR_SYNCMISS_Field; -- Read-only. Trimming overflow or underflow TRIMOVF : ISR_TRIMOVF_Field; -- unspecified Reserved_11_14 : STM32_SVD.UInt4; -- Read-only. Frequency error direction FEDIR : ISR_FEDIR_Field; -- Read-only. Frequency error capture FECAP : ISR_FECAP_Field; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for ISR_Register use record SYNCOKF at 0 range 0 .. 0; SYNCWARNF at 0 range 1 .. 1; ERRF at 0 range 2 .. 2; ESYNCF at 0 range 3 .. 3; Reserved_4_7 at 0 range 4 .. 7; SYNCERR at 0 range 8 .. 8; SYNCMISS at 0 range 9 .. 9; TRIMOVF at 0 range 10 .. 10; Reserved_11_14 at 0 range 11 .. 14; FEDIR at 0 range 15 .. 15; FECAP at 0 range 16 .. 31; end record; subtype ICR_SYNCOKC_Field is STM32_SVD.Bit; subtype ICR_SYNCWARNC_Field is STM32_SVD.Bit; subtype ICR_ERRC_Field is STM32_SVD.Bit; subtype ICR_ESYNCC_Field is STM32_SVD.Bit; -- interrupt flag clear register type ICR_Register is record -- SYNC event OK clear flag SYNCOKC : ICR_SYNCOKC_Field := 16#0#; -- SYNC warning clear flag SYNCWARNC : ICR_SYNCWARNC_Field := 16#0#; -- Error clear flag ERRC : ICR_ERRC_Field := 16#0#; -- Expected SYNC clear flag ESYNCC : ICR_ESYNCC_Field := 16#0#; -- unspecified Reserved_4_31 : STM32_SVD.UInt28 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for ICR_Register use record SYNCOKC at 0 range 0 .. 0; SYNCWARNC at 0 range 1 .. 1; ERRC at 0 range 2 .. 2; ESYNCC at 0 range 3 .. 3; Reserved_4_31 at 0 range 4 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Clock recovery system type CRS_Peripheral is record -- control register CR : aliased CR_Register; -- configuration register CFGR : aliased CFGR_Register; -- interrupt and status register ISR : aliased ISR_Register; -- interrupt flag clear register ICR : aliased ICR_Register; end record with Volatile; for CRS_Peripheral use record CR at 16#0# range 0 .. 31; CFGR at 16#4# range 0 .. 31; ISR at 16#8# range 0 .. 31; ICR at 16#C# range 0 .. 31; end record; -- Clock recovery system CRS_Periph : aliased CRS_Peripheral with Import, Address => System'To_Address (16#40006C00#); end STM32_SVD.CRS;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Elements.Generic_Hash; function AMF.UML.Destroy_Object_Actions.Hash is new AMF.Elements.Generic_Hash (UML_Destroy_Object_Action, UML_Destroy_Object_Action_Access);
pragma Warnings (Off); pragma Style_Checks (Off); with GLOBE_3D; package Planet is procedure Create ( object : in out GLOBE_3D.p_Object_3D; scale : GLOBE_3D.Real; centre : GLOBE_3D.Point_3D; mercator : GLOBE_3D.Image_id; parts : Positive := 30 ); end Planet;
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Pragmas; with Program.Elements.Defining_Names; with Program.Elements.Defining_Identifiers; with Program.Elements.Defining_Expanded_Names; with Program.Elements.Type_Declarations; with Program.Elements.Task_Type_Declarations; with Program.Elements.Protected_Type_Declarations; with Program.Elements.Subtype_Declarations; with Program.Elements.Object_Declarations; with Program.Elements.Single_Task_Declarations; with Program.Elements.Single_Protected_Declarations; with Program.Elements.Number_Declarations; with Program.Elements.Enumeration_Literal_Specifications; with Program.Elements.Discriminant_Specifications; with Program.Elements.Component_Declarations; with Program.Elements.Loop_Parameter_Specifications; with Program.Elements.Generalized_Iterator_Specifications; with Program.Elements.Element_Iterator_Specifications; with Program.Elements.Procedure_Declarations; with Program.Elements.Function_Declarations; with Program.Elements.Parameter_Specifications; with Program.Elements.Procedure_Body_Declarations; with Program.Elements.Function_Body_Declarations; with Program.Elements.Return_Object_Specifications; with Program.Elements.Package_Declarations; with Program.Elements.Package_Body_Declarations; with Program.Elements.Object_Renaming_Declarations; with Program.Elements.Exception_Renaming_Declarations; with Program.Elements.Procedure_Renaming_Declarations; with Program.Elements.Function_Renaming_Declarations; with Program.Elements.Package_Renaming_Declarations; with Program.Elements.Generic_Package_Renaming_Declarations; with Program.Elements.Generic_Procedure_Renaming_Declarations; with Program.Elements.Generic_Function_Renaming_Declarations; with Program.Elements.Task_Body_Declarations; with Program.Elements.Protected_Body_Declarations; with Program.Elements.Entry_Declarations; with Program.Elements.Entry_Body_Declarations; with Program.Elements.Entry_Index_Specifications; with Program.Elements.Procedure_Body_Stubs; with Program.Elements.Function_Body_Stubs; with Program.Elements.Package_Body_Stubs; with Program.Elements.Task_Body_Stubs; with Program.Elements.Protected_Body_Stubs; with Program.Elements.Exception_Declarations; with Program.Elements.Choice_Parameter_Specifications; with Program.Elements.Generic_Package_Declarations; with Program.Elements.Generic_Procedure_Declarations; with Program.Elements.Generic_Function_Declarations; with Program.Elements.Package_Instantiations; with Program.Elements.Procedure_Instantiations; with Program.Elements.Function_Instantiations; with Program.Elements.Formal_Object_Declarations; with Program.Elements.Formal_Type_Declarations; with Program.Elements.Formal_Procedure_Declarations; with Program.Elements.Formal_Function_Declarations; with Program.Elements.Formal_Package_Declarations; with Program.Elements.Definitions; with Program.Elements.Subtype_Indications; with Program.Elements.Constraints; with Program.Elements.Component_Definitions; with Program.Elements.Discrete_Ranges; with Program.Elements.Discrete_Subtype_Indications; with Program.Elements.Discrete_Range_Attribute_References; with Program.Elements.Discrete_Simple_Expression_Ranges; with Program.Elements.Known_Discriminant_Parts; with Program.Elements.Record_Definitions; with Program.Elements.Variant_Parts; with Program.Elements.Variants; with Program.Elements.Anonymous_Access_To_Objects; with Program.Elements.Anonymous_Access_To_Procedures; with Program.Elements.Anonymous_Access_To_Functions; with Program.Elements.Private_Extension_Definitions; with Program.Elements.Task_Definitions; with Program.Elements.Protected_Definitions; with Program.Elements.Formal_Type_Definitions; with Program.Elements.Aspect_Specifications; with Program.Elements.Real_Range_Specifications; with Program.Elements.Expressions; with Program.Elements.Identifiers; with Program.Elements.Operator_Symbols; with Program.Elements.Explicit_Dereferences; with Program.Elements.Infix_Operators; with Program.Elements.Function_Calls; with Program.Elements.Indexed_Components; with Program.Elements.Slices; with Program.Elements.Selected_Components; with Program.Elements.Attribute_References; with Program.Elements.Record_Aggregates; with Program.Elements.Extension_Aggregates; with Program.Elements.Array_Aggregates; with Program.Elements.Short_Circuit_Operations; with Program.Elements.Membership_Tests; with Program.Elements.Parenthesized_Expressions; with Program.Elements.Raise_Expressions; with Program.Elements.Type_Conversions; with Program.Elements.Qualified_Expressions; with Program.Elements.Allocators; with Program.Elements.Case_Expressions; with Program.Elements.If_Expressions; with Program.Elements.Quantified_Expressions; with Program.Elements.Discriminant_Associations; with Program.Elements.Record_Component_Associations; with Program.Elements.Array_Component_Associations; with Program.Elements.Parameter_Associations; with Program.Elements.Formal_Package_Associations; with Program.Elements.Assignment_Statements; with Program.Elements.If_Statements; with Program.Elements.Case_Statements; with Program.Elements.Loop_Statements; with Program.Elements.While_Loop_Statements; with Program.Elements.For_Loop_Statements; with Program.Elements.Block_Statements; with Program.Elements.Exit_Statements; with Program.Elements.Goto_Statements; with Program.Elements.Call_Statements; with Program.Elements.Simple_Return_Statements; with Program.Elements.Extended_Return_Statements; with Program.Elements.Accept_Statements; with Program.Elements.Requeue_Statements; with Program.Elements.Delay_Statements; with Program.Elements.Select_Statements; with Program.Elements.Abort_Statements; with Program.Elements.Raise_Statements; with Program.Elements.Code_Statements; with Program.Elements.Elsif_Paths; with Program.Elements.Case_Paths; with Program.Elements.Select_Paths; with Program.Elements.Case_Expression_Paths; with Program.Elements.Elsif_Expression_Paths; with Program.Elements.Use_Clauses; with Program.Elements.With_Clauses; with Program.Elements.Component_Clauses; with Program.Elements.Derived_Types; with Program.Elements.Derived_Record_Extensions; with Program.Elements.Enumeration_Types; with Program.Elements.Signed_Integer_Types; with Program.Elements.Modular_Types; with Program.Elements.Floating_Point_Types; with Program.Elements.Ordinary_Fixed_Point_Types; with Program.Elements.Decimal_Fixed_Point_Types; with Program.Elements.Unconstrained_Array_Types; with Program.Elements.Constrained_Array_Types; with Program.Elements.Record_Types; with Program.Elements.Interface_Types; with Program.Elements.Object_Access_Types; with Program.Elements.Procedure_Access_Types; with Program.Elements.Function_Access_Types; with Program.Elements.Formal_Derived_Type_Definitions; with Program.Elements.Formal_Unconstrained_Array_Types; with Program.Elements.Formal_Constrained_Array_Types; with Program.Elements.Formal_Object_Access_Types; with Program.Elements.Formal_Procedure_Access_Types; with Program.Elements.Formal_Function_Access_Types; with Program.Elements.Formal_Interface_Types; with Program.Elements.Range_Attribute_References; with Program.Elements.Simple_Expression_Ranges; with Program.Elements.Digits_Constraints; with Program.Elements.Delta_Constraints; with Program.Elements.Index_Constraints; with Program.Elements.Discriminant_Constraints; with Program.Elements.Attribute_Definition_Clauses; with Program.Elements.Enumeration_Representation_Clauses; with Program.Elements.Record_Representation_Clauses; with Program.Elements.At_Clauses; with Program.Elements.Exception_Handlers; with Program.Element_Visitors; separate (Program.Element_Iterators) package body Internal is type Visitor is new Program.Element_Visitors.Element_Visitor with record Result : access constant Getter_Array := Empty'Access; end record; overriding procedure Pragma_Element (Self : in out Visitor; Element : not null Program.Elements.Pragmas.Pragma_Access); overriding procedure Defining_Expanded_Name (Self : in out Visitor; Element : not null Program.Elements.Defining_Expanded_Names .Defining_Expanded_Name_Access); overriding procedure Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Type_Declarations .Type_Declaration_Access); overriding procedure Task_Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Task_Type_Declarations .Task_Type_Declaration_Access); overriding procedure Protected_Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Protected_Type_Declarations .Protected_Type_Declaration_Access); overriding procedure Subtype_Declaration (Self : in out Visitor; Element : not null Program.Elements.Subtype_Declarations .Subtype_Declaration_Access); overriding procedure Object_Declaration (Self : in out Visitor; Element : not null Program.Elements.Object_Declarations .Object_Declaration_Access); overriding procedure Single_Task_Declaration (Self : in out Visitor; Element : not null Program.Elements.Single_Task_Declarations .Single_Task_Declaration_Access); overriding procedure Single_Protected_Declaration (Self : in out Visitor; Element : not null Program.Elements.Single_Protected_Declarations .Single_Protected_Declaration_Access); overriding procedure Number_Declaration (Self : in out Visitor; Element : not null Program.Elements.Number_Declarations .Number_Declaration_Access); overriding procedure Enumeration_Literal_Specification (Self : in out Visitor; Element : not null Program.Elements.Enumeration_Literal_Specifications .Enumeration_Literal_Specification_Access); overriding procedure Discriminant_Specification (Self : in out Visitor; Element : not null Program.Elements.Discriminant_Specifications .Discriminant_Specification_Access); overriding procedure Component_Declaration (Self : in out Visitor; Element : not null Program.Elements.Component_Declarations .Component_Declaration_Access); overriding procedure Loop_Parameter_Specification (Self : in out Visitor; Element : not null Program.Elements.Loop_Parameter_Specifications .Loop_Parameter_Specification_Access); overriding procedure Generalized_Iterator_Specification (Self : in out Visitor; Element : not null Program.Elements.Generalized_Iterator_Specifications .Generalized_Iterator_Specification_Access); overriding procedure Element_Iterator_Specification (Self : in out Visitor; Element : not null Program.Elements.Element_Iterator_Specifications .Element_Iterator_Specification_Access); overriding procedure Procedure_Declaration (Self : in out Visitor; Element : not null Program.Elements.Procedure_Declarations .Procedure_Declaration_Access); overriding procedure Function_Declaration (Self : in out Visitor; Element : not null Program.Elements.Function_Declarations .Function_Declaration_Access); overriding procedure Parameter_Specification (Self : in out Visitor; Element : not null Program.Elements.Parameter_Specifications .Parameter_Specification_Access); overriding procedure Procedure_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Procedure_Body_Declarations .Procedure_Body_Declaration_Access); overriding procedure Function_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Function_Body_Declarations .Function_Body_Declaration_Access); overriding procedure Return_Object_Specification (Self : in out Visitor; Element : not null Program.Elements.Return_Object_Specifications .Return_Object_Specification_Access); overriding procedure Package_Declaration (Self : in out Visitor; Element : not null Program.Elements.Package_Declarations .Package_Declaration_Access); overriding procedure Package_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Package_Body_Declarations .Package_Body_Declaration_Access); overriding procedure Object_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Object_Renaming_Declarations .Object_Renaming_Declaration_Access); overriding procedure Exception_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Exception_Renaming_Declarations .Exception_Renaming_Declaration_Access); overriding procedure Procedure_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Procedure_Renaming_Declarations .Procedure_Renaming_Declaration_Access); overriding procedure Function_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration_Access); overriding procedure Package_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Package_Renaming_Declarations .Package_Renaming_Declaration_Access); overriding procedure Generic_Package_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Package_Renaming_Declarations .Generic_Package_Renaming_Declaration_Access); overriding procedure Generic_Procedure_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements .Generic_Procedure_Renaming_Declarations .Generic_Procedure_Renaming_Declaration_Access); overriding procedure Generic_Function_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Function_Renaming_Declarations .Generic_Function_Renaming_Declaration_Access); overriding procedure Task_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Task_Body_Declarations .Task_Body_Declaration_Access); overriding procedure Protected_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Protected_Body_Declarations .Protected_Body_Declaration_Access); overriding procedure Entry_Declaration (Self : in out Visitor; Element : not null Program.Elements.Entry_Declarations .Entry_Declaration_Access); overriding procedure Entry_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Entry_Body_Declarations .Entry_Body_Declaration_Access); overriding procedure Entry_Index_Specification (Self : in out Visitor; Element : not null Program.Elements.Entry_Index_Specifications .Entry_Index_Specification_Access); overriding procedure Procedure_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Procedure_Body_Stubs .Procedure_Body_Stub_Access); overriding procedure Function_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Function_Body_Stubs .Function_Body_Stub_Access); overriding procedure Package_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Package_Body_Stubs .Package_Body_Stub_Access); overriding procedure Task_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Task_Body_Stubs .Task_Body_Stub_Access); overriding procedure Protected_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Protected_Body_Stubs .Protected_Body_Stub_Access); overriding procedure Exception_Declaration (Self : in out Visitor; Element : not null Program.Elements.Exception_Declarations .Exception_Declaration_Access); overriding procedure Choice_Parameter_Specification (Self : in out Visitor; Element : not null Program.Elements.Choice_Parameter_Specifications .Choice_Parameter_Specification_Access); overriding procedure Generic_Package_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Package_Declarations .Generic_Package_Declaration_Access); overriding procedure Generic_Procedure_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Procedure_Declarations .Generic_Procedure_Declaration_Access); overriding procedure Generic_Function_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Function_Declarations .Generic_Function_Declaration_Access); overriding procedure Package_Instantiation (Self : in out Visitor; Element : not null Program.Elements.Package_Instantiations .Package_Instantiation_Access); overriding procedure Procedure_Instantiation (Self : in out Visitor; Element : not null Program.Elements.Procedure_Instantiations .Procedure_Instantiation_Access); overriding procedure Function_Instantiation (Self : in out Visitor; Element : not null Program.Elements.Function_Instantiations .Function_Instantiation_Access); overriding procedure Formal_Object_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Object_Declarations .Formal_Object_Declaration_Access); overriding procedure Formal_Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Type_Declarations .Formal_Type_Declaration_Access); overriding procedure Formal_Procedure_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Procedure_Declarations .Formal_Procedure_Declaration_Access); overriding procedure Formal_Function_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Function_Declarations .Formal_Function_Declaration_Access); overriding procedure Formal_Package_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Package_Declarations .Formal_Package_Declaration_Access); overriding procedure Subtype_Indication (Self : in out Visitor; Element : not null Program.Elements.Subtype_Indications .Subtype_Indication_Access); overriding procedure Component_Definition (Self : in out Visitor; Element : not null Program.Elements.Component_Definitions .Component_Definition_Access); overriding procedure Discrete_Subtype_Indication (Self : in out Visitor; Element : not null Program.Elements.Discrete_Subtype_Indications .Discrete_Subtype_Indication_Access); overriding procedure Discrete_Range_Attribute_Reference (Self : in out Visitor; Element : not null Program.Elements.Discrete_Range_Attribute_References .Discrete_Range_Attribute_Reference_Access); overriding procedure Discrete_Simple_Expression_Range (Self : in out Visitor; Element : not null Program.Elements.Discrete_Simple_Expression_Ranges .Discrete_Simple_Expression_Range_Access); overriding procedure Known_Discriminant_Part (Self : in out Visitor; Element : not null Program.Elements.Known_Discriminant_Parts .Known_Discriminant_Part_Access); overriding procedure Record_Definition (Self : in out Visitor; Element : not null Program.Elements.Record_Definitions .Record_Definition_Access); overriding procedure Variant_Part (Self : in out Visitor; Element : not null Program.Elements.Variant_Parts.Variant_Part_Access); overriding procedure Variant (Self : in out Visitor; Element : not null Program.Elements.Variants.Variant_Access); overriding procedure Anonymous_Access_To_Object (Self : in out Visitor; Element : not null Program.Elements.Anonymous_Access_To_Objects .Anonymous_Access_To_Object_Access); overriding procedure Anonymous_Access_To_Procedure (Self : in out Visitor; Element : not null Program.Elements.Anonymous_Access_To_Procedures .Anonymous_Access_To_Procedure_Access); overriding procedure Anonymous_Access_To_Function (Self : in out Visitor; Element : not null Program.Elements.Anonymous_Access_To_Functions .Anonymous_Access_To_Function_Access); overriding procedure Private_Extension_Definition (Self : in out Visitor; Element : not null Program.Elements.Private_Extension_Definitions .Private_Extension_Definition_Access); overriding procedure Task_Definition (Self : in out Visitor; Element : not null Program.Elements.Task_Definitions .Task_Definition_Access); overriding procedure Protected_Definition (Self : in out Visitor; Element : not null Program.Elements.Protected_Definitions .Protected_Definition_Access); overriding procedure Aspect_Specification (Self : in out Visitor; Element : not null Program.Elements.Aspect_Specifications .Aspect_Specification_Access); overriding procedure Real_Range_Specification (Self : in out Visitor; Element : not null Program.Elements.Real_Range_Specifications .Real_Range_Specification_Access); overriding procedure Explicit_Dereference (Self : in out Visitor; Element : not null Program.Elements.Explicit_Dereferences .Explicit_Dereference_Access); overriding procedure Infix_Operator (Self : in out Visitor; Element : not null Program.Elements.Infix_Operators .Infix_Operator_Access); overriding procedure Function_Call (Self : in out Visitor; Element : not null Program.Elements.Function_Calls.Function_Call_Access); overriding procedure Indexed_Component (Self : in out Visitor; Element : not null Program.Elements.Indexed_Components .Indexed_Component_Access); overriding procedure Slice (Self : in out Visitor; Element : not null Program.Elements.Slices.Slice_Access); overriding procedure Selected_Component (Self : in out Visitor; Element : not null Program.Elements.Selected_Components .Selected_Component_Access); overriding procedure Attribute_Reference (Self : in out Visitor; Element : not null Program.Elements.Attribute_References .Attribute_Reference_Access); overriding procedure Record_Aggregate (Self : in out Visitor; Element : not null Program.Elements.Record_Aggregates .Record_Aggregate_Access); overriding procedure Extension_Aggregate (Self : in out Visitor; Element : not null Program.Elements.Extension_Aggregates .Extension_Aggregate_Access); overriding procedure Array_Aggregate (Self : in out Visitor; Element : not null Program.Elements.Array_Aggregates .Array_Aggregate_Access); overriding procedure Short_Circuit_Operation (Self : in out Visitor; Element : not null Program.Elements.Short_Circuit_Operations .Short_Circuit_Operation_Access); overriding procedure Membership_Test (Self : in out Visitor; Element : not null Program.Elements.Membership_Tests .Membership_Test_Access); overriding procedure Parenthesized_Expression (Self : in out Visitor; Element : not null Program.Elements.Parenthesized_Expressions .Parenthesized_Expression_Access); overriding procedure Raise_Expression (Self : in out Visitor; Element : not null Program.Elements.Raise_Expressions .Raise_Expression_Access); overriding procedure Type_Conversion (Self : in out Visitor; Element : not null Program.Elements.Type_Conversions .Type_Conversion_Access); overriding procedure Qualified_Expression (Self : in out Visitor; Element : not null Program.Elements.Qualified_Expressions .Qualified_Expression_Access); overriding procedure Allocator (Self : in out Visitor; Element : not null Program.Elements.Allocators.Allocator_Access); overriding procedure Case_Expression (Self : in out Visitor; Element : not null Program.Elements.Case_Expressions .Case_Expression_Access); overriding procedure If_Expression (Self : in out Visitor; Element : not null Program.Elements.If_Expressions.If_Expression_Access); overriding procedure Quantified_Expression (Self : in out Visitor; Element : not null Program.Elements.Quantified_Expressions .Quantified_Expression_Access); overriding procedure Discriminant_Association (Self : in out Visitor; Element : not null Program.Elements.Discriminant_Associations .Discriminant_Association_Access); overriding procedure Record_Component_Association (Self : in out Visitor; Element : not null Program.Elements.Record_Component_Associations .Record_Component_Association_Access); overriding procedure Array_Component_Association (Self : in out Visitor; Element : not null Program.Elements.Array_Component_Associations .Array_Component_Association_Access); overriding procedure Parameter_Association (Self : in out Visitor; Element : not null Program.Elements.Parameter_Associations .Parameter_Association_Access); overriding procedure Formal_Package_Association (Self : in out Visitor; Element : not null Program.Elements.Formal_Package_Associations .Formal_Package_Association_Access); overriding procedure Assignment_Statement (Self : in out Visitor; Element : not null Program.Elements.Assignment_Statements .Assignment_Statement_Access); overriding procedure If_Statement (Self : in out Visitor; Element : not null Program.Elements.If_Statements.If_Statement_Access); overriding procedure Case_Statement (Self : in out Visitor; Element : not null Program.Elements.Case_Statements .Case_Statement_Access); overriding procedure Loop_Statement (Self : in out Visitor; Element : not null Program.Elements.Loop_Statements .Loop_Statement_Access); overriding procedure While_Loop_Statement (Self : in out Visitor; Element : not null Program.Elements.While_Loop_Statements .While_Loop_Statement_Access); overriding procedure For_Loop_Statement (Self : in out Visitor; Element : not null Program.Elements.For_Loop_Statements .For_Loop_Statement_Access); overriding procedure Block_Statement (Self : in out Visitor; Element : not null Program.Elements.Block_Statements .Block_Statement_Access); overriding procedure Exit_Statement (Self : in out Visitor; Element : not null Program.Elements.Exit_Statements .Exit_Statement_Access); overriding procedure Goto_Statement (Self : in out Visitor; Element : not null Program.Elements.Goto_Statements .Goto_Statement_Access); overriding procedure Call_Statement (Self : in out Visitor; Element : not null Program.Elements.Call_Statements .Call_Statement_Access); overriding procedure Simple_Return_Statement (Self : in out Visitor; Element : not null Program.Elements.Simple_Return_Statements .Simple_Return_Statement_Access); overriding procedure Extended_Return_Statement (Self : in out Visitor; Element : not null Program.Elements.Extended_Return_Statements .Extended_Return_Statement_Access); overriding procedure Accept_Statement (Self : in out Visitor; Element : not null Program.Elements.Accept_Statements .Accept_Statement_Access); overriding procedure Requeue_Statement (Self : in out Visitor; Element : not null Program.Elements.Requeue_Statements .Requeue_Statement_Access); overriding procedure Delay_Statement (Self : in out Visitor; Element : not null Program.Elements.Delay_Statements .Delay_Statement_Access); overriding procedure Select_Statement (Self : in out Visitor; Element : not null Program.Elements.Select_Statements .Select_Statement_Access); overriding procedure Abort_Statement (Self : in out Visitor; Element : not null Program.Elements.Abort_Statements .Abort_Statement_Access); overriding procedure Raise_Statement (Self : in out Visitor; Element : not null Program.Elements.Raise_Statements .Raise_Statement_Access); overriding procedure Code_Statement (Self : in out Visitor; Element : not null Program.Elements.Code_Statements .Code_Statement_Access); overriding procedure Elsif_Path (Self : in out Visitor; Element : not null Program.Elements.Elsif_Paths.Elsif_Path_Access); overriding procedure Case_Path (Self : in out Visitor; Element : not null Program.Elements.Case_Paths.Case_Path_Access); overriding procedure Select_Path (Self : in out Visitor; Element : not null Program.Elements.Select_Paths.Select_Path_Access); overriding procedure Case_Expression_Path (Self : in out Visitor; Element : not null Program.Elements.Case_Expression_Paths .Case_Expression_Path_Access); overriding procedure Elsif_Expression_Path (Self : in out Visitor; Element : not null Program.Elements.Elsif_Expression_Paths .Elsif_Expression_Path_Access); overriding procedure Use_Clause (Self : in out Visitor; Element : not null Program.Elements.Use_Clauses.Use_Clause_Access); overriding procedure With_Clause (Self : in out Visitor; Element : not null Program.Elements.With_Clauses.With_Clause_Access); overriding procedure Component_Clause (Self : in out Visitor; Element : not null Program.Elements.Component_Clauses .Component_Clause_Access); overriding procedure Derived_Type (Self : in out Visitor; Element : not null Program.Elements.Derived_Types.Derived_Type_Access); overriding procedure Derived_Record_Extension (Self : in out Visitor; Element : not null Program.Elements.Derived_Record_Extensions .Derived_Record_Extension_Access); overriding procedure Enumeration_Type (Self : in out Visitor; Element : not null Program.Elements.Enumeration_Types .Enumeration_Type_Access); overriding procedure Signed_Integer_Type (Self : in out Visitor; Element : not null Program.Elements.Signed_Integer_Types .Signed_Integer_Type_Access); overriding procedure Modular_Type (Self : in out Visitor; Element : not null Program.Elements.Modular_Types.Modular_Type_Access); overriding procedure Floating_Point_Type (Self : in out Visitor; Element : not null Program.Elements.Floating_Point_Types .Floating_Point_Type_Access); overriding procedure Ordinary_Fixed_Point_Type (Self : in out Visitor; Element : not null Program.Elements.Ordinary_Fixed_Point_Types .Ordinary_Fixed_Point_Type_Access); overriding procedure Decimal_Fixed_Point_Type (Self : in out Visitor; Element : not null Program.Elements.Decimal_Fixed_Point_Types .Decimal_Fixed_Point_Type_Access); overriding procedure Unconstrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Unconstrained_Array_Types .Unconstrained_Array_Type_Access); overriding procedure Constrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Constrained_Array_Types .Constrained_Array_Type_Access); overriding procedure Record_Type (Self : in out Visitor; Element : not null Program.Elements.Record_Types.Record_Type_Access); overriding procedure Interface_Type (Self : in out Visitor; Element : not null Program.Elements.Interface_Types .Interface_Type_Access); overriding procedure Object_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Object_Access_Types .Object_Access_Type_Access); overriding procedure Procedure_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Procedure_Access_Types .Procedure_Access_Type_Access); overriding procedure Function_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Function_Access_Types .Function_Access_Type_Access); overriding procedure Formal_Derived_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Formal_Derived_Type_Definitions .Formal_Derived_Type_Definition_Access); overriding procedure Formal_Unconstrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Unconstrained_Array_Types .Formal_Unconstrained_Array_Type_Access); overriding procedure Formal_Constrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Constrained_Array_Types .Formal_Constrained_Array_Type_Access); overriding procedure Formal_Object_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Object_Access_Types .Formal_Object_Access_Type_Access); overriding procedure Formal_Procedure_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Procedure_Access_Types .Formal_Procedure_Access_Type_Access); overriding procedure Formal_Function_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Function_Access_Types .Formal_Function_Access_Type_Access); overriding procedure Formal_Interface_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Interface_Types .Formal_Interface_Type_Access); overriding procedure Range_Attribute_Reference (Self : in out Visitor; Element : not null Program.Elements.Range_Attribute_References .Range_Attribute_Reference_Access); overriding procedure Simple_Expression_Range (Self : in out Visitor; Element : not null Program.Elements.Simple_Expression_Ranges .Simple_Expression_Range_Access); overriding procedure Digits_Constraint (Self : in out Visitor; Element : not null Program.Elements.Digits_Constraints .Digits_Constraint_Access); overriding procedure Delta_Constraint (Self : in out Visitor; Element : not null Program.Elements.Delta_Constraints .Delta_Constraint_Access); overriding procedure Index_Constraint (Self : in out Visitor; Element : not null Program.Elements.Index_Constraints .Index_Constraint_Access); overriding procedure Discriminant_Constraint (Self : in out Visitor; Element : not null Program.Elements.Discriminant_Constraints .Discriminant_Constraint_Access); overriding procedure Attribute_Definition_Clause (Self : in out Visitor; Element : not null Program.Elements.Attribute_Definition_Clauses .Attribute_Definition_Clause_Access); overriding procedure Enumeration_Representation_Clause (Self : in out Visitor; Element : not null Program.Elements.Enumeration_Representation_Clauses .Enumeration_Representation_Clause_Access); overriding procedure Record_Representation_Clause (Self : in out Visitor; Element : not null Program.Elements.Record_Representation_Clauses .Record_Representation_Clause_Access); overriding procedure At_Clause (Self : in out Visitor; Element : not null Program.Elements.At_Clauses.At_Clause_Access); overriding procedure Exception_Handler (Self : in out Visitor; Element : not null Program.Elements.Exception_Handlers .Exception_Handler_Access); function F1_1 is new Generic_Child (Element => Program.Elements.Pragmas.Pragma_Element, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.Pragmas.Name); function F1_2 is new Generic_Vector (Parent => Program.Elements.Pragmas.Pragma_Element, Vector => Program.Elements.Parameter_Associations.Parameter_Association_Vector, Vector_Access => Program.Elements.Parameter_Associations .Parameter_Association_Vector_Access, Get_Vector => Program.Elements.Pragmas.Arguments); F1 : aliased constant Getter_Array := (1 => (False, Name, F1_1'Access), 2 => (True, Arguments, F1_2'Access)); overriding procedure Pragma_Element (Self : in out Visitor; Element : not null Program.Elements.Pragmas.Pragma_Access) is pragma Unreferenced (Element); begin Self.Result := F1'Access; end Pragma_Element; function F5_1 is new Generic_Child (Element => Program.Elements.Defining_Expanded_Names.Defining_Expanded_Name, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Defining_Expanded_Names.Prefix); function F5_2 is new Generic_Child (Element => Program.Elements.Defining_Expanded_Names.Defining_Expanded_Name, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Defining_Expanded_Names.Selector); F5 : aliased constant Getter_Array := (1 => (False, Prefix, F5_1'Access), 2 => (False, Selector, F5_2'Access)); overriding procedure Defining_Expanded_Name (Self : in out Visitor; Element : not null Program.Elements.Defining_Expanded_Names .Defining_Expanded_Name_Access) is pragma Unreferenced (Element); begin Self.Result := F5'Access; end Defining_Expanded_Name; function F6_1 is new Generic_Child (Element => Program.Elements.Type_Declarations.Type_Declaration, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Type_Declarations.Name); function F6_2 is new Generic_Child (Element => Program.Elements.Type_Declarations.Type_Declaration, Child => Program.Elements.Definitions.Definition, Child_Access => Program.Elements.Definitions.Definition_Access, Get_Child => Program.Elements.Type_Declarations.Discriminant_Part); function F6_3 is new Generic_Child (Element => Program.Elements.Type_Declarations.Type_Declaration, Child => Program.Elements.Definitions.Definition, Child_Access => Program.Elements.Definitions.Definition_Access, Get_Child => Program.Elements.Type_Declarations.Definition); function F6_4 is new Generic_Vector (Parent => Program.Elements.Type_Declarations.Type_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Type_Declarations.Aspects); F6 : aliased constant Getter_Array := (1 => (False, Name, F6_1'Access), 2 => (False, Discriminant_Part, F6_2'Access), 3 => (False, Definition, F6_3'Access), 4 => (True, Aspects, F6_4'Access)); overriding procedure Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Type_Declarations .Type_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F6'Access; end Type_Declaration; function F7_1 is new Generic_Child (Element => Program.Elements.Task_Type_Declarations.Task_Type_Declaration, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Task_Type_Declarations.Name); function F7_2 is new Generic_Child (Element => Program.Elements.Task_Type_Declarations.Task_Type_Declaration, Child => Program.Elements.Known_Discriminant_Parts.Known_Discriminant_Part, Child_Access => Program.Elements.Known_Discriminant_Parts .Known_Discriminant_Part_Access, Get_Child => Program.Elements.Task_Type_Declarations.Discriminant_Part); function F7_3 is new Generic_Vector (Parent => Program.Elements.Task_Type_Declarations.Task_Type_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Task_Type_Declarations.Aspects); function F7_4 is new Generic_Vector (Parent => Program.Elements.Task_Type_Declarations.Task_Type_Declaration, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Task_Type_Declarations.Progenitors); function F7_5 is new Generic_Child (Element => Program.Elements.Task_Type_Declarations.Task_Type_Declaration, Child => Program.Elements.Task_Definitions.Task_Definition, Child_Access => Program.Elements.Task_Definitions.Task_Definition_Access, Get_Child => Program.Elements.Task_Type_Declarations.Definition); F7 : aliased constant Getter_Array := (1 => (False, Name, F7_1'Access), 2 => (False, Discriminant_Part, F7_2'Access), 3 => (True, Aspects, F7_3'Access), 4 => (True, Progenitors, F7_4'Access), 5 => (False, Definition, F7_5'Access)); overriding procedure Task_Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Task_Type_Declarations .Task_Type_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F7'Access; end Task_Type_Declaration; function F8_1 is new Generic_Child (Element => Program.Elements.Protected_Type_Declarations .Protected_Type_Declaration, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Protected_Type_Declarations.Name); function F8_2 is new Generic_Child (Element => Program.Elements.Protected_Type_Declarations .Protected_Type_Declaration, Child => Program.Elements.Known_Discriminant_Parts.Known_Discriminant_Part, Child_Access => Program.Elements.Known_Discriminant_Parts .Known_Discriminant_Part_Access, Get_Child => Program.Elements.Protected_Type_Declarations.Discriminant_Part); function F8_3 is new Generic_Vector (Parent => Program.Elements.Protected_Type_Declarations .Protected_Type_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Protected_Type_Declarations.Aspects); function F8_4 is new Generic_Vector (Parent => Program.Elements.Protected_Type_Declarations .Protected_Type_Declaration, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Protected_Type_Declarations.Progenitors); function F8_5 is new Generic_Child (Element => Program.Elements.Protected_Type_Declarations .Protected_Type_Declaration, Child => Program.Elements.Protected_Definitions.Protected_Definition, Child_Access => Program.Elements.Protected_Definitions.Protected_Definition_Access, Get_Child => Program.Elements.Protected_Type_Declarations.Definition); F8 : aliased constant Getter_Array := (1 => (False, Name, F8_1'Access), 2 => (False, Discriminant_Part, F8_2'Access), 3 => (True, Aspects, F8_3'Access), 4 => (True, Progenitors, F8_4'Access), 5 => (False, Definition, F8_5'Access)); overriding procedure Protected_Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Protected_Type_Declarations .Protected_Type_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F8'Access; end Protected_Type_Declaration; function F9_1 is new Generic_Child (Element => Program.Elements.Subtype_Declarations.Subtype_Declaration, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Subtype_Declarations.Name); function F9_2 is new Generic_Child (Element => Program.Elements.Subtype_Declarations.Subtype_Declaration, Child => Program.Elements.Subtype_Indications.Subtype_Indication, Child_Access => Program.Elements.Subtype_Indications.Subtype_Indication_Access, Get_Child => Program.Elements.Subtype_Declarations.Subtype_Indication); function F9_3 is new Generic_Vector (Parent => Program.Elements.Subtype_Declarations.Subtype_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Subtype_Declarations.Aspects); F9 : aliased constant Getter_Array := (1 => (False, Name, F9_1'Access), 2 => (False, Subtype_Indication, F9_2'Access), 3 => (True, Aspects, F9_3'Access)); overriding procedure Subtype_Declaration (Self : in out Visitor; Element : not null Program.Elements.Subtype_Declarations .Subtype_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F9'Access; end Subtype_Declaration; function F10_1 is new Generic_Vector (Parent => Program.Elements.Object_Declarations.Object_Declaration, Vector => Program.Elements.Defining_Identifiers.Defining_Identifier_Vector, Vector_Access => Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access, Get_Vector => Program.Elements.Object_Declarations.Names); function F10_2 is new Generic_Child (Element => Program.Elements.Object_Declarations.Object_Declaration, Child => Program.Elements.Definitions.Definition, Child_Access => Program.Elements.Definitions.Definition_Access, Get_Child => Program.Elements.Object_Declarations.Object_Subtype); function F10_3 is new Generic_Child (Element => Program.Elements.Object_Declarations.Object_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Object_Declarations.Initialization_Expression); function F10_4 is new Generic_Vector (Parent => Program.Elements.Object_Declarations.Object_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Object_Declarations.Aspects); F10 : aliased constant Getter_Array := (1 => (True, Names, F10_1'Access), 2 => (False, Object_Subtype, F10_2'Access), 3 => (False, Initialization_Expression, F10_3'Access), 4 => (True, Aspects, F10_4'Access)); overriding procedure Object_Declaration (Self : in out Visitor; Element : not null Program.Elements.Object_Declarations .Object_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F10'Access; end Object_Declaration; function F11_1 is new Generic_Child (Element => Program.Elements.Single_Task_Declarations.Single_Task_Declaration, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Single_Task_Declarations.Name); function F11_2 is new Generic_Vector (Parent => Program.Elements.Single_Task_Declarations.Single_Task_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Single_Task_Declarations.Aspects); function F11_3 is new Generic_Vector (Parent => Program.Elements.Single_Task_Declarations.Single_Task_Declaration, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Single_Task_Declarations.Progenitors); function F11_4 is new Generic_Child (Element => Program.Elements.Single_Task_Declarations.Single_Task_Declaration, Child => Program.Elements.Task_Definitions.Task_Definition, Child_Access => Program.Elements.Task_Definitions.Task_Definition_Access, Get_Child => Program.Elements.Single_Task_Declarations.Definition); F11 : aliased constant Getter_Array := (1 => (False, Name, F11_1'Access), 2 => (True, Aspects, F11_2'Access), 3 => (True, Progenitors, F11_3'Access), 4 => (False, Definition, F11_4'Access)); overriding procedure Single_Task_Declaration (Self : in out Visitor; Element : not null Program.Elements.Single_Task_Declarations .Single_Task_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F11'Access; end Single_Task_Declaration; function F12_1 is new Generic_Child (Element => Program.Elements.Single_Protected_Declarations .Single_Protected_Declaration, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Single_Protected_Declarations.Name); function F12_2 is new Generic_Vector (Parent => Program.Elements.Single_Protected_Declarations .Single_Protected_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Single_Protected_Declarations.Aspects); function F12_3 is new Generic_Vector (Parent => Program.Elements.Single_Protected_Declarations .Single_Protected_Declaration, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Single_Protected_Declarations.Progenitors); function F12_4 is new Generic_Child (Element => Program.Elements.Single_Protected_Declarations .Single_Protected_Declaration, Child => Program.Elements.Protected_Definitions.Protected_Definition, Child_Access => Program.Elements.Protected_Definitions.Protected_Definition_Access, Get_Child => Program.Elements.Single_Protected_Declarations.Definition); F12 : aliased constant Getter_Array := (1 => (False, Name, F12_1'Access), 2 => (True, Aspects, F12_2'Access), 3 => (True, Progenitors, F12_3'Access), 4 => (False, Definition, F12_4'Access)); overriding procedure Single_Protected_Declaration (Self : in out Visitor; Element : not null Program.Elements.Single_Protected_Declarations .Single_Protected_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F12'Access; end Single_Protected_Declaration; function F13_1 is new Generic_Vector (Parent => Program.Elements.Number_Declarations.Number_Declaration, Vector => Program.Elements.Defining_Identifiers.Defining_Identifier_Vector, Vector_Access => Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access, Get_Vector => Program.Elements.Number_Declarations.Names); function F13_2 is new Generic_Child (Element => Program.Elements.Number_Declarations.Number_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Number_Declarations.Expression); F13 : aliased constant Getter_Array := (1 => (True, Names, F13_1'Access), 2 => (False, Expression, F13_2'Access)); overriding procedure Number_Declaration (Self : in out Visitor; Element : not null Program.Elements.Number_Declarations .Number_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F13'Access; end Number_Declaration; function F14_1 is new Generic_Child (Element => Program.Elements.Enumeration_Literal_Specifications .Enumeration_Literal_Specification, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Enumeration_Literal_Specifications.Name); F14 : aliased constant Getter_Array := (1 => (False, Name, F14_1'Access)); overriding procedure Enumeration_Literal_Specification (Self : in out Visitor; Element : not null Program.Elements.Enumeration_Literal_Specifications .Enumeration_Literal_Specification_Access) is pragma Unreferenced (Element); begin Self.Result := F14'Access; end Enumeration_Literal_Specification; function F15_1 is new Generic_Vector (Parent => Program.Elements.Discriminant_Specifications .Discriminant_Specification, Vector => Program.Elements.Defining_Identifiers.Defining_Identifier_Vector, Vector_Access => Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access, Get_Vector => Program.Elements.Discriminant_Specifications.Names); function F15_2 is new Generic_Child (Element => Program.Elements.Discriminant_Specifications .Discriminant_Specification, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Discriminant_Specifications.Object_Subtype); function F15_3 is new Generic_Child (Element => Program.Elements.Discriminant_Specifications .Discriminant_Specification, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Discriminant_Specifications.Default_Expression); F15 : aliased constant Getter_Array := (1 => (True, Names, F15_1'Access), 2 => (False, Object_Subtype, F15_2'Access), 3 => (False, Default_Expression, F15_3'Access)); overriding procedure Discriminant_Specification (Self : in out Visitor; Element : not null Program.Elements.Discriminant_Specifications .Discriminant_Specification_Access) is pragma Unreferenced (Element); begin Self.Result := F15'Access; end Discriminant_Specification; function F16_1 is new Generic_Vector (Parent => Program.Elements.Component_Declarations.Component_Declaration, Vector => Program.Elements.Defining_Identifiers.Defining_Identifier_Vector, Vector_Access => Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access, Get_Vector => Program.Elements.Component_Declarations.Names); function F16_2 is new Generic_Child (Element => Program.Elements.Component_Declarations.Component_Declaration, Child => Program.Elements.Component_Definitions.Component_Definition, Child_Access => Program.Elements.Component_Definitions.Component_Definition_Access, Get_Child => Program.Elements.Component_Declarations.Object_Subtype); function F16_3 is new Generic_Child (Element => Program.Elements.Component_Declarations.Component_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Component_Declarations.Default_Expression); function F16_4 is new Generic_Vector (Parent => Program.Elements.Component_Declarations.Component_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Component_Declarations.Aspects); F16 : aliased constant Getter_Array := (1 => (True, Names, F16_1'Access), 2 => (False, Object_Subtype, F16_2'Access), 3 => (False, Default_Expression, F16_3'Access), 4 => (True, Aspects, F16_4'Access)); overriding procedure Component_Declaration (Self : in out Visitor; Element : not null Program.Elements.Component_Declarations .Component_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F16'Access; end Component_Declaration; function F17_1 is new Generic_Child (Element => Program.Elements.Loop_Parameter_Specifications .Loop_Parameter_Specification, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Loop_Parameter_Specifications.Name); function F17_2 is new Generic_Child (Element => Program.Elements.Loop_Parameter_Specifications .Loop_Parameter_Specification, Child => Program.Elements.Discrete_Ranges.Discrete_Range, Child_Access => Program.Elements.Discrete_Ranges.Discrete_Range_Access, Get_Child => Program.Elements.Loop_Parameter_Specifications.Definition); F17 : aliased constant Getter_Array := (1 => (False, Name, F17_1'Access), 2 => (False, Definition, F17_2'Access)); overriding procedure Loop_Parameter_Specification (Self : in out Visitor; Element : not null Program.Elements.Loop_Parameter_Specifications .Loop_Parameter_Specification_Access) is pragma Unreferenced (Element); begin Self.Result := F17'Access; end Loop_Parameter_Specification; function F18_1 is new Generic_Child (Element => Program.Elements.Generalized_Iterator_Specifications .Generalized_Iterator_Specification, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Generalized_Iterator_Specifications.Name); function F18_2 is new Generic_Child (Element => Program.Elements.Generalized_Iterator_Specifications .Generalized_Iterator_Specification, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Generalized_Iterator_Specifications.Iterator_Name); F18 : aliased constant Getter_Array := (1 => (False, Name, F18_1'Access), 2 => (False, Iterator_Name, F18_2'Access)); overriding procedure Generalized_Iterator_Specification (Self : in out Visitor; Element : not null Program.Elements.Generalized_Iterator_Specifications .Generalized_Iterator_Specification_Access) is pragma Unreferenced (Element); begin Self.Result := F18'Access; end Generalized_Iterator_Specification; function F19_1 is new Generic_Child (Element => Program.Elements.Element_Iterator_Specifications .Element_Iterator_Specification, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Element_Iterator_Specifications.Name); function F19_2 is new Generic_Child (Element => Program.Elements.Element_Iterator_Specifications .Element_Iterator_Specification, Child => Program.Elements.Subtype_Indications.Subtype_Indication, Child_Access => Program.Elements.Subtype_Indications.Subtype_Indication_Access, Get_Child => Program.Elements.Element_Iterator_Specifications.Subtype_Indication); function F19_3 is new Generic_Child (Element => Program.Elements.Element_Iterator_Specifications .Element_Iterator_Specification, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Element_Iterator_Specifications.Iterable_Name); F19 : aliased constant Getter_Array := (1 => (False, Name, F19_1'Access), 2 => (False, Subtype_Indication, F19_2'Access), 3 => (False, Iterable_Name, F19_3'Access)); overriding procedure Element_Iterator_Specification (Self : in out Visitor; Element : not null Program.Elements.Element_Iterator_Specifications .Element_Iterator_Specification_Access) is pragma Unreferenced (Element); begin Self.Result := F19'Access; end Element_Iterator_Specification; function F20_1 is new Generic_Child (Element => Program.Elements.Procedure_Declarations.Procedure_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Procedure_Declarations.Name); function F20_2 is new Generic_Vector (Parent => Program.Elements.Procedure_Declarations.Procedure_Declaration, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Procedure_Declarations.Parameters); function F20_3 is new Generic_Vector (Parent => Program.Elements.Procedure_Declarations.Procedure_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Procedure_Declarations.Aspects); F20 : aliased constant Getter_Array := (1 => (False, Name, F20_1'Access), 2 => (True, Parameters, F20_2'Access), 3 => (True, Aspects, F20_3'Access)); overriding procedure Procedure_Declaration (Self : in out Visitor; Element : not null Program.Elements.Procedure_Declarations .Procedure_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F20'Access; end Procedure_Declaration; function F21_1 is new Generic_Child (Element => Program.Elements.Function_Declarations.Function_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Function_Declarations.Name); function F21_2 is new Generic_Vector (Parent => Program.Elements.Function_Declarations.Function_Declaration, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Function_Declarations.Parameters); function F21_3 is new Generic_Child (Element => Program.Elements.Function_Declarations.Function_Declaration, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Function_Declarations.Result_Subtype); function F21_4 is new Generic_Child (Element => Program.Elements.Function_Declarations.Function_Declaration, Child => Program.Elements.Parenthesized_Expressions.Parenthesized_Expression, Child_Access => Program.Elements.Parenthesized_Expressions .Parenthesized_Expression_Access, Get_Child => Program.Elements.Function_Declarations.Result_Expression); function F21_5 is new Generic_Vector (Parent => Program.Elements.Function_Declarations.Function_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Function_Declarations.Aspects); F21 : aliased constant Getter_Array := (1 => (False, Name, F21_1'Access), 2 => (True, Parameters, F21_2'Access), 3 => (False, Result_Subtype, F21_3'Access), 4 => (False, Result_Expression, F21_4'Access), 5 => (True, Aspects, F21_5'Access)); overriding procedure Function_Declaration (Self : in out Visitor; Element : not null Program.Elements.Function_Declarations .Function_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F21'Access; end Function_Declaration; function F22_1 is new Generic_Vector (Parent => Program.Elements.Parameter_Specifications.Parameter_Specification, Vector => Program.Elements.Defining_Identifiers.Defining_Identifier_Vector, Vector_Access => Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access, Get_Vector => Program.Elements.Parameter_Specifications.Names); function F22_2 is new Generic_Child (Element => Program.Elements.Parameter_Specifications.Parameter_Specification, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Parameter_Specifications.Parameter_Subtype); function F22_3 is new Generic_Child (Element => Program.Elements.Parameter_Specifications.Parameter_Specification, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Parameter_Specifications.Default_Expression); F22 : aliased constant Getter_Array := (1 => (True, Names, F22_1'Access), 2 => (False, Parameter_Subtype, F22_2'Access), 3 => (False, Default_Expression, F22_3'Access)); overriding procedure Parameter_Specification (Self : in out Visitor; Element : not null Program.Elements.Parameter_Specifications .Parameter_Specification_Access) is pragma Unreferenced (Element); begin Self.Result := F22'Access; end Parameter_Specification; function F23_1 is new Generic_Child (Element => Program.Elements.Procedure_Body_Declarations .Procedure_Body_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Procedure_Body_Declarations.Name); function F23_2 is new Generic_Vector (Parent => Program.Elements.Procedure_Body_Declarations .Procedure_Body_Declaration, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Procedure_Body_Declarations.Parameters); function F23_3 is new Generic_Vector (Parent => Program.Elements.Procedure_Body_Declarations .Procedure_Body_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Procedure_Body_Declarations.Aspects); function F23_4 is new Generic_Vector (Parent => Program.Elements.Procedure_Body_Declarations .Procedure_Body_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Procedure_Body_Declarations.Declarations); function F23_5 is new Generic_Vector (Parent => Program.Elements.Procedure_Body_Declarations .Procedure_Body_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Procedure_Body_Declarations.Statements); function F23_6 is new Generic_Vector (Parent => Program.Elements.Procedure_Body_Declarations .Procedure_Body_Declaration, Vector => Program.Elements.Exception_Handlers.Exception_Handler_Vector, Vector_Access => Program.Elements.Exception_Handlers.Exception_Handler_Vector_Access, Get_Vector => Program.Elements.Procedure_Body_Declarations.Exception_Handlers); function F23_7 is new Generic_Child (Element => Program.Elements.Procedure_Body_Declarations .Procedure_Body_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Procedure_Body_Declarations.End_Name); F23 : aliased constant Getter_Array := (1 => (False, Name, F23_1'Access), 2 => (True, Parameters, F23_2'Access), 3 => (True, Aspects, F23_3'Access), 4 => (True, Declarations, F23_4'Access), 5 => (True, Statements, F23_5'Access), 6 => (True, Exception_Handlers, F23_6'Access), 7 => (False, End_Name, F23_7'Access)); overriding procedure Procedure_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Procedure_Body_Declarations .Procedure_Body_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F23'Access; end Procedure_Body_Declaration; function F24_1 is new Generic_Child (Element => Program.Elements.Function_Body_Declarations.Function_Body_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Function_Body_Declarations.Name); function F24_2 is new Generic_Vector (Parent => Program.Elements.Function_Body_Declarations.Function_Body_Declaration, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Function_Body_Declarations.Parameters); function F24_3 is new Generic_Child (Element => Program.Elements.Function_Body_Declarations.Function_Body_Declaration, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Function_Body_Declarations.Result_Subtype); function F24_4 is new Generic_Vector (Parent => Program.Elements.Function_Body_Declarations.Function_Body_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Function_Body_Declarations.Aspects); function F24_5 is new Generic_Vector (Parent => Program.Elements.Function_Body_Declarations.Function_Body_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Function_Body_Declarations.Declarations); function F24_6 is new Generic_Vector (Parent => Program.Elements.Function_Body_Declarations.Function_Body_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Function_Body_Declarations.Statements); function F24_7 is new Generic_Vector (Parent => Program.Elements.Function_Body_Declarations.Function_Body_Declaration, Vector => Program.Elements.Exception_Handlers.Exception_Handler_Vector, Vector_Access => Program.Elements.Exception_Handlers.Exception_Handler_Vector_Access, Get_Vector => Program.Elements.Function_Body_Declarations.Exception_Handlers); function F24_8 is new Generic_Child (Element => Program.Elements.Function_Body_Declarations.Function_Body_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Function_Body_Declarations.End_Name); F24 : aliased constant Getter_Array := (1 => (False, Name, F24_1'Access), 2 => (True, Parameters, F24_2'Access), 3 => (False, Result_Subtype, F24_3'Access), 4 => (True, Aspects, F24_4'Access), 5 => (True, Declarations, F24_5'Access), 6 => (True, Statements, F24_6'Access), 7 => (True, Exception_Handlers, F24_7'Access), 8 => (False, End_Name, F24_8'Access)); overriding procedure Function_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Function_Body_Declarations .Function_Body_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F24'Access; end Function_Body_Declaration; function F25_1 is new Generic_Child (Element => Program.Elements.Return_Object_Specifications .Return_Object_Specification, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Return_Object_Specifications.Name); function F25_2 is new Generic_Child (Element => Program.Elements.Return_Object_Specifications .Return_Object_Specification, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Return_Object_Specifications.Object_Subtype); function F25_3 is new Generic_Child (Element => Program.Elements.Return_Object_Specifications .Return_Object_Specification, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Return_Object_Specifications.Expression); F25 : aliased constant Getter_Array := (1 => (False, Name, F25_1'Access), 2 => (False, Object_Subtype, F25_2'Access), 3 => (False, Expression, F25_3'Access)); overriding procedure Return_Object_Specification (Self : in out Visitor; Element : not null Program.Elements.Return_Object_Specifications .Return_Object_Specification_Access) is pragma Unreferenced (Element); begin Self.Result := F25'Access; end Return_Object_Specification; function F26_1 is new Generic_Child (Element => Program.Elements.Package_Declarations.Package_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Package_Declarations.Name); function F26_2 is new Generic_Vector (Parent => Program.Elements.Package_Declarations.Package_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Package_Declarations.Aspects); function F26_3 is new Generic_Vector (Parent => Program.Elements.Package_Declarations.Package_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Package_Declarations.Visible_Declarations); function F26_4 is new Generic_Vector (Parent => Program.Elements.Package_Declarations.Package_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Package_Declarations.Private_Declarations); function F26_5 is new Generic_Child (Element => Program.Elements.Package_Declarations.Package_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Package_Declarations.End_Name); F26 : aliased constant Getter_Array := (1 => (False, Name, F26_1'Access), 2 => (True, Aspects, F26_2'Access), 3 => (True, Visible_Declarations, F26_3'Access), 4 => (True, Private_Declarations, F26_4'Access), 5 => (False, End_Name, F26_5'Access)); overriding procedure Package_Declaration (Self : in out Visitor; Element : not null Program.Elements.Package_Declarations .Package_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F26'Access; end Package_Declaration; function F27_1 is new Generic_Child (Element => Program.Elements.Package_Body_Declarations.Package_Body_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Package_Body_Declarations.Name); function F27_2 is new Generic_Vector (Parent => Program.Elements.Package_Body_Declarations.Package_Body_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Package_Body_Declarations.Aspects); function F27_3 is new Generic_Vector (Parent => Program.Elements.Package_Body_Declarations.Package_Body_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Package_Body_Declarations.Declarations); function F27_4 is new Generic_Vector (Parent => Program.Elements.Package_Body_Declarations.Package_Body_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Package_Body_Declarations.Statements); function F27_5 is new Generic_Vector (Parent => Program.Elements.Package_Body_Declarations.Package_Body_Declaration, Vector => Program.Elements.Exception_Handlers.Exception_Handler_Vector, Vector_Access => Program.Elements.Exception_Handlers.Exception_Handler_Vector_Access, Get_Vector => Program.Elements.Package_Body_Declarations.Exception_Handlers); function F27_6 is new Generic_Child (Element => Program.Elements.Package_Body_Declarations.Package_Body_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Package_Body_Declarations.End_Name); F27 : aliased constant Getter_Array := (1 => (False, Name, F27_1'Access), 2 => (True, Aspects, F27_2'Access), 3 => (True, Declarations, F27_3'Access), 4 => (True, Statements, F27_4'Access), 5 => (True, Exception_Handlers, F27_5'Access), 6 => (False, End_Name, F27_6'Access)); overriding procedure Package_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Package_Body_Declarations .Package_Body_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F27'Access; end Package_Body_Declaration; function F28_1 is new Generic_Vector (Parent => Program.Elements.Object_Renaming_Declarations .Object_Renaming_Declaration, Vector => Program.Elements.Defining_Identifiers.Defining_Identifier_Vector, Vector_Access => Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access, Get_Vector => Program.Elements.Object_Renaming_Declarations.Names); function F28_2 is new Generic_Child (Element => Program.Elements.Object_Renaming_Declarations .Object_Renaming_Declaration, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Object_Renaming_Declarations.Object_Subtype); function F28_3 is new Generic_Child (Element => Program.Elements.Object_Renaming_Declarations .Object_Renaming_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Object_Renaming_Declarations.Renamed_Object); function F28_4 is new Generic_Vector (Parent => Program.Elements.Object_Renaming_Declarations .Object_Renaming_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Object_Renaming_Declarations.Aspects); F28 : aliased constant Getter_Array := (1 => (True, Names, F28_1'Access), 2 => (False, Object_Subtype, F28_2'Access), 3 => (False, Renamed_Object, F28_3'Access), 4 => (True, Aspects, F28_4'Access)); overriding procedure Object_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Object_Renaming_Declarations .Object_Renaming_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F28'Access; end Object_Renaming_Declaration; function F29_1 is new Generic_Vector (Parent => Program.Elements.Exception_Renaming_Declarations .Exception_Renaming_Declaration, Vector => Program.Elements.Defining_Identifiers.Defining_Identifier_Vector, Vector_Access => Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access, Get_Vector => Program.Elements.Exception_Renaming_Declarations.Names); function F29_2 is new Generic_Child (Element => Program.Elements.Exception_Renaming_Declarations .Exception_Renaming_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Exception_Renaming_Declarations.Renamed_Exception); function F29_3 is new Generic_Vector (Parent => Program.Elements.Exception_Renaming_Declarations .Exception_Renaming_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Exception_Renaming_Declarations.Aspects); F29 : aliased constant Getter_Array := (1 => (True, Names, F29_1'Access), 2 => (False, Renamed_Exception, F29_2'Access), 3 => (True, Aspects, F29_3'Access)); overriding procedure Exception_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Exception_Renaming_Declarations .Exception_Renaming_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F29'Access; end Exception_Renaming_Declaration; function F30_1 is new Generic_Child (Element => Program.Elements.Procedure_Renaming_Declarations .Procedure_Renaming_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Procedure_Renaming_Declarations.Name); function F30_2 is new Generic_Vector (Parent => Program.Elements.Procedure_Renaming_Declarations .Procedure_Renaming_Declaration, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Procedure_Renaming_Declarations.Parameters); function F30_3 is new Generic_Child (Element => Program.Elements.Procedure_Renaming_Declarations .Procedure_Renaming_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Procedure_Renaming_Declarations.Renamed_Procedure); function F30_4 is new Generic_Vector (Parent => Program.Elements.Procedure_Renaming_Declarations .Procedure_Renaming_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Procedure_Renaming_Declarations.Aspects); F30 : aliased constant Getter_Array := (1 => (False, Name, F30_1'Access), 2 => (True, Parameters, F30_2'Access), 3 => (False, Renamed_Procedure, F30_3'Access), 4 => (True, Aspects, F30_4'Access)); overriding procedure Procedure_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Procedure_Renaming_Declarations .Procedure_Renaming_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F30'Access; end Procedure_Renaming_Declaration; function F31_1 is new Generic_Child (Element => Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Function_Renaming_Declarations.Name); function F31_2 is new Generic_Vector (Parent => Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Function_Renaming_Declarations.Parameters); function F31_3 is new Generic_Child (Element => Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Function_Renaming_Declarations.Result_Subtype); function F31_4 is new Generic_Child (Element => Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Function_Renaming_Declarations.Renamed_Function); function F31_5 is new Generic_Vector (Parent => Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Function_Renaming_Declarations.Aspects); F31 : aliased constant Getter_Array := (1 => (False, Name, F31_1'Access), 2 => (True, Parameters, F31_2'Access), 3 => (False, Result_Subtype, F31_3'Access), 4 => (False, Renamed_Function, F31_4'Access), 5 => (True, Aspects, F31_5'Access)); overriding procedure Function_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F31'Access; end Function_Renaming_Declaration; function F32_1 is new Generic_Child (Element => Program.Elements.Package_Renaming_Declarations .Package_Renaming_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Package_Renaming_Declarations.Name); function F32_2 is new Generic_Child (Element => Program.Elements.Package_Renaming_Declarations .Package_Renaming_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Package_Renaming_Declarations.Renamed_Package); function F32_3 is new Generic_Vector (Parent => Program.Elements.Package_Renaming_Declarations .Package_Renaming_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Package_Renaming_Declarations.Aspects); F32 : aliased constant Getter_Array := (1 => (False, Name, F32_1'Access), 2 => (False, Renamed_Package, F32_2'Access), 3 => (True, Aspects, F32_3'Access)); overriding procedure Package_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Package_Renaming_Declarations .Package_Renaming_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F32'Access; end Package_Renaming_Declaration; function F33_1 is new Generic_Child (Element => Program.Elements.Generic_Package_Renaming_Declarations .Generic_Package_Renaming_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Generic_Package_Renaming_Declarations.Name); function F33_2 is new Generic_Child (Element => Program.Elements.Generic_Package_Renaming_Declarations .Generic_Package_Renaming_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Generic_Package_Renaming_Declarations .Renamed_Package); function F33_3 is new Generic_Vector (Parent => Program.Elements.Generic_Package_Renaming_Declarations .Generic_Package_Renaming_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Generic_Package_Renaming_Declarations.Aspects); F33 : aliased constant Getter_Array := (1 => (False, Name, F33_1'Access), 2 => (False, Renamed_Package, F33_2'Access), 3 => (True, Aspects, F33_3'Access)); overriding procedure Generic_Package_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Package_Renaming_Declarations .Generic_Package_Renaming_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F33'Access; end Generic_Package_Renaming_Declaration; function F34_1 is new Generic_Child (Element => Program.Elements.Generic_Procedure_Renaming_Declarations .Generic_Procedure_Renaming_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Generic_Procedure_Renaming_Declarations.Name); function F34_2 is new Generic_Child (Element => Program.Elements.Generic_Procedure_Renaming_Declarations .Generic_Procedure_Renaming_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Generic_Procedure_Renaming_Declarations .Renamed_Procedure); function F34_3 is new Generic_Vector (Parent => Program.Elements.Generic_Procedure_Renaming_Declarations .Generic_Procedure_Renaming_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Generic_Procedure_Renaming_Declarations.Aspects); F34 : aliased constant Getter_Array := (1 => (False, Name, F34_1'Access), 2 => (False, Renamed_Procedure, F34_2'Access), 3 => (True, Aspects, F34_3'Access)); overriding procedure Generic_Procedure_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements .Generic_Procedure_Renaming_Declarations .Generic_Procedure_Renaming_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F34'Access; end Generic_Procedure_Renaming_Declaration; function F35_1 is new Generic_Child (Element => Program.Elements.Generic_Function_Renaming_Declarations .Generic_Function_Renaming_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Generic_Function_Renaming_Declarations.Name); function F35_2 is new Generic_Child (Element => Program.Elements.Generic_Function_Renaming_Declarations .Generic_Function_Renaming_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Generic_Function_Renaming_Declarations .Renamed_Function); function F35_3 is new Generic_Vector (Parent => Program.Elements.Generic_Function_Renaming_Declarations .Generic_Function_Renaming_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Generic_Function_Renaming_Declarations.Aspects); F35 : aliased constant Getter_Array := (1 => (False, Name, F35_1'Access), 2 => (False, Renamed_Function, F35_2'Access), 3 => (True, Aspects, F35_3'Access)); overriding procedure Generic_Function_Renaming_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Function_Renaming_Declarations .Generic_Function_Renaming_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F35'Access; end Generic_Function_Renaming_Declaration; function F36_1 is new Generic_Child (Element => Program.Elements.Task_Body_Declarations.Task_Body_Declaration, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Task_Body_Declarations.Name); function F36_2 is new Generic_Vector (Parent => Program.Elements.Task_Body_Declarations.Task_Body_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Task_Body_Declarations.Aspects); function F36_3 is new Generic_Vector (Parent => Program.Elements.Task_Body_Declarations.Task_Body_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Task_Body_Declarations.Declarations); function F36_4 is new Generic_Vector (Parent => Program.Elements.Task_Body_Declarations.Task_Body_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Task_Body_Declarations.Statements); function F36_5 is new Generic_Vector (Parent => Program.Elements.Task_Body_Declarations.Task_Body_Declaration, Vector => Program.Elements.Exception_Handlers.Exception_Handler_Vector, Vector_Access => Program.Elements.Exception_Handlers.Exception_Handler_Vector_Access, Get_Vector => Program.Elements.Task_Body_Declarations.Exception_Handlers); function F36_6 is new Generic_Child (Element => Program.Elements.Task_Body_Declarations.Task_Body_Declaration, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.Task_Body_Declarations.End_Name); F36 : aliased constant Getter_Array := (1 => (False, Name, F36_1'Access), 2 => (True, Aspects, F36_2'Access), 3 => (True, Declarations, F36_3'Access), 4 => (True, Statements, F36_4'Access), 5 => (True, Exception_Handlers, F36_5'Access), 6 => (False, End_Name, F36_6'Access)); overriding procedure Task_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Task_Body_Declarations .Task_Body_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F36'Access; end Task_Body_Declaration; function F37_1 is new Generic_Child (Element => Program.Elements.Protected_Body_Declarations .Protected_Body_Declaration, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Protected_Body_Declarations.Name); function F37_2 is new Generic_Vector (Parent => Program.Elements.Protected_Body_Declarations .Protected_Body_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Protected_Body_Declarations.Aspects); function F37_3 is new Generic_Vector (Parent => Program.Elements.Protected_Body_Declarations .Protected_Body_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Protected_Body_Declarations.Protected_Operations); function F37_4 is new Generic_Child (Element => Program.Elements.Protected_Body_Declarations .Protected_Body_Declaration, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.Protected_Body_Declarations.End_Name); F37 : aliased constant Getter_Array := (1 => (False, Name, F37_1'Access), 2 => (True, Aspects, F37_2'Access), 3 => (True, Protected_Operations, F37_3'Access), 4 => (False, End_Name, F37_4'Access)); overriding procedure Protected_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Protected_Body_Declarations .Protected_Body_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F37'Access; end Protected_Body_Declaration; function F38_1 is new Generic_Child (Element => Program.Elements.Entry_Declarations.Entry_Declaration, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Entry_Declarations.Name); function F38_2 is new Generic_Child (Element => Program.Elements.Entry_Declarations.Entry_Declaration, Child => Program.Elements.Discrete_Ranges.Discrete_Range, Child_Access => Program.Elements.Discrete_Ranges.Discrete_Range_Access, Get_Child => Program.Elements.Entry_Declarations.Entry_Family_Definition); function F38_3 is new Generic_Vector (Parent => Program.Elements.Entry_Declarations.Entry_Declaration, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Entry_Declarations.Parameters); function F38_4 is new Generic_Vector (Parent => Program.Elements.Entry_Declarations.Entry_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Entry_Declarations.Aspects); F38 : aliased constant Getter_Array := (1 => (False, Name, F38_1'Access), 2 => (False, Entry_Family_Definition, F38_2'Access), 3 => (True, Parameters, F38_3'Access), 4 => (True, Aspects, F38_4'Access)); overriding procedure Entry_Declaration (Self : in out Visitor; Element : not null Program.Elements.Entry_Declarations .Entry_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F38'Access; end Entry_Declaration; function F39_1 is new Generic_Child (Element => Program.Elements.Entry_Body_Declarations.Entry_Body_Declaration, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Entry_Body_Declarations.Name); function F39_2 is new Generic_Child (Element => Program.Elements.Entry_Body_Declarations.Entry_Body_Declaration, Child => Program.Elements.Entry_Index_Specifications.Entry_Index_Specification, Child_Access => Program.Elements.Entry_Index_Specifications .Entry_Index_Specification_Access, Get_Child => Program.Elements.Entry_Body_Declarations.Entry_Index); function F39_3 is new Generic_Vector (Parent => Program.Elements.Entry_Body_Declarations.Entry_Body_Declaration, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Entry_Body_Declarations.Parameters); function F39_4 is new Generic_Child (Element => Program.Elements.Entry_Body_Declarations.Entry_Body_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Entry_Body_Declarations.Entry_Barrier); function F39_5 is new Generic_Vector (Parent => Program.Elements.Entry_Body_Declarations.Entry_Body_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Entry_Body_Declarations.Declarations); function F39_6 is new Generic_Vector (Parent => Program.Elements.Entry_Body_Declarations.Entry_Body_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Entry_Body_Declarations.Statements); function F39_7 is new Generic_Vector (Parent => Program.Elements.Entry_Body_Declarations.Entry_Body_Declaration, Vector => Program.Elements.Exception_Handlers.Exception_Handler_Vector, Vector_Access => Program.Elements.Exception_Handlers.Exception_Handler_Vector_Access, Get_Vector => Program.Elements.Entry_Body_Declarations.Exception_Handlers); function F39_8 is new Generic_Child (Element => Program.Elements.Entry_Body_Declarations.Entry_Body_Declaration, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.Entry_Body_Declarations.End_Name); F39 : aliased constant Getter_Array := (1 => (False, Name, F39_1'Access), 2 => (False, Entry_Index, F39_2'Access), 3 => (True, Parameters, F39_3'Access), 4 => (False, Entry_Barrier, F39_4'Access), 5 => (True, Declarations, F39_5'Access), 6 => (True, Statements, F39_6'Access), 7 => (True, Exception_Handlers, F39_7'Access), 8 => (False, End_Name, F39_8'Access)); overriding procedure Entry_Body_Declaration (Self : in out Visitor; Element : not null Program.Elements.Entry_Body_Declarations .Entry_Body_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F39'Access; end Entry_Body_Declaration; function F40_1 is new Generic_Child (Element => Program.Elements.Entry_Index_Specifications.Entry_Index_Specification, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Entry_Index_Specifications.Name); function F40_2 is new Generic_Child (Element => Program.Elements.Entry_Index_Specifications.Entry_Index_Specification, Child => Program.Elements.Discrete_Ranges.Discrete_Range, Child_Access => Program.Elements.Discrete_Ranges.Discrete_Range_Access, Get_Child => Program.Elements.Entry_Index_Specifications.Entry_Index_Subtype); F40 : aliased constant Getter_Array := (1 => (False, Name, F40_1'Access), 2 => (False, Entry_Index_Subtype, F40_2'Access)); overriding procedure Entry_Index_Specification (Self : in out Visitor; Element : not null Program.Elements.Entry_Index_Specifications .Entry_Index_Specification_Access) is pragma Unreferenced (Element); begin Self.Result := F40'Access; end Entry_Index_Specification; function F41_1 is new Generic_Child (Element => Program.Elements.Procedure_Body_Stubs.Procedure_Body_Stub, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Procedure_Body_Stubs.Name); function F41_2 is new Generic_Vector (Parent => Program.Elements.Procedure_Body_Stubs.Procedure_Body_Stub, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Procedure_Body_Stubs.Parameters); function F41_3 is new Generic_Vector (Parent => Program.Elements.Procedure_Body_Stubs.Procedure_Body_Stub, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Procedure_Body_Stubs.Aspects); F41 : aliased constant Getter_Array := (1 => (False, Name, F41_1'Access), 2 => (True, Parameters, F41_2'Access), 3 => (True, Aspects, F41_3'Access)); overriding procedure Procedure_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Procedure_Body_Stubs .Procedure_Body_Stub_Access) is pragma Unreferenced (Element); begin Self.Result := F41'Access; end Procedure_Body_Stub; function F42_1 is new Generic_Child (Element => Program.Elements.Function_Body_Stubs.Function_Body_Stub, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Function_Body_Stubs.Name); function F42_2 is new Generic_Vector (Parent => Program.Elements.Function_Body_Stubs.Function_Body_Stub, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Function_Body_Stubs.Parameters); function F42_3 is new Generic_Child (Element => Program.Elements.Function_Body_Stubs.Function_Body_Stub, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Function_Body_Stubs.Result_Subtype); function F42_4 is new Generic_Vector (Parent => Program.Elements.Function_Body_Stubs.Function_Body_Stub, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Function_Body_Stubs.Aspects); F42 : aliased constant Getter_Array := (1 => (False, Name, F42_1'Access), 2 => (True, Parameters, F42_2'Access), 3 => (False, Result_Subtype, F42_3'Access), 4 => (True, Aspects, F42_4'Access)); overriding procedure Function_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Function_Body_Stubs .Function_Body_Stub_Access) is pragma Unreferenced (Element); begin Self.Result := F42'Access; end Function_Body_Stub; function F43_1 is new Generic_Child (Element => Program.Elements.Package_Body_Stubs.Package_Body_Stub, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Package_Body_Stubs.Name); function F43_2 is new Generic_Vector (Parent => Program.Elements.Package_Body_Stubs.Package_Body_Stub, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Package_Body_Stubs.Aspects); F43 : aliased constant Getter_Array := (1 => (False, Name, F43_1'Access), 2 => (True, Aspects, F43_2'Access)); overriding procedure Package_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Package_Body_Stubs .Package_Body_Stub_Access) is pragma Unreferenced (Element); begin Self.Result := F43'Access; end Package_Body_Stub; function F44_1 is new Generic_Child (Element => Program.Elements.Task_Body_Stubs.Task_Body_Stub, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Task_Body_Stubs.Name); function F44_2 is new Generic_Vector (Parent => Program.Elements.Task_Body_Stubs.Task_Body_Stub, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Task_Body_Stubs.Aspects); F44 : aliased constant Getter_Array := (1 => (False, Name, F44_1'Access), 2 => (True, Aspects, F44_2'Access)); overriding procedure Task_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Task_Body_Stubs .Task_Body_Stub_Access) is pragma Unreferenced (Element); begin Self.Result := F44'Access; end Task_Body_Stub; function F45_1 is new Generic_Child (Element => Program.Elements.Protected_Body_Stubs.Protected_Body_Stub, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Protected_Body_Stubs.Name); function F45_2 is new Generic_Vector (Parent => Program.Elements.Protected_Body_Stubs.Protected_Body_Stub, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Protected_Body_Stubs.Aspects); F45 : aliased constant Getter_Array := (1 => (False, Name, F45_1'Access), 2 => (True, Aspects, F45_2'Access)); overriding procedure Protected_Body_Stub (Self : in out Visitor; Element : not null Program.Elements.Protected_Body_Stubs .Protected_Body_Stub_Access) is pragma Unreferenced (Element); begin Self.Result := F45'Access; end Protected_Body_Stub; function F46_1 is new Generic_Vector (Parent => Program.Elements.Exception_Declarations.Exception_Declaration, Vector => Program.Elements.Defining_Identifiers.Defining_Identifier_Vector, Vector_Access => Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access, Get_Vector => Program.Elements.Exception_Declarations.Names); function F46_2 is new Generic_Vector (Parent => Program.Elements.Exception_Declarations.Exception_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Exception_Declarations.Aspects); F46 : aliased constant Getter_Array := (1 => (True, Names, F46_1'Access), 2 => (True, Aspects, F46_2'Access)); overriding procedure Exception_Declaration (Self : in out Visitor; Element : not null Program.Elements.Exception_Declarations .Exception_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F46'Access; end Exception_Declaration; function F47_1 is new Generic_Child (Element => Program.Elements.Choice_Parameter_Specifications .Choice_Parameter_Specification, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Choice_Parameter_Specifications.Name); F47 : aliased constant Getter_Array := (1 => (False, Name, F47_1'Access)); overriding procedure Choice_Parameter_Specification (Self : in out Visitor; Element : not null Program.Elements.Choice_Parameter_Specifications .Choice_Parameter_Specification_Access) is pragma Unreferenced (Element); begin Self.Result := F47'Access; end Choice_Parameter_Specification; function F48_1 is new Generic_Vector (Parent => Program.Elements.Generic_Package_Declarations .Generic_Package_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Generic_Package_Declarations.Formal_Parameters); function F48_2 is new Generic_Child (Element => Program.Elements.Generic_Package_Declarations .Generic_Package_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Generic_Package_Declarations.Name); function F48_3 is new Generic_Vector (Parent => Program.Elements.Generic_Package_Declarations .Generic_Package_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Generic_Package_Declarations.Aspects); function F48_4 is new Generic_Vector (Parent => Program.Elements.Generic_Package_Declarations .Generic_Package_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Generic_Package_Declarations.Visible_Declarations); function F48_5 is new Generic_Vector (Parent => Program.Elements.Generic_Package_Declarations .Generic_Package_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Generic_Package_Declarations.Private_Declarations); function F48_6 is new Generic_Child (Element => Program.Elements.Generic_Package_Declarations .Generic_Package_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Generic_Package_Declarations.End_Name); F48 : aliased constant Getter_Array := (1 => (True, Formal_Parameters, F48_1'Access), 2 => (False, Name, F48_2'Access), 3 => (True, Aspects, F48_3'Access), 4 => (True, Visible_Declarations, F48_4'Access), 5 => (True, Private_Declarations, F48_5'Access), 6 => (False, End_Name, F48_6'Access)); overriding procedure Generic_Package_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Package_Declarations .Generic_Package_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F48'Access; end Generic_Package_Declaration; function F49_1 is new Generic_Vector (Parent => Program.Elements.Generic_Procedure_Declarations .Generic_Procedure_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Generic_Procedure_Declarations.Formal_Parameters); function F49_2 is new Generic_Child (Element => Program.Elements.Generic_Procedure_Declarations .Generic_Procedure_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Generic_Procedure_Declarations.Name); function F49_3 is new Generic_Vector (Parent => Program.Elements.Generic_Procedure_Declarations .Generic_Procedure_Declaration, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Generic_Procedure_Declarations.Parameters); function F49_4 is new Generic_Vector (Parent => Program.Elements.Generic_Procedure_Declarations .Generic_Procedure_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Generic_Procedure_Declarations.Aspects); F49 : aliased constant Getter_Array := (1 => (True, Formal_Parameters, F49_1'Access), 2 => (False, Name, F49_2'Access), 3 => (True, Parameters, F49_3'Access), 4 => (True, Aspects, F49_4'Access)); overriding procedure Generic_Procedure_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Procedure_Declarations .Generic_Procedure_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F49'Access; end Generic_Procedure_Declaration; function F50_1 is new Generic_Vector (Parent => Program.Elements.Generic_Function_Declarations .Generic_Function_Declaration, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Generic_Function_Declarations.Formal_Parameters); function F50_2 is new Generic_Child (Element => Program.Elements.Generic_Function_Declarations .Generic_Function_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Generic_Function_Declarations.Name); function F50_3 is new Generic_Vector (Parent => Program.Elements.Generic_Function_Declarations .Generic_Function_Declaration, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Generic_Function_Declarations.Parameters); function F50_4 is new Generic_Child (Element => Program.Elements.Generic_Function_Declarations .Generic_Function_Declaration, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Generic_Function_Declarations.Result_Subtype); function F50_5 is new Generic_Vector (Parent => Program.Elements.Generic_Function_Declarations .Generic_Function_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Generic_Function_Declarations.Aspects); F50 : aliased constant Getter_Array := (1 => (True, Formal_Parameters, F50_1'Access), 2 => (False, Name, F50_2'Access), 3 => (True, Parameters, F50_3'Access), 4 => (False, Result_Subtype, F50_4'Access), 5 => (True, Aspects, F50_5'Access)); overriding procedure Generic_Function_Declaration (Self : in out Visitor; Element : not null Program.Elements.Generic_Function_Declarations .Generic_Function_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F50'Access; end Generic_Function_Declaration; function F51_1 is new Generic_Child (Element => Program.Elements.Package_Instantiations.Package_Instantiation, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Package_Instantiations.Name); function F51_2 is new Generic_Child (Element => Program.Elements.Package_Instantiations.Package_Instantiation, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Package_Instantiations.Generic_Package_Name); function F51_3 is new Generic_Vector (Parent => Program.Elements.Package_Instantiations.Package_Instantiation, Vector => Program.Elements.Parameter_Associations.Parameter_Association_Vector, Vector_Access => Program.Elements.Parameter_Associations .Parameter_Association_Vector_Access, Get_Vector => Program.Elements.Package_Instantiations.Parameters); function F51_4 is new Generic_Vector (Parent => Program.Elements.Package_Instantiations.Package_Instantiation, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Package_Instantiations.Aspects); F51 : aliased constant Getter_Array := (1 => (False, Name, F51_1'Access), 2 => (False, Generic_Package_Name, F51_2'Access), 3 => (True, Parameters, F51_3'Access), 4 => (True, Aspects, F51_4'Access)); overriding procedure Package_Instantiation (Self : in out Visitor; Element : not null Program.Elements.Package_Instantiations .Package_Instantiation_Access) is pragma Unreferenced (Element); begin Self.Result := F51'Access; end Package_Instantiation; function F52_1 is new Generic_Child (Element => Program.Elements.Procedure_Instantiations.Procedure_Instantiation, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Procedure_Instantiations.Name); function F52_2 is new Generic_Child (Element => Program.Elements.Procedure_Instantiations.Procedure_Instantiation, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Procedure_Instantiations.Generic_Procedure_Name); function F52_3 is new Generic_Vector (Parent => Program.Elements.Procedure_Instantiations.Procedure_Instantiation, Vector => Program.Elements.Parameter_Associations.Parameter_Association_Vector, Vector_Access => Program.Elements.Parameter_Associations .Parameter_Association_Vector_Access, Get_Vector => Program.Elements.Procedure_Instantiations.Parameters); function F52_4 is new Generic_Vector (Parent => Program.Elements.Procedure_Instantiations.Procedure_Instantiation, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Procedure_Instantiations.Aspects); F52 : aliased constant Getter_Array := (1 => (False, Name, F52_1'Access), 2 => (False, Generic_Procedure_Name, F52_2'Access), 3 => (True, Parameters, F52_3'Access), 4 => (True, Aspects, F52_4'Access)); overriding procedure Procedure_Instantiation (Self : in out Visitor; Element : not null Program.Elements.Procedure_Instantiations .Procedure_Instantiation_Access) is pragma Unreferenced (Element); begin Self.Result := F52'Access; end Procedure_Instantiation; function F53_1 is new Generic_Child (Element => Program.Elements.Function_Instantiations.Function_Instantiation, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Function_Instantiations.Name); function F53_2 is new Generic_Child (Element => Program.Elements.Function_Instantiations.Function_Instantiation, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Function_Instantiations.Generic_Function_Name); function F53_3 is new Generic_Vector (Parent => Program.Elements.Function_Instantiations.Function_Instantiation, Vector => Program.Elements.Parameter_Associations.Parameter_Association_Vector, Vector_Access => Program.Elements.Parameter_Associations .Parameter_Association_Vector_Access, Get_Vector => Program.Elements.Function_Instantiations.Parameters); function F53_4 is new Generic_Vector (Parent => Program.Elements.Function_Instantiations.Function_Instantiation, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Function_Instantiations.Aspects); F53 : aliased constant Getter_Array := (1 => (False, Name, F53_1'Access), 2 => (False, Generic_Function_Name, F53_2'Access), 3 => (True, Parameters, F53_3'Access), 4 => (True, Aspects, F53_4'Access)); overriding procedure Function_Instantiation (Self : in out Visitor; Element : not null Program.Elements.Function_Instantiations .Function_Instantiation_Access) is pragma Unreferenced (Element); begin Self.Result := F53'Access; end Function_Instantiation; function F54_1 is new Generic_Vector (Parent => Program.Elements.Formal_Object_Declarations.Formal_Object_Declaration, Vector => Program.Elements.Defining_Identifiers.Defining_Identifier_Vector, Vector_Access => Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access, Get_Vector => Program.Elements.Formal_Object_Declarations.Names); function F54_2 is new Generic_Child (Element => Program.Elements.Formal_Object_Declarations.Formal_Object_Declaration, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Formal_Object_Declarations.Object_Subtype); function F54_3 is new Generic_Child (Element => Program.Elements.Formal_Object_Declarations.Formal_Object_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Formal_Object_Declarations.Default_Expression); function F54_4 is new Generic_Vector (Parent => Program.Elements.Formal_Object_Declarations.Formal_Object_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Formal_Object_Declarations.Aspects); F54 : aliased constant Getter_Array := (1 => (True, Names, F54_1'Access), 2 => (False, Object_Subtype, F54_2'Access), 3 => (False, Default_Expression, F54_3'Access), 4 => (True, Aspects, F54_4'Access)); overriding procedure Formal_Object_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Object_Declarations .Formal_Object_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F54'Access; end Formal_Object_Declaration; function F55_1 is new Generic_Child (Element => Program.Elements.Formal_Type_Declarations.Formal_Type_Declaration, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Formal_Type_Declarations.Name); function F55_2 is new Generic_Child (Element => Program.Elements.Formal_Type_Declarations.Formal_Type_Declaration, Child => Program.Elements.Definitions.Definition, Child_Access => Program.Elements.Definitions.Definition_Access, Get_Child => Program.Elements.Formal_Type_Declarations.Discriminant_Part); function F55_3 is new Generic_Child (Element => Program.Elements.Formal_Type_Declarations.Formal_Type_Declaration, Child => Program.Elements.Formal_Type_Definitions.Formal_Type_Definition, Child_Access => Program.Elements.Formal_Type_Definitions.Formal_Type_Definition_Access, Get_Child => Program.Elements.Formal_Type_Declarations.Definition); function F55_4 is new Generic_Vector (Parent => Program.Elements.Formal_Type_Declarations.Formal_Type_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Formal_Type_Declarations.Aspects); F55 : aliased constant Getter_Array := (1 => (False, Name, F55_1'Access), 2 => (False, Discriminant_Part, F55_2'Access), 3 => (False, Definition, F55_3'Access), 4 => (True, Aspects, F55_4'Access)); overriding procedure Formal_Type_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Type_Declarations .Formal_Type_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F55'Access; end Formal_Type_Declaration; function F56_1 is new Generic_Child (Element => Program.Elements.Formal_Procedure_Declarations .Formal_Procedure_Declaration, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Formal_Procedure_Declarations.Name); function F56_2 is new Generic_Vector (Parent => Program.Elements.Formal_Procedure_Declarations .Formal_Procedure_Declaration, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Formal_Procedure_Declarations.Parameters); function F56_3 is new Generic_Child (Element => Program.Elements.Formal_Procedure_Declarations .Formal_Procedure_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Formal_Procedure_Declarations.Subprogram_Default); function F56_4 is new Generic_Vector (Parent => Program.Elements.Formal_Procedure_Declarations .Formal_Procedure_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Formal_Procedure_Declarations.Aspects); F56 : aliased constant Getter_Array := (1 => (False, Name, F56_1'Access), 2 => (True, Parameters, F56_2'Access), 3 => (False, Subprogram_Default, F56_3'Access), 4 => (True, Aspects, F56_4'Access)); overriding procedure Formal_Procedure_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Procedure_Declarations .Formal_Procedure_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F56'Access; end Formal_Procedure_Declaration; function F57_1 is new Generic_Child (Element => Program.Elements.Formal_Function_Declarations .Formal_Function_Declaration, Child => Program.Elements.Defining_Names.Defining_Name, Child_Access => Program.Elements.Defining_Names.Defining_Name_Access, Get_Child => Program.Elements.Formal_Function_Declarations.Name); function F57_2 is new Generic_Vector (Parent => Program.Elements.Formal_Function_Declarations .Formal_Function_Declaration, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Formal_Function_Declarations.Parameters); function F57_3 is new Generic_Child (Element => Program.Elements.Formal_Function_Declarations .Formal_Function_Declaration, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Formal_Function_Declarations.Result_Subtype); function F57_4 is new Generic_Child (Element => Program.Elements.Formal_Function_Declarations .Formal_Function_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Formal_Function_Declarations.Subprogram_Default); function F57_5 is new Generic_Vector (Parent => Program.Elements.Formal_Function_Declarations .Formal_Function_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Formal_Function_Declarations.Aspects); F57 : aliased constant Getter_Array := (1 => (False, Name, F57_1'Access), 2 => (True, Parameters, F57_2'Access), 3 => (False, Result_Subtype, F57_3'Access), 4 => (False, Subprogram_Default, F57_4'Access), 5 => (True, Aspects, F57_5'Access)); overriding procedure Formal_Function_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Function_Declarations .Formal_Function_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F57'Access; end Formal_Function_Declaration; function F58_1 is new Generic_Child (Element => Program.Elements.Formal_Package_Declarations .Formal_Package_Declaration, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Formal_Package_Declarations.Name); function F58_2 is new Generic_Child (Element => Program.Elements.Formal_Package_Declarations .Formal_Package_Declaration, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Formal_Package_Declarations.Generic_Package_Name); function F58_3 is new Generic_Vector (Parent => Program.Elements.Formal_Package_Declarations .Formal_Package_Declaration, Vector => Program.Elements.Formal_Package_Associations .Formal_Package_Association_Vector, Vector_Access => Program.Elements.Formal_Package_Associations .Formal_Package_Association_Vector_Access, Get_Vector => Program.Elements.Formal_Package_Declarations.Parameters); function F58_4 is new Generic_Vector (Parent => Program.Elements.Formal_Package_Declarations .Formal_Package_Declaration, Vector => Program.Elements.Aspect_Specifications.Aspect_Specification_Vector, Vector_Access => Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access, Get_Vector => Program.Elements.Formal_Package_Declarations.Aspects); F58 : aliased constant Getter_Array := (1 => (False, Name, F58_1'Access), 2 => (False, Generic_Package_Name, F58_2'Access), 3 => (True, Parameters, F58_3'Access), 4 => (True, Aspects, F58_4'Access)); overriding procedure Formal_Package_Declaration (Self : in out Visitor; Element : not null Program.Elements.Formal_Package_Declarations .Formal_Package_Declaration_Access) is pragma Unreferenced (Element); begin Self.Result := F58'Access; end Formal_Package_Declaration; function F59_1 is new Generic_Child (Element => Program.Elements.Subtype_Indications.Subtype_Indication, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Subtype_Indications.Subtype_Mark); function F59_2 is new Generic_Child (Element => Program.Elements.Subtype_Indications.Subtype_Indication, Child => Program.Elements.Constraints.Constraint, Child_Access => Program.Elements.Constraints.Constraint_Access, Get_Child => Program.Elements.Subtype_Indications.Constraint); F59 : aliased constant Getter_Array := (1 => (False, Subtype_Mark, F59_1'Access), 2 => (False, Constraint, F59_2'Access)); overriding procedure Subtype_Indication (Self : in out Visitor; Element : not null Program.Elements.Subtype_Indications .Subtype_Indication_Access) is pragma Unreferenced (Element); begin Self.Result := F59'Access; end Subtype_Indication; function F60_1 is new Generic_Child (Element => Program.Elements.Component_Definitions.Component_Definition, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Component_Definitions.Subtype_Indication); F60 : aliased constant Getter_Array := (1 => (False, Subtype_Indication, F60_1'Access)); overriding procedure Component_Definition (Self : in out Visitor; Element : not null Program.Elements.Component_Definitions .Component_Definition_Access) is pragma Unreferenced (Element); begin Self.Result := F60'Access; end Component_Definition; function F61_1 is new Generic_Child (Element => Program.Elements.Discrete_Subtype_Indications .Discrete_Subtype_Indication, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Discrete_Subtype_Indications.Subtype_Mark); function F61_2 is new Generic_Child (Element => Program.Elements.Discrete_Subtype_Indications .Discrete_Subtype_Indication, Child => Program.Elements.Constraints.Constraint, Child_Access => Program.Elements.Constraints.Constraint_Access, Get_Child => Program.Elements.Discrete_Subtype_Indications.Constraint); F61 : aliased constant Getter_Array := (1 => (False, Subtype_Mark, F61_1'Access), 2 => (False, Constraint, F61_2'Access)); overriding procedure Discrete_Subtype_Indication (Self : in out Visitor; Element : not null Program.Elements.Discrete_Subtype_Indications .Discrete_Subtype_Indication_Access) is pragma Unreferenced (Element); begin Self.Result := F61'Access; end Discrete_Subtype_Indication; function F62_1 is new Generic_Child (Element => Program.Elements.Discrete_Range_Attribute_References .Discrete_Range_Attribute_Reference, Child => Program.Elements.Attribute_References.Attribute_Reference, Child_Access => Program.Elements.Attribute_References.Attribute_Reference_Access, Get_Child => Program.Elements.Discrete_Range_Attribute_References.Range_Attribute); F62 : aliased constant Getter_Array := (1 => (False, Range_Attribute, F62_1'Access)); overriding procedure Discrete_Range_Attribute_Reference (Self : in out Visitor; Element : not null Program.Elements.Discrete_Range_Attribute_References .Discrete_Range_Attribute_Reference_Access) is pragma Unreferenced (Element); begin Self.Result := F62'Access; end Discrete_Range_Attribute_Reference; function F63_1 is new Generic_Child (Element => Program.Elements.Discrete_Simple_Expression_Ranges .Discrete_Simple_Expression_Range, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Discrete_Simple_Expression_Ranges.Lower_Bound); function F63_2 is new Generic_Child (Element => Program.Elements.Discrete_Simple_Expression_Ranges .Discrete_Simple_Expression_Range, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Discrete_Simple_Expression_Ranges.Upper_Bound); F63 : aliased constant Getter_Array := (1 => (False, Lower_Bound, F63_1'Access), 2 => (False, Upper_Bound, F63_2'Access)); overriding procedure Discrete_Simple_Expression_Range (Self : in out Visitor; Element : not null Program.Elements.Discrete_Simple_Expression_Ranges .Discrete_Simple_Expression_Range_Access) is pragma Unreferenced (Element); begin Self.Result := F63'Access; end Discrete_Simple_Expression_Range; function F65_1 is new Generic_Vector (Parent => Program.Elements.Known_Discriminant_Parts.Known_Discriminant_Part, Vector => Program.Elements.Discriminant_Specifications .Discriminant_Specification_Vector, Vector_Access => Program.Elements.Discriminant_Specifications .Discriminant_Specification_Vector_Access, Get_Vector => Program.Elements.Known_Discriminant_Parts.Discriminants); F65 : aliased constant Getter_Array := (1 => (True, Discriminants, F65_1'Access)); overriding procedure Known_Discriminant_Part (Self : in out Visitor; Element : not null Program.Elements.Known_Discriminant_Parts .Known_Discriminant_Part_Access) is pragma Unreferenced (Element); begin Self.Result := F65'Access; end Known_Discriminant_Part; function F66_1 is new Generic_Vector (Parent => Program.Elements.Record_Definitions.Record_Definition, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Record_Definitions.Components); F66 : aliased constant Getter_Array := (1 => (True, Components, F66_1'Access)); overriding procedure Record_Definition (Self : in out Visitor; Element : not null Program.Elements.Record_Definitions .Record_Definition_Access) is pragma Unreferenced (Element); begin Self.Result := F66'Access; end Record_Definition; function F68_1 is new Generic_Child (Element => Program.Elements.Variant_Parts.Variant_Part, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.Variant_Parts.Discriminant); function F68_2 is new Generic_Vector (Parent => Program.Elements.Variant_Parts.Variant_Part, Vector => Program.Elements.Variants.Variant_Vector, Vector_Access => Program.Elements.Variants.Variant_Vector_Access, Get_Vector => Program.Elements.Variant_Parts.Variants); F68 : aliased constant Getter_Array := (1 => (False, Discriminant, F68_1'Access), 2 => (True, Variants, F68_2'Access)); overriding procedure Variant_Part (Self : in out Visitor; Element : not null Program.Elements.Variant_Parts.Variant_Part_Access) is pragma Unreferenced (Element); begin Self.Result := F68'Access; end Variant_Part; function F69_1 is new Generic_Vector (Parent => Program.Elements.Variants.Variant, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Variants.Choices); function F69_2 is new Generic_Vector (Parent => Program.Elements.Variants.Variant, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Variants.Components); F69 : aliased constant Getter_Array := (1 => (True, Choices, F69_1'Access), 2 => (True, Components, F69_2'Access)); overriding procedure Variant (Self : in out Visitor; Element : not null Program.Elements.Variants.Variant_Access) is pragma Unreferenced (Element); begin Self.Result := F69'Access; end Variant; function F71_1 is new Generic_Child (Element => Program.Elements.Anonymous_Access_To_Objects .Anonymous_Access_To_Object, Child => Program.Elements.Subtype_Indications.Subtype_Indication, Child_Access => Program.Elements.Subtype_Indications.Subtype_Indication_Access, Get_Child => Program.Elements.Anonymous_Access_To_Objects.Subtype_Indication); F71 : aliased constant Getter_Array := (1 => (False, Subtype_Indication, F71_1'Access)); overriding procedure Anonymous_Access_To_Object (Self : in out Visitor; Element : not null Program.Elements.Anonymous_Access_To_Objects .Anonymous_Access_To_Object_Access) is pragma Unreferenced (Element); begin Self.Result := F71'Access; end Anonymous_Access_To_Object; function F72_1 is new Generic_Vector (Parent => Program.Elements.Anonymous_Access_To_Procedures .Anonymous_Access_To_Procedure, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Anonymous_Access_To_Procedures.Parameters); F72 : aliased constant Getter_Array := (1 => (True, Parameters, F72_1'Access)); overriding procedure Anonymous_Access_To_Procedure (Self : in out Visitor; Element : not null Program.Elements.Anonymous_Access_To_Procedures .Anonymous_Access_To_Procedure_Access) is pragma Unreferenced (Element); begin Self.Result := F72'Access; end Anonymous_Access_To_Procedure; function F73_1 is new Generic_Vector (Parent => Program.Elements.Anonymous_Access_To_Functions .Anonymous_Access_To_Function, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Anonymous_Access_To_Functions.Parameters); function F73_2 is new Generic_Child (Element => Program.Elements.Anonymous_Access_To_Functions .Anonymous_Access_To_Function, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Anonymous_Access_To_Functions.Result_Subtype); F73 : aliased constant Getter_Array := (1 => (True, Parameters, F73_1'Access), 2 => (False, Result_Subtype, F73_2'Access)); overriding procedure Anonymous_Access_To_Function (Self : in out Visitor; Element : not null Program.Elements.Anonymous_Access_To_Functions .Anonymous_Access_To_Function_Access) is pragma Unreferenced (Element); begin Self.Result := F73'Access; end Anonymous_Access_To_Function; function F75_1 is new Generic_Child (Element => Program.Elements.Private_Extension_Definitions .Private_Extension_Definition, Child => Program.Elements.Subtype_Indications.Subtype_Indication, Child_Access => Program.Elements.Subtype_Indications.Subtype_Indication_Access, Get_Child => Program.Elements.Private_Extension_Definitions.Ancestor); function F75_2 is new Generic_Vector (Parent => Program.Elements.Private_Extension_Definitions .Private_Extension_Definition, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Private_Extension_Definitions.Progenitors); F75 : aliased constant Getter_Array := (1 => (False, Ancestor, F75_1'Access), 2 => (True, Progenitors, F75_2'Access)); overriding procedure Private_Extension_Definition (Self : in out Visitor; Element : not null Program.Elements.Private_Extension_Definitions .Private_Extension_Definition_Access) is pragma Unreferenced (Element); begin Self.Result := F75'Access; end Private_Extension_Definition; function F77_1 is new Generic_Vector (Parent => Program.Elements.Task_Definitions.Task_Definition, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Task_Definitions.Visible_Declarations); function F77_2 is new Generic_Vector (Parent => Program.Elements.Task_Definitions.Task_Definition, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Task_Definitions.Private_Declarations); function F77_3 is new Generic_Child (Element => Program.Elements.Task_Definitions.Task_Definition, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.Task_Definitions.End_Name); F77 : aliased constant Getter_Array := (1 => (True, Visible_Declarations, F77_1'Access), 2 => (True, Private_Declarations, F77_2'Access), 3 => (False, End_Name, F77_3'Access)); overriding procedure Task_Definition (Self : in out Visitor; Element : not null Program.Elements.Task_Definitions .Task_Definition_Access) is pragma Unreferenced (Element); begin Self.Result := F77'Access; end Task_Definition; function F78_1 is new Generic_Vector (Parent => Program.Elements.Protected_Definitions.Protected_Definition, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Protected_Definitions.Visible_Declarations); function F78_2 is new Generic_Vector (Parent => Program.Elements.Protected_Definitions.Protected_Definition, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Protected_Definitions.Private_Declarations); function F78_3 is new Generic_Child (Element => Program.Elements.Protected_Definitions.Protected_Definition, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.Protected_Definitions.End_Name); F78 : aliased constant Getter_Array := (1 => (True, Visible_Declarations, F78_1'Access), 2 => (True, Private_Declarations, F78_2'Access), 3 => (False, End_Name, F78_3'Access)); overriding procedure Protected_Definition (Self : in out Visitor; Element : not null Program.Elements.Protected_Definitions .Protected_Definition_Access) is pragma Unreferenced (Element); begin Self.Result := F78'Access; end Protected_Definition; function F79_1 is new Generic_Child (Element => Program.Elements.Aspect_Specifications.Aspect_Specification, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Aspect_Specifications.Aspect_Mark); function F79_2 is new Generic_Child (Element => Program.Elements.Aspect_Specifications.Aspect_Specification, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Aspect_Specifications.Aspect_Definition); F79 : aliased constant Getter_Array := (1 => (False, Aspect_Mark, F79_1'Access), 2 => (False, Aspect_Definition, F79_2'Access)); overriding procedure Aspect_Specification (Self : in out Visitor; Element : not null Program.Elements.Aspect_Specifications .Aspect_Specification_Access) is pragma Unreferenced (Element); begin Self.Result := F79'Access; end Aspect_Specification; function F80_1 is new Generic_Child (Element => Program.Elements.Real_Range_Specifications.Real_Range_Specification, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Real_Range_Specifications.Lower_Bound); function F80_2 is new Generic_Child (Element => Program.Elements.Real_Range_Specifications.Real_Range_Specification, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Real_Range_Specifications.Upper_Bound); F80 : aliased constant Getter_Array := (1 => (False, Lower_Bound, F80_1'Access), 2 => (False, Upper_Bound, F80_2'Access)); overriding procedure Real_Range_Specification (Self : in out Visitor; Element : not null Program.Elements.Real_Range_Specifications .Real_Range_Specification_Access) is pragma Unreferenced (Element); begin Self.Result := F80'Access; end Real_Range_Specification; function F86_1 is new Generic_Child (Element => Program.Elements.Explicit_Dereferences.Explicit_Dereference, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Explicit_Dereferences.Prefix); F86 : aliased constant Getter_Array := (1 => (False, Prefix, F86_1'Access)); overriding procedure Explicit_Dereference (Self : in out Visitor; Element : not null Program.Elements.Explicit_Dereferences .Explicit_Dereference_Access) is pragma Unreferenced (Element); begin Self.Result := F86'Access; end Explicit_Dereference; function F87_1 is new Generic_Child (Element => Program.Elements.Infix_Operators.Infix_Operator, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Infix_Operators.Left); function F87_2 is new Generic_Child (Element => Program.Elements.Infix_Operators.Infix_Operator, Child => Program.Elements.Operator_Symbols.Operator_Symbol, Child_Access => Program.Elements.Operator_Symbols.Operator_Symbol_Access, Get_Child => Program.Elements.Infix_Operators.Operator); function F87_3 is new Generic_Child (Element => Program.Elements.Infix_Operators.Infix_Operator, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Infix_Operators.Right); F87 : aliased constant Getter_Array := (1 => (False, Left, F87_1'Access), 2 => (False, Operator, F87_2'Access), 3 => (False, Right, F87_3'Access)); overriding procedure Infix_Operator (Self : in out Visitor; Element : not null Program.Elements.Infix_Operators .Infix_Operator_Access) is pragma Unreferenced (Element); begin Self.Result := F87'Access; end Infix_Operator; function F88_1 is new Generic_Child (Element => Program.Elements.Function_Calls.Function_Call, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Function_Calls.Prefix); function F88_2 is new Generic_Vector (Parent => Program.Elements.Function_Calls.Function_Call, Vector => Program.Elements.Parameter_Associations.Parameter_Association_Vector, Vector_Access => Program.Elements.Parameter_Associations .Parameter_Association_Vector_Access, Get_Vector => Program.Elements.Function_Calls.Parameters); F88 : aliased constant Getter_Array := (1 => (False, Prefix, F88_1'Access), 2 => (True, Parameters, F88_2'Access)); overriding procedure Function_Call (Self : in out Visitor; Element : not null Program.Elements.Function_Calls .Function_Call_Access) is pragma Unreferenced (Element); begin Self.Result := F88'Access; end Function_Call; function F89_1 is new Generic_Child (Element => Program.Elements.Indexed_Components.Indexed_Component, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Indexed_Components.Prefix); function F89_2 is new Generic_Vector (Parent => Program.Elements.Indexed_Components.Indexed_Component, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Indexed_Components.Expressions); F89 : aliased constant Getter_Array := (1 => (False, Prefix, F89_1'Access), 2 => (True, Expressions, F89_2'Access)); overriding procedure Indexed_Component (Self : in out Visitor; Element : not null Program.Elements.Indexed_Components .Indexed_Component_Access) is pragma Unreferenced (Element); begin Self.Result := F89'Access; end Indexed_Component; function F90_1 is new Generic_Child (Element => Program.Elements.Slices.Slice, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Slices.Prefix); function F90_2 is new Generic_Child (Element => Program.Elements.Slices.Slice, Child => Program.Elements.Discrete_Ranges.Discrete_Range, Child_Access => Program.Elements.Discrete_Ranges.Discrete_Range_Access, Get_Child => Program.Elements.Slices.Slice_Range); F90 : aliased constant Getter_Array := (1 => (False, Prefix, F90_1'Access), 2 => (False, Slice_Range, F90_2'Access)); overriding procedure Slice (Self : in out Visitor; Element : not null Program.Elements.Slices.Slice_Access) is pragma Unreferenced (Element); begin Self.Result := F90'Access; end Slice; function F91_1 is new Generic_Child (Element => Program.Elements.Selected_Components.Selected_Component, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Selected_Components.Prefix); function F91_2 is new Generic_Child (Element => Program.Elements.Selected_Components.Selected_Component, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Selected_Components.Selector); F91 : aliased constant Getter_Array := (1 => (False, Prefix, F91_1'Access), 2 => (False, Selector, F91_2'Access)); overriding procedure Selected_Component (Self : in out Visitor; Element : not null Program.Elements.Selected_Components .Selected_Component_Access) is pragma Unreferenced (Element); begin Self.Result := F91'Access; end Selected_Component; function F92_1 is new Generic_Child (Element => Program.Elements.Attribute_References.Attribute_Reference, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Attribute_References.Prefix); function F92_2 is new Generic_Child (Element => Program.Elements.Attribute_References.Attribute_Reference, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.Attribute_References.Attribute_Designator); function F92_3 is new Generic_Child (Element => Program.Elements.Attribute_References.Attribute_Reference, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Attribute_References.Expressions); F92 : aliased constant Getter_Array := (1 => (False, Prefix, F92_1'Access), 2 => (False, Attribute_Designator, F92_2'Access), 3 => (False, Expressions, F92_3'Access)); overriding procedure Attribute_Reference (Self : in out Visitor; Element : not null Program.Elements.Attribute_References .Attribute_Reference_Access) is pragma Unreferenced (Element); begin Self.Result := F92'Access; end Attribute_Reference; function F93_1 is new Generic_Vector (Parent => Program.Elements.Record_Aggregates.Record_Aggregate, Vector => Program.Elements.Record_Component_Associations .Record_Component_Association_Vector, Vector_Access => Program.Elements.Record_Component_Associations .Record_Component_Association_Vector_Access, Get_Vector => Program.Elements.Record_Aggregates.Components); F93 : aliased constant Getter_Array := (1 => (True, Components, F93_1'Access)); overriding procedure Record_Aggregate (Self : in out Visitor; Element : not null Program.Elements.Record_Aggregates .Record_Aggregate_Access) is pragma Unreferenced (Element); begin Self.Result := F93'Access; end Record_Aggregate; function F94_1 is new Generic_Child (Element => Program.Elements.Extension_Aggregates.Extension_Aggregate, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Extension_Aggregates.Ancestor); function F94_2 is new Generic_Vector (Parent => Program.Elements.Extension_Aggregates.Extension_Aggregate, Vector => Program.Elements.Record_Component_Associations .Record_Component_Association_Vector, Vector_Access => Program.Elements.Record_Component_Associations .Record_Component_Association_Vector_Access, Get_Vector => Program.Elements.Extension_Aggregates.Components); F94 : aliased constant Getter_Array := (1 => (False, Ancestor, F94_1'Access), 2 => (True, Components, F94_2'Access)); overriding procedure Extension_Aggregate (Self : in out Visitor; Element : not null Program.Elements.Extension_Aggregates .Extension_Aggregate_Access) is pragma Unreferenced (Element); begin Self.Result := F94'Access; end Extension_Aggregate; function F95_1 is new Generic_Vector (Parent => Program.Elements.Array_Aggregates.Array_Aggregate, Vector => Program.Elements.Array_Component_Associations .Array_Component_Association_Vector, Vector_Access => Program.Elements.Array_Component_Associations .Array_Component_Association_Vector_Access, Get_Vector => Program.Elements.Array_Aggregates.Components); F95 : aliased constant Getter_Array := (1 => (True, Components, F95_1'Access)); overriding procedure Array_Aggregate (Self : in out Visitor; Element : not null Program.Elements.Array_Aggregates .Array_Aggregate_Access) is pragma Unreferenced (Element); begin Self.Result := F95'Access; end Array_Aggregate; function F96_1 is new Generic_Child (Element => Program.Elements.Short_Circuit_Operations.Short_Circuit_Operation, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Short_Circuit_Operations.Left); function F96_2 is new Generic_Child (Element => Program.Elements.Short_Circuit_Operations.Short_Circuit_Operation, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Short_Circuit_Operations.Right); F96 : aliased constant Getter_Array := (1 => (False, Left, F96_1'Access), 2 => (False, Right, F96_2'Access)); overriding procedure Short_Circuit_Operation (Self : in out Visitor; Element : not null Program.Elements.Short_Circuit_Operations .Short_Circuit_Operation_Access) is pragma Unreferenced (Element); begin Self.Result := F96'Access; end Short_Circuit_Operation; function F97_1 is new Generic_Child (Element => Program.Elements.Membership_Tests.Membership_Test, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Membership_Tests.Expression); function F97_2 is new Generic_Vector (Parent => Program.Elements.Membership_Tests.Membership_Test, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Membership_Tests.Choices); F97 : aliased constant Getter_Array := (1 => (False, Expression, F97_1'Access), 2 => (True, Choices, F97_2'Access)); overriding procedure Membership_Test (Self : in out Visitor; Element : not null Program.Elements.Membership_Tests .Membership_Test_Access) is pragma Unreferenced (Element); begin Self.Result := F97'Access; end Membership_Test; function F99_1 is new Generic_Child (Element => Program.Elements.Parenthesized_Expressions.Parenthesized_Expression, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Parenthesized_Expressions.Expression); F99 : aliased constant Getter_Array := (1 => (False, Expression, F99_1'Access)); overriding procedure Parenthesized_Expression (Self : in out Visitor; Element : not null Program.Elements.Parenthesized_Expressions .Parenthesized_Expression_Access) is pragma Unreferenced (Element); begin Self.Result := F99'Access; end Parenthesized_Expression; function F100_1 is new Generic_Child (Element => Program.Elements.Raise_Expressions.Raise_Expression, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Raise_Expressions.Exception_Name); function F100_2 is new Generic_Child (Element => Program.Elements.Raise_Expressions.Raise_Expression, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Raise_Expressions.Associated_Message); F100 : aliased constant Getter_Array := (1 => (False, Exception_Name, F100_1'Access), 2 => (False, Associated_Message, F100_2'Access)); overriding procedure Raise_Expression (Self : in out Visitor; Element : not null Program.Elements.Raise_Expressions .Raise_Expression_Access) is pragma Unreferenced (Element); begin Self.Result := F100'Access; end Raise_Expression; function F101_1 is new Generic_Child (Element => Program.Elements.Type_Conversions.Type_Conversion, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Type_Conversions.Subtype_Mark); function F101_2 is new Generic_Child (Element => Program.Elements.Type_Conversions.Type_Conversion, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Type_Conversions.Operand); F101 : aliased constant Getter_Array := (1 => (False, Subtype_Mark, F101_1'Access), 2 => (False, Operand, F101_2'Access)); overriding procedure Type_Conversion (Self : in out Visitor; Element : not null Program.Elements.Type_Conversions .Type_Conversion_Access) is pragma Unreferenced (Element); begin Self.Result := F101'Access; end Type_Conversion; function F102_1 is new Generic_Child (Element => Program.Elements.Qualified_Expressions.Qualified_Expression, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Qualified_Expressions.Subtype_Mark); function F102_2 is new Generic_Child (Element => Program.Elements.Qualified_Expressions.Qualified_Expression, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Qualified_Expressions.Operand); F102 : aliased constant Getter_Array := (1 => (False, Subtype_Mark, F102_1'Access), 2 => (False, Operand, F102_2'Access)); overriding procedure Qualified_Expression (Self : in out Visitor; Element : not null Program.Elements.Qualified_Expressions .Qualified_Expression_Access) is pragma Unreferenced (Element); begin Self.Result := F102'Access; end Qualified_Expression; function F103_1 is new Generic_Child (Element => Program.Elements.Allocators.Allocator, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Allocators.Subpool_Name); function F103_2 is new Generic_Child (Element => Program.Elements.Allocators.Allocator, Child => Program.Elements.Subtype_Indications.Subtype_Indication, Child_Access => Program.Elements.Subtype_Indications.Subtype_Indication_Access, Get_Child => Program.Elements.Allocators.Subtype_Indication); function F103_3 is new Generic_Child (Element => Program.Elements.Allocators.Allocator, Child => Program.Elements.Qualified_Expressions.Qualified_Expression, Child_Access => Program.Elements.Qualified_Expressions.Qualified_Expression_Access, Get_Child => Program.Elements.Allocators.Qualified_Expression); F103 : aliased constant Getter_Array := (1 => (False, Subpool_Name, F103_1'Access), 2 => (False, Subtype_Indication, F103_2'Access), 3 => (False, Qualified_Expression, F103_3'Access)); overriding procedure Allocator (Self : in out Visitor; Element : not null Program.Elements.Allocators.Allocator_Access) is pragma Unreferenced (Element); begin Self.Result := F103'Access; end Allocator; function F104_1 is new Generic_Child (Element => Program.Elements.Case_Expressions.Case_Expression, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Case_Expressions.Selecting_Expression); function F104_2 is new Generic_Vector (Parent => Program.Elements.Case_Expressions.Case_Expression, Vector => Program.Elements.Case_Expression_Paths.Case_Expression_Path_Vector, Vector_Access => Program.Elements.Case_Expression_Paths .Case_Expression_Path_Vector_Access, Get_Vector => Program.Elements.Case_Expressions.Paths); F104 : aliased constant Getter_Array := (1 => (False, Selecting_Expression, F104_1'Access), 2 => (True, Paths, F104_2'Access)); overriding procedure Case_Expression (Self : in out Visitor; Element : not null Program.Elements.Case_Expressions .Case_Expression_Access) is pragma Unreferenced (Element); begin Self.Result := F104'Access; end Case_Expression; function F105_1 is new Generic_Child (Element => Program.Elements.If_Expressions.If_Expression, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.If_Expressions.Condition); function F105_2 is new Generic_Child (Element => Program.Elements.If_Expressions.If_Expression, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.If_Expressions.Then_Expression); function F105_3 is new Generic_Vector (Parent => Program.Elements.If_Expressions.If_Expression, Vector => Program.Elements.Elsif_Paths.Elsif_Path_Vector, Vector_Access => Program.Elements.Elsif_Paths.Elsif_Path_Vector_Access, Get_Vector => Program.Elements.If_Expressions.Elsif_Paths); function F105_4 is new Generic_Child (Element => Program.Elements.If_Expressions.If_Expression, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.If_Expressions.Else_Expression); F105 : aliased constant Getter_Array := (1 => (False, Condition, F105_1'Access), 2 => (False, Then_Expression, F105_2'Access), 3 => (True, Elsif_Paths, F105_3'Access), 4 => (False, Else_Expression, F105_4'Access)); overriding procedure If_Expression (Self : in out Visitor; Element : not null Program.Elements.If_Expressions .If_Expression_Access) is pragma Unreferenced (Element); begin Self.Result := F105'Access; end If_Expression; function F106_1 is new Generic_Child (Element => Program.Elements.Quantified_Expressions.Quantified_Expression, Child => Program.Elements.Loop_Parameter_Specifications .Loop_Parameter_Specification, Child_Access => Program.Elements.Loop_Parameter_Specifications .Loop_Parameter_Specification_Access, Get_Child => Program.Elements.Quantified_Expressions.Parameter); function F106_2 is new Generic_Child (Element => Program.Elements.Quantified_Expressions.Quantified_Expression, Child => Program.Elements.Generalized_Iterator_Specifications .Generalized_Iterator_Specification, Child_Access => Program.Elements.Generalized_Iterator_Specifications .Generalized_Iterator_Specification_Access, Get_Child => Program.Elements.Quantified_Expressions.Generalized_Iterator); function F106_3 is new Generic_Child (Element => Program.Elements.Quantified_Expressions.Quantified_Expression, Child => Program.Elements.Element_Iterator_Specifications .Element_Iterator_Specification, Child_Access => Program.Elements.Element_Iterator_Specifications .Element_Iterator_Specification_Access, Get_Child => Program.Elements.Quantified_Expressions.Element_Iterator); function F106_4 is new Generic_Child (Element => Program.Elements.Quantified_Expressions.Quantified_Expression, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Quantified_Expressions.Predicate); F106 : aliased constant Getter_Array := (1 => (False, Parameter, F106_1'Access), 2 => (False, Generalized_Iterator, F106_2'Access), 3 => (False, Element_Iterator, F106_3'Access), 4 => (False, Predicate, F106_4'Access)); overriding procedure Quantified_Expression (Self : in out Visitor; Element : not null Program.Elements.Quantified_Expressions .Quantified_Expression_Access) is pragma Unreferenced (Element); begin Self.Result := F106'Access; end Quantified_Expression; function F107_1 is new Generic_Vector (Parent => Program.Elements.Discriminant_Associations.Discriminant_Association, Vector => Program.Elements.Identifiers.Identifier_Vector, Vector_Access => Program.Elements.Identifiers.Identifier_Vector_Access, Get_Vector => Program.Elements.Discriminant_Associations.Selector_Names); function F107_2 is new Generic_Child (Element => Program.Elements.Discriminant_Associations.Discriminant_Association, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Discriminant_Associations.Expression); F107 : aliased constant Getter_Array := (1 => (True, Selector_Names, F107_1'Access), 2 => (False, Expression, F107_2'Access)); overriding procedure Discriminant_Association (Self : in out Visitor; Element : not null Program.Elements.Discriminant_Associations .Discriminant_Association_Access) is pragma Unreferenced (Element); begin Self.Result := F107'Access; end Discriminant_Association; function F108_1 is new Generic_Vector (Parent => Program.Elements.Record_Component_Associations .Record_Component_Association, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Record_Component_Associations.Choices); function F108_2 is new Generic_Child (Element => Program.Elements.Record_Component_Associations .Record_Component_Association, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Record_Component_Associations.Expression); F108 : aliased constant Getter_Array := (1 => (True, Choices, F108_1'Access), 2 => (False, Expression, F108_2'Access)); overriding procedure Record_Component_Association (Self : in out Visitor; Element : not null Program.Elements.Record_Component_Associations .Record_Component_Association_Access) is pragma Unreferenced (Element); begin Self.Result := F108'Access; end Record_Component_Association; function F109_1 is new Generic_Vector (Parent => Program.Elements.Array_Component_Associations .Array_Component_Association, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Array_Component_Associations.Choices); function F109_2 is new Generic_Child (Element => Program.Elements.Array_Component_Associations .Array_Component_Association, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Array_Component_Associations.Expression); F109 : aliased constant Getter_Array := (1 => (True, Choices, F109_1'Access), 2 => (False, Expression, F109_2'Access)); overriding procedure Array_Component_Association (Self : in out Visitor; Element : not null Program.Elements.Array_Component_Associations .Array_Component_Association_Access) is pragma Unreferenced (Element); begin Self.Result := F109'Access; end Array_Component_Association; function F110_1 is new Generic_Child (Element => Program.Elements.Parameter_Associations.Parameter_Association, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Parameter_Associations.Formal_Parameter); function F110_2 is new Generic_Child (Element => Program.Elements.Parameter_Associations.Parameter_Association, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Parameter_Associations.Actual_Parameter); F110 : aliased constant Getter_Array := (1 => (False, Formal_Parameter, F110_1'Access), 2 => (False, Actual_Parameter, F110_2'Access)); overriding procedure Parameter_Association (Self : in out Visitor; Element : not null Program.Elements.Parameter_Associations .Parameter_Association_Access) is pragma Unreferenced (Element); begin Self.Result := F110'Access; end Parameter_Association; function F111_1 is new Generic_Child (Element => Program.Elements.Formal_Package_Associations .Formal_Package_Association, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Formal_Package_Associations.Formal_Parameter); function F111_2 is new Generic_Child (Element => Program.Elements.Formal_Package_Associations .Formal_Package_Association, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Formal_Package_Associations.Actual_Parameter); F111 : aliased constant Getter_Array := (1 => (False, Formal_Parameter, F111_1'Access), 2 => (False, Actual_Parameter, F111_2'Access)); overriding procedure Formal_Package_Association (Self : in out Visitor; Element : not null Program.Elements.Formal_Package_Associations .Formal_Package_Association_Access) is pragma Unreferenced (Element); begin Self.Result := F111'Access; end Formal_Package_Association; function F113_1 is new Generic_Child (Element => Program.Elements.Assignment_Statements.Assignment_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Assignment_Statements.Variable_Name); function F113_2 is new Generic_Child (Element => Program.Elements.Assignment_Statements.Assignment_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Assignment_Statements.Expression); F113 : aliased constant Getter_Array := (1 => (False, Variable_Name, F113_1'Access), 2 => (False, Expression, F113_2'Access)); overriding procedure Assignment_Statement (Self : in out Visitor; Element : not null Program.Elements.Assignment_Statements .Assignment_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F113'Access; end Assignment_Statement; function F114_1 is new Generic_Child (Element => Program.Elements.If_Statements.If_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.If_Statements.Condition); function F114_2 is new Generic_Vector (Parent => Program.Elements.If_Statements.If_Statement, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.If_Statements.Then_Statements); function F114_3 is new Generic_Vector (Parent => Program.Elements.If_Statements.If_Statement, Vector => Program.Elements.Elsif_Paths.Elsif_Path_Vector, Vector_Access => Program.Elements.Elsif_Paths.Elsif_Path_Vector_Access, Get_Vector => Program.Elements.If_Statements.Elsif_Paths); function F114_4 is new Generic_Vector (Parent => Program.Elements.If_Statements.If_Statement, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.If_Statements.Else_Statements); F114 : aliased constant Getter_Array := (1 => (False, Condition, F114_1'Access), 2 => (True, Then_Statements, F114_2'Access), 3 => (True, Elsif_Paths, F114_3'Access), 4 => (True, Else_Statements, F114_4'Access)); overriding procedure If_Statement (Self : in out Visitor; Element : not null Program.Elements.If_Statements.If_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F114'Access; end If_Statement; function F115_1 is new Generic_Child (Element => Program.Elements.Case_Statements.Case_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Case_Statements.Selecting_Expression); function F115_2 is new Generic_Vector (Parent => Program.Elements.Case_Statements.Case_Statement, Vector => Program.Elements.Case_Paths.Case_Path_Vector, Vector_Access => Program.Elements.Case_Paths.Case_Path_Vector_Access, Get_Vector => Program.Elements.Case_Statements.Paths); F115 : aliased constant Getter_Array := (1 => (False, Selecting_Expression, F115_1'Access), 2 => (True, Paths, F115_2'Access)); overriding procedure Case_Statement (Self : in out Visitor; Element : not null Program.Elements.Case_Statements .Case_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F115'Access; end Case_Statement; function F116_1 is new Generic_Child (Element => Program.Elements.Loop_Statements.Loop_Statement, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Loop_Statements.Statement_Identifier); function F116_2 is new Generic_Vector (Parent => Program.Elements.Loop_Statements.Loop_Statement, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Loop_Statements.Statements); function F116_3 is new Generic_Child (Element => Program.Elements.Loop_Statements.Loop_Statement, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.Loop_Statements.End_Statement_Identifier); F116 : aliased constant Getter_Array := (1 => (False, Statement_Identifier, F116_1'Access), 2 => (True, Statements, F116_2'Access), 3 => (False, End_Statement_Identifier, F116_3'Access)); overriding procedure Loop_Statement (Self : in out Visitor; Element : not null Program.Elements.Loop_Statements .Loop_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F116'Access; end Loop_Statement; function F117_1 is new Generic_Child (Element => Program.Elements.While_Loop_Statements.While_Loop_Statement, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.While_Loop_Statements.Statement_Identifier); function F117_2 is new Generic_Child (Element => Program.Elements.While_Loop_Statements.While_Loop_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.While_Loop_Statements.Condition); function F117_3 is new Generic_Vector (Parent => Program.Elements.While_Loop_Statements.While_Loop_Statement, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.While_Loop_Statements.Statements); function F117_4 is new Generic_Child (Element => Program.Elements.While_Loop_Statements.While_Loop_Statement, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.While_Loop_Statements.End_Statement_Identifier); F117 : aliased constant Getter_Array := (1 => (False, Statement_Identifier, F117_1'Access), 2 => (False, Condition, F117_2'Access), 3 => (True, Statements, F117_3'Access), 4 => (False, End_Statement_Identifier, F117_4'Access)); overriding procedure While_Loop_Statement (Self : in out Visitor; Element : not null Program.Elements.While_Loop_Statements .While_Loop_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F117'Access; end While_Loop_Statement; function F118_1 is new Generic_Child (Element => Program.Elements.For_Loop_Statements.For_Loop_Statement, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.For_Loop_Statements.Statement_Identifier); function F118_2 is new Generic_Child (Element => Program.Elements.For_Loop_Statements.For_Loop_Statement, Child => Program.Elements.Loop_Parameter_Specifications .Loop_Parameter_Specification, Child_Access => Program.Elements.Loop_Parameter_Specifications .Loop_Parameter_Specification_Access, Get_Child => Program.Elements.For_Loop_Statements.Loop_Parameter); function F118_3 is new Generic_Child (Element => Program.Elements.For_Loop_Statements.For_Loop_Statement, Child => Program.Elements.Generalized_Iterator_Specifications .Generalized_Iterator_Specification, Child_Access => Program.Elements.Generalized_Iterator_Specifications .Generalized_Iterator_Specification_Access, Get_Child => Program.Elements.For_Loop_Statements.Generalized_Iterator); function F118_4 is new Generic_Child (Element => Program.Elements.For_Loop_Statements.For_Loop_Statement, Child => Program.Elements.Element_Iterator_Specifications .Element_Iterator_Specification, Child_Access => Program.Elements.Element_Iterator_Specifications .Element_Iterator_Specification_Access, Get_Child => Program.Elements.For_Loop_Statements.Element_Iterator); function F118_5 is new Generic_Vector (Parent => Program.Elements.For_Loop_Statements.For_Loop_Statement, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.For_Loop_Statements.Statements); function F118_6 is new Generic_Child (Element => Program.Elements.For_Loop_Statements.For_Loop_Statement, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.For_Loop_Statements.End_Statement_Identifier); F118 : aliased constant Getter_Array := (1 => (False, Statement_Identifier, F118_1'Access), 2 => (False, Loop_Parameter, F118_2'Access), 3 => (False, Generalized_Iterator, F118_3'Access), 4 => (False, Element_Iterator, F118_4'Access), 5 => (True, Statements, F118_5'Access), 6 => (False, End_Statement_Identifier, F118_6'Access)); overriding procedure For_Loop_Statement (Self : in out Visitor; Element : not null Program.Elements.For_Loop_Statements .For_Loop_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F118'Access; end For_Loop_Statement; function F119_1 is new Generic_Child (Element => Program.Elements.Block_Statements.Block_Statement, Child => Program.Elements.Defining_Identifiers.Defining_Identifier, Child_Access => Program.Elements.Defining_Identifiers.Defining_Identifier_Access, Get_Child => Program.Elements.Block_Statements.Statement_Identifier); function F119_2 is new Generic_Vector (Parent => Program.Elements.Block_Statements.Block_Statement, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Block_Statements.Declarations); function F119_3 is new Generic_Vector (Parent => Program.Elements.Block_Statements.Block_Statement, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Block_Statements.Statements); function F119_4 is new Generic_Vector (Parent => Program.Elements.Block_Statements.Block_Statement, Vector => Program.Elements.Exception_Handlers.Exception_Handler_Vector, Vector_Access => Program.Elements.Exception_Handlers.Exception_Handler_Vector_Access, Get_Vector => Program.Elements.Block_Statements.Exception_Handlers); function F119_5 is new Generic_Child (Element => Program.Elements.Block_Statements.Block_Statement, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.Block_Statements.End_Statement_Identifier); F119 : aliased constant Getter_Array := (1 => (False, Statement_Identifier, F119_1'Access), 2 => (True, Declarations, F119_2'Access), 3 => (True, Statements, F119_3'Access), 4 => (True, Exception_Handlers, F119_4'Access), 5 => (False, End_Statement_Identifier, F119_5'Access)); overriding procedure Block_Statement (Self : in out Visitor; Element : not null Program.Elements.Block_Statements .Block_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F119'Access; end Block_Statement; function F120_1 is new Generic_Child (Element => Program.Elements.Exit_Statements.Exit_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Exit_Statements.Exit_Loop_Name); function F120_2 is new Generic_Child (Element => Program.Elements.Exit_Statements.Exit_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Exit_Statements.Condition); F120 : aliased constant Getter_Array := (1 => (False, Exit_Loop_Name, F120_1'Access), 2 => (False, Condition, F120_2'Access)); overriding procedure Exit_Statement (Self : in out Visitor; Element : not null Program.Elements.Exit_Statements .Exit_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F120'Access; end Exit_Statement; function F121_1 is new Generic_Child (Element => Program.Elements.Goto_Statements.Goto_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Goto_Statements.Goto_Label); F121 : aliased constant Getter_Array := (1 => (False, Goto_Label, F121_1'Access)); overriding procedure Goto_Statement (Self : in out Visitor; Element : not null Program.Elements.Goto_Statements .Goto_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F121'Access; end Goto_Statement; function F122_1 is new Generic_Child (Element => Program.Elements.Call_Statements.Call_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Call_Statements.Called_Name); function F122_2 is new Generic_Vector (Parent => Program.Elements.Call_Statements.Call_Statement, Vector => Program.Elements.Parameter_Associations.Parameter_Association_Vector, Vector_Access => Program.Elements.Parameter_Associations .Parameter_Association_Vector_Access, Get_Vector => Program.Elements.Call_Statements.Parameters); F122 : aliased constant Getter_Array := (1 => (False, Called_Name, F122_1'Access), 2 => (True, Parameters, F122_2'Access)); overriding procedure Call_Statement (Self : in out Visitor; Element : not null Program.Elements.Call_Statements .Call_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F122'Access; end Call_Statement; function F123_1 is new Generic_Child (Element => Program.Elements.Simple_Return_Statements.Simple_Return_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Simple_Return_Statements.Expression); F123 : aliased constant Getter_Array := (1 => (False, Expression, F123_1'Access)); overriding procedure Simple_Return_Statement (Self : in out Visitor; Element : not null Program.Elements.Simple_Return_Statements .Simple_Return_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F123'Access; end Simple_Return_Statement; function F124_1 is new Generic_Child (Element => Program.Elements.Extended_Return_Statements.Extended_Return_Statement, Child => Program.Elements.Return_Object_Specifications .Return_Object_Specification, Child_Access => Program.Elements.Return_Object_Specifications .Return_Object_Specification_Access, Get_Child => Program.Elements.Extended_Return_Statements.Return_Object); function F124_2 is new Generic_Vector (Parent => Program.Elements.Extended_Return_Statements.Extended_Return_Statement, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Extended_Return_Statements.Statements); function F124_3 is new Generic_Vector (Parent => Program.Elements.Extended_Return_Statements.Extended_Return_Statement, Vector => Program.Elements.Exception_Handlers.Exception_Handler_Vector, Vector_Access => Program.Elements.Exception_Handlers.Exception_Handler_Vector_Access, Get_Vector => Program.Elements.Extended_Return_Statements.Exception_Handlers); F124 : aliased constant Getter_Array := (1 => (False, Return_Object, F124_1'Access), 2 => (True, Statements, F124_2'Access), 3 => (True, Exception_Handlers, F124_3'Access)); overriding procedure Extended_Return_Statement (Self : in out Visitor; Element : not null Program.Elements.Extended_Return_Statements .Extended_Return_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F124'Access; end Extended_Return_Statement; function F125_1 is new Generic_Child (Element => Program.Elements.Accept_Statements.Accept_Statement, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.Accept_Statements.Entry_Name); function F125_2 is new Generic_Child (Element => Program.Elements.Accept_Statements.Accept_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Accept_Statements.Entry_Index); function F125_3 is new Generic_Vector (Parent => Program.Elements.Accept_Statements.Accept_Statement, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Accept_Statements.Parameters); function F125_4 is new Generic_Vector (Parent => Program.Elements.Accept_Statements.Accept_Statement, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Accept_Statements.Statements); function F125_5 is new Generic_Vector (Parent => Program.Elements.Accept_Statements.Accept_Statement, Vector => Program.Elements.Exception_Handlers.Exception_Handler_Vector, Vector_Access => Program.Elements.Exception_Handlers.Exception_Handler_Vector_Access, Get_Vector => Program.Elements.Accept_Statements.Exception_Handlers); function F125_6 is new Generic_Child (Element => Program.Elements.Accept_Statements.Accept_Statement, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.Accept_Statements.End_Statement_Identifier); F125 : aliased constant Getter_Array := (1 => (False, Entry_Name, F125_1'Access), 2 => (False, Entry_Index, F125_2'Access), 3 => (True, Parameters, F125_3'Access), 4 => (True, Statements, F125_4'Access), 5 => (True, Exception_Handlers, F125_5'Access), 6 => (False, End_Statement_Identifier, F125_6'Access)); overriding procedure Accept_Statement (Self : in out Visitor; Element : not null Program.Elements.Accept_Statements .Accept_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F125'Access; end Accept_Statement; function F126_1 is new Generic_Child (Element => Program.Elements.Requeue_Statements.Requeue_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Requeue_Statements.Entry_Name); F126 : aliased constant Getter_Array := (1 => (False, Entry_Name, F126_1'Access)); overriding procedure Requeue_Statement (Self : in out Visitor; Element : not null Program.Elements.Requeue_Statements .Requeue_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F126'Access; end Requeue_Statement; function F127_1 is new Generic_Child (Element => Program.Elements.Delay_Statements.Delay_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Delay_Statements.Expression); F127 : aliased constant Getter_Array := (1 => (False, Expression, F127_1'Access)); overriding procedure Delay_Statement (Self : in out Visitor; Element : not null Program.Elements.Delay_Statements .Delay_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F127'Access; end Delay_Statement; function F129_1 is new Generic_Vector (Parent => Program.Elements.Select_Statements.Select_Statement, Vector => Program.Elements.Select_Paths.Select_Path_Vector, Vector_Access => Program.Elements.Select_Paths.Select_Path_Vector_Access, Get_Vector => Program.Elements.Select_Statements.Paths); function F129_2 is new Generic_Vector (Parent => Program.Elements.Select_Statements.Select_Statement, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Select_Statements.Then_Abort_Statements); function F129_3 is new Generic_Vector (Parent => Program.Elements.Select_Statements.Select_Statement, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Select_Statements.Else_Statements); F129 : aliased constant Getter_Array := (1 => (True, Paths, F129_1'Access), 2 => (True, Then_Abort_Statements, F129_2'Access), 3 => (True, Else_Statements, F129_3'Access)); overriding procedure Select_Statement (Self : in out Visitor; Element : not null Program.Elements.Select_Statements .Select_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F129'Access; end Select_Statement; function F130_1 is new Generic_Vector (Parent => Program.Elements.Abort_Statements.Abort_Statement, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Abort_Statements.Aborted_Tasks); F130 : aliased constant Getter_Array := (1 => (True, Aborted_Tasks, F130_1'Access)); overriding procedure Abort_Statement (Self : in out Visitor; Element : not null Program.Elements.Abort_Statements .Abort_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F130'Access; end Abort_Statement; function F131_1 is new Generic_Child (Element => Program.Elements.Raise_Statements.Raise_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Raise_Statements.Raised_Exception); function F131_2 is new Generic_Child (Element => Program.Elements.Raise_Statements.Raise_Statement, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Raise_Statements.Associated_Message); F131 : aliased constant Getter_Array := (1 => (False, Raised_Exception, F131_1'Access), 2 => (False, Associated_Message, F131_2'Access)); overriding procedure Raise_Statement (Self : in out Visitor; Element : not null Program.Elements.Raise_Statements .Raise_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F131'Access; end Raise_Statement; function F132_1 is new Generic_Child (Element => Program.Elements.Code_Statements.Code_Statement, Child => Program.Elements.Qualified_Expressions.Qualified_Expression, Child_Access => Program.Elements.Qualified_Expressions.Qualified_Expression_Access, Get_Child => Program.Elements.Code_Statements.Expression); F132 : aliased constant Getter_Array := (1 => (False, Expression, F132_1'Access)); overriding procedure Code_Statement (Self : in out Visitor; Element : not null Program.Elements.Code_Statements .Code_Statement_Access) is pragma Unreferenced (Element); begin Self.Result := F132'Access; end Code_Statement; function F133_1 is new Generic_Child (Element => Program.Elements.Elsif_Paths.Elsif_Path, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Elsif_Paths.Condition); function F133_2 is new Generic_Vector (Parent => Program.Elements.Elsif_Paths.Elsif_Path, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Elsif_Paths.Statements); F133 : aliased constant Getter_Array := (1 => (False, Condition, F133_1'Access), 2 => (True, Statements, F133_2'Access)); overriding procedure Elsif_Path (Self : in out Visitor; Element : not null Program.Elements.Elsif_Paths.Elsif_Path_Access) is pragma Unreferenced (Element); begin Self.Result := F133'Access; end Elsif_Path; function F134_1 is new Generic_Vector (Parent => Program.Elements.Case_Paths.Case_Path, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Case_Paths.Choices); function F134_2 is new Generic_Vector (Parent => Program.Elements.Case_Paths.Case_Path, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Case_Paths.Statements); F134 : aliased constant Getter_Array := (1 => (True, Choices, F134_1'Access), 2 => (True, Statements, F134_2'Access)); overriding procedure Case_Path (Self : in out Visitor; Element : not null Program.Elements.Case_Paths.Case_Path_Access) is pragma Unreferenced (Element); begin Self.Result := F134'Access; end Case_Path; function F135_1 is new Generic_Child (Element => Program.Elements.Select_Paths.Select_Path, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Select_Paths.Guard); function F135_2 is new Generic_Vector (Parent => Program.Elements.Select_Paths.Select_Path, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Select_Paths.Statements); F135 : aliased constant Getter_Array := (1 => (False, Guard, F135_1'Access), 2 => (True, Statements, F135_2'Access)); overriding procedure Select_Path (Self : in out Visitor; Element : not null Program.Elements.Select_Paths.Select_Path_Access) is pragma Unreferenced (Element); begin Self.Result := F135'Access; end Select_Path; function F136_1 is new Generic_Vector (Parent => Program.Elements.Case_Expression_Paths.Case_Expression_Path, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Case_Expression_Paths.Choices); function F136_2 is new Generic_Child (Element => Program.Elements.Case_Expression_Paths.Case_Expression_Path, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Case_Expression_Paths.Expression); F136 : aliased constant Getter_Array := (1 => (True, Choices, F136_1'Access), 2 => (False, Expression, F136_2'Access)); overriding procedure Case_Expression_Path (Self : in out Visitor; Element : not null Program.Elements.Case_Expression_Paths .Case_Expression_Path_Access) is pragma Unreferenced (Element); begin Self.Result := F136'Access; end Case_Expression_Path; function F137_1 is new Generic_Child (Element => Program.Elements.Elsif_Expression_Paths.Elsif_Expression_Path, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Elsif_Expression_Paths.Condition); function F137_2 is new Generic_Child (Element => Program.Elements.Elsif_Expression_Paths.Elsif_Expression_Path, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Elsif_Expression_Paths.Expression); F137 : aliased constant Getter_Array := (1 => (False, Condition, F137_1'Access), 2 => (False, Expression, F137_2'Access)); overriding procedure Elsif_Expression_Path (Self : in out Visitor; Element : not null Program.Elements.Elsif_Expression_Paths .Elsif_Expression_Path_Access) is pragma Unreferenced (Element); begin Self.Result := F137'Access; end Elsif_Expression_Path; function F138_1 is new Generic_Vector (Parent => Program.Elements.Use_Clauses.Use_Clause, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Use_Clauses.Clause_Names); F138 : aliased constant Getter_Array := (1 => (True, Clause_Names, F138_1'Access)); overriding procedure Use_Clause (Self : in out Visitor; Element : not null Program.Elements.Use_Clauses.Use_Clause_Access) is pragma Unreferenced (Element); begin Self.Result := F138'Access; end Use_Clause; function F139_1 is new Generic_Vector (Parent => Program.Elements.With_Clauses.With_Clause, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.With_Clauses.Clause_Names); F139 : aliased constant Getter_Array := (1 => (True, Clause_Names, F139_1'Access)); overriding procedure With_Clause (Self : in out Visitor; Element : not null Program.Elements.With_Clauses.With_Clause_Access) is pragma Unreferenced (Element); begin Self.Result := F139'Access; end With_Clause; function F140_1 is new Generic_Child (Element => Program.Elements.Component_Clauses.Component_Clause, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.Component_Clauses.Clause_Name); function F140_2 is new Generic_Child (Element => Program.Elements.Component_Clauses.Component_Clause, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Component_Clauses.Position); function F140_3 is new Generic_Child (Element => Program.Elements.Component_Clauses.Component_Clause, Child => Program.Elements.Simple_Expression_Ranges.Simple_Expression_Range, Child_Access => Program.Elements.Simple_Expression_Ranges .Simple_Expression_Range_Access, Get_Child => Program.Elements.Component_Clauses.Clause_Range); F140 : aliased constant Getter_Array := (1 => (False, Clause_Name, F140_1'Access), 2 => (False, Position, F140_2'Access), 3 => (False, Clause_Range, F140_3'Access)); overriding procedure Component_Clause (Self : in out Visitor; Element : not null Program.Elements.Component_Clauses .Component_Clause_Access) is pragma Unreferenced (Element); begin Self.Result := F140'Access; end Component_Clause; function F141_1 is new Generic_Child (Element => Program.Elements.Derived_Types.Derived_Type, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Derived_Types.Parent); F141 : aliased constant Getter_Array := (1 => (False, Parent, F141_1'Access)); overriding procedure Derived_Type (Self : in out Visitor; Element : not null Program.Elements.Derived_Types.Derived_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F141'Access; end Derived_Type; function F142_1 is new Generic_Child (Element => Program.Elements.Derived_Record_Extensions.Derived_Record_Extension, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Derived_Record_Extensions.Parent); function F142_2 is new Generic_Vector (Parent => Program.Elements.Derived_Record_Extensions.Derived_Record_Extension, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Derived_Record_Extensions.Progenitors); function F142_3 is new Generic_Child (Element => Program.Elements.Derived_Record_Extensions.Derived_Record_Extension, Child => Program.Elements.Definitions.Definition, Child_Access => Program.Elements.Definitions.Definition_Access, Get_Child => Program.Elements.Derived_Record_Extensions.Record_Definition); F142 : aliased constant Getter_Array := (1 => (False, Parent, F142_1'Access), 2 => (True, Progenitors, F142_2'Access), 3 => (False, Record_Definition, F142_3'Access)); overriding procedure Derived_Record_Extension (Self : in out Visitor; Element : not null Program.Elements.Derived_Record_Extensions .Derived_Record_Extension_Access) is pragma Unreferenced (Element); begin Self.Result := F142'Access; end Derived_Record_Extension; function F143_1 is new Generic_Vector (Parent => Program.Elements.Enumeration_Types.Enumeration_Type, Vector => Program.Elements.Enumeration_Literal_Specifications .Enumeration_Literal_Specification_Vector, Vector_Access => Program.Elements.Enumeration_Literal_Specifications .Enumeration_Literal_Specification_Vector_Access, Get_Vector => Program.Elements.Enumeration_Types.Literals); F143 : aliased constant Getter_Array := (1 => (True, Literals, F143_1'Access)); overriding procedure Enumeration_Type (Self : in out Visitor; Element : not null Program.Elements.Enumeration_Types .Enumeration_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F143'Access; end Enumeration_Type; function F144_1 is new Generic_Child (Element => Program.Elements.Signed_Integer_Types.Signed_Integer_Type, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Signed_Integer_Types.Lower_Bound); function F144_2 is new Generic_Child (Element => Program.Elements.Signed_Integer_Types.Signed_Integer_Type, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Signed_Integer_Types.Upper_Bound); F144 : aliased constant Getter_Array := (1 => (False, Lower_Bound, F144_1'Access), 2 => (False, Upper_Bound, F144_2'Access)); overriding procedure Signed_Integer_Type (Self : in out Visitor; Element : not null Program.Elements.Signed_Integer_Types .Signed_Integer_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F144'Access; end Signed_Integer_Type; function F145_1 is new Generic_Child (Element => Program.Elements.Modular_Types.Modular_Type, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Modular_Types.Modulus); F145 : aliased constant Getter_Array := (1 => (False, Modulus, F145_1'Access)); overriding procedure Modular_Type (Self : in out Visitor; Element : not null Program.Elements.Modular_Types.Modular_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F145'Access; end Modular_Type; function F147_1 is new Generic_Child (Element => Program.Elements.Floating_Point_Types.Floating_Point_Type, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Floating_Point_Types.Digits_Expression); function F147_2 is new Generic_Child (Element => Program.Elements.Floating_Point_Types.Floating_Point_Type, Child => Program.Elements.Real_Range_Specifications.Real_Range_Specification, Child_Access => Program.Elements.Real_Range_Specifications .Real_Range_Specification_Access, Get_Child => Program.Elements.Floating_Point_Types.Real_Range); F147 : aliased constant Getter_Array := (1 => (False, Digits_Expression, F147_1'Access), 2 => (False, Real_Range, F147_2'Access)); overriding procedure Floating_Point_Type (Self : in out Visitor; Element : not null Program.Elements.Floating_Point_Types .Floating_Point_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F147'Access; end Floating_Point_Type; function F148_1 is new Generic_Child (Element => Program.Elements.Ordinary_Fixed_Point_Types.Ordinary_Fixed_Point_Type, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Ordinary_Fixed_Point_Types.Delta_Expression); function F148_2 is new Generic_Child (Element => Program.Elements.Ordinary_Fixed_Point_Types.Ordinary_Fixed_Point_Type, Child => Program.Elements.Real_Range_Specifications.Real_Range_Specification, Child_Access => Program.Elements.Real_Range_Specifications .Real_Range_Specification_Access, Get_Child => Program.Elements.Ordinary_Fixed_Point_Types.Real_Range); F148 : aliased constant Getter_Array := (1 => (False, Delta_Expression, F148_1'Access), 2 => (False, Real_Range, F148_2'Access)); overriding procedure Ordinary_Fixed_Point_Type (Self : in out Visitor; Element : not null Program.Elements.Ordinary_Fixed_Point_Types .Ordinary_Fixed_Point_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F148'Access; end Ordinary_Fixed_Point_Type; function F149_1 is new Generic_Child (Element => Program.Elements.Decimal_Fixed_Point_Types.Decimal_Fixed_Point_Type, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Decimal_Fixed_Point_Types.Delta_Expression); function F149_2 is new Generic_Child (Element => Program.Elements.Decimal_Fixed_Point_Types.Decimal_Fixed_Point_Type, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Decimal_Fixed_Point_Types.Digits_Expression); function F149_3 is new Generic_Child (Element => Program.Elements.Decimal_Fixed_Point_Types.Decimal_Fixed_Point_Type, Child => Program.Elements.Real_Range_Specifications.Real_Range_Specification, Child_Access => Program.Elements.Real_Range_Specifications .Real_Range_Specification_Access, Get_Child => Program.Elements.Decimal_Fixed_Point_Types.Real_Range); F149 : aliased constant Getter_Array := (1 => (False, Delta_Expression, F149_1'Access), 2 => (False, Digits_Expression, F149_2'Access), 3 => (False, Real_Range, F149_3'Access)); overriding procedure Decimal_Fixed_Point_Type (Self : in out Visitor; Element : not null Program.Elements.Decimal_Fixed_Point_Types .Decimal_Fixed_Point_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F149'Access; end Decimal_Fixed_Point_Type; function F150_1 is new Generic_Vector (Parent => Program.Elements.Unconstrained_Array_Types.Unconstrained_Array_Type, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Unconstrained_Array_Types.Index_Subtypes); function F150_2 is new Generic_Child (Element => Program.Elements.Unconstrained_Array_Types.Unconstrained_Array_Type, Child => Program.Elements.Component_Definitions.Component_Definition, Child_Access => Program.Elements.Component_Definitions.Component_Definition_Access, Get_Child => Program.Elements.Unconstrained_Array_Types.Component_Definition); F150 : aliased constant Getter_Array := (1 => (True, Index_Subtypes, F150_1'Access), 2 => (False, Component_Definition, F150_2'Access)); overriding procedure Unconstrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Unconstrained_Array_Types .Unconstrained_Array_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F150'Access; end Unconstrained_Array_Type; function F151_1 is new Generic_Vector (Parent => Program.Elements.Constrained_Array_Types.Constrained_Array_Type, Vector => Program.Elements.Discrete_Ranges.Discrete_Range_Vector, Vector_Access => Program.Elements.Discrete_Ranges.Discrete_Range_Vector_Access, Get_Vector => Program.Elements.Constrained_Array_Types.Index_Subtypes); function F151_2 is new Generic_Child (Element => Program.Elements.Constrained_Array_Types.Constrained_Array_Type, Child => Program.Elements.Component_Definitions.Component_Definition, Child_Access => Program.Elements.Component_Definitions.Component_Definition_Access, Get_Child => Program.Elements.Constrained_Array_Types.Component_Definition); F151 : aliased constant Getter_Array := (1 => (True, Index_Subtypes, F151_1'Access), 2 => (False, Component_Definition, F151_2'Access)); overriding procedure Constrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Constrained_Array_Types .Constrained_Array_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F151'Access; end Constrained_Array_Type; function F152_1 is new Generic_Child (Element => Program.Elements.Record_Types.Record_Type, Child => Program.Elements.Definitions.Definition, Child_Access => Program.Elements.Definitions.Definition_Access, Get_Child => Program.Elements.Record_Types.Record_Definition); F152 : aliased constant Getter_Array := (1 => (False, Record_Definition, F152_1'Access)); overriding procedure Record_Type (Self : in out Visitor; Element : not null Program.Elements.Record_Types.Record_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F152'Access; end Record_Type; function F153_1 is new Generic_Vector (Parent => Program.Elements.Interface_Types.Interface_Type, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Interface_Types.Progenitors); F153 : aliased constant Getter_Array := (1 => (True, Progenitors, F153_1'Access)); overriding procedure Interface_Type (Self : in out Visitor; Element : not null Program.Elements.Interface_Types .Interface_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F153'Access; end Interface_Type; function F154_1 is new Generic_Child (Element => Program.Elements.Object_Access_Types.Object_Access_Type, Child => Program.Elements.Subtype_Indications.Subtype_Indication, Child_Access => Program.Elements.Subtype_Indications.Subtype_Indication_Access, Get_Child => Program.Elements.Object_Access_Types.Subtype_Indication); F154 : aliased constant Getter_Array := (1 => (False, Subtype_Indication, F154_1'Access)); overriding procedure Object_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Object_Access_Types .Object_Access_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F154'Access; end Object_Access_Type; function F155_1 is new Generic_Vector (Parent => Program.Elements.Procedure_Access_Types.Procedure_Access_Type, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Procedure_Access_Types.Parameters); F155 : aliased constant Getter_Array := (1 => (True, Parameters, F155_1'Access)); overriding procedure Procedure_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Procedure_Access_Types .Procedure_Access_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F155'Access; end Procedure_Access_Type; function F156_1 is new Generic_Vector (Parent => Program.Elements.Function_Access_Types.Function_Access_Type, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Function_Access_Types.Parameters); function F156_2 is new Generic_Child (Element => Program.Elements.Function_Access_Types.Function_Access_Type, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Function_Access_Types.Result_Subtype); F156 : aliased constant Getter_Array := (1 => (True, Parameters, F156_1'Access), 2 => (False, Result_Subtype, F156_2'Access)); overriding procedure Function_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Function_Access_Types .Function_Access_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F156'Access; end Function_Access_Type; function F158_1 is new Generic_Child (Element => Program.Elements.Formal_Derived_Type_Definitions .Formal_Derived_Type_Definition, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Formal_Derived_Type_Definitions.Subtype_Mark); function F158_2 is new Generic_Vector (Parent => Program.Elements.Formal_Derived_Type_Definitions .Formal_Derived_Type_Definition, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Formal_Derived_Type_Definitions.Progenitors); F158 : aliased constant Getter_Array := (1 => (False, Subtype_Mark, F158_1'Access), 2 => (True, Progenitors, F158_2'Access)); overriding procedure Formal_Derived_Type_Definition (Self : in out Visitor; Element : not null Program.Elements.Formal_Derived_Type_Definitions .Formal_Derived_Type_Definition_Access) is pragma Unreferenced (Element); begin Self.Result := F158'Access; end Formal_Derived_Type_Definition; function F165_1 is new Generic_Vector (Parent => Program.Elements.Formal_Unconstrained_Array_Types .Formal_Unconstrained_Array_Type, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Formal_Unconstrained_Array_Types.Index_Subtypes); function F165_2 is new Generic_Child (Element => Program.Elements.Formal_Unconstrained_Array_Types .Formal_Unconstrained_Array_Type, Child => Program.Elements.Component_Definitions.Component_Definition, Child_Access => Program.Elements.Component_Definitions.Component_Definition_Access, Get_Child => Program.Elements.Formal_Unconstrained_Array_Types .Component_Definition); F165 : aliased constant Getter_Array := (1 => (True, Index_Subtypes, F165_1'Access), 2 => (False, Component_Definition, F165_2'Access)); overriding procedure Formal_Unconstrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Unconstrained_Array_Types .Formal_Unconstrained_Array_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F165'Access; end Formal_Unconstrained_Array_Type; function F166_1 is new Generic_Vector (Parent => Program.Elements.Formal_Constrained_Array_Types .Formal_Constrained_Array_Type, Vector => Program.Elements.Discrete_Ranges.Discrete_Range_Vector, Vector_Access => Program.Elements.Discrete_Ranges.Discrete_Range_Vector_Access, Get_Vector => Program.Elements.Formal_Constrained_Array_Types.Index_Subtypes); function F166_2 is new Generic_Child (Element => Program.Elements.Formal_Constrained_Array_Types .Formal_Constrained_Array_Type, Child => Program.Elements.Component_Definitions.Component_Definition, Child_Access => Program.Elements.Component_Definitions.Component_Definition_Access, Get_Child => Program.Elements.Formal_Constrained_Array_Types.Component_Definition); F166 : aliased constant Getter_Array := (1 => (True, Index_Subtypes, F166_1'Access), 2 => (False, Component_Definition, F166_2'Access)); overriding procedure Formal_Constrained_Array_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Constrained_Array_Types .Formal_Constrained_Array_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F166'Access; end Formal_Constrained_Array_Type; function F167_1 is new Generic_Child (Element => Program.Elements.Formal_Object_Access_Types.Formal_Object_Access_Type, Child => Program.Elements.Subtype_Indications.Subtype_Indication, Child_Access => Program.Elements.Subtype_Indications.Subtype_Indication_Access, Get_Child => Program.Elements.Formal_Object_Access_Types.Subtype_Indication); F167 : aliased constant Getter_Array := (1 => (False, Subtype_Indication, F167_1'Access)); overriding procedure Formal_Object_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Object_Access_Types .Formal_Object_Access_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F167'Access; end Formal_Object_Access_Type; function F168_1 is new Generic_Vector (Parent => Program.Elements.Formal_Procedure_Access_Types .Formal_Procedure_Access_Type, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Formal_Procedure_Access_Types.Parameters); F168 : aliased constant Getter_Array := (1 => (True, Parameters, F168_1'Access)); overriding procedure Formal_Procedure_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Procedure_Access_Types .Formal_Procedure_Access_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F168'Access; end Formal_Procedure_Access_Type; function F169_1 is new Generic_Vector (Parent => Program.Elements.Formal_Function_Access_Types .Formal_Function_Access_Type, Vector => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector, Vector_Access => Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access, Get_Vector => Program.Elements.Formal_Function_Access_Types.Parameters); function F169_2 is new Generic_Child (Element => Program.Elements.Formal_Function_Access_Types .Formal_Function_Access_Type, Child => Program.Elements.Element, Child_Access => Program.Elements.Element_Access, Get_Child => Program.Elements.Formal_Function_Access_Types.Result_Subtype); F169 : aliased constant Getter_Array := (1 => (True, Parameters, F169_1'Access), 2 => (False, Result_Subtype, F169_2'Access)); overriding procedure Formal_Function_Access_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Function_Access_Types .Formal_Function_Access_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F169'Access; end Formal_Function_Access_Type; function F170_1 is new Generic_Vector (Parent => Program.Elements.Formal_Interface_Types.Formal_Interface_Type, Vector => Program.Elements.Expressions.Expression_Vector, Vector_Access => Program.Elements.Expressions.Expression_Vector_Access, Get_Vector => Program.Elements.Formal_Interface_Types.Progenitors); F170 : aliased constant Getter_Array := (1 => (True, Progenitors, F170_1'Access)); overriding procedure Formal_Interface_Type (Self : in out Visitor; Element : not null Program.Elements.Formal_Interface_Types .Formal_Interface_Type_Access) is pragma Unreferenced (Element); begin Self.Result := F170'Access; end Formal_Interface_Type; function F171_1 is new Generic_Child (Element => Program.Elements.Range_Attribute_References.Range_Attribute_Reference, Child => Program.Elements.Attribute_References.Attribute_Reference, Child_Access => Program.Elements.Attribute_References.Attribute_Reference_Access, Get_Child => Program.Elements.Range_Attribute_References.Range_Attribute); F171 : aliased constant Getter_Array := (1 => (False, Range_Attribute, F171_1'Access)); overriding procedure Range_Attribute_Reference (Self : in out Visitor; Element : not null Program.Elements.Range_Attribute_References .Range_Attribute_Reference_Access) is pragma Unreferenced (Element); begin Self.Result := F171'Access; end Range_Attribute_Reference; function F172_1 is new Generic_Child (Element => Program.Elements.Simple_Expression_Ranges.Simple_Expression_Range, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Simple_Expression_Ranges.Lower_Bound); function F172_2 is new Generic_Child (Element => Program.Elements.Simple_Expression_Ranges.Simple_Expression_Range, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Simple_Expression_Ranges.Upper_Bound); F172 : aliased constant Getter_Array := (1 => (False, Lower_Bound, F172_1'Access), 2 => (False, Upper_Bound, F172_2'Access)); overriding procedure Simple_Expression_Range (Self : in out Visitor; Element : not null Program.Elements.Simple_Expression_Ranges .Simple_Expression_Range_Access) is pragma Unreferenced (Element); begin Self.Result := F172'Access; end Simple_Expression_Range; function F173_1 is new Generic_Child (Element => Program.Elements.Digits_Constraints.Digits_Constraint, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Digits_Constraints.Digits_Expression); function F173_2 is new Generic_Child (Element => Program.Elements.Digits_Constraints.Digits_Constraint, Child => Program.Elements.Constraints.Constraint, Child_Access => Program.Elements.Constraints.Constraint_Access, Get_Child => Program.Elements.Digits_Constraints.Real_Range_Constraint); F173 : aliased constant Getter_Array := (1 => (False, Digits_Expression, F173_1'Access), 2 => (False, Real_Range_Constraint, F173_2'Access)); overriding procedure Digits_Constraint (Self : in out Visitor; Element : not null Program.Elements.Digits_Constraints .Digits_Constraint_Access) is pragma Unreferenced (Element); begin Self.Result := F173'Access; end Digits_Constraint; function F174_1 is new Generic_Child (Element => Program.Elements.Delta_Constraints.Delta_Constraint, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Delta_Constraints.Delta_Expression); function F174_2 is new Generic_Child (Element => Program.Elements.Delta_Constraints.Delta_Constraint, Child => Program.Elements.Constraints.Constraint, Child_Access => Program.Elements.Constraints.Constraint_Access, Get_Child => Program.Elements.Delta_Constraints.Real_Range_Constraint); F174 : aliased constant Getter_Array := (1 => (False, Delta_Expression, F174_1'Access), 2 => (False, Real_Range_Constraint, F174_2'Access)); overriding procedure Delta_Constraint (Self : in out Visitor; Element : not null Program.Elements.Delta_Constraints .Delta_Constraint_Access) is pragma Unreferenced (Element); begin Self.Result := F174'Access; end Delta_Constraint; function F175_1 is new Generic_Vector (Parent => Program.Elements.Index_Constraints.Index_Constraint, Vector => Program.Elements.Discrete_Ranges.Discrete_Range_Vector, Vector_Access => Program.Elements.Discrete_Ranges.Discrete_Range_Vector_Access, Get_Vector => Program.Elements.Index_Constraints.Ranges); F175 : aliased constant Getter_Array := (1 => (True, Ranges, F175_1'Access)); overriding procedure Index_Constraint (Self : in out Visitor; Element : not null Program.Elements.Index_Constraints .Index_Constraint_Access) is pragma Unreferenced (Element); begin Self.Result := F175'Access; end Index_Constraint; function F176_1 is new Generic_Vector (Parent => Program.Elements.Discriminant_Constraints.Discriminant_Constraint, Vector => Program.Elements.Discriminant_Associations .Discriminant_Association_Vector, Vector_Access => Program.Elements.Discriminant_Associations .Discriminant_Association_Vector_Access, Get_Vector => Program.Elements.Discriminant_Constraints.Discriminants); F176 : aliased constant Getter_Array := (1 => (True, Discriminants, F176_1'Access)); overriding procedure Discriminant_Constraint (Self : in out Visitor; Element : not null Program.Elements.Discriminant_Constraints .Discriminant_Constraint_Access) is pragma Unreferenced (Element); begin Self.Result := F176'Access; end Discriminant_Constraint; function F177_1 is new Generic_Child (Element => Program.Elements.Attribute_Definition_Clauses .Attribute_Definition_Clause, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Attribute_Definition_Clauses.Name); function F177_2 is new Generic_Child (Element => Program.Elements.Attribute_Definition_Clauses .Attribute_Definition_Clause, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Attribute_Definition_Clauses.Expression); F177 : aliased constant Getter_Array := (1 => (False, Name, F177_1'Access), 2 => (False, Expression, F177_2'Access)); overriding procedure Attribute_Definition_Clause (Self : in out Visitor; Element : not null Program.Elements.Attribute_Definition_Clauses .Attribute_Definition_Clause_Access) is pragma Unreferenced (Element); begin Self.Result := F177'Access; end Attribute_Definition_Clause; function F178_1 is new Generic_Child (Element => Program.Elements.Enumeration_Representation_Clauses .Enumeration_Representation_Clause, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Enumeration_Representation_Clauses.Name); function F178_2 is new Generic_Child (Element => Program.Elements.Enumeration_Representation_Clauses .Enumeration_Representation_Clause, Child => Program.Elements.Array_Aggregates.Array_Aggregate, Child_Access => Program.Elements.Array_Aggregates.Array_Aggregate_Access, Get_Child => Program.Elements.Enumeration_Representation_Clauses.Expression); F178 : aliased constant Getter_Array := (1 => (False, Name, F178_1'Access), 2 => (False, Expression, F178_2'Access)); overriding procedure Enumeration_Representation_Clause (Self : in out Visitor; Element : not null Program.Elements.Enumeration_Representation_Clauses .Enumeration_Representation_Clause_Access) is pragma Unreferenced (Element); begin Self.Result := F178'Access; end Enumeration_Representation_Clause; function F179_1 is new Generic_Child (Element => Program.Elements.Record_Representation_Clauses .Record_Representation_Clause, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Record_Representation_Clauses.Name); function F179_2 is new Generic_Child (Element => Program.Elements.Record_Representation_Clauses .Record_Representation_Clause, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.Record_Representation_Clauses.Mod_Clause_Expression); function F179_3 is new Generic_Vector (Parent => Program.Elements.Record_Representation_Clauses .Record_Representation_Clause, Vector => Program.Elements.Component_Clauses.Component_Clause_Vector, Vector_Access => Program.Elements.Component_Clauses.Component_Clause_Vector_Access, Get_Vector => Program.Elements.Record_Representation_Clauses.Component_Clauses); F179 : aliased constant Getter_Array := (1 => (False, Name, F179_1'Access), 2 => (False, Mod_Clause_Expression, F179_2'Access), 3 => (True, Component_Clauses, F179_3'Access)); overriding procedure Record_Representation_Clause (Self : in out Visitor; Element : not null Program.Elements.Record_Representation_Clauses .Record_Representation_Clause_Access) is pragma Unreferenced (Element); begin Self.Result := F179'Access; end Record_Representation_Clause; function F180_1 is new Generic_Child (Element => Program.Elements.At_Clauses.At_Clause, Child => Program.Elements.Identifiers.Identifier, Child_Access => Program.Elements.Identifiers.Identifier_Access, Get_Child => Program.Elements.At_Clauses.Name); function F180_2 is new Generic_Child (Element => Program.Elements.At_Clauses.At_Clause, Child => Program.Elements.Expressions.Expression, Child_Access => Program.Elements.Expressions.Expression_Access, Get_Child => Program.Elements.At_Clauses.Expression); F180 : aliased constant Getter_Array := (1 => (False, Name, F180_1'Access), 2 => (False, Expression, F180_2'Access)); overriding procedure At_Clause (Self : in out Visitor; Element : not null Program.Elements.At_Clauses.At_Clause_Access) is pragma Unreferenced (Element); begin Self.Result := F180'Access; end At_Clause; function F181_1 is new Generic_Child (Element => Program.Elements.Exception_Handlers.Exception_Handler, Child => Program.Elements.Choice_Parameter_Specifications .Choice_Parameter_Specification, Child_Access => Program.Elements.Choice_Parameter_Specifications .Choice_Parameter_Specification_Access, Get_Child => Program.Elements.Exception_Handlers.Choice_Parameter); function F181_2 is new Generic_Vector (Parent => Program.Elements.Exception_Handlers.Exception_Handler, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Exception_Handlers.Choices); function F181_3 is new Generic_Vector (Parent => Program.Elements.Exception_Handlers.Exception_Handler, Vector => Program.Element_Vectors.Element_Vector, Vector_Access => Program.Element_Vectors.Element_Vector_Access, Get_Vector => Program.Elements.Exception_Handlers.Statements); F181 : aliased constant Getter_Array := (1 => (False, Choice_Parameter, F181_1'Access), 2 => (True, Choices, F181_2'Access), 3 => (True, Statements, F181_3'Access)); overriding procedure Exception_Handler (Self : in out Visitor; Element : not null Program.Elements.Exception_Handlers .Exception_Handler_Access) is pragma Unreferenced (Element); begin Self.Result := F181'Access; end Exception_Handler; function Get (Parent : Program.Elements.Element_Access) return access constant Getter_Array is V : Visitor; begin Parent.Visit (V); return V.Result; end Get; end Internal;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 4 0 -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-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. -- -- -- -- -- -- -- -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Handling of packed arrays with Component_Size = 40 package System.Pack_40 is pragma Preelaborate; Bits : constant := 40; type Bits_40 is mod 2 ** Bits; for Bits_40'Size use Bits; function Get_40 (Arr : System.Address; N : Natural) return Bits_40; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. procedure Set_40 (Arr : System.Address; N : Natural; E : Bits_40); -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is set to the given value. function GetU_40 (Arr : System.Address; N : Natural) return Bits_40; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. This version -- is used when Arr may represent an unaligned address. procedure SetU_40 (Arr : System.Address; N : Natural; E : Bits_40); -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is set to the given value. This version -- is used when Arr may represent an unaligned address end System.Pack_40;
----------------------------------------------------------------------- -- awa-wikis-beans -- Beans for module wikis -- 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 Ada.Strings.Unbounded; with Ada.Strings.Hash; with Ada.Strings.Wide_Wide_Unbounded; with Ada.Strings.Wide_Wide_Hash; with Ada.Containers.Indefinite_Hashed_Maps; with Util.Beans.Basic; with Util.Beans.Objects; with ADO; with ADO.Objects; with ASF.Helpers.Beans; with Wiki.Strings; with Wiki.Attributes; with Wiki.Plugins.Templates; with Wiki.Plugins.Conditions; with Wiki.Plugins.Variables; with AWA.Wikis.Modules; with AWA.Wikis.Models; with AWA.Tags.Beans; with AWA.Counters.Beans; with AWA.Components.Wikis; -- == Ada Beans == -- Several bean types are provided to represent and manage the blogs and their posts. -- The blog module registers the bean constructors when it is initialized. -- To use them, one must declare a bean definition in the application XML configuration. -- -- @include-bean wikis.xml -- @include-bean wiki-page.xml -- @include-bean wiki-pages.xml -- @include-bean wiki-history.xml -- @include-bean wiki-list.xml package AWA.Wikis.Beans is use Ada.Strings.Wide_Wide_Unbounded; package Image_Info_Maps is new Ada.Containers.Indefinite_Hashed_Maps (Key_Type => Wiki.Strings.WString, Element_Type => Wikis.Models.Wiki_Image_Info, Hash => Ada.Strings.Wide_Wide_Hash, Equivalent_Keys => "=", "=" => AWA.Wikis.Models."="); package Template_Maps is new Ada.Containers.Indefinite_Hashed_Maps (Key_Type => String, Element_Type => Wiki.Strings.UString, Hash => Ada.Strings.Hash, Equivalent_Keys => "=", "=" => "="); type Wiki_Links_Bean is new AWA.Components.Wikis.Link_Renderer_Bean and Util.Beans.Basic.List_Bean with record -- The wiki space identifier. Wiki_Space_Id : ADO.Identifier; Images : Image_Info_Maps.Map; -- The info bean used for the list iterator. Info : aliased AWA.Wikis.Models.Wiki_Image_Info; Info_Bean : Util.Beans.Basic.Readonly_Bean_Access; -- Current index when iterating over the list. Pos : Image_Info_Maps.Cursor; end record; procedure Make_Image_Link (Renderer : in out Wiki_Links_Bean; Link : in Wiki.Strings.WString; Info : in AWA.Wikis.Models.Wiki_Image_Info; URI : out Unbounded_Wide_Wide_String; Width : in out Natural; Height : in out Natural); procedure Find_Image_Link (Renderer : in out Wiki_Links_Bean; Link : in Wiki.Strings.WString; URI : out Unbounded_Wide_Wide_String; Width : in out Natural; Height : in out Natural); -- Get the image link that must be rendered from the wiki image link. overriding procedure Make_Image_Link (Renderer : in out Wiki_Links_Bean; Link : in Wiki.Strings.WString; URI : out Unbounded_Wide_Wide_String; Width : in out Natural; Height : in out Natural); -- Get the page link that must be rendered from the wiki page link. overriding procedure Make_Page_Link (Renderer : in out Wiki_Links_Bean; Link : in Wiki.Strings.WString; URI : out Unbounded_Wide_Wide_String; Exists : out Boolean); -- Get the value identified by the name. overriding function Get_Value (From : in Wiki_Links_Bean; Name : in String) return Util.Beans.Objects.Object; -- Get the number of elements in the list. overriding function Get_Count (From : Wiki_Links_Bean) return Natural; -- Set the current row index. Valid row indexes start at 1. overriding procedure Set_Row_Index (From : in out Wiki_Links_Bean; Index : in Natural); -- Get the element at the current row index. overriding function Get_Row (From : in Wiki_Links_Bean) return Util.Beans.Objects.Object; -- The Wiki template plugin that retrieves the template content from the Wiki space. type Wiki_Template_Bean is new Wiki.Plugins.Templates.Template_Plugin and Wiki.Plugins.Plugin_Factory and Util.Beans.Basic.List_Bean with record -- The wiki space identifier. Wiki_Space_Id : ADO.Identifier; -- The list of templates that have been loaded. Templates : Template_Maps.Map; -- Condition plugin. Condition : aliased Wiki.Plugins.Conditions.Condition_Plugin; -- Variable plugin. Variable : aliased Wiki.Plugins.Variables.Variable_Plugin; List_Variable : aliased Wiki.Plugins.Variables.List_Variable_Plugin; -- The info bean used for the list iterator. Info : aliased AWA.Wikis.Models.Wiki_Info; Info_Bean : Util.Beans.Basic.Readonly_Bean_Access; -- Current index when iterating over the list. Pos : Template_Maps.Cursor; end record; -- Get the value identified by the name. overriding function Get_Value (From : in Wiki_Template_Bean; Name : in String) return Util.Beans.Objects.Object; -- Get the number of elements in the list. overriding function Get_Count (From : Wiki_Template_Bean) return Natural; -- Set the current row index. Valid row indexes start at 1. overriding procedure Set_Row_Index (From : in out Wiki_Template_Bean; Index : in Natural); -- Get the element at the current row index. overriding function Get_Row (From : in Wiki_Template_Bean) return Util.Beans.Objects.Object; -- Get the template content for the plugin evaluation. overriding procedure Get_Template (Plugin : in out Wiki_Template_Bean; Params : in out Wiki.Attributes.Attribute_List; Template : out Wiki.Strings.UString); -- Find a plugin knowing its name. overriding function Find (Factory : in Wiki_Template_Bean; Name : in String) return Wiki.Plugins.Wiki_Plugin_Access; type Wiki_Space_Bean is new AWA.Wikis.Models.Wiki_Space_Bean with record Module : Modules.Wiki_Module_Access := null; -- List of tags associated with the question. Tags : aliased AWA.Tags.Beans.Tag_List_Bean; Tags_Bean : Util.Beans.Basic.Readonly_Bean_Access; end record; type Wiki_Space_Bean_Access is access all Wiki_Space_Bean'Class; -- Get the value identified by the name. overriding function Get_Value (From : in Wiki_Space_Bean; Name : in String) return Util.Beans.Objects.Object; -- Set the value identified by the name. overriding procedure Set_Value (From : in out Wiki_Space_Bean; Name : in String; Value : in Util.Beans.Objects.Object); -- Create or save the wiki space. overriding procedure Save (Bean : in out Wiki_Space_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); -- Load the wiki space information. overriding procedure Load (Bean : in out Wiki_Space_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); -- Delete the wiki space. procedure Delete (Bean : in out Wiki_Space_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); -- Create the Wiki_Space_Bean bean instance. function Create_Wiki_Space_Bean (Module : in AWA.Wikis.Modules.Wiki_Module_Access) return Util.Beans.Basic.Readonly_Bean_Access; function Get_Wiki_Space_Bean is new ASF.Helpers.Beans.Get_Bean (Element_Type => Wiki_Space_Bean, Element_Access => Wiki_Space_Bean_Access); type Wiki_View_Bean is new AWA.Wikis.Models.Wiki_View_Info with record -- The wiki module instance. Module : Modules.Wiki_Module_Access := null; -- The wiki space identifier. Wiki_Space : Wiki_Space_Bean_Access; -- List of tags associated with the wiki page. Tags : aliased AWA.Tags.Beans.Tag_List_Bean; Tags_Bean : Util.Beans.Basic.Readonly_Bean_Access; -- The read page counter associated with the wiki page. Counter : aliased AWA.Counters.Beans.Counter_Bean (Of_Type => ADO.Objects.KEY_INTEGER, Of_Class => Models.WIKI_PAGE_TABLE); Counter_Bean : Util.Beans.Basic.Readonly_Bean_Access; -- The wiki page links. Links : aliased Wiki_Links_Bean; Links_Bean : Util.Beans.Basic.Readonly_Bean_Access; -- The wiki plugins. Plugins : aliased Wiki_Template_Bean; Plugins_Bean : Util.Beans.Basic.Readonly_Bean_Access; end record; type Wiki_View_Bean_Access is access all Wiki_View_Bean'Class; -- Set the wiki identifier. procedure Set_Wiki_Id (Into : in out Wiki_View_Bean; Id : in ADO.Identifier); -- Get the value identified by the name. overriding function Get_Value (From : in Wiki_View_Bean; Name : in String) return Util.Beans.Objects.Object; -- Set the value identified by the name. overriding procedure Set_Value (From : in out Wiki_View_Bean; Name : in String; Value : in Util.Beans.Objects.Object); -- Get the wiki syntax for the page. function Get_Syntax (From : in Wiki_View_Bean) return Wiki.Wiki_Syntax; -- Load the information about the wiki page to display it. overriding procedure Load (Bean : in out Wiki_View_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); -- Create the Wiki_View_Bean bean instance. function Create_Wiki_View_Bean (Module : in AWA.Wikis.Modules.Wiki_Module_Access) return Util.Beans.Basic.Readonly_Bean_Access; function Get_Wiki_View_Bean is new ASF.Helpers.Beans.Get_Bean (Element_Type => Wiki_View_Bean, Element_Access => Wiki_View_Bean_Access); -- Get a select item list which contains a list of wiki formats. function Create_Format_List_Bean (Module : in AWA.Wikis.Modules.Wiki_Module_Access) return Util.Beans.Basic.Readonly_Bean_Access; -- ------------------------------ -- Wiki Page Bean -- ------------------------------ -- The <tt>Wiki_Page_Bean</tt> is used to edit a wiki page. The model type inherit from -- the <tt>Wiki_Page</tt> and the wiki page text is hold in the <tt>Content</tt> member. -- When a new content is updated, the <tt>Set_Value</tt> procedure sets it in the -- <tt>New_Content</tt> member. It is compared to the current wiki text to decide whether -- we have to create a new version or not. type Wiki_Page_Bean is new AWA.Wikis.Models.Wiki_Page_Bean with record Module : Modules.Wiki_Module_Access := null; -- The page content. Content : Models.Wiki_Content_Ref; Has_Content : Boolean := False; Format : AWA.Wikis.Models.Format_Type := AWA.Wikis.Models.FORMAT_CREOLE; New_Content : Ada.Strings.Unbounded.Unbounded_String; New_Comment : Ada.Strings.Unbounded.Unbounded_String; Wiki_Space : Wiki_Space_Bean_Access; -- List of tags associated with the wiki page. Tags : aliased AWA.Tags.Beans.Tag_List_Bean; Tags_Bean : Util.Beans.Basic.Readonly_Bean_Access; end record; type Wiki_Page_Bean_Access is access all Wiki_Page_Bean'Class; -- Returns True if the wiki page has a new text content and requires -- a new version to be created. function Has_New_Content (Bean : in Wiki_Page_Bean) return Boolean; -- Get the value identified by the name. overriding function Get_Value (From : in Wiki_Page_Bean; Name : in String) return Util.Beans.Objects.Object; -- Set the value identified by the name. overriding procedure Set_Value (From : in out Wiki_Page_Bean; Name : in String; Value : in Util.Beans.Objects.Object); -- Create or save the wiki page. overriding procedure Save (Bean : in out Wiki_Page_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); -- Load the wiki page. overriding procedure Load (Bean : in out Wiki_Page_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); -- Setup the wiki page for the creation. overriding procedure Setup (Bean : in out Wiki_Page_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); -- Delete the wiki page. overriding procedure Delete (Bean : in out Wiki_Page_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); -- Create the Wiki_Page_Bean bean instance. function Create_Wiki_Page_Bean (Module : in AWA.Wikis.Modules.Wiki_Module_Access) return Util.Beans.Basic.Readonly_Bean_Access; -- ------------------------------ -- Wiki List Bean -- ------------------------------ -- The <b>Wiki_List_Bean</b> gives a list of visible wikis to be displayed to users. -- The list can be filtered by a given tag. The list pagination is supported. type Wiki_List_Bean is new AWA.Wikis.Models.Wiki_Page_List_Bean with record Module : Modules.Wiki_Module_Access := null; Pages : aliased AWA.Wikis.Models.Wiki_Page_Info_List_Bean; Tags : AWA.Tags.Beans.Entity_Tag_Map; Pages_Bean : AWA.Wikis.Models.Wiki_Page_Info_List_Bean_Access; -- The wiki space identifier. Wiki_Space : Wiki_Space_Bean_Access; end record; type Wiki_List_Bean_Access is access all Wiki_List_Bean'Class; -- Get the value identified by the name. overriding function Get_Value (From : in Wiki_List_Bean; Name : in String) return Util.Beans.Objects.Object; -- Set the value identified by the name. overriding procedure Set_Value (From : in out Wiki_List_Bean; Name : in String; Value : in Util.Beans.Objects.Object); overriding procedure Load (From : in out Wiki_List_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); -- Load the list of pages. If a tag was set, filter the list of pages with the tag. procedure Load_List (Into : in out Wiki_List_Bean); -- Create the Post_List_Bean bean instance. function Create_Wiki_List_Bean (Module : in AWA.Wikis.Modules.Wiki_Module_Access) return Util.Beans.Basic.Readonly_Bean_Access; -- ------------------------------ -- Wiki Version List Bean -- ------------------------------ type Wiki_Version_List_Bean is new AWA.Wikis.Models.Wiki_Version_List_Bean with record Module : Modules.Wiki_Module_Access := null; Versions : aliased AWA.Wikis.Models.Wiki_Version_Info_List_Bean; Versions_Bean : AWA.Wikis.Models.Wiki_Version_Info_List_Bean_Access; end record; type Wiki_Version_List_Bean_Access is access all Wiki_Version_List_Bean'Class; -- Get the value identified by the name. overriding function Get_Value (From : in Wiki_Version_List_Bean; Name : in String) return Util.Beans.Objects.Object; -- Set the value identified by the name. overriding procedure Set_Value (From : in out Wiki_Version_List_Bean; Name : in String; Value : in Util.Beans.Objects.Object); overriding procedure Load (Into : in out Wiki_Version_List_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); -- Create the Post_List_Bean bean instance. function Create_Wiki_Version_List_Bean (Module : in AWA.Wikis.Modules.Wiki_Module_Access) return Util.Beans.Basic.Readonly_Bean_Access; -- ------------------------------ -- Wiki page info Bean -- ------------------------------ -- The <tt>Wiki_Page_Info_Bean</tt> is used to provide information about a wiki page. -- It analyzes the page content and extract the list of links, images, words, templates -- used in the page. type Wiki_Page_Info_Bean is new AWA.Wikis.Models.Wiki_Page_Info_Bean with record Module : Modules.Wiki_Module_Access := null; Page : Wiki_View_Bean_Access; -- List of words contained in the wiki page. Words : aliased AWA.Tags.Beans.Tag_Info_List_Bean; Words_Bean : AWA.Tags.Beans.Tag_Info_List_Bean_Access; -- List of wiki page links used in the wiki page. Links : aliased AWA.Tags.Beans.Tag_Info_List_Bean; Links_Bean : AWA.Tags.Beans.Tag_Info_List_Bean_Access; -- List of external links used in the wiki page. Ext_Links : aliased AWA.Tags.Beans.Tag_Info_List_Bean; Ext_Links_Bean : AWA.Tags.Beans.Tag_Info_List_Bean_Access; end record; type Wiki_Page_Info_Bean_Access is access all Wiki_Page_Info_Bean'Class; -- Get the value identified by the name. overriding function Get_Value (From : in Wiki_Page_Info_Bean; Name : in String) return Util.Beans.Objects.Object; -- Set the value identified by the name. overriding procedure Set_Value (From : in out Wiki_Page_Info_Bean; Name : in String; Value : in Util.Beans.Objects.Object); overriding procedure Load (Into : in out Wiki_Page_Info_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); -- Create the Wiki_Page_Info_Bean bean instance. function Create_Wiki_Page_Info_Bean (Module : in AWA.Wikis.Modules.Wiki_Module_Access) return Util.Beans.Basic.Readonly_Bean_Access; -- ------------------------------ -- Wiki image info Bean -- ------------------------------ -- The <tt>Wiki_Image_Info_Bean</tt> is used to provide information about a wiki image. type Wiki_Image_Info_Bean is new AWA.Wikis.Models.Wiki_Image_Bean with record Module : Modules.Wiki_Module_Access := null; Page : Wiki_View_Bean_Access; -- The folder name and image name. Folder_Name : Ada.Strings.Unbounded.Unbounded_String; Name : Ada.Strings.Unbounded.Unbounded_String; -- The wiki space identifier and wiki page identifer that uses the image. Wiki_Id : ADO.Identifier := ADO.NO_IDENTIFIER; Page_Id : ADO.Identifier := ADO.NO_IDENTIFIER; -- Information about images. List : aliased AWA.Wikis.Models.Wiki_Image_Info_List_Bean; List_Bean : AWA.Wikis.Models.Wiki_Image_Info_List_Bean_Access; end record; type Wiki_Image_Info_Bean_Access is access all Wiki_Image_Info_Bean'Class; -- Get the value identified by the name. overriding function Get_Value (From : in Wiki_Image_Info_Bean; Name : in String) return Util.Beans.Objects.Object; -- Set the value identified by the name. overriding procedure Set_Value (From : in out Wiki_Image_Info_Bean; Name : in String; Value : in Util.Beans.Objects.Object); -- Load the information about the image. overriding procedure Load (Into : in out Wiki_Image_Info_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String); -- Create the Wiki_Image_Info_BEan bean instance. function Create_Wiki_Image_Info_Bean (Module : in AWA.Wikis.Modules.Wiki_Module_Access) return Util.Beans.Basic.Readonly_Bean_Access; type Init_Flag is (INIT_WIKI_LIST); type Init_Map is array (Init_Flag) of Boolean; -- ------------------------------ -- Admin List Bean -- ------------------------------ -- The <b>Wiki_Admin_Bean</b> is used for the administration of a wiki. It gives the -- list of wikis and pages that are created, published or not. type Wiki_Admin_Bean is new Util.Beans.Basic.Bean with record Module : AWA.Wikis.Modules.Wiki_Module_Access := null; -- The wiki space identifier. Wiki_Id : ADO.Identifier := ADO.NO_IDENTIFIER; -- List of blogs. Wiki_List : aliased AWA.Wikis.Models.Wiki_Info_List_Bean; Wiki_List_Bean : AWA.Wikis.Models.Wiki_Info_List_Bean_Access; -- Initialization flags. Init_Flags : aliased Init_Map := (others => False); Flags : access Init_Map; end record; type Wiki_Admin_Bean_Access is access all Wiki_Admin_Bean; -- Get the wiki space identifier. function Get_Wiki_Id (List : in Wiki_Admin_Bean) return ADO.Identifier; overriding function Get_Value (List : in Wiki_Admin_Bean; Name : in String) return Util.Beans.Objects.Object; -- Set the value identified by the name. overriding procedure Set_Value (From : in out Wiki_Admin_Bean; Name : in String; Value : in Util.Beans.Objects.Object); -- Load the list of wikis. procedure Load_Wikis (List : in Wiki_Admin_Bean); -- Create the Wiki_Admin_Bean bean instance. function Create_Wiki_Admin_Bean (Module : in AWA.Wikis.Modules.Wiki_Module_Access) return Util.Beans.Basic.Readonly_Bean_Access; end AWA.Wikis.Beans;
with Protypo.Api.Engine_Values.Engine_Value_Vectors; use Protypo.Api.Engine_Values; package Protypo.Api.Callback_Utilities is type Class_Array is array (Positive range <>) of Engine_Value_Class; function Match_Signature (Parameters : Engine_Value_Vectors.Vector; Signature : Class_Array) return Boolean; function Is_A (Parameters : Engine_Value_Vectors.Vector; Index : Positive; Class : Engine_Value_Class) return Boolean; function Get (Parameters : Engine_Value_Vectors.Vector; Index : Positive) return Engine_Value; function Get_Parameter (Parameters : Engine_Value_Vectors.Vector; Index : Positive) return String with Pre => Is_A (Parameters => Parameters, Index => Index, Class => Text); end Protypo.Api.Callback_Utilities;
type Float_Luminance is new Float; type Float_Pixel is record R, G, B : Float_Luminance := 0.0; end record; function "*" (Left : Float_Pixel; Right : Float_Luminance) return Float_Pixel is pragma Inline ("*"); begin return (Left.R * Right, Left.G * Right, Left.B * Right); end "*"; function "+" (Left, Right : Float_Pixel) return Float_Pixel is pragma Inline ("+"); begin return (Left.R + Right.R, Left.G + Right.G, Left.B + Right.B); end "+"; function To_Luminance (X : Float_Luminance) return Luminance is pragma Inline (To_Luminance); begin if X <= 0.0 then return 0; elsif X >= 255.0 then return 255; else return Luminance (X); end if; end To_Luminance; function To_Pixel (X : Float_Pixel) return Pixel is pragma Inline (To_Pixel); begin return (To_Luminance (X.R), To_Luminance (X.G), To_Luminance (X.B)); end To_Pixel;
with Ada.Containers.Hashed_Maps; with Ada.Containers.Ordered_Maps; with Ada.Streams.Unbounded_Storage_IO; with Ada.Strings.Maps.Constants; procedure mapstreaming is use type Ada.Containers.Count_Type; use type Ada.Streams.Stream_Element_Offset; use type Ada.Strings.Maps.Character_Mapping; Source : constant Ada.Strings.Maps.Character_Mapping := Ada.Strings.Maps.Constants.Case_Folding_Map; Source_Domain : constant Wide_Wide_String := Ada.Strings.Maps.Overloaded_To_Domain (Source); Source_Length : constant Ada.Containers.Count_Type := Source_Domain'Length; Buffer : Ada.Streams.Unbounded_Storage_IO.Buffer_Type; begin Ada.Strings.Maps.Character_Mapping'Write ( Ada.Streams.Unbounded_Storage_IO.Stream (Buffer), Source); -- Character_Mapping Ada.Streams.Unbounded_Storage_IO.Reset (Buffer); declare X : Ada.Strings.Maps.Character_Mapping; begin Ada.Strings.Maps.Character_Mapping'Read ( Ada.Streams.Unbounded_Storage_IO.Stream (Buffer), X); pragma Assert ( Ada.Streams.Index ( Ada.Streams.Seekable_Stream_Type'Class ( Ada.Streams.Unbounded_Storage_IO.Stream (Buffer).all)) = Ada.Streams.Unbounded_Storage_IO.Size (Buffer) + 1); pragma Assert (X = Source); end; -- Ordered_Maps Ada.Streams.Unbounded_Storage_IO.Reset (Buffer); declare package Maps is new Ada.Containers.Ordered_Maps ( Wide_Wide_Character, Wide_Wide_Character); X : Maps.Map; begin Maps.Map'Read ( Ada.Streams.Unbounded_Storage_IO.Stream (Buffer), X); pragma Assert ( Ada.Streams.Index ( Ada.Streams.Seekable_Stream_Type'Class ( Ada.Streams.Unbounded_Storage_IO.Stream (Buffer).all)) = Ada.Streams.Unbounded_Storage_IO.Size (Buffer) + 1); pragma Assert (X.Length = Source_Length); for I in X.Iterate loop pragma Assert ( Ada.Strings.Maps.Overloaded_Value (Source, Maps.Key (I)) = Maps.Element (I)); null; end loop; end; -- Hashed_Maps Ada.Streams.Unbounded_Storage_IO.Reset (Buffer); declare function Hash (Item : Wide_Wide_Character) return Ada.Containers.Hash_Type is begin return Wide_Wide_Character'Pos (Item); end Hash; package Maps is new Ada.Containers.Hashed_Maps ( Wide_Wide_Character, Wide_Wide_Character, Hash => Hash, Equivalent_Keys => "="); X : Maps.Map; begin Maps.Map'Read ( Ada.Streams.Unbounded_Storage_IO.Stream (Buffer), X); pragma Assert ( Ada.Streams.Index ( Ada.Streams.Seekable_Stream_Type'Class ( Ada.Streams.Unbounded_Storage_IO.Stream (Buffer).all)) = Ada.Streams.Unbounded_Storage_IO.Size (Buffer) + 1); pragma Assert (X.Length = Source_Length); for I in X.Iterate loop pragma Assert ( Ada.Strings.Maps.Overloaded_Value (Source, Maps.Key (I)) = Maps.Element (I)); null; end loop; end; pragma Debug (Ada.Debug.Put ("OK")); end mapstreaming;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2009-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$ ------------------------------------------------------------------------------ with System; with League.Characters.Internals; with League.JSON.Streams; with League.JSON.Values; with League.Strings.Internals; with League.String_Vectors.Internals; with Matreshka.Internals.Locales; with Matreshka.Internals.Strings.Configuration; with Matreshka.Internals.Strings.Operations; with Matreshka.Internals.String_Vectors; with Matreshka.Internals.Stream_Element_Vectors; with Matreshka.Internals.Text_Codecs.UTF16; with Matreshka.Internals.Text_Codecs.UTF8; with Matreshka.Internals.Unicode.Casing; with Matreshka.Internals.Unicode.Collation; with Matreshka.Internals.Unicode.Normalization; with Matreshka.Internals.Unicode.Ucd; package body League.Strings is use League.Strings.Internals; use Matreshka.Internals.String_Vectors; use Matreshka.Internals.Strings; use Matreshka.Internals.Strings.Configuration; use Matreshka.Internals.Strings.Operations; use Matreshka.Internals.Unicode; use Matreshka.Internals.Utf16; procedure To_Utf16_String (Source : Wide_Wide_String; Destination : out Shared_String_Access); procedure Attach (Self : in out Abstract_Cursor'Class); -- Attaches cursor to the list of cursors of Universal_String. procedure Detach (Self : in out Abstract_Cursor'Class); -- Detaches cursor from the list of cursors of Universal_String. Also -- reset associated object to null. function From_Position (Item : not null Matreshka.Internals.Strings.Shared_String_Access; Index : Positive) return Utf16_String_Index; -- Computes position of the character with given index in internal data. -- Returned position point to the first code unit of the character. Raises -- Constraint_Error when Index is out of range. function To_Position (Item : not null Matreshka.Internals.Strings.Shared_String_Access; Index : Positive) return Utf16_String_Index; -- Computes position of the next character after given index in internal -- data. Raises Constraint_Error when Index is out of range. function Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; Code : Matreshka.Internals.Unicode.Code_Unit_32) return Natural; function Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; From : Positive; Code : Matreshka.Internals.Unicode.Code_Unit_32) return Natural; function Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; From : Positive; To : Natural; Code : Matreshka.Internals.Unicode.Code_Unit_32) return Natural; -- Internal implementations to share common code. function Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; Pattern : not null Matreshka.Internals.Strings.Shared_String_Access) return Natural; function Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; From : Positive; Pattern : not null Matreshka.Internals.Strings.Shared_String_Access) return Natural; function Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; From : Positive; To : Natural; Pattern : not null Matreshka.Internals.Strings.Shared_String_Access) return Natural; -- Internal implementations to share common code. function Last_Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; Code : Matreshka.Internals.Unicode.Code_Unit_32) return Natural; function Last_Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; To : Natural; Code : Matreshka.Internals.Unicode.Code_Unit_32) return Natural; function Last_Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; From : Positive; To : Natural; Code : Matreshka.Internals.Unicode.Code_Unit_32) return Natural; -- Internal implementations to share common code. --------- -- "&" -- --------- function "&" (Left : Universal_String'Class; Right : Universal_String'Class) return Universal_String is L_D : constant not null Shared_String_Access := Left.Data; R_D : constant not null Shared_String_Access := Right.Data; begin if L_D.Length = 0 then return Universal_String (Right); elsif R_D.Length = 0 then return Universal_String (Left); else declare D : constant not null Shared_String_Access := Allocate (L_D.Unused + R_D.Unused); begin D.Value (0 .. L_D.Unused - 1) := L_D.Value (0 .. L_D.Unused - 1); D.Value (L_D.Unused .. L_D.Unused + R_D.Unused - 1) := R_D.Value (0 .. R_D.Unused - 1); D.Unused := L_D.Unused + R_D.Unused; D.Length := L_D.Length + R_D.Length; String_Handler.Fill_Null_Terminator (D); return Wrap (D); end; end if; end "&"; --------- -- "&" -- --------- function "&" (Left : Universal_String'Class; Right : League.Characters.Universal_Character'Class) return Universal_String is begin return Left & Right.To_Wide_Wide_Character; end "&"; --------- -- "&" -- --------- function "&" (Left : League.Characters.Universal_Character'Class; Right : Universal_String'Class) return Universal_String is begin return Left.To_Wide_Wide_Character & Right; end "&"; --------- -- "&" -- --------- function "&" (Left : Universal_String'Class; Right : Wide_Wide_Character) return Universal_String is L_D : constant not null Shared_String_Access := Left.Data; begin if not Is_Valid (Wide_Wide_Character'Pos (Right)) then raise Constraint_Error with "Illegal Unicode code point"; end if; declare D : constant not null Shared_String_Access := Allocate (L_D.Unused + 1); P : Utf16_String_Index := L_D.Unused; begin if L_D.Unused /= 0 then D.Value (0 .. L_D.Unused - 1) := L_D.Value (0 .. L_D.Unused - 1); end if; Unchecked_Store (D.Value, P, Wide_Wide_Character'Pos (Right)); D.Unused := P; D.Length := L_D.Length + 1; String_Handler.Fill_Null_Terminator (D); return Wrap (D); end; end "&"; --------- -- "&" -- --------- function "&" (Left : Wide_Wide_Character; Right : Universal_String'Class) return Universal_String is R_D : constant not null Shared_String_Access := Right.Data; begin if not Is_Valid (Wide_Wide_Character'Pos (Left)) then raise Constraint_Error with "Illegal Unicode code point"; end if; declare D : constant not null Shared_String_Access := Allocate (R_D.Unused + 1); P : Utf16_String_Index := 0; begin Unchecked_Store (D.Value, P, Wide_Wide_Character'Pos (Left)); if R_D.Unused /= 0 then D.Value (P .. P + R_D.Unused - 1) := R_D.Value (0 .. R_D.Unused - 1); end if; D.Unused := P + R_D.Unused; D.Length := R_D.Length + 1; String_Handler.Fill_Null_Terminator (D); return Wrap (D); end; end "&"; --------- -- "&" -- --------- function "&" (Left : Universal_String'Class; Right : Wide_Wide_String) return Universal_String is begin return Left & To_Universal_String (Right); end "&"; --------- -- "&" -- --------- function "&" (Left : Wide_Wide_String; Right : Universal_String'Class) return Universal_String is begin return To_Universal_String (Left) & Right; end "&"; --------- -- "<" -- --------- function "<" (Left : Universal_String; Right : Universal_String) return Boolean is L_D : constant not null Shared_String_Access := Left.Data; R_D : constant not null Shared_String_Access := Right.Data; begin return String_Handler.Is_Less (L_D, R_D); end "<"; --------- -- "<" -- --------- function "<" (Left : Sort_Key; Right : Sort_Key) return Boolean is L_D : constant Shared_Sort_Key_Access := Left.Data; R_D : constant Shared_Sort_Key_Access := Right.Data; begin return L_D /= R_D and then L_D.Data (1 .. L_D.Last) < R_D.Data (1 .. R_D.Last); end "<"; ---------- -- "<=" -- ---------- function "<=" (Left : Universal_String; Right : Universal_String) return Boolean is L_D : constant not null Shared_String_Access := Left.Data; R_D : constant not null Shared_String_Access := Right.Data; begin return String_Handler.Is_Less_Or_Equal (L_D, R_D); end "<="; ---------- -- "<=" -- ---------- function "<=" (Left : Sort_Key; Right : Sort_Key) return Boolean is L_D : constant Shared_Sort_Key_Access := Left.Data; R_D : constant Shared_Sort_Key_Access := Right.Data; begin return L_D = R_D or else L_D.Data (1 .. L_D.Last) <= R_D.Data (1 .. R_D.Last); end "<="; --------- -- "=" -- --------- overriding function "=" (Left : Universal_String; Right : Universal_String) return Boolean is -- Data component of Universal_String as well as String_Handler are -- non-null always by convention. Access check is suppressed to improve -- performance and replaced by corresponding assertions. pragma Assert (Left.Data /= null); pragma Assert (Right.Data /= null); pragma Assert (String_Handler /= null); pragma Suppress (Access_Check); L_D : constant not null Shared_String_Access := Left.Data; R_D : constant not null Shared_String_Access := Right.Data; begin return String_Handler.Is_Equal (L_D, R_D); end "="; --------- -- "=" -- --------- overriding function "=" (Left : Sort_Key; Right : Sort_Key) return Boolean is L_D : constant Shared_Sort_Key_Access := Left.Data; R_D : constant Shared_Sort_Key_Access := Right.Data; begin return L_D = R_D or else L_D.Data (1 .. L_D.Last) = R_D.Data (1 .. R_D.Last); end "="; --------- -- ">" -- --------- function ">" (Left : Universal_String; Right : Universal_String) return Boolean is L_D : constant not null Shared_String_Access := Left.Data; R_D : constant not null Shared_String_Access := Right.Data; begin return String_Handler.Is_Greater (L_D, R_D); end ">"; --------- -- ">" -- --------- function ">" (Left : Sort_Key; Right : Sort_Key) return Boolean is L_D : constant Shared_Sort_Key_Access := Left.Data; R_D : constant Shared_Sort_Key_Access := Right.Data; begin return L_D /= R_D and then L_D.Data (1 .. L_D.Last) > R_D.Data (1 .. R_D.Last); end ">"; ---------- -- ">=" -- ---------- function ">=" (Left : Universal_String; Right : Universal_String) return Boolean is L_D : constant not null Shared_String_Access := Left.Data; R_D : constant not null Shared_String_Access := Right.Data; begin return String_Handler.Is_Greater_Or_Equal (L_D, R_D); end ">="; ---------- -- ">=" -- ---------- function ">=" (Left : Sort_Key; Right : Sort_Key) return Boolean is L_D : constant Shared_Sort_Key_Access := Left.Data; R_D : constant Shared_Sort_Key_Access := Right.Data; begin return L_D = R_D or else L_D.Data (1 .. L_D.Last) >= R_D.Data (1 .. R_D.Last); end ">="; ------------ -- Adjust -- ------------ overriding procedure Adjust (Self : in out Abstract_Cursor) is begin Self.Next := null; Self.Previous := null; if Self.Object /= null then Attach (Self); end if; end Adjust; ------------ -- Adjust -- ------------ overriding procedure Adjust (Self : in out Sort_Key) is begin Reference (Self.Data); end Adjust; ------------ -- Adjust -- ------------ overriding procedure Adjust (Self : in out Universal_String) is -- Data component is non-null by convention, this allows to suppress -- access check to improve performance. pragma Assert (Self.Data /= null); pragma Suppress (Access_Check); begin Reference (Self.Data); Self.List := (Head => null); Self.Cursors := Self.List'Unchecked_Access; end Adjust; ------------ -- Append -- ------------ procedure Append (Self : in out Universal_String'Class; Item : Universal_String'Class) is P : constant Utf16_String_Index := Self.Data.Unused; begin Append (Self.Data, Item.Data); Emit_Changed (Self, P, Utf16_String_Index'Last, Self.Data.Unused - 1); end Append; ------------ -- Append -- ------------ procedure Append (Self : in out Universal_String'Class; Item : League.Characters.Universal_Character'Class) is P : constant Utf16_String_Index := Self.Data.Unused; C : constant Matreshka.Internals.Unicode.Code_Unit_32 := League.Characters.Internals.Internal (Item); begin if not Is_Valid (C) then raise Constraint_Error with "Illegal Unicode code point"; end if; Append (Self.Data, C); Emit_Changed (Self, P, Utf16_String_Index'Last, Self.Data.Unused - 1); end Append; ------------ -- Append -- ------------ procedure Append (Self : in out Universal_String'Class; Item : Wide_Wide_String) is begin Self.Append (To_Universal_String (Item)); end Append; ------------ -- Append -- ------------ procedure Append (Self : in out Universal_String'Class; Item : Wide_Wide_Character) is P : constant Utf16_String_Index := Self.Data.Unused; begin if not Is_Valid (Wide_Wide_Character'Pos (Item)) then raise Constraint_Error with "Illegal Unicode code point"; end if; Append (Self.Data, Wide_Wide_Character'Pos (Item)); Emit_Changed (Self, P, Utf16_String_Index'Last, Self.Data.Unused - 1); end Append; ------------ -- Attach -- ------------ procedure Attach (Self : in out Abstract_Cursor'Class) is begin Self.Next := Self.Object.Cursors.Head; Self.Object.Cursors.Head := Self'Unchecked_Access; if Self.Next /= null then Self.Next.Previous := Self'Unchecked_Access; end if; end Attach; ------------ -- Attach -- ------------ procedure Attach (Self : in out Abstract_Cursor'Class; Item : in out Universal_String'Class) is begin if Self.Object /= Item'Unchecked_Access then Detach (Self); Self.Object := Item'Unchecked_Access; Attach (Self); end if; end Attach; ----------- -- Clear -- ----------- procedure Clear (Self : in out Universal_String'Class) is begin Matreshka.Internals.Strings.Dereference (Self.Data); Self.Data := Matreshka.Internals.Strings.Shared_Empty'Access; end Clear; --------------- -- Collation -- --------------- function Collation (Self : Universal_String'Class) return Sort_Key is Data : Shared_String_Access; Locale : Matreshka.Internals.Locales.Locale_Data_Access; begin Matreshka.Internals.Unicode.Normalization.NFD (Self.Data, Data); Locale := Matreshka.Internals.Locales.Get_Locale; return Result : constant Sort_Key := (Ada.Finalization.Controlled with Data => Matreshka.Internals.Unicode.Collation.Construct_Sort_Key (Locale, Data)) do Dereference (Data); Matreshka.Internals.Locales.Dereference (Locale); end return; end Collation; ---------- -- Copy -- ---------- -- function Copy (Source : not null String_Private_Data_Access) -- return not null String_Private_Data_Access -- is -- begin -- return Result : not null String_Private_Data_Access -- := Create -- (new Utf16_String'(Source.Value.all), -- Source.Last, -- Source.Length, -- Source.Index_Mode) -- do -- if Source.Index_Map /= null then -- Result.Index_Map := new Index_Map'(Source.Index_Map.all); -- end if; -- end return; -- end Copy; ----------- -- Count -- ----------- function Count (Self : Universal_String'Class; Character : League.Characters.Universal_Character'Class) return Natural is C : constant Matreshka.Internals.Unicode.Code_Unit_32 := League.Characters.Internals.Internal (Character); begin if not Is_Valid (C) then raise Constraint_Error with "Illegal Unicode code point"; end if; return String_Handler.Count (Self.Data, C); end Count; ----------- -- Count -- ----------- function Count (Self : Universal_String'Class; Character : Wide_Wide_Character) return Natural is Code : constant Code_Unit_32 := Wide_Wide_Character'Pos (Character); begin if not Is_Valid (Code) then raise Constraint_Error with "Illegal Unicode code point"; end if; return String_Handler.Count (Self.Data, Code); end Count; ------------ -- Detach -- ------------ procedure Detach (Self : in out Abstract_Cursor'Class) is begin if Self.Object /= null then if Self.Next /= null then Self.Next.Previous := Self.Previous; end if; if Self.Previous /= null then Self.Previous.Next := Self.Next; elsif Self.Object.Cursors.Head = Self'Unchecked_Access then Self.Object.Cursors.Head := Self.Next; end if; end if; Self.Next := null; Self.Previous := null; Self.Object := null; end Detach; ------------- -- Element -- ------------- function Element (Self : Universal_String'Class; Index : Positive) return League.Characters.Universal_Character is D : constant Shared_String_Access := Self.Data; begin if Index > D.Length then raise Constraint_Error with "Index is out of range"; end if; if D.Unused = Utf16_String_Index (D.Length) then return League.Characters.Internals.Create (Code_Unit_32 (D.Value (Utf16_String_Index (Index - 1)))); else return League.Characters.Internals.Create (Unchecked_To_Code_Point (D.Value, From_Position (D, Index))); end if; end Element; ------------------ -- Emit_Changed -- ------------------ procedure Emit_Changed (Self : Universal_String'Class; Changed_First : Matreshka.Internals.Utf16.Utf16_String_Index; Removed_Last : Matreshka.Internals.Utf16.Utf16_String_Index; Inserted_Last : Matreshka.Internals.Utf16.Utf16_String_Index) is Current : Cursor_Access := Self.Cursors.Head; Next : Cursor_Access; begin while Current /= null loop Next := Current.Next; -- Current.On_Changed (Changed_First, Removed_Last, Inserted_Last); Current := Next; end loop; end Emit_Changed; -- procedure Emit_Changed -- (Self : not null String_Private_Data_Access; -- Cursor : not null Modify_Cursor_Access; -- Changed_First : Positive; -- Removed_Last : Natural; -- Inserted_Last : Natural) -- is -- Current : Modify_Cursor_Access := Self.Cursors; -- Next : Modify_Cursor_Access := Current.Next; -- -- begin -- loop -- if Current /= Cursor then -- Current.On_Changed (Changed_First, Removed_Last, Inserted_Last); -- end if; -- -- exit when Next = null; -- -- Current := Next; -- Next := Current.Next; -- end loop; -- end Emit_Changed; --------------- -- Ends_With -- --------------- function Ends_With (Self : Universal_String'Class; Pattern : Universal_String'Class) return Boolean is begin return Self.Length >= Pattern.Length and then Self.Slice (Self.Length - Pattern.Length + 1, Self.Length) = Universal_String (Pattern); end Ends_With; --------------- -- Ends_With -- --------------- function Ends_With (Self : Universal_String'Class; Pattern : Wide_Wide_String) return Boolean is begin return Self.Ends_With (To_Universal_String (Pattern)); end Ends_With; -------------- -- Finalize -- -------------- overriding procedure Finalize (Self : in out Abstract_Cursor) is begin Detach (Self); end Finalize; -------------- -- Finalize -- -------------- overriding procedure Finalize (Self : in out Sort_Key) is begin -- Finalize can be called more than once (as specified by language -- standard), thus implementation should provide protection from -- multiple finalization. if Self.Data /= null then Dereference (Self.Data); end if; end Finalize; -------------- -- Finalize -- -------------- overriding procedure Finalize (Self : in out Universal_String) is pragma Suppress (Access_Check); -- Compiler generates access check for Self.Cursor which is known to be -- non-null by convention. Current : Cursor_Access; Next : Cursor_Access; begin -- Finalize can be called more than once (as specified by language -- standard), thus implementation should provide protection from -- multiple finalization. if Self.Data /= null then Current := Self.Cursors.Head; while Current /= null loop Next := Current.Next; Detach (Current.all); Current := Next; end loop; Dereference (Self.Data); end if; end Finalize; ------------------- -- From_Position -- ------------------- function From_Position (Item : not null Matreshka.Internals.Strings.Shared_String_Access; Index : Positive) return Utf16_String_Index is Map : Index_Map_Access; begin if Index > Item.Length then raise Constraint_Error with "Index is out of range"; end if; if Index = 1 then return 0; end if; if Item.Unused = Utf16_String_Index (Item.Length) then return Utf16_String_Index (Index - 1); elsif Item.Unused = Utf16_String_Index (Item.Length) * 2 then return Utf16_String_Index (Index - 1) * 2; else Map := Item.Index_Map; -- Calculate index map if it is unavailable for now. if Map = null then Compute_Index_Map (Item.all); Map := Item.Index_Map; end if; return Map.Map (Utf16_String_Index (Index - 1)); end if; end From_Position; ----------------------------- -- From_UTF_16_Wide_String -- ----------------------------- function From_UTF_16_Wide_String (Item : Ada.Strings.UTF_Encoding.UTF_16_Wide_String) return Universal_String is use type Ada.Streams.Stream_Element_Offset; use System; Data : constant Ada.Streams.Stream_Element_Array (1 .. Item'Length * 2); for Data'Address use Item'Address; pragma Import (Ada, Data); Aux : Shared_String_Access; begin if Default_Bit_Order = High_Order_First then declare Decoder : Matreshka.Internals.Text_Codecs.UTF16.UTF16BE_Decoder; begin Decoder.Decode (Data, Aux); if Decoder.Is_Mailformed then Dereference (Aux); raise Constraint_Error with "Illegal UTF16BE data"; end if; end; else declare Decoder : Matreshka.Internals.Text_Codecs.UTF16.UTF16LE_Decoder; begin Decoder.Decode (Data, Aux); if Decoder.Is_Mailformed then Dereference (Aux); raise Constraint_Error with "Illegal UTF16LE data"; end if; end; end if; return Wrap (Aux); end From_UTF_16_Wide_String; ----------------------- -- From_UTF_8_String -- ----------------------- function From_UTF_8_String (Item : Ada.Strings.UTF_Encoding.UTF_8_String) return Universal_String is Data : constant Ada.Streams.Stream_Element_Array (1 .. Item'Length); for Data'Address use Item'Address; pragma Import (Ada, Data); Decoder : Matreshka.Internals.Text_Codecs.UTF8.UTF8_Decoder; Aux : Shared_String_Access; begin Decoder.Decode (Data, Aux); if Decoder.Is_Mailformed then Dereference (Aux); raise Constraint_Error with "Illegal UTF8 data"; end if; return Wrap (Aux); end From_UTF_8_String; ---------- -- Hash -- ---------- function Hash (Self : Universal_String'Class) return League.Hash_Type is begin return Hash (Self.Data); end Hash; ---------- -- Head -- ---------- function Head (Self : Universal_String'Class; Count : Natural) return Universal_String is begin if Count > Self.Length then raise Constraint_Error with "String is too small"; elsif Count = 0 then return Empty_Universal_String; else return Self.Slice (1, Count); end if; end Head; ----------- -- Index -- ----------- function Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; Code : Matreshka.Internals.Unicode.Code_Unit_32) return Natural is -- String_Handler is not null by convention, access check can be -- suppressed. pragma Assert (String_Handler /= null); pragma Suppress (Access_Check); -- Code is tested to be in range, range check can be suppressed. pragma Suppress (Range_Check); begin if not Is_Valid (Code) then raise Constraint_Error with "Illegal Unicode code point"; end if; if Item.Length = 0 then -- Empty string doesn't contains any character. return 0; end if; return String_Handler.Index (Item, 1, 0, Item.Unused, Code); end Index; ----------- -- Index -- ----------- function Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; From : Positive; Code : Matreshka.Internals.Unicode.Code_Unit_32) return Natural is -- String_Handler is not null by convention, access check can be -- suppressed. pragma Assert (String_Handler /= null); pragma Suppress (Access_Check); -- Code is tested to be in range, range check can be suppressed. pragma Suppress (Range_Check); begin if not Is_Valid (Code) then raise Constraint_Error with "Illegal Unicode code point"; end if; if From > Item.Length then -- Empty slice, there are no characters in it. return 0; end if; return String_Handler.Index (Item, From, From_Position (Item, From), Item.Unused, Code); end Index; ----------- -- Index -- ----------- function Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; From : Positive; To : Natural; Code : Matreshka.Internals.Unicode.Code_Unit_32) return Natural is -- String_Handler is not null by convention, access check can be -- suppressed. pragma Assert (String_Handler /= null); pragma Suppress (Access_Check); -- Code is tested to be in range, range check can be suppressed. pragma Suppress (Range_Check); begin if not Is_Valid (Code) then raise Constraint_Error with "Illegal Unicode code point"; end if; if From > To then -- Empty slice specified. return 0; end if; return String_Handler.Index (Item, From, From_Position (Item, From), To_Position (Item, To), Code); end Index; ----------- -- Index -- ----------- function Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; Pattern : not null Matreshka.Internals.Strings.Shared_String_Access) return Natural is -- String_Handler is not null by convention, access check can be -- suppressed. pragma Assert (String_Handler /= null); pragma Suppress (Access_Check); -- Everything is tested to be in range, range check can be suppressed. pragma Suppress (Range_Check); begin if Item.Length = 0 then -- Empty string doesn't match any pattern. return 0; end if; return String_Handler.Index (Item, 1, 0, Item.Unused, Pattern); end Index; ----------- -- Index -- ----------- function Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; From : Positive; Pattern : not null Matreshka.Internals.Strings.Shared_String_Access) return Natural is -- String_Handler is not null by convention, access check can be -- suppressed. pragma Assert (String_Handler /= null); pragma Suppress (Access_Check); -- Everything is tested to be in range, range check can be suppressed. pragma Suppress (Range_Check); begin if From > Item.Length then -- Empty slice specified. return 0; end if; return String_Handler.Index (Item, From, From_Position (Item, From), Item.Unused, Pattern); end Index; ----------- -- Index -- ----------- function Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; From : Positive; To : Natural; Pattern : not null Matreshka.Internals.Strings.Shared_String_Access) return Natural is -- String_Handler is not null by convention, access check can be -- suppressed. pragma Assert (String_Handler /= null); pragma Suppress (Access_Check); -- Everything is tested to be in range, range check can be suppressed. pragma Suppress (Range_Check); begin if Item.Length = 0 then -- Empty string doesn't match any pattern. return 0; elsif From > To then -- Empty slice specified. return 0; end if; return String_Handler.Index (Item, From, From_Position (Item, From), To_Position (Item, To), Pattern); end Index; ----------- -- Index -- ----------- function Index (Self : Universal_String'Class; Character : League.Characters.Universal_Character'Class) return Natural is -- Data component is non-null by convention, this allows to suppress -- access check to improve performance. pragma Assert (Self.Data /= null); pragma Suppress (Access_Check); begin return Index (Self.Data, League.Characters.Internals.Internal (Character)); end Index; ----------- -- Index -- ----------- function Index (Self : Universal_String'Class; Character : Wide_Wide_Character) return Natural is -- Data component is non-null by convention, this allows to suppress -- access check to improve performance. pragma Assert (Self.Data /= null); pragma Suppress (Access_Check); begin return Index (Self.Data, Wide_Wide_Character'Pos (Character)); end Index; ----------- -- Index -- ----------- function Index (Self : Universal_String'Class; From : Positive; Character : League.Characters.Universal_Character'Class) return Natural is -- Data component is non-null by convention, this allows to suppress -- access check to improve performance. pragma Assert (Self.Data /= null); pragma Suppress (Access_Check); begin return Index (Self.Data, From, League.Characters.Internals.Internal (Character)); end Index; ----------- -- Index -- ----------- function Index (Self : Universal_String'Class; From : Positive; Character : Wide_Wide_Character) return Natural is -- Data component is non-null by convention, this allows to suppress -- access check to improve performance. pragma Assert (Self.Data /= null); pragma Suppress (Access_Check); begin return Index (Self.Data, From, Wide_Wide_Character'Pos (Character)); end Index; ----------- -- Index -- ----------- function Index (Self : Universal_String'Class; From : Positive; To : Natural; Character : League.Characters.Universal_Character'Class) return Natural is -- Data component is non-null by convention, this allows to suppress -- access check to improve performance. pragma Assert (Self.Data /= null); pragma Suppress (Access_Check); begin return Index (Self.Data, From, To, League.Characters.Internals.Internal (Character)); end Index; ----------- -- Index -- ----------- function Index (Self : Universal_String'Class; From : Positive; To : Natural; Character : Wide_Wide_Character) return Natural is -- Data component is non-null by convention, this allows to suppress -- access check to improve performance. pragma Assert (Self.Data /= null); pragma Suppress (Access_Check); begin return Index (Self.Data, From, To, Wide_Wide_Character'Pos (Character)); end Index; ----------- -- Index -- ----------- function Index (Self : Universal_String'Class; Pattern : Universal_String'Class) return Natural is begin return Index (Self.Data, Pattern.Data); end Index; ----------- -- Index -- ----------- function Index (Self : Universal_String'Class; Pattern : Wide_Wide_String) return Natural is Aux : constant Universal_String := To_Universal_String (Pattern); begin return Index (Self.Data, Aux.Data); end Index; ----------- -- Index -- ----------- function Index (Self : Universal_String'Class; From : Positive; Pattern : Universal_String'Class) return Natural is begin return Index (Self.Data, From, Pattern.Data); end Index; ----------- -- Index -- ----------- function Index (Self : Universal_String'Class; From : Positive; Pattern : Wide_Wide_String) return Natural is Aux : constant Universal_String := To_Universal_String (Pattern); begin return Index (Self.Data, From, Aux.Data); end Index; ----------- -- Index -- ----------- function Index (Self : Universal_String'Class; From : Positive; To : Natural; Pattern : Universal_String'Class) return Natural is begin return Index (Self.Data, From, To, Pattern.Data); end Index; ----------- -- Index -- ----------- function Index (Self : Universal_String'Class; From : Positive; To : Natural; Pattern : Wide_Wide_String) return Natural is Aux : constant Universal_String := To_Universal_String (Pattern); begin return Index (Self.Data, From, To, Aux.Data); end Index; ---------------- -- Initialize -- ---------------- overriding procedure Initialize (Self : in out Universal_String) is begin Self.List := (Head => null); Self.Cursors := Self.List'Unchecked_Access; end Initialize; -------------- -- Is_Empty -- -------------- function Is_Empty (Self : Universal_String'Class) return Boolean is begin return Self.Data.Length = 0; end Is_Empty; ---------------- -- Last_Index -- ---------------- function Last_Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; Code : Matreshka.Internals.Unicode.Code_Unit_32) return Natural is -- String_Handler is not null by convention, access check can be -- suppressed. pragma Assert (String_Handler /= null); pragma Suppress (Access_Check); -- Code is tested to be in range, range check can be suppressed. pragma Suppress (Range_Check); begin if not Is_Valid (Code) then raise Constraint_Error with "Illegal Unicode code point"; end if; if Item.Length = 0 then -- Empty string doesn't contains any character. return 0; end if; return String_Handler.Last_Index (Item, 0, Item.Length, Item.Unused, Code); end Last_Index; ---------------- -- Last_Index -- ---------------- function Last_Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; To : Natural; Code : Matreshka.Internals.Unicode.Code_Unit_32) return Natural is -- String_Handler is not null by convention, access check can be -- suppressed. pragma Assert (String_Handler /= null); pragma Suppress (Access_Check); -- Code is tested to be in range, range check can be suppressed. pragma Suppress (Range_Check); begin if not Is_Valid (Code) then raise Constraint_Error with "Illegal Unicode code point"; end if; return String_Handler.Last_Index (Item, 0, To, To_Position (Item, To), Code); end Last_Index; ---------------- -- Last_Index -- ---------------- function Last_Index (Item : not null Matreshka.Internals.Strings.Shared_String_Access; From : Positive; To : Natural; Code : Matreshka.Internals.Unicode.Code_Unit_32) return Natural is -- String_Handler is not null by convention, access check can be -- suppressed. pragma Assert (String_Handler /= null); pragma Suppress (Access_Check); -- Code is tested to be in range, range check can be suppressed. pragma Suppress (Range_Check); begin if not Is_Valid (Code) then raise Constraint_Error with "Illegal Unicode code point"; end if; if From > To then -- Empty slice selected. return 0; end if; return String_Handler.Last_Index (Item, From_Position (Item, From), To, To_Position (Item, To), Code); end Last_Index; ---------------- -- Last_Index -- ---------------- function Last_Index (Self : Universal_String'Class; Character : League.Characters.Universal_Character'Class) return Natural is begin return Last_Index (Self.Data, League.Characters.Internals.Internal (Character)); end Last_Index; ---------------- -- Last_Index -- ---------------- function Last_Index (Self : Universal_String'Class; Character : Wide_Wide_Character) return Natural is begin return Last_Index (Self.Data, Wide_Wide_Character'Pos (Character)); end Last_Index; ---------------- -- Last_Index -- ---------------- function Last_Index (Self : Universal_String'Class; To : Natural; Character : League.Characters.Universal_Character'Class) return Natural is begin return Last_Index (Self.Data, To, League.Characters.Internals.Internal (Character)); end Last_Index; ---------------- -- Last_Index -- ---------------- function Last_Index (Self : Universal_String'Class; To : Natural; Character : Wide_Wide_Character) return Natural is begin return Last_Index (Self.Data, To, Wide_Wide_Character'Pos (Character)); end Last_Index; ---------------- -- Last_Index -- ---------------- function Last_Index (Self : Universal_String'Class; From : Positive; To : Natural; Character : League.Characters.Universal_Character'Class) return Natural is begin return Last_Index (Self.Data, From, To, League.Characters.Internals.Internal (Character)); end Last_Index; ---------------- -- Last_Index -- ---------------- function Last_Index (Self : Universal_String'Class; From : Positive; To : Natural; Character : Wide_Wide_Character) return Natural is begin return Last_Index (Self.Data, From, To, Wide_Wide_Character'Pos (Character)); end Last_Index; ------------ -- Length -- ------------ function Length (Self : Universal_String'Class) return Natural is begin return Self.Data.Length; end Length; ---------------- -- On_Changed -- ---------------- not overriding procedure On_Changed (Self : not null access Abstract_Cursor; Changed_First : Positive; Removed_Last : Natural; Inserted_Last : Natural) is pragma Unreferenced (Changed_First, Removed_Last, Inserted_Last); begin Detach (Self.all); end On_Changed; ------------- -- Prepend -- ------------- procedure Prepend (Self : in out Universal_String'Class; Item : Universal_String'Class) is P : constant Utf16_String_Index := Self.Data.Unused; begin Prepend (Self.Data, Item.Data); Emit_Changed (Self, 0, Utf16_String_Index'Last, Self.Data.Unused - P); end Prepend; ------------- -- Prepend -- ------------- procedure Prepend (Self : in out Universal_String'Class; Item : League.Characters.Universal_Character'Class) is P : constant Utf16_String_Index := Self.Data.Unused; C : constant Matreshka.Internals.Unicode.Code_Unit_32 := League.Characters.Internals.Internal (Item); begin if not Is_Valid (C) then raise Constraint_Error with "Illegal Unicode code point"; end if; Prepend (Self.Data, C); Emit_Changed (Self, 0, Utf16_String_Index'Last, Self.Data.Unused - P); end Prepend; ------------- -- Prepend -- ------------- procedure Prepend (Self : in out Universal_String'Class; Item : Wide_Wide_String) is begin Self.Prepend (To_Universal_String (Item)); end Prepend; ------------- -- Prepend -- ------------- procedure Prepend (Self : in out Universal_String'Class; Item : Wide_Wide_Character) is P : constant Utf16_String_Index := Self.Data.Unused; begin if not Is_Valid (Wide_Wide_Character'Pos (Item)) then raise Constraint_Error with "Illegal Unicode code point"; end if; Prepend (Self.Data, Wide_Wide_Character'Pos (Item)); Emit_Changed (Self, 0, Utf16_String_Index'Last, Self.Data.Unused - P); end Prepend; ---------- -- Read -- ---------- procedure Read (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Item : out Sort_Key) is Last : Natural; begin -- Read length of the data. Natural'Read (Stream, Last); -- XXX Object mutation can be used here. Dereference (Item.Data); if Last = 0 then -- Empty sort key, reuse shared empty object. Item.Data := Matreshka.Internals.Strings.Shared_Empty_Key'Access; else -- Non-empty sort key, allocate array and receive data. Item.Data := new Matreshka.Internals.Strings.Shared_Sort_Key (Last); Matreshka.Internals.Strings.Sort_Key_Array'Read (Stream, Item.Data.Data); end if; end Read; ---------- -- Read -- ---------- procedure Read (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Item : out Universal_String) is Length : Natural; Unused : Utf16_String_Index; begin if Stream.all in League.JSON.Streams.JSON_Stream'Class then Item := League.JSON.Streams.JSON_Stream'Class (Stream.all).Read.To_String; else -- Read length of the string. Natural'Read (Stream, Length); -- XXX Value validation must be done before any other operations. -- XXX Object mutation can be used here. Dereference (Item.Data); if Length = 0 then -- Empty string, resuse shared empty object. Item.Data := Matreshka.Internals.Strings.Shared_Empty'Access; else -- Non-empty string, receive index of first unused code unit, -- allocate new shared object and receive actual data. Utf16_String_Index'Read (Stream, Unused); Item.Data := Allocate (Unused); Item.Data.Unused := Unused; Item.Data.Length := Length; Utf16_String'Read (Stream, Item.Data.Value (0 .. Item.Data.Unused - 1)); String_Handler.Fill_Null_Terminator (Item.Data); end if; end if; end Read; ------------- -- Replace -- ------------- procedure Replace (Self : in out Universal_String'Class; Low : Positive; High : Natural; By : Universal_String'Class) is D : constant not null Shared_String_Access := Self.Data; Length : Natural; First : Utf16_String_Index; Size : Utf16_String_Index; begin if Low > D.Length + 1 or else High > D.Length then raise Constraint_Error with "Index is out of range"; end if; Length := Natural'Max (High - Low + 1, 0); if Integer (D.Unused) = D.Length then First := Utf16_String_Index (Low - 1); Size := Utf16_String_Index (High - Low + 1); elsif Integer (D.Unused) = D.Length * 2 then First := Utf16_String_Index ((Low - 1) * 2); Size := Utf16_String_Index (High - Low + 1) * 2; else declare M : Index_Map_Access := D.Index_Map; begin if M = null then Compute_Index_Map (D.all); M := D.Index_Map; end if; First := M.Map (Utf16_String_Index (Low - 1)); if High = D.Length then Size := D.Unused - First; else Size := M.Map (Utf16_String_Index (High - 1)) - First + 1; end if; end; end if; Replace (Self.Data, First, Size, Length, By.Data); end Replace; ------------- -- Replace -- ------------- procedure Replace (Self : in out Universal_String'Class; Low : Positive; High : Natural; By : Wide_Wide_String) is begin Self.Replace (Low, High, To_Universal_String (By)); end Replace; ----------- -- Slice -- ----------- function Slice (Self : Universal_String'Class; Low : Positive; High : Natural) return Universal_String is D : constant not null Shared_String_Access := Self.Data; Length : Natural; First : Utf16_String_Index; Size : Utf16_String_Index; begin if Low > High then -- By Ada conventions, slice is empty when Low is greater than High. -- Actual values of Low and High is not important here. return Empty_Universal_String; elsif Low > D.Length or else High > D.Length then -- Otherwise, both Low and High should be less or equal to Length. raise Constraint_Error with "Index is out of range"; end if; Length := Natural'Max (High - Low + 1, 0); if Integer (D.Unused) = D.Length then First := Utf16_String_Index (Low - 1); Size := Utf16_String_Index (High - Low + 1); elsif Integer (D.Unused) = D.Length * 2 then First := Utf16_String_Index ((Low - 1) * 2); Size := Utf16_String_Index (High - Low + 1) * 2; else declare M : Index_Map_Access := D.Index_Map; begin if M = null then Compute_Index_Map (D.all); M := D.Index_Map; end if; First := M.Map (Utf16_String_Index (Low - 1)); if High = D.Length then Size := D.Unused - First; else Size := M.Map (Utf16_String_Index (High - 1)) - First + 1; end if; end; end if; return Wrap (Slice (D, First, Size, Length)); end Slice; ----------- -- Slice -- ----------- procedure Slice (Self : in out Universal_String'Class; Low : Positive; High : Natural) is D : Shared_String_Access := Self.Data; Length : Natural; First : Utf16_String_Index; Size : Utf16_String_Index; begin if Low > High then -- By Ada conventions, slice is empty when Low is greater than High. -- Actual values of Low and High is not important here. Dereference (D); Self.Data := Matreshka.Internals.Strings.Shared_Empty'Access; elsif Low > D.Length or else High > D.Length then -- Otherwise, both Low and High should be less or equal to Length. raise Constraint_Error with "Index is out of range"; end if; Length := Natural'Max (High - Low + 1, 0); if Integer (D.Unused) = D.Length then First := Utf16_String_Index (Low - 1); Size := Utf16_String_Index (High - Low + 1); elsif Integer (D.Unused) = D.Length * 2 then First := Utf16_String_Index ((Low - 1) * 2); Size := Utf16_String_Index (High - Low + 1) * 2; else declare M : Index_Map_Access := D.Index_Map; begin if M = null then Compute_Index_Map (D.all); M := D.Index_Map; end if; First := M.Map (Utf16_String_Index (Low - 1)); if High = D.Length then Size := D.Unused - First; else Size := M.Map (Utf16_String_Index (High - 1)) - First + 1; end if; end; end if; -- XXX This operation can be optimized in case of modification in place, -- so, then reference counter is equal to one. Self.Data := Slice (D, First, Size, Length); Dereference (D); end Slice; ----------- -- Split -- ----------- function Split (Self : Universal_String'Class; Separator : Wide_Wide_Character; Behavior : Split_Behavior := Keep_Empty) return League.String_Vectors.Universal_String_Vector is begin return Split (Self, League.Characters.To_Universal_Character (Separator), Behavior); end Split; ----------- -- Split -- ----------- function Split (Self : Universal_String'Class; Separator : League.Characters.Universal_Character'Class; Behavior : Split_Behavior := Keep_Empty) return League.String_Vectors.Universal_String_Vector is D : constant not null Shared_String_Access := Self.Data; C : constant Matreshka.Internals.Unicode.Code_Unit_32 := League.Characters.Internals.Internal (Separator); First_Position : Utf16_String_Index := 0; First_Index : Positive := 1; Current_Position : Utf16_String_Index := 0; Current_Index : Positive := 1; Last_Position : Utf16_String_Index; Last_Index : Natural; Code : Code_Point; S : Shared_String_Access; R : Shared_String_Vector_Access := Empty_Shared_String_Vector'Access; begin if not Is_Valid (C) then raise Constraint_Error with "Illegal Unicode code point"; end if; if D.Length = 0 then return League.String_Vectors.Empty_Universal_String_Vector; end if; while Current_Position < D.Unused loop Last_Position := Current_Position; Last_Index := Current_Index; Unchecked_Next (D.Value, Current_Position, Code); Current_Index := Current_Index + 1; if Code = C then if Behavior = Keep_Empty or Last_Index - First_Index /= 0 then S := Slice (D, First_Position, Last_Position - First_Position, Last_Index - First_Index); Append (R, S); end if; First_Position := Current_Position; First_Index := Current_Index; end if; end loop; if First_Position <= D.Unused then if Behavior = Keep_Empty or D.Length - First_Index + 1 /= 0 then S := Slice (D, First_Position, D.Unused - First_Position, D.Length - First_Index + 1); Append (R, S); end if; end if; return League.String_Vectors.Internals.Wrap (R); end Split; ----------------- -- Starts_With -- ----------------- function Starts_With (Self : Universal_String'Class; Pattern : Universal_String'Class) return Boolean is begin return String_Handler.Starts_With (Self.Data, Pattern.Data); end Starts_With; ----------------- -- Starts_With -- ----------------- function Starts_With (Self : Universal_String'Class; Pattern : Wide_Wide_String) return Boolean is begin return Self.Starts_With (To_Universal_String (Pattern)); end Starts_With; ---------- -- Tail -- ---------- function Tail (Self : Universal_String'Class; Count : Natural) return Universal_String is begin if Count > Self.Length then raise Constraint_Error with "String is too small"; elsif Count = 0 then return Empty_Universal_String; else return Self.Slice (Self.Length - Count + 1, Self.Length); end if; end Tail; --------------- -- Tail_From -- --------------- function Tail_From (Self : Universal_String'Class; From : Positive) return Universal_String is begin if From > Self.Length then return Empty_Universal_String; else return Self.Slice (From, Self.Length); end if; end Tail_From; ----------------- -- To_Casefold -- ----------------- function To_Casefold (Self : Universal_String'Class) return Universal_String is begin if Self.Data.Length = 0 then return Universal_String (Self); end if; declare Locale : Matreshka.Internals.Locales.Locale_Data_Access := Matreshka.Internals.Locales.Get_Locale; Data : not null Shared_String_Access := Allocate (Self.Data.Unused); begin Matreshka.Internals.Unicode.Casing.Convert_Case (Locale, Self.Data, Matreshka.Internals.Unicode.Ucd.Folding, Matreshka.Internals.Unicode.Ucd.Changes_When_Casefolded, Data); Matreshka.Internals.Locales.Dereference (Locale); return Wrap (Data); end; end To_Casefold; ------------------ -- To_Lowercase -- ------------------ function To_Lowercase (Self : Universal_String'Class) return Universal_String is begin if Self.Data.Length = 0 then return Universal_String (Self); end if; declare Locale : Matreshka.Internals.Locales.Locale_Data_Access := Matreshka.Internals.Locales.Get_Locale; Data : not null Shared_String_Access := Allocate (Self.Data.Unused); begin Matreshka.Internals.Unicode.Casing.Convert_Case (Locale, Self.Data, Matreshka.Internals.Unicode.Ucd.Lower, Matreshka.Internals.Unicode.Ucd.Changes_When_Lowercased, Data); Matreshka.Internals.Locales.Dereference (Locale); return Wrap (Data); end; end To_Lowercase; ------------ -- To_NFC -- ------------ function To_NFC (Self : Universal_String'Class) return Universal_String is Data : Shared_String_Access; begin Matreshka.Internals.Unicode.Normalization.NFC (Self.Data, Data); return Wrap (Data); end To_NFC; ------------ -- To_NFD -- ------------ function To_NFD (Self : Universal_String'Class) return Universal_String is Data : Shared_String_Access; begin Matreshka.Internals.Unicode.Normalization.NFD (Self.Data, Data); return Wrap (Data); end To_NFD; ------------- -- To_NFKC -- ------------- function To_NFKC (Self : Universal_String'Class) return Universal_String is Data : Shared_String_Access; begin Matreshka.Internals.Unicode.Normalization.NFKC (Self.Data, Data); return Wrap (Data); end To_NFKC; ------------- -- To_NFKD -- ------------- function To_NFKD (Self : Universal_String'Class) return Universal_String is Data : Shared_String_Access; begin Matreshka.Internals.Unicode.Normalization.NFKD (Self.Data, Data); return Wrap (Data); end To_NFKD; ----------------- -- To_Position -- ----------------- function To_Position (Item : not null Matreshka.Internals.Strings.Shared_String_Access; Index : Positive) return Utf16_String_Index is Map : Index_Map_Access; begin if Index > Item.Length then raise Constraint_Error with "Index is out of range"; end if; if Index = Item.Length then return Item.Unused; end if; if Item.Unused = Utf16_String_Index (Item.Length) then return Utf16_String_Index (Index); elsif Item.Unused = Utf16_String_Index (Item.Length) * 2 then return Utf16_String_Index (Index) * 2; else Map := Item.Index_Map; -- Calculate index map if it is unavailable for now. if Map = null then Compute_Index_Map (Item.all); Map := Item.Index_Map; end if; return Map.Map (Utf16_String_Index (Index)); end if; end To_Position; ------------------------ -- To_Simple_Casefold -- ------------------------ function To_Simple_Casefold (Self : Universal_String'Class) return Universal_String is begin if Self.Data.Length = 0 then return Empty_Universal_String; end if; declare Locale : Matreshka.Internals.Locales.Locale_Data_Access := Matreshka.Internals.Locales.Get_Locale; Data : not null Shared_String_Access := Allocate (Self.Data.Unused); begin Matreshka.Internals.Unicode.Casing.Simple_Convert_Case (Locale, Self.Data, Matreshka.Internals.Unicode.Ucd.Folding, Matreshka.Internals.Unicode.Ucd.Changes_When_Casefolded, Data); Matreshka.Internals.Locales.Dereference (Locale); return Wrap (Data); end; end To_Simple_Casefold; ------------------------- -- To_Simple_Lowercase -- ------------------------- function To_Simple_Lowercase (Self : Universal_String'Class) return Universal_String is begin if Self.Data.Length = 0 then return Empty_Universal_String; end if; declare Locale : Matreshka.Internals.Locales.Locale_Data_Access := Matreshka.Internals.Locales.Get_Locale; Data : not null Shared_String_Access := Allocate (Self.Data.Unused); begin Matreshka.Internals.Unicode.Casing.Simple_Convert_Case (Locale, Self.Data, Matreshka.Internals.Unicode.Ucd.Lower, Matreshka.Internals.Unicode.Ucd.Changes_When_Lowercased, Data); Matreshka.Internals.Locales.Dereference (Locale); return Wrap (Data); end; end To_Simple_Lowercase; ------------------------- -- To_Simple_Titlecase -- ------------------------- function To_Simple_Titlecase (Self : Universal_String'Class) return Universal_String is begin if Self.Data.Length = 0 then return Empty_Universal_String; end if; declare Locale : Matreshka.Internals.Locales.Locale_Data_Access := Matreshka.Internals.Locales.Get_Locale; Data : not null Shared_String_Access := Allocate (Self.Data.Unused); begin Matreshka.Internals.Unicode.Casing.Simple_Convert_Case (Locale, Self.Data, Matreshka.Internals.Unicode.Ucd.Title, Matreshka.Internals.Unicode.Ucd.Changes_When_Titlecased, Data); Matreshka.Internals.Locales.Dereference (Locale); return Wrap (Data); end; end To_Simple_Titlecase; ------------------------- -- To_Simple_Uppercase -- ------------------------- function To_Simple_Uppercase (Self : Universal_String'Class) return Universal_String is begin if Self.Data.Length = 0 then return Empty_Universal_String; end if; declare Locale : Matreshka.Internals.Locales.Locale_Data_Access := Matreshka.Internals.Locales.Get_Locale; Data : not null Shared_String_Access := Allocate (Self.Data.Unused); begin Matreshka.Internals.Unicode.Casing.Simple_Convert_Case (Locale, Self.Data, Matreshka.Internals.Unicode.Ucd.Upper, Matreshka.Internals.Unicode.Ucd.Changes_When_Uppercased, Data); Matreshka.Internals.Locales.Dereference (Locale); return Wrap (Data); end; end To_Simple_Uppercase; ------------------ -- To_Titlecase -- ------------------ function To_Titlecase (Self : Universal_String'Class) return Universal_String is begin if Self.Data.Length = 0 then return Empty_Universal_String; end if; declare Locale : Matreshka.Internals.Locales.Locale_Data_Access := Matreshka.Internals.Locales.Get_Locale; Data : not null Shared_String_Access := Allocate (Self.Data.Unused); begin Matreshka.Internals.Unicode.Casing.Convert_Case (Locale, Self.Data, Matreshka.Internals.Unicode.Ucd.Title, Matreshka.Internals.Unicode.Ucd.Changes_When_Titlecased, Data); Matreshka.Internals.Locales.Dereference (Locale); return Wrap (Data); end; end To_Titlecase; ------------------------- -- To_Universal_String -- ------------------------- function To_Universal_String (Item : Wide_Wide_String) return Universal_String is Data : Shared_String_Access; begin if Item'Length = 0 then return Result : Universal_String := Universal_String' (Ada.Finalization.Controlled with Data => Shared_Empty'Access, List => (Head => null), Cursors => null) do Result.Cursors := Result.List'Unchecked_Access; end return; end if; To_Utf16_String (Item, Data); return Wrap (Data); end To_Universal_String; ------------------ -- To_Uppercase -- ------------------ function To_Uppercase (Self : Universal_String'Class) return Universal_String is begin if Self.Data.Length = 0 then return Universal_String (Self); end if; declare Locale : Matreshka.Internals.Locales.Locale_Data_Access := Matreshka.Internals.Locales.Get_Locale; Data : not null Shared_String_Access := Allocate (Self.Data.Unused); begin Matreshka.Internals.Unicode.Casing.Convert_Case (Locale, Self.Data, Matreshka.Internals.Unicode.Ucd.Upper, Matreshka.Internals.Unicode.Ucd.Changes_When_Uppercased, Data); Matreshka.Internals.Locales.Dereference (Locale); return Wrap (Data); end; end To_Uppercase; --------------------------- -- To_UTF_16_Wide_String -- --------------------------- function To_UTF_16_Wide_String (Self : Universal_String'Class) return Ada.Strings.UTF_Encoding.UTF_16_Wide_String is -- Universal_String use UTF-16 encoding for internal data, thus no -- encoder is needed to do host-endian encoding. Result : constant Wide_String (1 .. Natural (Self.Data.Unused)); for Result'Address use Self.Data.Value'Address; pragma Import (Ada, Result); begin return Result; end To_UTF_16_Wide_String; --------------------- -- To_UTF_8_String -- --------------------- function To_UTF_8_String (Self : Universal_String'Class) return Ada.Strings.UTF_Encoding.UTF_8_String is use Matreshka.Internals.Stream_Element_Vectors; Encoder : Matreshka.Internals.Text_Codecs.UTF8.UTF8_Encoder; Buffer : Shared_Stream_Element_Vector_Access; begin Encoder.Encode (Self.Data, Buffer); declare Aux : String (1 .. Natural (Buffer.Length)); for Aux'Address use Buffer.Value'Address; pragma Import (Ada, Aux); Result : constant String (Aux'Range) := Aux; begin Dereference (Buffer); return Result; end; end To_UTF_8_String; --------------------- -- To_Utf16_String -- --------------------- procedure To_Utf16_String (Source : Wide_Wide_String; Destination : out Shared_String_Access) is begin if Source'Length = 0 then Destination := Shared_Empty'Access; else Destination := Allocate (Source'Length + 1); -- Check for string reallocation below doesn't take in sence size of -- encoded character and assumes that it occupy two code unit always. -- One additional code unit is allocated to prevent from reallocation -- of shared data in corner case. Destination.Length := Source'Length; for J in Source'Range loop if not Is_Valid (Wide_Wide_Character'Pos (Source (J))) then raise Constraint_Error with "Illegal Unicode code point"; end if; if Destination.Capacity < Destination.Unused + 2 then -- For some improvement of performance this check ignores -- actual number of code units which are occupied by encoded -- code point. Additional code unit is allocated to prevent -- from reallocation of shared data in corner case. declare Old : Shared_String_Access := Destination; begin Destination := Allocate (Destination.Unused + 2); Destination.Value (Old.Value'Range) := Old.Value; Destination.Unused := Old.Unused; Destination.Length := Old.Length; Dereference (Old); end; end if; Unchecked_Store (Destination.Value, Destination.Unused, Wide_Wide_Character'Pos (Source (J))); end loop; String_Handler.Fill_Null_Terminator (Destination); end if; exception when others => Dereference (Destination); raise; end To_Utf16_String; ------------------------- -- To_Wide_Wide_String -- ------------------------- function To_Wide_Wide_String (Self : Universal_String'Class) return Wide_Wide_String is Result : Wide_Wide_String (1 .. Self.Data.Length); Current : Utf16_String_Index := 0; Code : Code_Point; begin for J in Result'Range loop Unchecked_Next (Self.Data.Value, Current, Code); Result (J) := Wide_Wide_Character'Val (Code); end loop; return Result; end To_Wide_Wide_String; ----------- -- Write -- ----------- procedure Write (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Item : Sort_Key) is begin Natural'Write (Stream, Item.Data.Last); Matreshka.Internals.Strings.Sort_Key_Array'Write (Stream, Item.Data.Data (1 .. Item.Data.Last)); end Write; ----------- -- Write -- ----------- procedure Write (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Item : Universal_String) is begin if Stream.all in League.JSON.Streams.JSON_Stream'Class then League.JSON.Streams.JSON_Stream'Class (Stream.all).Write (League.JSON.Values.To_JSON_Value (Item)); else -- Write length of the string into the stream. Natural'Write (Stream, Item.Data.Length); -- For non-empty string writes index of first unused code unit and data -- iteself. if Item.Data.Length /= 0 then Utf16_String_Index'Write (Stream, Item.Data.Unused); Matreshka.Internals.Utf16.Utf16_String'Write (Stream, Item.Data.Value (0 .. Item.Data.Unused - 1)); end if; end if; end Write; end League.Strings;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2010, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with Matreshka.Internals.Unicode.Ucd.Core; package body Matreshka.Internals.Regexps.Engine.Pike is use Matreshka.Internals.Strings; use Matreshka.Internals.Unicode; use Matreshka.Internals.Utf16; function Element is new Unicode.Ucd.Generic_Element (Matreshka.Internals.Unicode.Ucd.Core_Values, Matreshka.Internals.Unicode.Ucd.Core_Second_Stage, Matreshka.Internals.Unicode.Ucd.Core_Second_Stage_Access, Matreshka.Internals.Unicode.Ucd.Core_First_Stage); ------------- -- Execute -- ------------- function Execute (Program : Engine.Program; String : not null Matreshka.Internals.Strings.Shared_String_Access) return not null Shared_Match_Access is type State_Information is record PC : Integer; SS : Regexps.Slice_Array (0 .. Program.Captures); end record; type State_Array is array (1 .. Program.Instructions'Length) of State_Information; type Thread_List is record State : State_Array; Last : Natural; end record; type Thread_List_Access is access all Thread_List; List_1 : aliased Thread_List; List_2 : aliased Thread_List; Current : Thread_List_Access := List_1'Access; Next : Thread_List_Access := List_2'Access; Aux : Thread_List_Access; Match : constant not null Shared_Match_Access := new Shared_Match (Program.Captures); SP : Utf16_String_Index := 0; SI : Positive := 1; Step : Positive := 1; Steps : array (Program.Instructions'Range) of Integer := (others => 0); procedure Add (PC : Integer; SS : Slice_Array; Start_Of_Line : Boolean; End_Of_Line : Boolean); --------- -- Add -- --------- procedure Add (PC : Integer; SS : Slice_Array; Start_Of_Line : Boolean; End_Of_Line : Boolean) is S : Slice_Array := SS; begin if Steps (PC) = Step then return; end if; Steps (PC) := Step; case Program.Instructions (PC).Kind is when Any_Code_Point | Code_Point | Code_Range | I_Property | Engine.Match => Next.Last := Next.Last + 1; Next.State (Next.Last) := (PC, SS); when I_Terminate => for J in 1 .. Current.Last loop if Current.State (J).PC = Program.Instructions (PC).Next then Current.State (J .. Current.Last - 1) := Current.State (J + 1 .. Current.Last); Current.Last := Current.Last - 1; exit; end if; end loop; when Split => Add (Program.Instructions (PC).Next, S, Start_Of_Line, End_Of_Line); Add (Program.Instructions (PC).Another, S, Start_Of_Line, End_Of_Line); when Save => if Program.Instructions (PC).Start then S (Program.Instructions (PC).Slot) := (SP, SI, 0, 1); else S (Program.Instructions (PC).Slot).Next_Position := SP; S (Program.Instructions (PC).Slot).Next_Index := SI; end if; Add (Program.Instructions (PC).Next, S, Start_Of_Line, End_Of_Line); when I_Anchor => declare Match : Boolean := True; begin if Program.Instructions (PC).Start_Of_Line then Match := Start_Of_Line; end if; if Program.Instructions (PC).End_Of_Line then Match := Match and End_Of_Line; end if; if Match then Add (Program.Instructions (PC).Next, S, Start_Of_Line, End_Of_Line); end if; end; when None => raise Program_Error; end case; end Add; PC : Positive := 1; SS : Regexps.Slice_Array (0 .. Program.Captures) := (others => (0, 1, 0, 1)); Code : Matreshka.Internals.Unicode.Code_Point; T : Integer; SOL : Boolean := True; EOL : Boolean := String.Unused = 0; begin Match.Is_Matched := False; Match.Number := Program.Captures; Next.Last := 0; Current.Last := 0; Add (PC, SS, SOL, EOL); SOL := False; while SP <= String.Unused loop -- Handling of 'match' instruction requires to do one cycle after -- last character. Implicit null terminator allows to do last cycle -- like any other cycles, and simplify code. Even if it match -- pattern this match never be taken, because it can be handled -- only on next cycle, which never be happen. Aux := Current; Current := Next; Next := Aux; Next.Last := 0; Step := Step + 1; exit when Current.Last = 0; Unchecked_Next (String.Value, SP, Code); SI := SI + 1; T := 1; EOL := SP = String.Unused; loop exit when T > Current.Last; PC := Current.State (T).PC; SS := Current.State (T).SS; case Program.Instructions (PC).Kind is when Any_Code_Point => Add (Program.Instructions (PC).Next, SS, SOL, EOL); when Code_Point => if Code = Program.Instructions (PC).Code then Add (Program.Instructions (PC).Next, SS, SOL, EOL); end if; when Code_Range => if Program.Instructions (PC).Negate xor (Code in Program.Instructions (PC).Low .. Program.Instructions (PC).High) then Add (Program.Instructions (PC).Next, SS, SOL, EOL); end if; when I_Property => declare R : Boolean; begin case Program.Instructions (PC).Value.Kind is when None => raise Program_Error; when General_Category => R := Program.Instructions (PC).Value.GC_Flags (Element (Matreshka.Internals.Unicode.Ucd.Core.Property, Code).GC); when Binary => R := Element (Matreshka.Internals.Unicode.Ucd.Core.Property, Code).B (Program.Instructions (PC).Value.Property); end case; if Program.Instructions (PC).Negative xor R then Add (Program.Instructions (PC).Next, SS, SOL, EOL); end if; end; when Engine.Match => Match.Is_Matched := True; Match.Slices := SS; exit; when others => raise Program_Error; end case; T := T + 1; end loop; end loop; if Match.Is_Matched then Reference (String); Match.Source := String; end if; return Match; end Execute; end Matreshka.Internals.Regexps.Engine.Pike;
----------------------------------------------------------------------- -- net -- Network stack -- Copyright (C) 2016, 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Interfaces; with System; -- == Embedded Network Stack == -- The <b>Embedded Network Stack</b> is a small IPv4 network stack intended to be -- used by small embedded Ada applications. -- -- @include net-buffers.ads -- @include net-interfaces.ads -- @include net-protos-arp.ads package Net is pragma Pure; -- The network stack interrupt priority. It is used to configure the Ethernet driver -- interrupt priority as well as the protected objects that could depend on it. Network_Priority : constant System.Interrupt_Priority := System.Interrupt_Priority'First; subtype Uint8 is Interfaces.Unsigned_8; subtype Uint16 is Interfaces.Unsigned_16; subtype Uint32 is Interfaces.Unsigned_32; subtype Uint64 is Interfaces.Unsigned_64; -- Length of an IPv4 packet. type Ip_Length is new Uint16; -- IPv4 address representation. type Ip_Addr is array (1 .. 4) of Uint8; -- Ethernet address representation. type Ether_Addr is array (1 .. 6) of Uint8; -- The error code returned by some opeartions. type Error_Code is (EOK, -- No error. ENOBUFS, -- No buffer for the operation. ENETUNREACH, -- Network unreachable. EINPROGRESS -- Operation is in progress. ); use type Interfaces.Unsigned_8; use type Interfaces.Unsigned_16; use type Interfaces.Unsigned_32; -- Returns true if the IPv4 address is a multicast address. function Is_Multicast (IP : in Ip_Addr) return Boolean; end Net;
-- This spec has been automatically generated from FE310.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package FE310_SVD.UART is pragma Preelaborate; --------------- -- Registers -- --------------- subtype TXDATA_DATA_Field is HAL.UInt8; -- Transmit Data Register. type TXDATA_Register is record DATA : TXDATA_DATA_Field := 16#0#; -- unspecified Reserved_8_30 : HAL.UInt23 := 16#0#; FULL : Boolean := False; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for TXDATA_Register use record DATA at 0 range 0 .. 7; Reserved_8_30 at 0 range 8 .. 30; FULL at 0 range 31 .. 31; end record; subtype RXDATA_DATA_Field is HAL.UInt8; -- Receive Data Register. type RXDATA_Register is record DATA : RXDATA_DATA_Field := 16#0#; -- unspecified Reserved_8_30 : HAL.UInt23 := 16#0#; EMPTY : Boolean := False; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RXDATA_Register use record DATA at 0 range 0 .. 7; Reserved_8_30 at 0 range 8 .. 30; EMPTY at 0 range 31 .. 31; end record; subtype TXCTRL_TXCNT_Field is HAL.UInt3; -- Transmit Control Register. type TXCTRL_Register is record ENABLE : Boolean := False; NSTOP : Boolean := False; -- unspecified Reserved_2_15 : HAL.UInt14 := 16#0#; TXCNT : TXCTRL_TXCNT_Field := 16#0#; -- unspecified Reserved_19_31 : HAL.UInt13 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for TXCTRL_Register use record ENABLE at 0 range 0 .. 0; NSTOP at 0 range 1 .. 1; Reserved_2_15 at 0 range 2 .. 15; TXCNT at 0 range 16 .. 18; Reserved_19_31 at 0 range 19 .. 31; end record; subtype RXCTRL_RXCNT_Field is HAL.UInt3; -- Receive Control Register. type RXCTRL_Register is record ENABLE : Boolean := False; -- unspecified Reserved_1_15 : HAL.UInt15 := 16#0#; RXCNT : RXCTRL_RXCNT_Field := 16#0#; -- unspecified Reserved_19_31 : HAL.UInt13 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RXCTRL_Register use record ENABLE at 0 range 0 .. 0; Reserved_1_15 at 0 range 1 .. 15; RXCNT at 0 range 16 .. 18; Reserved_19_31 at 0 range 19 .. 31; end record; -- Interrupt Pending Register. type IP_Register is record TXWM : Boolean := False; RXWM : Boolean := False; -- unspecified Reserved_2_31 : HAL.UInt30 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for IP_Register use record TXWM at 0 range 0 .. 0; RXWM at 0 range 1 .. 1; Reserved_2_31 at 0 range 2 .. 31; end record; -- Interrupt Enable Register. type IE_Register is record TXWM : Boolean := False; RXWM : Boolean := False; -- unspecified Reserved_2_31 : HAL.UInt30 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for IE_Register use record TXWM at 0 range 0 .. 0; RXWM at 0 range 1 .. 1; Reserved_2_31 at 0 range 2 .. 31; end record; subtype DIV_DIV_Field is HAL.UInt16; -- Baud Rate Divisor Register (BAUD = Fin / (DIV + 1)). type DIV_Register is record DIV : DIV_DIV_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for DIV_Register use record DIV at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Universal Asynchronous Receiver/Transmitter. type UART_Peripheral is record -- Transmit Data Register. TXDATA : aliased TXDATA_Register; -- Receive Data Register. RXDATA : aliased RXDATA_Register; -- Transmit Control Register. TXCTRL : aliased TXCTRL_Register; -- Receive Control Register. RXCTRL : aliased RXCTRL_Register; -- Interrupt Pending Register. IP : aliased IP_Register; -- Interrupt Enable Register. IE : aliased IE_Register; -- Baud Rate Divisor Register (BAUD = Fin / (DIV + 1)). DIV : aliased DIV_Register; end record with Volatile; for UART_Peripheral use record TXDATA at 16#0# range 0 .. 31; RXDATA at 16#4# range 0 .. 31; TXCTRL at 16#8# range 0 .. 31; RXCTRL at 16#C# range 0 .. 31; IP at 16#10# range 0 .. 31; IE at 16#14# range 0 .. 31; DIV at 16#18# range 0 .. 31; end record; -- Universal Asynchronous Receiver/Transmitter. UART0_Periph : aliased UART_Peripheral with Import, Address => System'To_Address (16#10013000#); -- Universal Asynchronous Receiver/Transmitter. UART1_Periph : aliased UART_Peripheral with Import, Address => System'To_Address (16#10023000#); end FE310_SVD.UART;
with Ada.Containers.Generic_Array_Access_Types; with Ada.Containers.Generic_Array_Types; with Ada.Unchecked_Deallocation; procedure cntnr_Array is begin declare -- String package Arrays is new Ada.Containers.Generic_Array_Types (Positive, Character, String); begin declare -- Swap Data : String := "AB"; begin Arrays.Swap (Data, 1, 2); pragma Assert (Data = "BA"); end; end; declare -- String_Access type String_Access is access String; procedure Free is new Ada.Unchecked_Deallocation (String, String_Access); package Arrays is new Ada.Containers.Generic_Array_Access_Types ( Positive, Character, String, String_Access); package Arrays_Operators is new Arrays.Operators; use Arrays_Operators; begin declare -- Swap Data : String_Access := new String'("AB"); begin Arrays.Swap (Data, 1, 2); pragma Assert (Data.all = "BA"); Free (Data); end; declare -- Generic_Sorting package Sorting is new Arrays.Generic_Sorting; Data : String_Access := new String'("asdfghjkl"); Data_2 : String_Access := new String'("zxcvbnm"); begin Sorting.Sort (Data); pragma Assert (Sorting.Is_Sorted (Data)); Sorting.Sort (Data_2); Sorting.Merge (Data, Data_2); pragma Assert (Data_2 = null); pragma Assert (Data.all = "abcdfghjklmnsvxz"); Free (Data); end; declare -- Concatenation operators use type Ada.Containers.Count_Type; X : String_Access := new String'("ABC"); Y : String_Access; begin pragma Assert (Arrays.Length (X) = 3); Arrays.Assign (Y, X & 'D'); pragma Assert (Arrays.Length (Y) = 4); pragma Assert (Y.all = "ABCD"); Arrays.Assign (Y, X & 'D' & 'E'); pragma Assert (Y.all = "ABCDE"); Arrays.Assign (Y, X & 'D' & 'E' & 'F'); pragma Assert (Y.all = "ABCDEF"); Free (X); Free (Y); end; declare -- Insert/Append/Prepend/Delete/Delete_First/Delete_Last use type Ada.Containers.Count_Type; X : aliased String_Access := new String'("ABCD"); begin Arrays.Delete (X, 2, 2); pragma Assert (X.all = "AD"); Arrays.Insert (X, 2, 'Z'); pragma Assert (X.all = "AZD"); Arrays.Append (X, 'a'); pragma Assert (X.all = "AZDa"); Arrays.Prepend (X, 'p'); pragma Assert (X.all = "pAZDa"); Arrays.Delete_First (X); Arrays.Delete_Last (X); pragma Assert (X.all = "AZD"); Arrays.Insert (X, X'First, "aa"); pragma Assert (X.all = "aaAZD"); Arrays.Insert (X, X'Last + 1, "zz"); pragma Assert (X.all = "aaAZDzz"); Free (X); X := new String'(10 .. 9 => <>); pragma Assert (X'Length = 0); Arrays.Append (X, 'A'); pragma Assert (X.all = "A"); pragma Assert (X'First = 10); Arrays.Append (X, 'C'); pragma Assert (X.all = "AC"); pragma Assert (X'First = 10); Arrays.Insert (X, 11, 'B'); pragma Assert (X.all = "ABC"); pragma Assert (X'First = 10); Arrays.Prepend (X, 'q'); pragma Assert (X.all = "qABC"); pragma Assert (X'First = 10); Arrays.Delete (X, 10, 1); pragma Assert (X.all = "ABC"); pragma Assert (X'First = 10); Free (X); end; declare -- Set_Length X : aliased String_Access; begin X := new String'(10 .. 9 => <>); Arrays.Set_Length (X, 1); pragma Assert (X'First = 10 and then X'Last = 10); X (10) := 'I'; Arrays.Set_Length (X, 2); pragma Assert (X'First = 10 and then X'Last = 11); X (11) := 'J'; pragma Assert (X.all = "IJ"); Free (X); end; declare -- Generic_Reversing package Reversing is new Arrays.Generic_Reversing; Data : String_Access := new String'("12345"); begin Reversing.Reverse_Elements (Data); pragma Assert (Data.all = "54321"); Reversing.Reverse_Rotate_Elements (Data, 3); pragma Assert (Data.all = "32154"); Reversing.Juggling_Rotate_Elements (Data, 3); pragma Assert (Data.all = "15432"); Reversing.Reverse_Rotate_Elements (Data, Arrays.First_Index (Data)); Reversing.Reverse_Rotate_Elements (Data, Arrays.Last_Index (Data) + 1); Reversing.Juggling_Rotate_Elements (Data, Arrays.First_Index (Data)); Reversing.Juggling_Rotate_Elements (Data, Arrays.Last_Index (Data) + 1); pragma Assert (Data.all = "15432"); end; end ; pragma Debug (Ada.Debug.Put ("OK")); end cntnr_Array;
with AUnit.Assertions; use AUnit.Assertions; with Ada.Containers; use Ada.Containers; with Ada.Text_IO; with Interfaces.C.Strings; with ImageIO; with PixelArray; with ShapeDatabase; with Morphology; with ImageFilters; with ImageRegions; with ImageThresholds; with HistogramDescriptor; package body ShapeDatabaseTest is procedure Register_Tests (T: in out TestCase) is use AUnit.Test_Cases.Registration; begin Register_Routine (T, testLearningData'Access, "learning data"); Register_Routine (T, testHistogramDescriptors'Access, "histogram descriptors"); end Register_Tests; function Name(T: TestCase) return Test_String is begin return Format("Shape Database Tests"); end Name; function findBestHistogramMatch(db: in ShapeDatabase.DB; desc: in ShapeDatabase.CharacterDescriptor) return ShapeDatabase.CharacterDescriptor is result: ShapeDatabase.CharacterDescriptor; bestScoreH: Float := 9999.0; bestScoreV: Float := 9999.0; begin for i in 0 .. Integer(db.shapes.Length - 1) loop declare currentScoreH: Float; currentScoreV: Float; begin currentScoreH := HistogramDescriptor.computeDivergence(h0 => desc.d.histogram.horizontal, h1 => db.shapes.Element(i).d.histogram.horizontal, method => HistogramDescriptor.JensenShannon); currentScoreV := HistogramDescriptor.computeDivergence(h0 => desc.d.histogram.vertical, h1 => db.shapes.Element(i).d.histogram.vertical, method => HistogramDescriptor.JensenShannon); if currentScoreH < bestScoreH and currentScoreV < bestScoreV then bestScoreH := currentScoreH; bestScoreV := currentScoreV; result := db.shapes.Element(i); if bestScoreV = 0.0 and bestScoreH = 0.0 then return result; end if; end if; end; end loop; return result; end findBestHistogramMatch; function toString(regions: ShapeDatabase.ShapeVector.Vector) return String is result: String(1 .. Integer(regions.Length)); begin for i in 0 .. Integer(regions.Length - 1) loop result(i + 1) := regions(i).c; end loop; return result; end toString; procedure testLearningData(T : in out Test_Cases.Test_Case'Class) is result: ShapeDatabase.ShapeVector.Vector; begin result := ShapeDatabase.loadShapes("20180501.1.jpg"); Assert(result.Length = 8, "shapes 1"); Assert(toString(result) = "20180501", ""); end testLearningData; procedure testHistogramDescriptors(T : in out Test_Cases.Test_Case'Class) is db: ShapeDatabase.DB; shapes: ShapeDatabase.ShapeVector.Vector; resA: ShapeDatabase.CharacterDescriptor; resB: ShapeDatabase.CharacterDescriptor; begin db := ShapeDatabase.getDB; shapes := ShapeDatabase.loadShapes("22.jpg"); Assert(shapes.Length = 2, "2 shapes"); resA := findBestHistogramMatch(db, shapes.Element(0)); resB := findBestHistogramMatch(db, shapes.Element(1)); Assert(resA.c = '2', ""); Assert(resB.c = '2', ""); end testHistogramDescriptors; end ShapeDatabaseTest;
-- Copyright 2010, 2011 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. package Mixed is procedure Start_Test; end Mixed;
----------------------------------------------------------------------- -- mat-expressions -- Expressions for event and memory slot selection -- Copyright (C) 2014, 2015, 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.Strings.Unbounded; with Ada.Finalization; private with Util.Concurrent.Counters; with MAT.Types; with MAT.Memory; with MAT.Events; package MAT.Expressions is type Resolver_Type is limited interface; type Resolver_Type_Access is access all Resolver_Type'Class; -- Find the region that matches the given name. function Find_Region (Resolver : in Resolver_Type; Name : in String) return MAT.Memory.Region_Info is abstract; -- Find the symbol in the symbol table and return the start and end address. function Find_Symbol (Resolver : in Resolver_Type; Name : in String) return MAT.Memory.Region_Info is abstract; -- Find the symbol region in the symbol table that contains the given address -- and return the start and end address of that region. function Find_Symbol (Resolver : in Resolver_Type; Addr : in MAT.Types.Target_Addr) return MAT.Memory.Region_Info is abstract; -- Get the start time for the tick reference. function Get_Start_Time (Resolver : in Resolver_Type) return MAT.Types.Target_Tick_Ref is abstract; type Context_Type is record Addr : MAT.Types.Target_Addr; Allocation : MAT.Memory.Allocation; end record; type Inside_Type is (INSIDE_REGION, INSIDE_DIRECT_REGION, INSIDE_FUNCTION, INSIDE_DIRECT_FUNCTION); type Expression_Type is tagged private; -- Create a NOT expression node. function Create_Not (Expr : in Expression_Type) return Expression_Type; -- Create a AND expression node. function Create_And (Left : in Expression_Type; Right : in Expression_Type) return Expression_Type; -- Create a OR expression node. function Create_Or (Left : in Expression_Type; Right : in Expression_Type) return Expression_Type; -- Create an INSIDE expression node. function Create_Inside (Name : in Ada.Strings.Unbounded.Unbounded_String; Kind : in Inside_Type) return Expression_Type; function Create_Inside (Addr : in MAT.Types.Uint64; Kind : in Inside_Type) return Expression_Type; -- Create an size range expression node. function Create_Size (Min : in MAT.Types.Target_Size; Max : in MAT.Types.Target_Size) return Expression_Type; -- Create an addr range expression node. function Create_Addr (Min : in MAT.Types.Target_Addr; Max : in MAT.Types.Target_Addr) return Expression_Type; -- Create an time range expression node. function Create_Time (Min : in MAT.Types.Target_Tick_Ref; Max : in MAT.Types.Target_Tick_Ref) return Expression_Type; -- Create an event ID range expression node. function Create_Event (Min : in MAT.Events.Event_Id_Type; Max : in MAT.Events.Event_Id_Type) return Expression_Type; -- Create a thread ID range expression node. function Create_Thread (Min : in MAT.Types.Target_Thread_Ref; Max : in MAT.Types.Target_Thread_Ref) return Expression_Type; -- Create a event type expression check. function Create_Event_Type (Event_Kind : in MAT.Events.Probe_Index_Type) return Expression_Type; -- Create an expression node to keep allocation events which don't have any associated free. function Create_No_Free return Expression_Type; -- Evaluate the expression to check if the memory slot described by the -- context is selected. Returns True if the memory slot is selected. function Is_Selected (Node : in Expression_Type; Addr : in MAT.Types.Target_Addr; Allocation : in MAT.Memory.Allocation) return Boolean; -- Evaluate the expression to check if the event described by the -- context is selected. Returns True if the event is selected. function Is_Selected (Node : in Expression_Type; Event : in MAT.Events.Target_Event_Type) return Boolean; -- Parse the string and return the expression tree. function Parse (Expr : in String; Resolver : in Resolver_Type_Access) return Expression_Type; -- Empty expression. EMPTY : constant Expression_Type; type yystype is record low : MAT.Types.Uint64 := 0; high : MAT.Types.Uint64 := 0; bval : Boolean := False; name : Ada.Strings.Unbounded.Unbounded_String; expr : Expression_Type; end record; private type Kind_Type is (N_NOT, N_OR, N_AND, N_TRUE, N_FALSE, N_IN_FILE, N_IN_FILE_DIRECT, N_INSIDE, N_CALL_ADDR, N_CALL_ADDR_DIRECT, N_IN_FUNC, N_IN_FUNC_DIRECT, N_RANGE_SIZE, N_RANGE_ADDR, N_RANGE_TIME, N_EVENT, N_HAS_ADDR, N_CONDITION, N_THREAD, N_TYPE, N_NO_FREE); type Node_Type; type Node_Type_Access is access all Node_Type; type Node_Type (Kind : Kind_Type) is record Ref_Counter : Util.Concurrent.Counters.Counter; case Kind is when N_NOT => Expr : Node_Type_Access; when N_OR | N_AND => Left, Right : Node_Type_Access; when N_INSIDE | N_IN_FILE | N_IN_FILE_DIRECT => Name : Ada.Strings.Unbounded.Unbounded_String; Inside : Inside_Type; when N_RANGE_SIZE => Min_Size : MAT.Types.Target_Size; Max_Size : MAT.Types.Target_Size; when N_RANGE_ADDR | N_CALL_ADDR | N_CALL_ADDR_DIRECT | N_HAS_ADDR | N_IN_FUNC | N_IN_FUNC_DIRECT => Min_Addr : MAT.Types.Target_Addr; Max_Addr : MAT.Types.Target_Addr; when N_RANGE_TIME => Min_Time : MAT.Types.Target_Tick_Ref; Max_Time : MAT.Types.Target_Tick_Ref; when N_THREAD => Min_Thread : MAT.Types.Target_Thread_Ref; Max_Thread : MAT.Types.Target_Thread_Ref; when N_EVENT => Min_Event : MAT.Events.Event_Id_Type; Max_Event : MAT.Events.Event_Id_Type; when N_TYPE => Event_Kind : MAT.Events.Probe_Index_Type; when others => null; end case; end record; -- Evaluate the node against the context. Returns True if the node expression -- selects the memory slot defined by the context. function Is_Selected (Node : in Node_Type; Addr : in MAT.Types.Target_Addr; Allocation : in MAT.Memory.Allocation) return Boolean; -- Evaluate the expression to check if the event described by the -- context is selected. Returns True if the event is selected. function Is_Selected (Node : in Node_Type; Event : in MAT.Events.Target_Event_Type) return Boolean; type Expression_Type is new Ada.Finalization.Controlled with record Node : Node_Type_Access; end record; -- Release the reference and destroy the expression tree if it was the last reference. overriding procedure Finalize (Obj : in out Expression_Type); -- Update the reference after an assignment. overriding procedure Adjust (Obj : in out Expression_Type); -- Empty expression. EMPTY : constant Expression_Type := Expression_Type'(Ada.Finalization.Controlled with Node => null); end MAT.Expressions;
with Ada.Interrupts.Names; with System; package EVB1000.USB with SPARK_Mode => On is Driver_Priority : constant System.Interrupt_Priority := System.Interrupt_Priority'First; -- By default, use lowest interrupt priority. -- Any interrupt priority value can be used, though. Rx_Buffer_Size : constant Positive := 1024; -- Configures the size of the USB receive buffer. subtype Rx_Length_Number is Natural range 0 .. Rx_Buffer_Size; type Rx_Index is mod Rx_Buffer_Size; protected Buffer with Interrupt_Priority => Driver_Priority is function Is_Connected return Boolean; -- Check if the USB is currently connected. function Can_Read return Boolean with Global => null; -- Check if there is received data waiting to be read. entry Read (Str : in out String; Count : out Natural) with Global => null, Depends => (Buffer => + Str, Count => (Buffer, Str), Str => + Buffer), Contract_Cases => (Str'Length = 0 => Count = 0, Str'Length > 0 => Count in 1 .. Str'Length); -- Read data received over USB. -- -- Data is written to the @Str@ buffer. The number of characters read is -- written to @Count@. This subprogram will try to fill the @Str@ buffer -- but will only read as many characters as available. -- -- This entry blocks until at least 1 byte is available to be read. procedure Write (Str : in String); -- Write data to be sent via USB. -- -- If the USB is not currently connected then the data is discarded -- and this procedure has no effect. procedure Data_Received (Str : in String); -- Notifies this protected object of data received via USB. -- -- This procedure is called by the USB drivers. It should not be called -- by the user. private Rx_Buffer : String (1 .. Rx_Buffer_Size) := (others => Character'First); Rx_Length : Rx_Length_Number := 0; Rx_First : Rx_Index := 0; Has_Data : Boolean := False; end Buffer; private protected Driver with Interrupt_Priority => Driver_Priority is procedure Write (Str : in String); procedure USB_OTG_Interrupt_Handler with Attach_Handler => Ada.Interrupts.Names.OTG_FS_Interrupt; end Driver; end EVB1000.USB;
------------------------------------------------------------------------------ -- -- -- Giza -- -- -- -- Copyright (C) 2015 Fabien Chouteau (chouteau@adacore.com) -- -- -- -- -- -- 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 Giza is end Giza;
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- Terminal_Interface.Curses.Forms.Field_Types.Numeric -- -- -- -- B O D Y -- -- -- ------------------------------------------------------------------------------ -- Copyright (c) 1998,2008 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- -- "Software"), to deal in the Software without restriction, including -- -- without limitation the rights to use, copy, modify, merge, publish, -- -- distribute, distribute with modifications, sublicense, and/or sell -- -- copies of the Software, and to permit persons to whom the Software is -- -- furnished to do so, subject to the following conditions: -- -- -- -- The above copyright notice and this permission notice shall be included -- -- in all copies or substantial portions of the Software. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -- -- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR -- -- THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- -- -- -- Except as contained in this notice, the name(s) of the above copyright -- -- holders shall not be used in advertising or otherwise to promote the -- -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: -- $Revision: 1.10 $ -- $Date: 2008/07/26 18:49:57 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Interfaces.C; with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; package body Terminal_Interface.Curses.Forms.Field_Types.Numeric is procedure Set_Field_Type (Fld : in Field; Typ : in Numeric_Field) is type Double is new Interfaces.C.double; C_Numeric_Field_Type : C_Field_Type; pragma Import (C, C_Numeric_Field_Type, "TYPE_NUMERIC"); function Set_Fld_Type (F : Field := Fld; Cft : C_Field_Type := C_Numeric_Field_Type; Arg1 : C_Int; Arg2 : Double; Arg3 : Double) return C_Int; pragma Import (C, Set_Fld_Type, "set_field_type"); Res : Eti_Error; begin Res := Set_Fld_Type (Arg1 => C_Int (Typ.Precision), Arg2 => Double (Typ.Lower_Limit), Arg3 => Double (Typ.Upper_Limit)); if Res /= E_Ok then Eti_Exception (Res); end if; Wrap_Builtin (Fld, Typ); end Set_Field_Type; end Terminal_Interface.Curses.Forms.Field_Types.Numeric;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- K R U N C H -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ procedure Krunch (Buffer : in out String; Len : in out Natural; Maxlen : Natural; No_Predef : Boolean) is pragma Assert (Buffer'First = 1); -- This is a documented requirement; the assert turns off index warnings B1 : Character renames Buffer (1); Curlen : Natural; Krlen : Natural; Num_Seps : Natural; Startloc : Natural; J : Natural; begin -- Deal with special predefined children cases. Startloc is the first -- location for the krunch, set to 1, except for the predefined children -- case, where it is set to 3, to start after the standard prefix. if No_Predef then Startloc := 1; Curlen := Len; Krlen := Maxlen; elsif Len >= 18 and then Buffer (1 .. 17) = "ada-wide_text_io-" then Startloc := 3; Buffer (2 .. 5) := "-wt-"; Buffer (6 .. Len - 12) := Buffer (18 .. Len); Curlen := Len - 12; Krlen := 8; elsif Len >= 23 and then Buffer (1 .. 22) = "ada-wide_wide_text_io-" then Startloc := 3; Buffer (2 .. 5) := "-zt-"; Buffer (6 .. Len - 17) := Buffer (23 .. Len); Curlen := Len - 17; Krlen := 8; elsif Len >= 4 and then Buffer (1 .. 4) = "ada-" then Startloc := 3; Buffer (2 .. Len - 2) := Buffer (4 .. Len); Curlen := Len - 2; Krlen := 8; elsif Len >= 5 and then Buffer (1 .. 5) = "gnat-" then Startloc := 3; Buffer (2 .. Len - 3) := Buffer (5 .. Len); Curlen := Len - 3; Krlen := 8; elsif Len >= 7 and then Buffer (1 .. 7) = "system-" then Startloc := 3; Buffer (2 .. Len - 5) := Buffer (7 .. Len); Curlen := Len - 5; Krlen := 8; elsif Len >= 11 and then Buffer (1 .. 11) = "interfaces-" then Startloc := 3; Buffer (2 .. Len - 9) := Buffer (11 .. Len); Curlen := Len - 9; Krlen := 8; -- For the renamings in the obsolescent section, we also force krunching -- to 8 characters, but no other special processing is required here. -- Note that text_io and calendar are already short enough anyway. elsif (Len = 9 and then Buffer (1 .. 9) = "direct_io") or else (Len = 10 and then Buffer (1 .. 10) = "interfaces") or else (Len = 13 and then Buffer (1 .. 13) = "io_exceptions") or else (Len = 12 and then Buffer (1 .. 12) = "machine_code") or else (Len = 13 and then Buffer (1 .. 13) = "sequential_io") or else (Len = 20 and then Buffer (1 .. 20) = "unchecked_conversion") or else (Len = 22 and then Buffer (1 .. 22) = "unchecked_deallocation") then Startloc := 1; Krlen := 8; Curlen := Len; -- Special case of a child unit whose parent unit is a single letter that -- is A, G, I, or S. In order to prevent confusion with krunched names -- of predefined units use a tilde rather than a minus as the second -- character of the file name. elsif Len > 1 and then Buffer (2) = '-' and then (B1 = 'a' or else B1 = 'g' or else B1 = 'i' or else B1 = 's') and then Len <= Maxlen then Buffer (2) := '~'; return; -- Normal case, not a predefined file else Startloc := 1; Curlen := Len; Krlen := Maxlen; end if; -- Immediate return if file name is short enough now if Curlen <= Krlen then Len := Curlen; return; end if; -- If string contains Wide_Wide, replace by a single z J := Startloc; while J <= Curlen - 8 loop if Buffer (J .. J + 8) = "wide_wide" and then (J = Startloc or else Buffer (J - 1) = '-' or else Buffer (J - 1) = '_') and then (J + 8 = Curlen or else Buffer (J + 9) = '-' or else Buffer (J + 9) = '_') then Buffer (J) := 'z'; Buffer (J + 1 .. Curlen - 8) := Buffer (J + 9 .. Curlen); Curlen := Curlen - 8; end if; J := J + 1; end loop; -- For now, refuse to krunch a name that contains an ESC character (wide -- character sequence) since it's too much trouble to do this right ??? for J in 1 .. Curlen loop if Buffer (J) = ASCII.ESC then return; end if; end loop; -- Count number of separators (minus signs and underscores) and for now -- replace them by spaces. We keep them around till the end to control -- the krunching process, and then we eliminate them as the last step Num_Seps := 0; for J in Startloc .. Curlen loop if Buffer (J) = '-' or else Buffer (J) = '_' then Buffer (J) := ' '; Num_Seps := Num_Seps + 1; end if; end loop; -- Now we do the one character at a time krunch till we are short enough while Curlen - Num_Seps > Krlen loop declare Long_Length : Natural := 0; Long_Last : Natural := 0; Piece_Start : Natural; Ptr : Natural; begin Ptr := Startloc; -- Loop through pieces to find longest piece while Ptr <= Curlen loop Piece_Start := Ptr; -- Loop through characters in one piece of name while Ptr <= Curlen and then Buffer (Ptr) /= ' ' loop Ptr := Ptr + 1; end loop; if Ptr - Piece_Start > Long_Length then Long_Length := Ptr - Piece_Start; Long_Last := Ptr - 1; end if; Ptr := Ptr + 1; end loop; -- Remove last character of longest piece if Long_Last < Curlen then Buffer (Long_Last .. Curlen - 1) := Buffer (Long_Last + 1 .. Curlen); end if; Curlen := Curlen - 1; end; end loop; -- Final step, remove the spaces Len := 0; for J in 1 .. Curlen loop if Buffer (J) /= ' ' then Len := Len + 1; Buffer (Len) := Buffer (J); end if; end loop; return; end Krunch;
with Ada.Wide_Text_IO; use Ada.Wide_Text_IO; with ASIS; with ASIS.Text; package FP_Translation is type Traversal_State is record Span : ASIS.Text.Span; Output_File : File_Type; Trace : Boolean; end record; procedure Pre_Op (Element : Asis.Element; Control : in out Asis.Traverse_Control; State : in out Traversal_State); procedure Post_Op (Element : Asis.Element; Control : in out Asis.Traverse_Control; State : in out Traversal_State); procedure Put_Current_Span(Element : Asis.Element; State : Traversal_State); end FP_Translation;
package GESTE_Fonts.FreeSerifItalic5pt7b is Font : constant Bitmap_Font_Ref; private FreeSerifItalic5pt7bBitmaps : aliased constant Font_Bitmap := ( 16#00#, 16#00#, 16#00#, 16#00#, 16#02#, 16#01#, 16#01#, 16#00#, 16#80#, 16#40#, 16#00#, 16#20#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#05#, 16#02#, 16#80#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#02#, 16#81#, 16#41#, 16#E0#, 16#A0#, 16#F8#, 16#50#, 16#28#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#02#, 16#C1#, 16#80#, 16#60#, 16#28#, 16#68#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#02#, 16#61#, 16#60#, 16#B6#, 16#75#, 16#0C#, 16#89#, 16#80#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#C0#, 16#A0#, 16#60#, 16#6C#, 16#4C#, 16#24#, 16#1D#, 16#80#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#04#, 16#02#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#02#, 16#01#, 16#01#, 16#00#, 16#80#, 16#40#, 16#20#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#02#, 16#00#, 16#80#, 16#40#, 16#20#, 16#10#, 16#10#, 16#08#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#02#, 16#03#, 16#40#, 16#C0#, 16#F0#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#20#, 16#7C#, 16#08#, 16#04#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#20#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#60#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#20#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#00#, 16#80#, 16#80#, 16#40#, 16#40#, 16#40#, 16#20#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#02#, 16#41#, 16#21#, 16#10#, 16#88#, 16#48#, 16#18#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#00#, 16#80#, 16#40#, 16#40#, 16#20#, 16#10#, 16#38#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#06#, 16#80#, 16#40#, 16#20#, 16#20#, 16#20#, 16#3C#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#00#, 16#41#, 16#C0#, 16#20#, 16#10#, 16#08#, 16#38#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#80#, 16#81#, 16#C1#, 16#20#, 16#F0#, 16#10#, 16#08#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#82#, 16#00#, 16#C0#, 16#20#, 16#10#, 16#08#, 16#38#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#03#, 16#03#, 16#01#, 16#C1#, 16#90#, 16#88#, 16#48#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#80#, 16#40#, 16#40#, 16#40#, 16#20#, 16#20#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#06#, 16#04#, 16#82#, 16#40#, 16#C1#, 16#A0#, 16#90#, 16#48#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#06#, 16#04#, 16#82#, 16#41#, 16#20#, 16#90#, 16#70#, 16#10#, 16#30#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#80#, 16#00#, 16#00#, 16#00#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#80#, 16#00#, 16#00#, 16#00#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#30#, 16#60#, 16#40#, 16#18#, 16#03#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#F8#, 16#00#, 16#3E#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#00#, 16#70#, 16#04#, 16#1C#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#00#, 16#40#, 16#20#, 16#20#, 16#20#, 16#00#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#C3#, 16#71#, 16#54#, 16#CA#, 16#6A#, 16#3B#, 16#0F#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#40#, 16#E0#, 16#50#, 16#38#, 16#24#, 16#33#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#81#, 16#20#, 16#90#, 16#70#, 16#48#, 16#24#, 16#3E#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#E3#, 16#21#, 16#01#, 16#80#, 16#C0#, 16#22#, 16#1E#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#C1#, 16#30#, 16#88#, 16#44#, 16#42#, 16#26#, 16#3E#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#C1#, 16#00#, 16#80#, 16#70#, 16#40#, 16#22#, 16#3E#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#C1#, 16#00#, 16#80#, 16#70#, 16#40#, 16#20#, 16#38#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#C1#, 16#11#, 16#00#, 16#9C#, 16#C4#, 16#22#, 16#0F#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#71#, 16#10#, 16#88#, 16#78#, 16#44#, 16#22#, 16#33#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#01#, 16#00#, 16#80#, 16#40#, 16#40#, 16#20#, 16#30#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#80#, 16#80#, 16#40#, 16#20#, 16#20#, 16#10#, 16#30#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#61#, 16#20#, 16#E0#, 16#60#, 16#50#, 16#24#, 16#37#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#01#, 16#00#, 16#80#, 16#40#, 16#40#, 16#24#, 16#3E#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#02#, 16#19#, 16#19#, 16#54#, 16#AA#, 16#5A#, 16#49#, 16#35#, 16#C0#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#06#, 16#61#, 16#91#, 16#50#, 16#A8#, 16#4C#, 16#24#, 16#32#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#C1#, 16#31#, 16#09#, 16#8C#, 16#84#, 16#26#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#C1#, 16#20#, 16#90#, 16#70#, 16#40#, 16#20#, 16#30#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#C1#, 16#31#, 16#08#, 16#84#, 16#84#, 16#42#, 16#12#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#C1#, 16#20#, 16#90#, 16#70#, 16#50#, 16#24#, 16#33#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#02#, 16#41#, 16#00#, 16#60#, 16#90#, 16#48#, 16#18#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#80#, 16#40#, 16#20#, 16#10#, 16#10#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#31#, 16#10#, 16#88#, 16#48#, 16#44#, 16#22#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#21#, 16#10#, 16#90#, 16#50#, 16#28#, 16#08#, 16#08#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#E9#, 16#24#, 16#94#, 16#5A#, 16#36#, 16#1B#, 16#09#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#61#, 16#20#, 16#A0#, 16#20#, 16#30#, 16#24#, 16#37#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#61#, 16#20#, 16#A0#, 16#20#, 16#10#, 16#10#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#C0#, 16#40#, 16#40#, 16#40#, 16#20#, 16#20#, 16#3E#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#01#, 16#01#, 16#00#, 16#80#, 16#40#, 16#20#, 16#20#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#04#, 16#02#, 16#00#, 16#80#, 16#40#, 16#10#, 16#08#, 16#04#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#01#, 16#00#, 16#80#, 16#40#, 16#20#, 16#10#, 16#10#, 16#08#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#02#, 16#03#, 16#02#, 16#41#, 16#20#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#1F#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#04#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#A0#, 16#90#, 16#48#, 16#3C#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#06#, 16#02#, 16#01#, 16#40#, 16#D0#, 16#48#, 16#48#, 16#38#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#C0#, 16#80#, 16#80#, 16#48#, 16#18#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#80#, 16#40#, 16#E0#, 16#A0#, 16#90#, 16#48#, 16#3C#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#C0#, 16#A0#, 16#A0#, 16#68#, 16#18#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#02#, 16#01#, 16#01#, 16#C0#, 16#40#, 16#40#, 16#20#, 16#10#, 16#08#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#A0#, 16#90#, 16#30#, 16#10#, 16#16#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#06#, 16#02#, 16#01#, 16#40#, 16#E0#, 16#50#, 16#4C#, 16#24#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#02#, 16#00#, 16#01#, 16#00#, 16#80#, 16#40#, 16#40#, 16#30#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#02#, 16#00#, 16#01#, 16#80#, 16#40#, 16#40#, 16#20#, 16#10#, 16#08#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#06#, 16#02#, 16#01#, 16#60#, 16#C0#, 16#60#, 16#50#, 16#24#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#06#, 16#02#, 16#01#, 16#00#, 16#80#, 16#40#, 16#40#, 16#30#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#58#, 16#F4#, 16#54#, 16#4A#, 16#29#, 16#80#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#40#, 16#E0#, 16#50#, 16#4C#, 16#24#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#C0#, 16#90#, 16#88#, 16#48#, 16#18#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#40#, 16#D0#, 16#48#, 16#48#, 16#38#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#C0#, 16#90#, 16#90#, 16#48#, 16#3C#, 16#04#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#40#, 16#C0#, 16#40#, 16#40#, 16#20#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#80#, 16#80#, 16#60#, 16#50#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#80#, 16#80#, 16#40#, 16#40#, 16#30#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#03#, 16#40#, 16#A0#, 16#90#, 16#5C#, 16#34#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#40#, 16#90#, 16#50#, 16#30#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#08#, 16#A4#, 16#6C#, 16#16#, 16#12#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#40#, 16#E0#, 16#20#, 16#30#, 16#2C#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#20#, 16#90#, 16#30#, 16#18#, 16#08#, 16#08#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#40#, 16#40#, 16#40#, 16#30#, 16#04#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#01#, 16#00#, 16#80#, 16#80#, 16#40#, 16#20#, 16#10#, 16#08#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#04#, 16#02#, 16#01#, 16#00#, 16#80#, 16#40#, 16#20#, 16#10#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#04#, 16#02#, 16#01#, 16#00#, 16#80#, 16#40#, 16#20#, 16#20#, 16#10#, 16#08#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#D0#, 16#18#, 16#00#, 16#00#, 16#00#, 16#00#); Font_D : aliased constant Bitmap_Font := ( Bytes_Per_Glyph => 14, Glyph_Width => 9, Glyph_Height => 12, Data => FreeSerifItalic5pt7bBitmaps'Access); Font : constant Bitmap_Font_Ref := Font_D'Access; end GESTE_Fonts.FreeSerifItalic5pt7b;
<?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>store39</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>var_output_0_1_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>to.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>512</bitwidth> </Value> <direction>1</direction> <if_type>4</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>var_output_0_1_V_offset</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>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>output_stream_0_1_V_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>from.V.V</originalName> <rtlName></rtlName> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>512</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>coalesced_data_num</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>64</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> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>27</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_5"> <Value> <Obj> <type>0</type> <id>5</id> <name>i</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>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>52</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>11</id> <name>var_output_0_1_V_offset_read</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> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>54</item> <item>55</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>1.21</m_delay> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>15</id> <name>coalesced_data_num_read</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> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>57</item> <item>58</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>1.21</m_delay> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>16</id> <name>tmp</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>9718</lineNumber> <contextFuncName>jacobi2d_kernel</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second class_id="12" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="13" tracking_level="0" version="0"> <first class_id="14" tracking_level="0" version="0"> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9718</second> </item> </second> </item> </inlineStackInfo> <originalName>data_num</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>59</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>18</id> <name>tmp_3</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>42</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>42</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>26</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>61</item> <item>62</item> <item>64</item> <item>66</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>19</id> <name>sext_cast_i</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>42</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>42</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>33</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>67</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>20</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>2</count> <item_version>0</item_version> <item>69</item> <item>70</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.60</m_delay> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>21</id> <name></name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>42</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>42</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>71</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>23</id> <name>i_load</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>47</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>47</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>72</item> <item>322</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>24</id> <name>tmp_i_i_i</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>42</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>42</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>74</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.85</m_delay> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>25</id> <name></name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>42</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>42</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>75</item> <item>76</item> <item>77</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>30</id> <name>tmp_4</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>45</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>45</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>79</item> <item>80</item> <item>81</item> </oprand_edges> <opcode>nbreadreq</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>31</id> <name></name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>45</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>45</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>82</item> <item>83</item> <item>84</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>33</id> <name>tmp_2_i_i_cast_i</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>46</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>46</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>33</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>85</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>34</id> <name>output_stream_0_1_V_V_read</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>46</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>46</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>513</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>87</item> <item>88</item> <item>325</item> </oprand_edges> <opcode>nbread</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>1.21</m_delay> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>35</id> <name>tmp_V</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>46</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>46</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>512</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>89</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>36</id> <name>sum_i</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>42</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>42</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>33</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>90</item> <item>91</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.88</m_delay> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>37</id> <name>sum_cast_i</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>42</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>42</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>92</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>38</id> <name>var_output_0_1_V_addr</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>46</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>46</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>93</item> <item>94</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>39</id> <name>var_output_0_1_V_addr_i_req</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>46</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>46</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>96</item> <item>97</item> <item>98</item> </oprand_edges> <opcode>writereq</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>2.43</m_delay> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>40</id> <name></name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>46</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>46</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>100</item> <item>101</item> <item>102</item> <item>104</item> <item>321</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>2.43</m_delay> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>41</id> <name>var_output_0_1_V_addr_i_resp</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>46</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>46</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>106</item> <item>107</item> <item>320</item> </oprand_edges> <opcode>writeresp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>2.43</m_delay> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>42</id> <name>i_2</name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>47</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>47</second> </item> </second> </item> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>108</item> <item>109</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.88</m_delay> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>43</id> <name></name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>47</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>47</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>110</item> <item>111</item> <item>323</item> <item>324</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.60</m_delay> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>44</id> <name></name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>48</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>48</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>112</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>47</id> <name></name> <fileName>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</fileName> <fileDirectory>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>store</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/einsx7/broadcast/vivado-hls-broadcast-optimization/ctrl_broadcast/eg2_stencil_computation/optimize</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>jacobi2d_kernel</second> </first> <second>9724</second> </item> <item> <first> <first>non_blocking_jacobi2d_kernel-tile8000-unroll64-4ddr-iterate8.cpp</first> <second>store</second> </first> <second>49</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>113</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_delay>0.00</m_delay> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</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> <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_delay>0.00</m_delay> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_32"> <Value> <Obj> <type>2</type> <id>51</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>1</content> </item> <item class_id_reference="16" object_id="_33"> <Value> <Obj> <type>2</type> <id>63</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>6</content> </item> <item class_id_reference="16" object_id="_34"> <Value> <Obj> <type>2</type> <id>65</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>31</content> </item> <item class_id_reference="16" object_id="_35"> <Value> <Obj> <type>2</type> <id>68</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="_36"> <Value> <Obj> <type>2</type> <id>103</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>18446744073709551615</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="_37"> <Obj> <type>3</type> <id>22</id> <name>entry</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>8</count> <item_version>0</item_version> <item>5</item> <item>11</item> <item>15</item> <item>16</item> <item>18</item> <item>19</item> <item>20</item> <item>21</item> </node_objs> </item> <item class_id_reference="18" object_id="_38"> <Obj> <type>3</type> <id>26</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>23</item> <item>24</item> <item>25</item> </node_objs> </item> <item class_id_reference="18" object_id="_39"> <Obj> <type>3</type> <id>32</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>30</item> <item>31</item> </node_objs> </item> <item class_id_reference="18" object_id="_40"> <Obj> <type>3</type> <id>45</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>12</count> <item_version>0</item_version> <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> </node_objs> </item> <item class_id_reference="18" object_id="_41"> <Obj> <type>3</type> <id>48</id> <name>._crit_edge.i.i.i</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>47</item> </node_objs> </item> <item class_id_reference="18" object_id="_42"> <Obj> <type>3</type> <id>50</id> <name>.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>1</count> <item_version>0</item_version> <item>49</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>55</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_43"> <id>52</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>5</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_44"> <id>55</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_45"> <id>58</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_46"> <id>59</id> <edge_type>1</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="_47"> <id>62</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_48"> <id>64</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_49"> <id>66</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_50"> <id>67</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="_51"> <id>69</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_52"> <id>70</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_53"> <id>71</id> <edge_type>2</edge_type> <source_obj>26</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_54"> <id>72</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_55"> <id>73</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_56"> <id>74</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_57"> <id>75</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_58"> <id>76</id> <edge_type>2</edge_type> <source_obj>50</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_59"> <id>77</id> <edge_type>2</edge_type> <source_obj>32</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_60"> <id>80</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_61"> <id>81</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_62"> <id>82</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_63"> <id>83</id> <edge_type>2</edge_type> <source_obj>48</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_64"> <id>84</id> <edge_type>2</edge_type> <source_obj>45</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_65"> <id>85</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_66"> <id>88</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_67"> <id>89</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="_68"> <id>90</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_69"> <id>91</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_70"> <id>92</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_71"> <id>93</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_72"> <id>94</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="_73"> <id>97</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="_74"> <id>98</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_75"> <id>101</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_76"> <id>102</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_77"> <id>104</id> <edge_type>1</edge_type> <source_obj>103</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_78"> <id>107</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_79"> <id>108</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_80"> <id>109</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_81"> <id>110</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_82"> <id>111</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_83"> <id>112</id> <edge_type>2</edge_type> <source_obj>48</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_84"> <id>113</id> <edge_type>2</edge_type> <source_obj>26</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_85"> <id>313</id> <edge_type>2</edge_type> <source_obj>22</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_86"> <id>314</id> <edge_type>2</edge_type> <source_obj>26</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_87"> <id>315</id> <edge_type>2</edge_type> <source_obj>26</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_88"> <id>316</id> <edge_type>2</edge_type> <source_obj>32</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_89"> <id>317</id> <edge_type>2</edge_type> <source_obj>32</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_90"> <id>318</id> <edge_type>2</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="_91"> <id>319</id> <edge_type>2</edge_type> <source_obj>48</source_obj> <sink_obj>26</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_92"> <id>320</id> <edge_type>4</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="_93"> <id>321</id> <edge_type>4</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>322</id> <edge_type>4</edge_type> <source_obj>20</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_95"> <id>323</id> <edge_type>4</edge_type> <source_obj>20</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_96"> <id>324</id> <edge_type>4</edge_type> <source_obj>23</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_97"> <id>325</id> <edge_type>4</edge_type> <source_obj>30</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_98"> <mId>1</mId> <mTag>store39</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</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>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_99"> <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>22</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="_100"> <mId>3</mId> <mTag>store_epoch</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>4</count> <item_version>0</item_version> <item>26</item> <item>32</item> <item>45</item> <item>48</item> </basic_blocks> <mII>1</mII> <mDepth>127</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>-1</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_101"> <mId>4</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>50</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="_102"> <states class_id="25" tracking_level="0" version="0"> <count>129</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_103"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>17</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_104"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_105"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_106"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_107"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_108"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_109"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_110"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_111"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_112"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_113"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_114"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_115"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_116"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_117"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_118"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_119"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_120"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_121"> <id>2</id> <operations> <count>11</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_122"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_123"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_124"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_125"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_126"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_127"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_128"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_129"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_130"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_131"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_132"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_133"> <id>3</id> <operations> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_134"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_135"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_136"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_137"> <id>4</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_138"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_139"> <id>5</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_140"> <id>41</id> <stage>124</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_141"> <id>6</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_142"> <id>41</id> <stage>123</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_143"> <id>7</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_144"> <id>41</id> <stage>122</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_145"> <id>8</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_146"> <id>41</id> <stage>121</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_147"> <id>9</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_148"> <id>41</id> <stage>120</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_149"> <id>10</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_150"> <id>41</id> <stage>119</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_151"> <id>11</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_152"> <id>41</id> <stage>118</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_153"> <id>12</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_154"> <id>41</id> <stage>117</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_155"> <id>13</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_156"> <id>41</id> <stage>116</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_157"> <id>14</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_158"> <id>41</id> <stage>115</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_159"> <id>15</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_160"> <id>41</id> <stage>114</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_161"> <id>16</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_162"> <id>41</id> <stage>113</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_163"> <id>17</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_164"> <id>41</id> <stage>112</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_165"> <id>18</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_166"> <id>41</id> <stage>111</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_167"> <id>19</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_168"> <id>41</id> <stage>110</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_169"> <id>20</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_170"> <id>41</id> <stage>109</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_171"> <id>21</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_172"> <id>41</id> <stage>108</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_173"> <id>22</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_174"> <id>41</id> <stage>107</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_175"> <id>23</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_176"> <id>41</id> <stage>106</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_177"> <id>24</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_178"> <id>41</id> <stage>105</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_179"> <id>25</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_180"> <id>41</id> <stage>104</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_181"> <id>26</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_182"> <id>41</id> <stage>103</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_183"> <id>27</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_184"> <id>41</id> <stage>102</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_185"> <id>28</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_186"> <id>41</id> <stage>101</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_187"> <id>29</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_188"> <id>41</id> <stage>100</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_189"> <id>30</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_190"> <id>41</id> <stage>99</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_191"> <id>31</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_192"> <id>41</id> <stage>98</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_193"> <id>32</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_194"> <id>41</id> <stage>97</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_195"> <id>33</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_196"> <id>41</id> <stage>96</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_197"> <id>34</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_198"> <id>41</id> <stage>95</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_199"> <id>35</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_200"> <id>41</id> <stage>94</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_201"> <id>36</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_202"> <id>41</id> <stage>93</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_203"> <id>37</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_204"> <id>41</id> <stage>92</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_205"> <id>38</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_206"> <id>41</id> <stage>91</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_207"> <id>39</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_208"> <id>41</id> <stage>90</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_209"> <id>40</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_210"> <id>41</id> <stage>89</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_211"> <id>41</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_212"> <id>41</id> <stage>88</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_213"> <id>42</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_214"> <id>41</id> <stage>87</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_215"> <id>43</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_216"> <id>41</id> <stage>86</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_217"> <id>44</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_218"> <id>41</id> <stage>85</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_219"> <id>45</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_220"> <id>41</id> <stage>84</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_221"> <id>46</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_222"> <id>41</id> <stage>83</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_223"> <id>47</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_224"> <id>41</id> <stage>82</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_225"> <id>48</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_226"> <id>41</id> <stage>81</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_227"> <id>49</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_228"> <id>41</id> <stage>80</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_229"> <id>50</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_230"> <id>41</id> <stage>79</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_231"> <id>51</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_232"> <id>41</id> <stage>78</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_233"> <id>52</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_234"> <id>41</id> <stage>77</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_235"> <id>53</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_236"> <id>41</id> <stage>76</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_237"> <id>54</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_238"> <id>41</id> <stage>75</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_239"> <id>55</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_240"> <id>41</id> <stage>74</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_241"> <id>56</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_242"> <id>41</id> <stage>73</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_243"> <id>57</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_244"> <id>41</id> <stage>72</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_245"> <id>58</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_246"> <id>41</id> <stage>71</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_247"> <id>59</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_248"> <id>41</id> <stage>70</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_249"> <id>60</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_250"> <id>41</id> <stage>69</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_251"> <id>61</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_252"> <id>41</id> <stage>68</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_253"> <id>62</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_254"> <id>41</id> <stage>67</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_255"> <id>63</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_256"> <id>41</id> <stage>66</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_257"> <id>64</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_258"> <id>41</id> <stage>65</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_259"> <id>65</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_260"> <id>41</id> <stage>64</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_261"> <id>66</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_262"> <id>41</id> <stage>63</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_263"> <id>67</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_264"> <id>41</id> <stage>62</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_265"> <id>68</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_266"> <id>41</id> <stage>61</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_267"> <id>69</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_268"> <id>41</id> <stage>60</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_269"> <id>70</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_270"> <id>41</id> <stage>59</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_271"> <id>71</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_272"> <id>41</id> <stage>58</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_273"> <id>72</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_274"> <id>41</id> <stage>57</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_275"> <id>73</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_276"> <id>41</id> <stage>56</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_277"> <id>74</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_278"> <id>41</id> <stage>55</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_279"> <id>75</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_280"> <id>41</id> <stage>54</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_281"> <id>76</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_282"> <id>41</id> <stage>53</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_283"> <id>77</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_284"> <id>41</id> <stage>52</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_285"> <id>78</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_286"> <id>41</id> <stage>51</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_287"> <id>79</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_288"> <id>41</id> <stage>50</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_289"> <id>80</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_290"> <id>41</id> <stage>49</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_291"> <id>81</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_292"> <id>41</id> <stage>48</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_293"> <id>82</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_294"> <id>41</id> <stage>47</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_295"> <id>83</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_296"> <id>41</id> <stage>46</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_297"> <id>84</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_298"> <id>41</id> <stage>45</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_299"> <id>85</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_300"> <id>41</id> <stage>44</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_301"> <id>86</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_302"> <id>41</id> <stage>43</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_303"> <id>87</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_304"> <id>41</id> <stage>42</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_305"> <id>88</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_306"> <id>41</id> <stage>41</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_307"> <id>89</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_308"> <id>41</id> <stage>40</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_309"> <id>90</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_310"> <id>41</id> <stage>39</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_311"> <id>91</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_312"> <id>41</id> <stage>38</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_313"> <id>92</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_314"> <id>41</id> <stage>37</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_315"> <id>93</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_316"> <id>41</id> <stage>36</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_317"> <id>94</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_318"> <id>41</id> <stage>35</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_319"> <id>95</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_320"> <id>41</id> <stage>34</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_321"> <id>96</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_322"> <id>41</id> <stage>33</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_323"> <id>97</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_324"> <id>41</id> <stage>32</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_325"> <id>98</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_326"> <id>41</id> <stage>31</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_327"> <id>99</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_328"> <id>41</id> <stage>30</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_329"> <id>100</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_330"> <id>41</id> <stage>29</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_331"> <id>101</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_332"> <id>41</id> <stage>28</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_333"> <id>102</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_334"> <id>41</id> <stage>27</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_335"> <id>103</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_336"> <id>41</id> <stage>26</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_337"> <id>104</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_338"> <id>41</id> <stage>25</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_339"> <id>105</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_340"> <id>41</id> <stage>24</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_341"> <id>106</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_342"> <id>41</id> <stage>23</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_343"> <id>107</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_344"> <id>41</id> <stage>22</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_345"> <id>108</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_346"> <id>41</id> <stage>21</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_347"> <id>109</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_348"> <id>41</id> <stage>20</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_349"> <id>110</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_350"> <id>41</id> <stage>19</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_351"> <id>111</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_352"> <id>41</id> <stage>18</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_353"> <id>112</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_354"> <id>41</id> <stage>17</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_355"> <id>113</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_356"> <id>41</id> <stage>16</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_357"> <id>114</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_358"> <id>41</id> <stage>15</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_359"> <id>115</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_360"> <id>41</id> <stage>14</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_361"> <id>116</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_362"> <id>41</id> <stage>13</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_363"> <id>117</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_364"> <id>41</id> <stage>12</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_365"> <id>118</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_366"> <id>41</id> <stage>11</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_367"> <id>119</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_368"> <id>41</id> <stage>10</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_369"> <id>120</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_370"> <id>41</id> <stage>9</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_371"> <id>121</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_372"> <id>41</id> <stage>8</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_373"> <id>122</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_374"> <id>41</id> <stage>7</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_375"> <id>123</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_376"> <id>41</id> <stage>6</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_377"> <id>124</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_378"> <id>41</id> <stage>5</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_379"> <id>125</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_380"> <id>41</id> <stage>4</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_381"> <id>126</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_382"> <id>41</id> <stage>3</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_383"> <id>127</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_384"> <id>41</id> <stage>2</stage> <latency>124</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_385"> <id>128</id> <operations> <count>7</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_386"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_387"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_388"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_389"> <id>41</id> <stage>1</stage> <latency>124</latency> </item> <item class_id_reference="28" object_id="_390"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_391"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_392"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_393"> <id>129</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_394"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>129</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_395"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>18</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="_396"> <inState>3</inState> <outState>4</outState> <condition> <id>277</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="_397"> <inState>4</inState> <outState>5</outState> <condition> <id>278</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="_398"> <inState>5</inState> <outState>6</outState> <condition> <id>279</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="_399"> <inState>6</inState> <outState>7</outState> <condition> <id>280</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="_400"> <inState>7</inState> <outState>8</outState> <condition> <id>281</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="_401"> <inState>8</inState> <outState>9</outState> <condition> <id>282</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="_402"> <inState>9</inState> <outState>10</outState> <condition> <id>283</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="_403"> <inState>10</inState> <outState>11</outState> <condition> <id>284</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="_404"> <inState>11</inState> <outState>12</outState> <condition> <id>285</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="_405"> <inState>12</inState> <outState>13</outState> <condition> <id>286</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="_406"> <inState>13</inState> <outState>14</outState> <condition> <id>287</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="_407"> <inState>14</inState> <outState>15</outState> <condition> <id>288</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="_408"> <inState>15</inState> <outState>16</outState> <condition> <id>289</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="_409"> <inState>16</inState> <outState>17</outState> <condition> <id>290</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="_410"> <inState>17</inState> <outState>18</outState> <condition> <id>291</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="_411"> <inState>18</inState> <outState>19</outState> <condition> <id>292</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="_412"> <inState>19</inState> <outState>20</outState> <condition> <id>293</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="_413"> <inState>20</inState> <outState>21</outState> <condition> <id>294</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="_414"> <inState>21</inState> <outState>22</outState> <condition> <id>295</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="_415"> <inState>22</inState> <outState>23</outState> <condition> <id>296</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="_416"> <inState>23</inState> <outState>24</outState> <condition> <id>297</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="_417"> <inState>24</inState> <outState>25</outState> <condition> <id>298</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="_418"> <inState>25</inState> <outState>26</outState> <condition> <id>299</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="_419"> <inState>26</inState> <outState>27</outState> <condition> <id>300</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="_420"> <inState>27</inState> <outState>28</outState> <condition> <id>301</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="_421"> <inState>28</inState> <outState>29</outState> <condition> <id>302</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="_422"> <inState>29</inState> <outState>30</outState> <condition> <id>303</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="_423"> <inState>30</inState> <outState>31</outState> <condition> <id>304</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="_424"> <inState>31</inState> <outState>32</outState> <condition> <id>305</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="_425"> <inState>32</inState> <outState>33</outState> <condition> <id>306</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="_426"> <inState>33</inState> <outState>34</outState> <condition> <id>307</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="_427"> <inState>34</inState> <outState>35</outState> <condition> <id>308</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="_428"> <inState>35</inState> <outState>36</outState> <condition> <id>309</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="_429"> <inState>36</inState> <outState>37</outState> <condition> <id>310</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="_430"> <inState>37</inState> <outState>38</outState> <condition> <id>311</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="_431"> <inState>38</inState> <outState>39</outState> <condition> <id>312</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="_432"> <inState>39</inState> <outState>40</outState> <condition> <id>313</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="_433"> <inState>40</inState> <outState>41</outState> <condition> <id>314</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="_434"> <inState>41</inState> <outState>42</outState> <condition> <id>315</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="_435"> <inState>42</inState> <outState>43</outState> <condition> <id>316</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="_436"> <inState>43</inState> <outState>44</outState> <condition> <id>317</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="_437"> <inState>44</inState> <outState>45</outState> <condition> <id>318</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="_438"> <inState>45</inState> <outState>46</outState> <condition> <id>319</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="_439"> <inState>46</inState> <outState>47</outState> <condition> <id>320</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="_440"> <inState>47</inState> <outState>48</outState> <condition> <id>321</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="_441"> <inState>48</inState> <outState>49</outState> <condition> <id>322</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="_442"> <inState>49</inState> <outState>50</outState> <condition> <id>323</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="_443"> <inState>50</inState> <outState>51</outState> <condition> <id>324</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="_444"> <inState>51</inState> <outState>52</outState> <condition> <id>325</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="_445"> <inState>52</inState> <outState>53</outState> <condition> <id>326</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="_446"> <inState>53</inState> <outState>54</outState> <condition> <id>327</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="_447"> <inState>54</inState> <outState>55</outState> <condition> <id>328</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="_448"> <inState>55</inState> <outState>56</outState> <condition> <id>329</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="_449"> <inState>56</inState> <outState>57</outState> <condition> <id>330</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="_450"> <inState>57</inState> <outState>58</outState> <condition> <id>331</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="_451"> <inState>58</inState> <outState>59</outState> <condition> <id>332</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="_452"> <inState>59</inState> <outState>60</outState> <condition> <id>333</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="_453"> <inState>60</inState> <outState>61</outState> <condition> <id>334</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="_454"> <inState>61</inState> <outState>62</outState> <condition> <id>335</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="_455"> <inState>62</inState> <outState>63</outState> <condition> <id>336</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="_456"> <inState>63</inState> <outState>64</outState> <condition> <id>337</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="_457"> <inState>64</inState> <outState>65</outState> <condition> <id>338</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="_458"> <inState>65</inState> <outState>66</outState> <condition> <id>339</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="_459"> <inState>66</inState> <outState>67</outState> <condition> <id>340</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="_460"> <inState>67</inState> <outState>68</outState> <condition> <id>341</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="_461"> <inState>68</inState> <outState>69</outState> <condition> <id>342</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="_462"> <inState>69</inState> <outState>70</outState> <condition> <id>343</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="_463"> <inState>70</inState> <outState>71</outState> <condition> <id>344</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="_464"> <inState>71</inState> <outState>72</outState> <condition> <id>345</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="_465"> <inState>72</inState> <outState>73</outState> <condition> <id>346</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="_466"> <inState>73</inState> <outState>74</outState> <condition> <id>347</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="_467"> <inState>74</inState> <outState>75</outState> <condition> <id>348</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="_468"> <inState>75</inState> <outState>76</outState> <condition> <id>349</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="_469"> <inState>76</inState> <outState>77</outState> <condition> <id>350</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="_470"> <inState>77</inState> <outState>78</outState> <condition> <id>351</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="_471"> <inState>78</inState> <outState>79</outState> <condition> <id>352</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="_472"> <inState>79</inState> <outState>80</outState> <condition> <id>353</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="_473"> <inState>80</inState> <outState>81</outState> <condition> <id>354</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="_474"> <inState>81</inState> <outState>82</outState> <condition> <id>355</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="_475"> <inState>82</inState> <outState>83</outState> <condition> <id>356</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="_476"> <inState>83</inState> <outState>84</outState> <condition> <id>357</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="_477"> <inState>84</inState> <outState>85</outState> <condition> <id>358</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="_478"> <inState>85</inState> <outState>86</outState> <condition> <id>359</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="_479"> <inState>86</inState> <outState>87</outState> <condition> <id>360</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="_480"> <inState>87</inState> <outState>88</outState> <condition> <id>361</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="_481"> <inState>88</inState> <outState>89</outState> <condition> <id>362</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="_482"> <inState>89</inState> <outState>90</outState> <condition> <id>363</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="_483"> <inState>90</inState> <outState>91</outState> <condition> <id>364</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="_484"> <inState>91</inState> <outState>92</outState> <condition> <id>365</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="_485"> <inState>92</inState> <outState>93</outState> <condition> <id>366</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="_486"> <inState>93</inState> <outState>94</outState> <condition> <id>367</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="_487"> <inState>94</inState> <outState>95</outState> <condition> <id>368</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="_488"> <inState>95</inState> <outState>96</outState> <condition> <id>369</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="_489"> <inState>96</inState> <outState>97</outState> <condition> <id>370</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="_490"> <inState>97</inState> <outState>98</outState> <condition> <id>371</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="_491"> <inState>98</inState> <outState>99</outState> <condition> <id>372</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="_492"> <inState>99</inState> <outState>100</outState> <condition> <id>373</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="_493"> <inState>100</inState> <outState>101</outState> <condition> <id>374</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="_494"> <inState>101</inState> <outState>102</outState> <condition> <id>375</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="_495"> <inState>102</inState> <outState>103</outState> <condition> <id>376</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="_496"> <inState>103</inState> <outState>104</outState> <condition> <id>377</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="_497"> <inState>104</inState> <outState>105</outState> <condition> <id>378</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="_498"> <inState>105</inState> <outState>106</outState> <condition> <id>379</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="_499"> <inState>106</inState> <outState>107</outState> <condition> <id>380</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="_500"> <inState>107</inState> <outState>108</outState> <condition> <id>381</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="_501"> <inState>108</inState> <outState>109</outState> <condition> <id>382</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="_502"> <inState>109</inState> <outState>110</outState> <condition> <id>383</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="_503"> <inState>110</inState> <outState>111</outState> <condition> <id>384</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="_504"> <inState>111</inState> <outState>112</outState> <condition> <id>385</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="_505"> <inState>112</inState> <outState>113</outState> <condition> <id>386</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="_506"> <inState>113</inState> <outState>114</outState> <condition> <id>387</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="_507"> <inState>114</inState> <outState>115</outState> <condition> <id>388</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="_508"> <inState>115</inState> <outState>116</outState> <condition> <id>389</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="_509"> <inState>116</inState> <outState>117</outState> <condition> <id>390</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="_510"> <inState>117</inState> <outState>118</outState> <condition> <id>391</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="_511"> <inState>118</inState> <outState>119</outState> <condition> <id>392</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="_512"> <inState>119</inState> <outState>120</outState> <condition> <id>393</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="_513"> <inState>120</inState> <outState>121</outState> <condition> <id>394</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="_514"> <inState>121</inState> <outState>122</outState> <condition> <id>395</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="_515"> <inState>122</inState> <outState>123</outState> <condition> <id>396</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="_516"> <inState>123</inState> <outState>124</outState> <condition> <id>397</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="_517"> <inState>124</inState> <outState>125</outState> <condition> <id>398</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="_518"> <inState>125</inState> <outState>126</outState> <condition> <id>399</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="_519"> <inState>126</inState> <outState>127</outState> <condition> <id>400</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="_520"> <inState>127</inState> <outState>128</outState> <condition> <id>401</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="_521"> <inState>128</inState> <outState>2</outState> <condition> <id>402</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="_522"> <inState>2</inState> <outState>129</outState> <condition> <id>276</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>24</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_523"> <inState>2</inState> <outState>3</outState> <condition> <id>403</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>24</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>27</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>5</first> <second class_id="39" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>11</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>0</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>23</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>25</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>1</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>0</second> </second> </item> <item> <first>36</first> <second> <first>1</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>3</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>4</first> <second>123</second> </second> </item> <item> <first>42</first> <second> <first>1</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>127</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>127</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>128</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>22</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>32</first> <second> <first>1</first> <second>127</second> </second> </item> <item> <first>45</first> <second> <first>1</first> <second>127</second> </second> </item> <item> <first>48</first> <second> <first>127</first> <second>127</second> </second> </item> <item> <first>50</first> <second> <first>2</first> <second>2</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="_524"> <region_name>store_epoch</region_name> <basic_blocks> <count>4</count> <item_version>0</item_version> <item>26</item> <item>32</item> <item>45</item> <item>48</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>127</pipe_depth> </item> </regions> <dp_fu_nodes class_id="45" tracking_level="0" version="0"> <count>20</count> <item_version>0</item_version> <item class_id="46" tracking_level="0" version="0"> <first>100</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>104</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>110</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>116</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>124</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>130</first> <second> <count>125</count> <item_version>0</item_version> <item>39</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> </second> </item> <item> <first>137</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>146</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>150</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>160</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>164</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>169</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>172</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>177</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>181</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>185</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>190</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>196</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>201</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>204</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="48" tracking_level="0" version="0"> <count>11</count> <item_version>0</item_version> <item class_id="49" tracking_level="0" version="0"> <first>i_2_fu_190</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>i_fu_100</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>sext_cast_i_fu_160</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>sum_cast_i_fu_201</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>sum_i_fu_185</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>tmp_2_i_i_cast_i_fu_177</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>tmp_3_fu_150</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>tmp_V_fu_181</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>tmp_fu_146</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>tmp_i_i_i_fu_172</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>var_output_0_1_V_addr_fu_204</first> <second> <count>1</count> <item_version>0</item_version> <item>38</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>9</count> <item_version>0</item_version> <item> <first>StgValue_145_store_fu_164</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>StgValue_157_store_fu_196</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>StgValue_161_write_fu_137</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>coalesced_data_num_read_read_fu_110</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>grp_writeresp_fu_130</first> <second> <count>125</count> <item_version>0</item_version> <item>39</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> <item>41</item> </second> </item> <item> <first>i_load_load_fu_169</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>output_stream_0_1_V_V_read_nbread_fu_124</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>tmp_4_nbreadreq_fu_116</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>var_output_0_1_V_offset_read_read_fu_104</first> <second> <count>1</count> <item_version>0</item_version> <item>11</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>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>7</count> <item_version>0</item_version> <item> <first>211</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>218</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>223</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>231</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>235</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>240</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>245</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>7</count> <item_version>0</item_version> <item> <first>i_reg_211</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>sext_cast_i_reg_223</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>sum_i_reg_240</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>tmp_4_reg_231</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>tmp_V_reg_235</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>tmp_reg_218</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>var_output_0_1_V_addr_reg_245</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="51" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>coalesced_data_num</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> </second> </item> <item> <first>output_stream_0_1_V_V</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>nbread</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>nbreadreq</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> </second> </item> <item> <first>var_output_0_1_V</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>var_output_0_1_V_offset</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> </dp_port_io_nodes> <port2core class_id="53" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="54" tracking_level="0" version="0"> <first>2</first> <second>FIFO</second> </item> <item> <first>3</first> <second>FIFO_SRL</second> </item> <item> <first>4</first> <second>FIFO</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
------------------------------------------------------------------------------ -- cooks.ads -- -- This package supplies a task type for the Cooks in the Enhanced Dining -- Philosophers simulation. It also defines an array of cooks. -- -- Entries: -- -- Here_Is_Your_Name (Name) assigns the name Name to the cook. -- Prepare (O) call this to tell the cook to prepare order O. -- The cook simply takes the order and lets the -- calling task resume immediately (the caller -- does not have to wait while the cook cooks. -- Pink_Slip "fires" the cook (terminating the task). -- -- Behavior: -- -- First the cook waits for a name, then reports to work. After that, she -- repeatedly: receives an order (from a waiter), cooks it, then puts it un- -- der the heat lamp. After every fourth meal, she goes on a coffee break. -- While waiting for an order from a waiter, she might get a pink slip. -- -- Termination: -- -- A cook is explicitly "fired" by the Host before the host dies. ------------------------------------------------------------------------------ with Names, Orders; use Names, Orders; package Cooks is task type Cook is entry Here_Is_Your_Name (Name: Cook_Name); entry Prepare (O: Order); entry Pink_Slip; end Cook; Cook_Array: array (Cook_Name) of Cook; end Cooks;
-- The Village of Vampire by YT, このソースコードはNYSLです with Ada.Directories; with Ada.Hierarchical_File_Names; with Ada.IO_Exceptions; with Ada.Streams.Stream_IO; with Tabula.Users.Load; with Tabula.Users.Save; package body Tabula.Users.Lists is use type Ada.Strings.Unbounded.Unbounded_String; procedure Load_Users_Log (List : in out User_List) is begin if not List.Log_Read then begin declare File : Ada.Streams.Stream_IO.File_Type := Ada.Streams.Stream_IO.Open ( Ada.Streams.Stream_IO.In_File, Name => List.Log_File_Name.all); begin Users_Log.Map'Read (Ada.Streams.Stream_IO.Stream (File), List.Log); Ada.Streams.Stream_IO.Close (File); end; exception when Ada.IO_Exceptions.Name_Error => null; end; List.Log_Read := True; end if; end Load_Users_Log; procedure Add_To_Users_Log ( List : in out User_List; Id : in String; Remote_Addr : in String; Remote_Host : in String; Now : in Ada.Calendar.Time) is Item : User_Log_Item := (+Id, +Remote_Addr, +Remote_Host); begin Load_Users_Log (List); Users_Log.Include (List.Log, Item, Now); -- create the directory declare Dir : constant String := Ada.Hierarchical_File_Names.Unchecked_Containing_Directory ( List.Log_File_Name.all); begin if Dir'Length /= 0 then Ada.Directories.Create_Path (Dir); end if; end; -- write the file declare File : Ada.Streams.Stream_IO.File_Type := Ada.Streams.Stream_IO.Create (Name => List.Log_File_Name.all); begin Users_Log.Map'Write (Ada.Streams.Stream_IO.Stream (File), List.Log); Ada.Streams.Stream_IO.Close (File); end; end Add_To_Users_Log; Upper_Subdirectory_Name : constant String := "+A"; function User_Full_Name ( Directory : String; Id : String; Only_Existing : Boolean := False) return String is Lower_Name : constant String := Ada.Hierarchical_File_Names.Compose ( Directory => Directory, Relative_Name => Id); begin if Ada.Directories.Exists (Lower_Name) then return Lower_Name; else declare Upper_Directory : constant String := Ada.Hierarchical_File_Names.Compose ( Directory => Directory, Relative_Name => Upper_Subdirectory_Name); Upper_Name : constant String := Ada.Hierarchical_File_Names.Compose ( Directory => Upper_Directory, Relative_Name => Id); begin if Ada.Directories.Exists (Upper_Name) then return Upper_Name; else if Only_Existing then raise Ada.IO_Exceptions.Name_Error; end if; if Id (Id'First) in 'A' .. 'Z' then return Upper_Name; else return Lower_Name; end if; end if; end; end if; end User_Full_Name; -- implementation function Create ( Directory : not null Static_String_Access; Log_File_Name : not null Static_String_Access) return User_List is begin return ( Directory => Directory, Log_File_Name => Log_File_Name, Log_Read => False, Log => Users_Log.Empty_Map); end Create; function Exists (List : User_List; Id : String) return Boolean is begin declare Dummy_File_Name : constant String := User_Full_Name (List.Directory.all, Id, Only_Existing => True); begin return True; end; exception when Ada.IO_Exceptions.Name_Error => return False; end Exists; procedure Query ( List : in out User_List; Id : in String; Password : in String; Remote_Addr : in String; Remote_Host : in String; Now : in Ada.Calendar.Time; Info : out User_Info; State : out User_State) is begin if Id'Length = 0 then State := Log_Off; elsif not Exists (List, Id) then State := Unknown; else Load (User_Full_Name (List.Directory.all, Id), Info); if Info.Password /= Digest (Password) or else not Info.Renamed.Is_Null then State := Invalid; else State := Valid; if Id /= Administrator then if not Info.No_Log then Add_To_Users_Log ( List, Id => Id, Remote_Addr => Remote_Addr, Remote_Host => Remote_Host, Now => Now); else Add_To_Users_Log ( List, Id => Id, Remote_Addr => "", Remote_Host => "", Now => Now); -- log only time end if; end if; end if; end if; end Query; procedure New_User ( List : in out User_List; Id : in String; Password : in String; Remote_Addr : in String; Remote_Host : in String; Now : in Ada.Calendar.Time; Result : out Boolean) is begin if Exists (List, Id) then Result := False; else declare Info : User_Info := ( Password => Digest (Password), Creation_Remote_Addr => +Remote_Addr, Creation_Remote_Host => +Remote_Host, Creation_Time => Now, Last_Remote_Addr => +Remote_Addr, Last_Remote_Host => +Remote_Host, Last_Time => Now, Ignore_Request => False, Disallow_New_Village => False, No_Log => False, Renamed => Ada.Strings.Unbounded.Null_Unbounded_String); Full_Name : constant String := User_Full_Name (List.Directory.all, Id); begin -- create the directory declare Dir : constant String := Ada.Hierarchical_File_Names.Unchecked_Containing_Directory (Full_Name); begin if Dir'Length /= 0 then Ada.Directories.Create_Path (Dir); end if; end; -- save the file Save (Full_Name, Info); Result := True; end; end if; exception when Ada.IO_Exceptions.Name_Error => Result := False; end New_User; procedure Update ( List : in out User_List; Id : in String; Remote_Addr : in String; Remote_Host : in String; Now : in Ada.Calendar.Time; Info : in out User_Info) is begin Info.Last_Remote_Addr := +Remote_Addr; Info.Last_Remote_Host := +Remote_Host; Info.Last_Time := Now; Save (User_Full_Name (List.Directory.all, Id), Info); end Update; function All_Users (List : User_List) return User_Info_Maps.Map is procedure Add (Result : in out User_Info_Maps.Map; Directory : in String) is Search : aliased Ada.Directories.Search_Type; begin Ada.Directories.Start_Search ( Search, Directory, "*", Filter => (Ada.Directories.Ordinary_File => True, others => False)); while Ada.Directories.More_Entries(Search) loop declare File : Ada.Directories.Directory_Entry_Type renames Ada.Directories.Look_Next_Entry (Search); Id : String := Ada.Directories.Simple_Name (File); begin if Id (Id'First) /= '.' then -- excluding dot file declare Info : User_Info; begin Load (User_Full_Name (List.Directory.all, Id), Info); User_Info_Maps.Include (Result, Id, Info); end; end if; end; Ada.Directories.Skip_Next_Entry (Search); end loop; Ada.Directories.End_Search(Search); end Add; begin return Result : User_Info_Maps.Map do Add (Result, List.Directory.all); declare Upper_Directory : constant String := Ada.Hierarchical_File_Names.Compose ( Directory => List.Directory.all, Relative_Name => Upper_Subdirectory_Name); begin if Ada.Directories.Exists (Upper_Directory) then Add (Result, Upper_Directory); end if; end; end return; end All_Users; procedure Muramura_Count ( List : in out User_List; Now : Ada.Calendar.Time; Muramura_Duration : Duration; Result : out Natural) is Muramura_Set : Users_Log.Map; begin Load_Users_Log (List); for I in List.Log.Iterate loop if Now - Users_Log.Element (I) <= Muramura_Duration then declare Item : User_Log_Item := (Users_Log.Key (I).Id, Ada.Strings.Unbounded.Null_Unbounded_String, Ada.Strings.Unbounded.Null_Unbounded_String); begin Users_Log.Include (Muramura_Set, Item, Now); end; end if; end loop; Result := Muramura_Set.Length; end Muramura_Count; function "<" (Left, Right : User_Log_Item) return Boolean is begin if Left.Id < Right.Id then return True; elsif Left.Id > Right.Id then return False; elsif Left.Remote_Addr < Right.Remote_Addr then return True; elsif Left.Remote_Addr > Right.Remote_Addr then return False; else return Left.Remote_Host < Right.Remote_Host; end if; end "<"; procedure Iterate_Log ( List : in out User_List; Process : not null access procedure ( Id : in String; Remote_Addr : in String; Remote_Host : in String; Time : in Ada.Calendar.Time)) is begin Load_Users_Log (List); for I in List.Log.Iterate loop declare Key : User_Log_Item renames Users_Log.Key (I); begin Process ( Id => Key.Id.Constant_Reference, Remote_Addr => Key.Remote_Addr.Constant_Reference, Remote_Host => Key.Remote_Host.Constant_Reference, Time => List.Log.Constant_Reference (I)); end; end loop; end Iterate_Log; end Tabula.Users.Lists;
------------------------------------------------------------------------------ -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2002-2004 Dmitriy Anisimkov -- -- -- -- This library is free software; you can redistribute it and/or modify -- -- it under the terms of the GNU General Public License as published by -- -- the Free Software Foundation; either version 2 of the License, or (at -- -- your option) any later version. -- -- -- -- This library is distributed in the hope that it will be useful, but -- -- WITHOUT ANY WARRANTY; without even the implied warranty of -- -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- -- General Public License for more details. -- -- -- -- You should have received a copy of the GNU General Public License -- -- along with this library; if not, write to the Free Software Foundation, -- -- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- ------------------------------------------------------------------------------ -- $Id: zlib.ads,v 1.26 2004/09/06 06:53:19 vagul Exp $ with Ada.Streams; with Interfaces; package ZLib is ZLib_Error : exception; Status_Error : exception; type Compression_Level is new Integer range -1 .. 9; type Flush_Mode is private; type Compression_Method is private; type Window_Bits_Type is new Integer range 8 .. 15; type Memory_Level_Type is new Integer range 1 .. 9; type Unsigned_32 is new Interfaces.Unsigned_32; type Strategy_Type is private; type Header_Type is (None, Auto, Default, GZip); -- Header type usage have a some limitation for inflate. -- See comment for Inflate_Init. subtype Count is Ada.Streams.Stream_Element_Count; Default_Memory_Level : constant Memory_Level_Type := 8; Default_Window_Bits : constant Window_Bits_Type := 15; ---------------------------------- -- Compression method constants -- ---------------------------------- Deflated : constant Compression_Method; -- Only one method allowed in this ZLib version --------------------------------- -- Compression level constants -- --------------------------------- No_Compression : constant Compression_Level := 0; Best_Speed : constant Compression_Level := 1; Best_Compression : constant Compression_Level := 9; Default_Compression : constant Compression_Level := -1; -------------------------- -- Flush mode constants -- -------------------------- No_Flush : constant Flush_Mode; -- Regular way for compression, no flush Partial_Flush : constant Flush_Mode; -- Will be removed, use Z_SYNC_FLUSH instead Sync_Flush : constant Flush_Mode; -- All pending output is flushed to the output buffer and the output -- is aligned on a byte boundary, so that the decompressor can get all -- input data available so far. (In particular avail_in is zero after the -- call if enough output space has been provided before the call.) -- Flushing may degrade compression for some compression algorithms and so -- it should be used only when necessary. Block_Flush : constant Flush_Mode; -- Z_BLOCK requests that inflate() stop -- if and when it get to the next deflate block boundary. When decoding the -- zlib or gzip format, this will cause inflate() to return immediately -- after the header and before the first block. When doing a raw inflate, -- inflate() will go ahead and process the first block, and will return -- when it gets to the end of that block, or when it runs out of data. Full_Flush : constant Flush_Mode; -- All output is flushed as with SYNC_FLUSH, and the compression state -- is reset so that decompression can restart from this point if previous -- compressed data has been damaged or if random access is desired. Using -- Full_Flush too often can seriously degrade the compression. Finish : constant Flush_Mode; -- Just for tell the compressor that input data is complete. ------------------------------------ -- Compression strategy constants -- ------------------------------------ -- RLE stategy could be used only in version 1.2.0 and later. Filtered : constant Strategy_Type; Huffman_Only : constant Strategy_Type; RLE : constant Strategy_Type; Default_Strategy : constant Strategy_Type; Default_Buffer_Size : constant := 4096; type Filter_Type is tagged limited private; -- The filter is for compression and for decompression. -- The usage of the type is depend of its initialization. function Version return String; pragma Inline (Version); -- Return string representation of the ZLib version. procedure Deflate_Init (Filter : in out Filter_Type; Level : in Compression_Level := Default_Compression; Strategy : in Strategy_Type := Default_Strategy; Method : in Compression_Method := Deflated; Window_Bits : in Window_Bits_Type := Default_Window_Bits; Memory_Level : in Memory_Level_Type := Default_Memory_Level; Header : in Header_Type := Default); -- Compressor initialization. -- When Header parameter is Auto or Default, then default zlib header -- would be provided for compressed data. -- When Header is GZip, then gzip header would be set instead of -- default header. -- When Header is None, no header would be set for compressed data. procedure Inflate_Init (Filter : in out Filter_Type; Window_Bits : in Window_Bits_Type := Default_Window_Bits; Header : in Header_Type := Default); -- Decompressor initialization. -- Default header type mean that ZLib default header is expecting in the -- input compressed stream. -- Header type None mean that no header is expecting in the input stream. -- GZip header type mean that GZip header is expecting in the -- input compressed stream. -- Auto header type mean that header type (GZip or Native) would be -- detected automatically in the input stream. -- Note that header types parameter values None, GZip and Auto are -- supported for inflate routine only in ZLib versions 1.2.0.2 and later. -- Deflate_Init is supporting all header types. function Is_Open (Filter : in Filter_Type) return Boolean; pragma Inline (Is_Open); -- Is the filter opened for compression or decompression. procedure Close (Filter : in out Filter_Type; Ignore_Error : in Boolean := False); -- Closing the compression or decompressor. -- If stream is closing before the complete and Ignore_Error is False, -- The exception would be raised. generic with procedure Data_In (Item : out Ada.Streams.Stream_Element_Array; Last : out Ada.Streams.Stream_Element_Offset); with procedure Data_Out (Item : in Ada.Streams.Stream_Element_Array); procedure Generic_Translate (Filter : in out Filter_Type; In_Buffer_Size : in Integer := Default_Buffer_Size; Out_Buffer_Size : in Integer := Default_Buffer_Size); -- Compress/decompress data fetch from Data_In routine and pass the result -- to the Data_Out routine. User should provide Data_In and Data_Out -- for compression/decompression data flow. -- Compression or decompression depend on Filter initialization. function Total_In (Filter : in Filter_Type) return Count; pragma Inline (Total_In); -- Returns total number of input bytes read so far function Total_Out (Filter : in Filter_Type) return Count; pragma Inline (Total_Out); -- Returns total number of bytes output so far function CRC32 (CRC : in Unsigned_32; Data : in Ada.Streams.Stream_Element_Array) return Unsigned_32; pragma Inline (CRC32); -- Compute CRC32, it could be necessary for make gzip format procedure CRC32 (CRC : in out Unsigned_32; Data : in Ada.Streams.Stream_Element_Array); pragma Inline (CRC32); -- Compute CRC32, it could be necessary for make gzip format ------------------------------------------------- -- Below is more complex low level routines. -- ------------------------------------------------- procedure Translate (Filter : in out Filter_Type; In_Data : in Ada.Streams.Stream_Element_Array; In_Last : out Ada.Streams.Stream_Element_Offset; Out_Data : out Ada.Streams.Stream_Element_Array; Out_Last : out Ada.Streams.Stream_Element_Offset; Flush : in Flush_Mode); -- Compress/decompress the In_Data buffer and place the result into -- Out_Data. In_Last is the index of last element from In_Data accepted by -- the Filter. Out_Last is the last element of the received data from -- Filter. To tell the filter that incoming data are complete put the -- Flush parameter to Finish. function Stream_End (Filter : in Filter_Type) return Boolean; pragma Inline (Stream_End); -- Return the true when the stream is complete. procedure Flush (Filter : in out Filter_Type; Out_Data : out Ada.Streams.Stream_Element_Array; Out_Last : out Ada.Streams.Stream_Element_Offset; Flush : in Flush_Mode); pragma Inline (Flush); -- Flushing the data from the compressor. generic with procedure Write (Item : in Ada.Streams.Stream_Element_Array); -- User should provide this routine for accept -- compressed/decompressed data. Buffer_Size : in Ada.Streams.Stream_Element_Offset := Default_Buffer_Size; -- Buffer size for Write user routine. procedure Write (Filter : in out Filter_Type; Item : in Ada.Streams.Stream_Element_Array; Flush : in Flush_Mode := No_Flush); -- Compress/Decompress data from Item to the generic parameter procedure -- Write. Output buffer size could be set in Buffer_Size generic parameter. generic with procedure Read (Item : out Ada.Streams.Stream_Element_Array; Last : out Ada.Streams.Stream_Element_Offset); -- User should provide data for compression/decompression -- thru this routine. Buffer : in out Ada.Streams.Stream_Element_Array; -- Buffer for keep remaining data from the previous -- back read. Rest_First, Rest_Last : in out Ada.Streams.Stream_Element_Offset; -- Rest_First have to be initialized to Buffer'Last + 1 -- Rest_Last have to be initialized to Buffer'Last -- before usage. Allow_Read_Some : in Boolean := False; -- Is it allowed to return Last < Item'Last before end of data. procedure Read (Filter : in out Filter_Type; Item : out Ada.Streams.Stream_Element_Array; Last : out Ada.Streams.Stream_Element_Offset; Flush : in Flush_Mode := No_Flush); -- Compress/Decompress data from generic parameter procedure Read to the -- Item. User should provide Buffer and initialized Rest_First, Rest_Last -- indicators. If Allow_Read_Some is True, Read routines could return -- Last < Item'Last only at end of stream. private use Ada.Streams; pragma Assert (Ada.Streams.Stream_Element'Size = 8); pragma Assert (Ada.Streams.Stream_Element'Modulus = 2**8); type Flush_Mode is new Integer range 0 .. 5; type Compression_Method is new Integer range 8 .. 8; type Strategy_Type is new Integer range 0 .. 3; No_Flush : constant Flush_Mode := 0; Partial_Flush : constant Flush_Mode := 1; Sync_Flush : constant Flush_Mode := 2; Full_Flush : constant Flush_Mode := 3; Finish : constant Flush_Mode := 4; Block_Flush : constant Flush_Mode := 5; Filtered : constant Strategy_Type := 1; Huffman_Only : constant Strategy_Type := 2; RLE : constant Strategy_Type := 3; Default_Strategy : constant Strategy_Type := 0; Deflated : constant Compression_Method := 8; type Z_Stream; type Z_Stream_Access is access all Z_Stream; type Filter_Type is tagged limited record Strm : Z_Stream_Access; Compression : Boolean; Stream_End : Boolean; Header : Header_Type; CRC : Unsigned_32; Offset : Stream_Element_Offset; -- Offset for gzip header/footer output. end record; end ZLib;
-- Copyright 2008 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/>. with Pck; use Pck; procedure Foo is My_Parameter : Parameter := Ident (P => (1, 2, 3)); begin Do_Nothing (My_Parameter); -- STOP end Foo;
package body Test_Constants.Write is File_Name : constant String := "tmp/test-constants-write.sf"; procedure Initialize (T : in out Test) is begin Set_Name (T, "Test_Constants.Write"); Ahven.Framework.Add_Test_Routine (T, A'Access, "A: i8 = 8"); Ahven.Framework.Add_Test_Routine (T, B'Access, "B: i16 = 16"); Ahven.Framework.Add_Test_Routine (T, C'Access, "C: i32 = 32"); Ahven.Framework.Add_Test_Routine (T, D'Access, "D: i64 = 64"); Ahven.Framework.Add_Test_Routine (T, E'Access, "E: v64 = 46"); end Initialize; procedure Set_Up (T : in out Test) is State : access Skill_State := new Skill_State; begin Skill.Create (State); for I in 1 .. 7 loop New_Constant (State); end loop; 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 A (T : in out Ahven.Framework.Test_Case'Class) is State : access Skill_State := new Skill_State; begin Skill.Read (State, File_Name); for I in 1 .. Constants_Size (State) loop declare X : Constant_Type_Access := Get_Constant (State, I); begin Ahven.Assert (8 = X.Get_A, "constant is not 8"); end; end loop; end A; procedure B (T : in out Ahven.Framework.Test_Case'Class) is State : access Skill_State := new Skill_State; begin Skill.Read (State, File_Name); for I in 1 .. Constants_Size (State) loop declare X : Constant_Type_Access := Get_Constant (State, I); begin Ahven.Assert (16 = X.Get_B, "constant is not 16"); end; end loop; end B; procedure C (T : in out Ahven.Framework.Test_Case'Class) is State : access Skill_State := new Skill_State; begin Skill.Read (State, File_Name); for I in 1 .. Constants_Size (State) loop declare X : Constant_Type_Access := Get_Constant (State, I); begin Ahven.Assert (32 = X.Get_C, "constant is not 32"); end; end loop; end C; procedure D (T : in out Ahven.Framework.Test_Case'Class) is State : access Skill_State := new Skill_State; begin Skill.Read (State, File_Name); for I in 1 .. Constants_Size (State) loop declare X : Constant_Type_Access := Get_Constant (State, I); begin Ahven.Assert (64 = X.Get_D, "constant is not 64"); end; end loop; end D; procedure E (T : in out Ahven.Framework.Test_Case'Class) is State : access Skill_State := new Skill_State; begin Skill.Read (State, File_Name); for I in 1 .. Constants_Size (State) loop declare X : Constant_Type_Access := Get_Constant (State, I); begin Ahven.Assert (46 = X.Get_E, "constant is not 46"); end; end loop; end E; end Test_Constants.Write;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . W I D T H _ I -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2021, 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. -- -- -- ------------------------------------------------------------------------------ function System.Width_I (Lo, Hi : Int) return Natural is W : Natural; T : Int; begin if Lo > Hi then return 0; else -- Minimum value is 2, one for sign, one for digit W := 2; -- Get max of absolute values, but avoid bomb if we have the maximum -- negative number (note that First + 1 has same digits as First) T := Int'Max ( abs (Int'Max (Lo, Int'First + 1)), abs (Int'Max (Hi, Int'First + 1))); -- Increase value if more digits required while T >= 10 loop T := T / 10; W := W + 1; end loop; return W; end if; end System.Width_I;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- G N A T . T R A C E B A C K . S Y M B O L I C -- -- -- -- S p e c -- -- -- -- Copyright (C) 1999-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. -- -- -- ------------------------------------------------------------------------------ -- Run-time symbolic traceback support -- See file s-trasym.ads for full documentation of the interface with System.Traceback.Symbolic; package GNAT.Traceback.Symbolic renames System.Traceback.Symbolic;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . P O W T E N _ F L T -- -- -- -- S p e c -- -- -- -- Copyright (C) 2020-2021, 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 provides a powers of ten table used for real conversions package System.Powten_Flt is pragma Pure; Maxpow_Exact : constant := 10; -- Largest power of ten exactly representable with Float. It is equal to -- floor (M * log 2 / log 5), when M is the size of the mantissa (24). Maxpow : constant := Maxpow_Exact * 2; -- Largest power of ten exactly representable with a double Float Powten : constant array (0 .. Maxpow, 1 .. 2) of Float := (00 => (1.0E+00, 0.0), 01 => (1.0E+01, 0.0), 02 => (1.0E+02, 0.0), 03 => (1.0E+03, 0.0), 04 => (1.0E+04, 0.0), 05 => (1.0E+05, 0.0), 06 => (1.0E+06, 0.0), 07 => (1.0E+07, 0.0), 08 => (1.0E+08, 0.0), 09 => (1.0E+09, 0.0), 10 => (1.0E+10, 0.0), 11 => (1.0E+11, 1.0E+11 - Float'Machine (1.0E+11)), 12 => (1.0E+12, 1.0E+12 - Float'Machine (1.0E+12)), 13 => (1.0E+13, 1.0E+13 - Float'Machine (1.0E+13)), 14 => (1.0E+14, 1.0E+14 - Float'Machine (1.0E+14)), 15 => (1.0E+15, 1.0E+15 - Float'Machine (1.0E+15)), 16 => (1.0E+16, 1.0E+16 - Float'Machine (1.0E+16)), 17 => (1.0E+17, 1.0E+17 - Float'Machine (1.0E+17)), 18 => (1.0E+18, 1.0E+18 - Float'Machine (1.0E+18)), 19 => (1.0E+19, 1.0E+19 - Float'Machine (1.0E+19)), 20 => (1.0E+20, 1.0E+20 - Float'Machine (1.0E+20))); end System.Powten_Flt;
-- This file was generated by bmp2ada with Giza.Image; with Giza.Image.DMA2D; use Giza.Image.DMA2D; package alarm_80x80 is pragma Style_Checks (Off); CLUT : aliased constant L4_CLUT_T := ( (R => 0, G => 1, B => 0), (R => 253, G => 255, B => 252), others => (0, 0, 0)); Data : aliased constant L4_Data_T := ( 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 16, 17, 17, 0, 16, 17, 17, 17, 17, 17, 0, 0, 17, 17, 0, 0, 17, 17, 17, 17, 17, 1, 0, 17, 17, 1, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 16, 17, 1, 0, 16, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 1, 0, 16, 17, 1, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 17, 17, 0, 0, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 0, 0, 17, 17, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 17, 1, 0, 16, 17, 17, 17, 17, 17, 17, 0, 0, 17, 17, 0, 0, 17, 17, 17, 17, 17, 17, 1, 0, 16, 17, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 16, 17, 1, 0, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 0, 16, 17, 1, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 17, 17, 0, 0, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 0, 0, 17, 17, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 0, 16, 17, 1, 0, 16, 17, 17, 17, 1, 0, 16, 17, 1, 0, 0, 0, 0, 16, 17, 1, 0, 16, 17, 17, 17, 1, 0, 16, 17, 1, 0, 17, 17, 17, 17, 17, 17, 17, 1, 0, 16, 17, 1, 0, 17, 17, 17, 17, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 17, 17, 17, 17, 0, 16, 17, 1, 0, 16, 17, 17, 17, 17, 17, 17, 0, 0, 17, 17, 1, 16, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 1, 16, 17, 17, 0, 0, 17, 17, 17, 17, 17, 17, 0, 16, 17, 17, 0, 16, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 1, 0, 17, 17, 1, 0, 17, 17, 17, 17, 17, 1, 0, 17, 17, 1, 0, 17, 17, 17, 17, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 17, 17, 17, 17, 0, 16, 17, 17, 0, 16, 17, 17, 17, 17, 1, 0, 17, 17, 1, 16, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 1, 16, 17, 17, 0, 16, 17, 17, 17, 17, 1, 16, 17, 17, 0, 16, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 1, 0, 17, 17, 1, 16, 17, 17, 17, 17, 0, 16, 17, 17, 0, 16, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 1, 0, 17, 17, 1, 0, 17, 17, 17, 17, 0, 17, 17, 1, 0, 16, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 1, 0, 16, 17, 17, 0, 17, 17, 17, 17, 0, 17, 17, 1, 0, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 0, 16, 17, 17, 0, 17, 17, 17, 1, 0, 17, 17, 1, 0, 17, 17, 17, 1, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 16, 17, 17, 17, 0, 16, 17, 17, 0, 16, 17, 17, 1, 16, 17, 17, 1, 0, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 0, 16, 17, 17, 1, 16, 17, 17, 1, 16, 17, 17, 0, 0, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 0, 0, 17, 17, 1, 16, 17, 17, 1, 16, 17, 17, 0, 16, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 1, 0, 17, 17, 1, 16, 17, 17, 0, 16, 17, 17, 0, 16, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 1, 0, 17, 17, 1, 0, 17, 17, 0, 16, 17, 17, 0, 16, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 1, 0, 17, 17, 1, 0, 17, 17, 0, 16, 17, 1, 0, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 0, 16, 17, 1, 0, 17, 17, 0, 16, 17, 1, 0, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 0, 16, 17, 1, 0, 17, 1, 0, 17, 17, 1, 0, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 0, 16, 17, 17, 0, 16, 1, 0, 17, 17, 1, 0, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 0, 16, 17, 17, 0, 16, 1, 0, 17, 17, 1, 0, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 0, 16, 17, 17, 0, 16, 1, 0, 17, 17, 0, 16, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 1, 0, 17, 17, 0, 16, 1, 0, 17, 17, 0, 16, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 1, 0, 17, 17, 0, 16, 0, 0, 17, 17, 0, 16, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 1, 0, 17, 17, 0, 0, 0, 16, 17, 17, 0, 16, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 1, 0, 17, 17, 1, 0, 0, 16, 17, 1, 0, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 0, 16, 17, 1, 0, 0, 17, 17, 1, 0, 17, 17, 17, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 17, 17, 17, 0, 16, 17, 17, 0, 17, 17, 17, 1, 16, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 16, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 1, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 16, 17, 17, 17, 17, 17, 17, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 17, 17, 17, 17, 17, 1, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 16, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17); Image : constant Giza.Image.Ref := new Giza.Image.DMA2D.Instance' (Mode => L4, W => 80, H => 71, Length => 2840, L4_CLUT => CLUT'Access, L4_Data => Data'Access); pragma Style_Checks (On); end alarm_80x80;
-- Copyright 2012-2014 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/>. with Pck; use Pck; procedure Foo is SA : Simple_Array := (1, 2, 3, 4); begin Update_Small (SA (3)); -- STOP end Foo;
pragma License (Unrestricted); -- implementation unit with System.Storage_Elements; package System.Reference_Counting is pragma Pure; type Counter is mod 2 ** 32; for Counter'Size use 32; pragma Atomic (Counter); Static : constant := 2 ** 32 - 1; -- This should be untyped. -- A typed atomic constant disables static elaboration. type Data_Access is access all Counter; for Data_Access'Storage_Size use 0; function Shared (Data : not null Data_Access) return Boolean with Convention => Intrinsic; pragma Inline_Always (Shared); subtype Container is not null Data_Access; -- should be initialized with a sentinel procedure Adjust ( Target : not null access Container); procedure Assign ( Target : not null access Container; Source : not null access constant Container; Free : not null access procedure (Object : in out Data_Access)); procedure Clear ( Target : not null access Container; Free : not null access procedure (Object : in out Data_Access)); procedure Move ( Target : not null access Container; Source : not null access Container; Sentinel : not null Data_Access; Free : not null access procedure (Object : in out Data_Access)); subtype Length_Type is Storage_Elements.Storage_Count; procedure Unique ( Target : not null access Container; Target_Length : Length_Type; Target_Capacity : Length_Type; New_Length : Length_Type; New_Capacity : Length_Type; Sentinel : not null Data_Access; Reallocate : not null access procedure ( Target : aliased in out not null Data_Access; Length : Length_Type; -- copying length Max_Length : Length_Type; -- new length Capacity : Length_Type); Copy : not null access procedure ( Target : out not null Data_Access; Source : not null Data_Access; Length : Length_Type; -- copying length Max_Length : Length_Type; -- new length Capacity : Length_Type); Free : not null access procedure (Object : in out Data_Access)); procedure In_Place_Set_Length ( Target_Data : not null Data_Access; Target_Length : Length_Type; Target_Max_Length : aliased in out Length_Type; -- may be updated Target_Capacity : Length_Type; New_Length : Length_Type; Failure : out Boolean) -- reallocation is needed with Convention => Intrinsic; pragma Inline_Always (In_Place_Set_Length); end System.Reference_Counting;
------------------------------------------------------------------------------- -- Copyright (C) 2020-2030, per.s.sandberg@bahnhof.se -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files -- -- (the "Software"), to deal in the Software without restriction, including -- -- without limitation the rights to use, copy, modify, merge, publish, -- -- distribute, sublicense, and / or sell copies of the Software, and to -- -- permit persons to whom the Software is furnished to do so, subject to -- -- the following conditions : -- -- -- -- The above copyright notice and this permission notice shall be included -- -- in all copies or substantial portions of the Software. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- -- MERCHANTABILITY, -- -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -- -- THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR -- -- OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -- -- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -- -- OTHER DEALINGS IN THE SOFTWARE. -- ------------------------------------------------------------------------------- with ZMQ.Sockets; with ZMQ.Low_Level; package ZMQ.Pollsets is pragma Elaborate_Body; type Pollitem is tagged record Socket : access ZMQ.Sockets.Socket; -- fd : aliased int; -- events : aliased short; -- revents : aliased short; end record; type Pollset (Max_Size : Natural := 32) is tagged limited private; procedure Append (This : in out Pollset; Item : Pollitem'Class); procedure Remove (This : in out Pollset; Item : Pollitem'Class); procedure Poll (This : in out Pollset; Timeout : Duration); private type Ll_Polset is array (Natural range <>) of aliased ZMQ.Low_Level.zmq_pollitem_t; type Pollset (Max_Size : Natural := 32) is tagged limited record Local_Data : aliased Ll_Polset (1 .. Max_Size); Cursor : Natural := 1; end record; end ZMQ.Pollsets;
with Ada.Numerics.Discrete_Random; with Ada.Streams.Stream_IO; with Interfaces; with Byte_Writer; with Byte_Reader; package Benchmark_V64 is package ASS_IO renames Ada.Streams.Stream_IO; subtype Long is Long_Integer; procedure Write (N : Long; File_Name : String); procedure Read (N : Long; File_Name : String); end Benchmark_V64;
-- CE2102S.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 USE_ERROR IS RAISED WHEN RESETTING A FILE OF MODE -- INOUT_FILE, WHEN INOUT_FILE MODE IS NOT SUPPORTED FOR RESET BY -- THE IMPLEMENTATION FOR DIRECT FILES. -- APPLICABILITY CRITERIA: -- THIS TEST IS APPLICABLE ONLY TO IMPLEMENTATIONS WHICH DO NOT -- SUPPORT RESET WITH INOUT_FILE MODE FOR DIRECT FILES. -- HISTORY: -- TBN 07/23/87 CREATED ORIGINAL TEST. WITH REPORT; USE REPORT; WITH DIRECT_IO; PROCEDURE CE2102S IS BEGIN TEST ("CE2102S", "CHECK THAT USE_ERROR IS RAISED WHEN RESETTING " & "A FILE OF MODE INOUT_FILE, WHEN INOUT_FILE " & "MODE IS NOT SUPPORTED FOR RESET BY THE " & "IMPLEMENTATION FOR DIRECT FILES"); DECLARE PACKAGE DIR IS NEW DIRECT_IO (BOOLEAN); USE DIR; FILE1 : FILE_TYPE; INCOMPLETE : EXCEPTION; VAR1 : BOOLEAN := FALSE; BEGIN BEGIN CREATE (FILE1, INOUT_FILE, LEGAL_FILE_NAME); EXCEPTION WHEN USE_ERROR => NOT_APPLICABLE ("USE_ERROR RAISED ON CREATE FOR " & "INOUT_FILE MODE"); RAISE INCOMPLETE; WHEN NAME_ERROR => NOT_APPLICABLE ("NAME_ERROR RAISED ON CREATE FOR " & "INOUT_FILE MODE"); RAISE INCOMPLETE; WHEN OTHERS => FAILED ("UNEXPECTED EXCEPTION RAISED ON CREATE"); RAISE INCOMPLETE; END; WRITE (FILE1, VAR1); BEGIN RESET (FILE1); NOT_APPLICABLE ("RESET FOR INOUT_FILE MODE IS " & "SUPPORTED"); EXCEPTION WHEN USE_ERROR => NULL; WHEN OTHERS => FAILED ("UNEXPECTED EXCEPTION RAISED ON RESET"); END; BEGIN DELETE (FILE1); EXCEPTION WHEN USE_ERROR => NULL; END; EXCEPTION WHEN INCOMPLETE => NULL; END; RESULT; END CE2102S;
----------------------------------------------------------------------- -- keystore-keys -- Keystore key management -- Copyright (C) 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Interfaces; with Util.Encoders.AES; with Keystore.IO; with Keystore.Random; with Keystore.Passwords.Keys; with Keystore.Marshallers; private package Keystore.Keys is use type IO.Block_Index; type Cryptor is limited record Cipher : Util.Encoders.AES.Encoder; Decipher : Util.Encoders.AES.Decoder; Key : Secret_Key (Length => 32); IV : Secret_Key (Length => 16); Sign : Secret_Key (Length => 32); end record; -- Set the IV vector to be used for the encryption and decryption of the given block number. procedure Set_IV (Into : in out Cryptor; Block : in IO.Block_Number); procedure Set_Key (Into : in out Cryptor; From : in Cryptor); type Wallet_Config is limited record UUID : UUID_Type; Keys : Key_Slot_Allocation := (others => False); Slot : Key_Slot; Data : Cryptor; Dir : Cryptor; Key : Cryptor; Max_Counter : Interfaces.Unsigned_32 := 300_000; Min_Counter : Interfaces.Unsigned_32 := 100_000; Randomize : Boolean := True; end record; type Key_Manager is limited private; -- Open the key manager and read the wallet header block. Use the secret key -- to decrypt/encrypt the wallet header block. procedure Open (Manager : in out Key_Manager; Password : in out Keystore.Passwords.Provider'Class; Ident : in Wallet_Identifier; Block : in Keystore.IO.Storage_Block; Root : out Keystore.IO.Storage_Block; Config : in out Wallet_Config; Process : access procedure (Buffer : in out Marshallers.Marshaller; Slot : in Key_Slot); Stream : in out IO.Wallet_Stream'Class); -- Create the wallet key block. procedure Create (Manager : in out Key_Manager; Password : in out Passwords.Provider'Class; Slot : in Key_Slot; Ident : in Wallet_Identifier; Block : in Keystore.IO.Storage_Block; Root : in Keystore.IO.Storage_Block; Config : in out Wallet_Config; Stream : in out IO.Wallet_Stream'Class); -- Set a new key procedure Set_Key (Manager : in out Key_Manager; Password : in out Keystore.Passwords.Provider'Class; New_Password : in out Keystore.Passwords.Provider'Class; Config : in Keystore.Wallet_Config; Mode : in Mode_Type; Ident : in Wallet_Identifier; Block : in Keystore.IO.Storage_Block; Stream : in out IO.Wallet_Stream'Class); -- Remove the key from the key slot identified by `Slot`. The password is necessary to -- make sure a valid password is available. The `Remove_Current` must be set to remove -- the slot when it corresponds to the used password. procedure Remove_Key (Manager : in out Key_Manager; Password : in out Keystore.Passwords.Provider'Class; Slot : in Key_Slot; Remove_Current : in Boolean; Ident : in Wallet_Identifier; Block : in Keystore.IO.Storage_Block; Stream : in out IO.Wallet_Stream'Class); -- Create a new masker keys for a children wallet and save the new keys in the buffer. procedure Create_Master_Key (Manager : in out Key_Manager; Buffer : in out Marshallers.Marshaller; Crypt : in Cryptor); -- Extract from the buffer the master keys to open the children wallet. procedure Load_Master_Key (Manager : in out Key_Manager; Buffer : in out Marshallers.Marshaller; Crypt : in Cryptor); -- Set the master key by using the password provider. procedure Set_Master_Key (Manager : in out Key_Manager; Password : in out Keystore.Passwords.Keys.Key_Provider'Class); private -- Size of a key slot. WH_SLOT_SIZE : constant := 512; -- Wallet header magic. WH_MAGIC : constant := 16#Ada00Ada#; WH_KEY_SIZE : constant := Util.Encoders.AES.AES_256_Length; WH_HEADER_START : constant IO.Block_Index := IO.BT_DATA_START; WH_HEADER_LENGTH : constant := 16 + 16 + 8; WH_KEY_LIST_START : constant IO.Block_Index := WH_HEADER_START + WH_HEADER_LENGTH + 1; -- Key slot type is using PBKDF2-HMAC-256. WH_KEY_PBKDF2 : constant := 16#0001#; -- Key slot type is using PBKDF2-HMAC-256 with a GPG2 key. WH_KEY_GPG2 : constant := 16#0002#; type Key_Manager is limited record Id : Wallet_Identifier; Parent_Id : Wallet_Identifier; Header_Block : Keystore.IO.Storage_Block; Random : Keystore.Random.Generator; Crypt : Cryptor; end record; function Key_Position (Slot : in Key_Slot) return IO.Block_Index is (WH_KEY_LIST_START + IO.Block_Index (Slot) * WH_SLOT_SIZE - WH_SLOT_SIZE - 1); end Keystore.Keys;
pragma License (Restricted); -- -- Copyright (C) 2020 Jesper Quorning All Rights Reserved. -- -- 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 SQL_Database is procedure Open; -- Open database. -- Raise Program_Error on fail. function Is_Valid (File_Name : in String) return Boolean; -- True when File_Name designates valid database. end SQL_Database;
pragma Warnings (Off); pragma Ada_95; with System; package ada_main is gnat_argc : Integer; gnat_argv : System.Address; gnat_envp : System.Address; pragma Import (C, gnat_argc); pragma Import (C, gnat_argv); pragma Import (C, gnat_envp); gnat_exit_status : Integer; pragma Import (C, gnat_exit_status); GNAT_Version : constant String := "GNAT Version: GPL 2017 (20170515-63)" & ASCII.NUL; pragma Export (C, GNAT_Version, "__gnat_version"); Ada_Main_Program_Name : constant String := "_ada_main" & ASCII.NUL; pragma Export (C, Ada_Main_Program_Name, "__gnat_ada_main_program_name"); procedure adainit; pragma Export (C, adainit, "adainit"); procedure adafinal; pragma Export (C, adafinal, "adafinal"); function main (argc : Integer; argv : System.Address; envp : System.Address) return Integer; pragma Export (C, main, "main"); type Version_32 is mod 2 ** 32; u00001 : constant Version_32 := 16#d38f2cda#; pragma Export (C, u00001, "mainB"); u00002 : constant Version_32 := 16#b6df930e#; pragma Export (C, u00002, "system__standard_libraryB"); u00003 : constant Version_32 := 16#0a55feef#; pragma Export (C, u00003, "system__standard_libraryS"); u00004 : constant Version_32 := 16#76789da1#; pragma Export (C, u00004, "adaS"); u00005 : constant Version_32 := 16#0d7f1a43#; pragma Export (C, u00005, "ada__calendarB"); u00006 : constant Version_32 := 16#5b279c75#; pragma Export (C, u00006, "ada__calendarS"); u00007 : constant Version_32 := 16#85a06f66#; pragma Export (C, u00007, "ada__exceptionsB"); u00008 : constant Version_32 := 16#1a0dcc03#; pragma Export (C, u00008, "ada__exceptionsS"); u00009 : constant Version_32 := 16#e947e6a9#; pragma Export (C, u00009, "ada__exceptions__last_chance_handlerB"); u00010 : constant Version_32 := 16#41e5552e#; pragma Export (C, u00010, "ada__exceptions__last_chance_handlerS"); u00011 : constant Version_32 := 16#32a08138#; pragma Export (C, u00011, "systemS"); u00012 : constant Version_32 := 16#4e7785b8#; pragma Export (C, u00012, "system__soft_linksB"); u00013 : constant Version_32 := 16#ac24596d#; pragma Export (C, u00013, "system__soft_linksS"); u00014 : constant Version_32 := 16#b01dad17#; pragma Export (C, u00014, "system__parametersB"); u00015 : constant Version_32 := 16#4c8a8c47#; pragma Export (C, u00015, "system__parametersS"); u00016 : constant Version_32 := 16#30ad09e5#; pragma Export (C, u00016, "system__secondary_stackB"); u00017 : constant Version_32 := 16#88327e42#; pragma Export (C, u00017, "system__secondary_stackS"); u00018 : constant Version_32 := 16#f103f468#; pragma Export (C, u00018, "system__storage_elementsB"); u00019 : constant Version_32 := 16#1f63cb3c#; pragma Export (C, u00019, "system__storage_elementsS"); u00020 : constant Version_32 := 16#41837d1e#; pragma Export (C, u00020, "system__stack_checkingB"); u00021 : constant Version_32 := 16#bc1fead0#; pragma Export (C, u00021, "system__stack_checkingS"); u00022 : constant Version_32 := 16#87a448ff#; pragma Export (C, u00022, "system__exception_tableB"); u00023 : constant Version_32 := 16#6f0ee87a#; pragma Export (C, u00023, "system__exception_tableS"); u00024 : constant Version_32 := 16#ce4af020#; pragma Export (C, u00024, "system__exceptionsB"); u00025 : constant Version_32 := 16#5ac3ecce#; pragma Export (C, u00025, "system__exceptionsS"); u00026 : constant Version_32 := 16#80916427#; pragma Export (C, u00026, "system__exceptions__machineB"); u00027 : constant Version_32 := 16#047ef179#; pragma Export (C, u00027, "system__exceptions__machineS"); u00028 : constant Version_32 := 16#aa0563fc#; pragma Export (C, u00028, "system__exceptions_debugB"); u00029 : constant Version_32 := 16#4c2a78fc#; pragma Export (C, u00029, "system__exceptions_debugS"); u00030 : constant Version_32 := 16#6c2f8802#; pragma Export (C, u00030, "system__img_intB"); u00031 : constant Version_32 := 16#307b61fa#; pragma Export (C, u00031, "system__img_intS"); u00032 : constant Version_32 := 16#39df8c17#; pragma Export (C, u00032, "system__tracebackB"); u00033 : constant Version_32 := 16#6c825ffc#; pragma Export (C, u00033, "system__tracebackS"); u00034 : constant Version_32 := 16#9ed49525#; pragma Export (C, u00034, "system__traceback_entriesB"); u00035 : constant Version_32 := 16#32fb7748#; pragma Export (C, u00035, "system__traceback_entriesS"); u00036 : constant Version_32 := 16#18d5fcc5#; pragma Export (C, u00036, "system__traceback__symbolicB"); u00037 : constant Version_32 := 16#9df1ae6d#; pragma Export (C, u00037, "system__traceback__symbolicS"); u00038 : constant Version_32 := 16#179d7d28#; pragma Export (C, u00038, "ada__containersS"); u00039 : constant Version_32 := 16#701f9d88#; pragma Export (C, u00039, "ada__exceptions__tracebackB"); u00040 : constant Version_32 := 16#20245e75#; pragma Export (C, u00040, "ada__exceptions__tracebackS"); u00041 : constant Version_32 := 16#e865e681#; pragma Export (C, u00041, "system__bounded_stringsB"); u00042 : constant Version_32 := 16#455da021#; pragma Export (C, u00042, "system__bounded_stringsS"); u00043 : constant Version_32 := 16#42315736#; pragma Export (C, u00043, "system__crtlS"); u00044 : constant Version_32 := 16#08e0d717#; pragma Export (C, u00044, "system__dwarf_linesB"); u00045 : constant Version_32 := 16#b1bd2788#; pragma Export (C, u00045, "system__dwarf_linesS"); u00046 : constant Version_32 := 16#5b4659fa#; pragma Export (C, u00046, "ada__charactersS"); u00047 : constant Version_32 := 16#8f637df8#; pragma Export (C, u00047, "ada__characters__handlingB"); u00048 : constant Version_32 := 16#3b3f6154#; pragma Export (C, u00048, "ada__characters__handlingS"); u00049 : constant Version_32 := 16#4b7bb96a#; pragma Export (C, u00049, "ada__characters__latin_1S"); u00050 : constant Version_32 := 16#e6d4fa36#; pragma Export (C, u00050, "ada__stringsS"); u00051 : constant Version_32 := 16#e2ea8656#; pragma Export (C, u00051, "ada__strings__mapsB"); u00052 : constant Version_32 := 16#1e526bec#; pragma Export (C, u00052, "ada__strings__mapsS"); u00053 : constant Version_32 := 16#9dc9b435#; pragma Export (C, u00053, "system__bit_opsB"); u00054 : constant Version_32 := 16#0765e3a3#; pragma Export (C, u00054, "system__bit_opsS"); u00055 : constant Version_32 := 16#0626fdbb#; pragma Export (C, u00055, "system__unsigned_typesS"); u00056 : constant Version_32 := 16#92f05f13#; pragma Export (C, u00056, "ada__strings__maps__constantsS"); u00057 : constant Version_32 := 16#5ab55268#; pragma Export (C, u00057, "interfacesS"); u00058 : constant Version_32 := 16#9f00b3d3#; pragma Export (C, u00058, "system__address_imageB"); u00059 : constant Version_32 := 16#934c1c02#; pragma Export (C, u00059, "system__address_imageS"); u00060 : constant Version_32 := 16#ec78c2bf#; pragma Export (C, u00060, "system__img_unsB"); u00061 : constant Version_32 := 16#99d2c14c#; pragma Export (C, u00061, "system__img_unsS"); u00062 : constant Version_32 := 16#d7aac20c#; pragma Export (C, u00062, "system__ioB"); u00063 : constant Version_32 := 16#ace27677#; pragma Export (C, u00063, "system__ioS"); u00064 : constant Version_32 := 16#11faaec1#; pragma Export (C, u00064, "system__mmapB"); u00065 : constant Version_32 := 16#08d13e5f#; pragma Export (C, u00065, "system__mmapS"); u00066 : constant Version_32 := 16#92d882c5#; pragma Export (C, u00066, "ada__io_exceptionsS"); u00067 : constant Version_32 := 16#9d8ecedc#; pragma Export (C, u00067, "system__mmap__os_interfaceB"); u00068 : constant Version_32 := 16#8f4541b8#; pragma Export (C, u00068, "system__mmap__os_interfaceS"); u00069 : constant Version_32 := 16#54632e7c#; pragma Export (C, u00069, "system__os_libB"); u00070 : constant Version_32 := 16#ed466fde#; pragma Export (C, u00070, "system__os_libS"); u00071 : constant Version_32 := 16#d1060688#; pragma Export (C, u00071, "system__case_utilB"); u00072 : constant Version_32 := 16#16a9e8ef#; pragma Export (C, u00072, "system__case_utilS"); u00073 : constant Version_32 := 16#2a8e89ad#; pragma Export (C, u00073, "system__stringsB"); u00074 : constant Version_32 := 16#4c1f905e#; pragma Export (C, u00074, "system__stringsS"); u00075 : constant Version_32 := 16#769e25e6#; pragma Export (C, u00075, "interfaces__cB"); u00076 : constant Version_32 := 16#70be4e8c#; pragma Export (C, u00076, "interfaces__cS"); u00077 : constant Version_32 := 16#d0bc914c#; pragma Export (C, u00077, "system__object_readerB"); u00078 : constant Version_32 := 16#7f932442#; pragma Export (C, u00078, "system__object_readerS"); u00079 : constant Version_32 := 16#1a74a354#; pragma Export (C, u00079, "system__val_lliB"); u00080 : constant Version_32 := 16#a8846798#; pragma Export (C, u00080, "system__val_lliS"); u00081 : constant Version_32 := 16#afdbf393#; pragma Export (C, u00081, "system__val_lluB"); u00082 : constant Version_32 := 16#7cd4aac9#; pragma Export (C, u00082, "system__val_lluS"); u00083 : constant Version_32 := 16#27b600b2#; pragma Export (C, u00083, "system__val_utilB"); u00084 : constant Version_32 := 16#9e0037c6#; pragma Export (C, u00084, "system__val_utilS"); u00085 : constant Version_32 := 16#5bbc3f2f#; pragma Export (C, u00085, "system__exception_tracesB"); u00086 : constant Version_32 := 16#167fa1a2#; pragma Export (C, u00086, "system__exception_tracesS"); u00087 : constant Version_32 := 16#d178f226#; pragma Export (C, u00087, "system__win32S"); u00088 : constant Version_32 := 16#8c33a517#; pragma Export (C, u00088, "system__wch_conB"); u00089 : constant Version_32 := 16#29dda3ea#; pragma Export (C, u00089, "system__wch_conS"); u00090 : constant Version_32 := 16#9721e840#; pragma Export (C, u00090, "system__wch_stwB"); u00091 : constant Version_32 := 16#04cc8feb#; pragma Export (C, u00091, "system__wch_stwS"); u00092 : constant Version_32 := 16#a831679c#; pragma Export (C, u00092, "system__wch_cnvB"); u00093 : constant Version_32 := 16#266a1919#; pragma Export (C, u00093, "system__wch_cnvS"); u00094 : constant Version_32 := 16#ece6fdb6#; pragma Export (C, u00094, "system__wch_jisB"); u00095 : constant Version_32 := 16#a61a0038#; pragma Export (C, u00095, "system__wch_jisS"); u00096 : constant Version_32 := 16#a99e1d66#; pragma Export (C, u00096, "system__os_primitivesB"); u00097 : constant Version_32 := 16#b82f904e#; pragma Export (C, u00097, "system__os_primitivesS"); u00098 : constant Version_32 := 16#b6166bc6#; pragma Export (C, u00098, "system__task_lockB"); u00099 : constant Version_32 := 16#532ab656#; pragma Export (C, u00099, "system__task_lockS"); u00100 : constant Version_32 := 16#1a9147da#; pragma Export (C, u00100, "system__win32__extS"); u00101 : constant Version_32 := 16#f64b89a4#; pragma Export (C, u00101, "ada__integer_text_ioB"); u00102 : constant Version_32 := 16#b85ee1d1#; pragma Export (C, u00102, "ada__integer_text_ioS"); u00103 : constant Version_32 := 16#1d1c6062#; pragma Export (C, u00103, "ada__text_ioB"); u00104 : constant Version_32 := 16#95711eac#; pragma Export (C, u00104, "ada__text_ioS"); u00105 : constant Version_32 := 16#10558b11#; pragma Export (C, u00105, "ada__streamsB"); u00106 : constant Version_32 := 16#67e31212#; pragma Export (C, u00106, "ada__streamsS"); u00107 : constant Version_32 := 16#d85792d6#; pragma Export (C, u00107, "ada__tagsB"); u00108 : constant Version_32 := 16#8813468c#; pragma Export (C, u00108, "ada__tagsS"); u00109 : constant Version_32 := 16#c3335bfd#; pragma Export (C, u00109, "system__htableB"); u00110 : constant Version_32 := 16#b66232d2#; pragma Export (C, u00110, "system__htableS"); u00111 : constant Version_32 := 16#089f5cd0#; pragma Export (C, u00111, "system__string_hashB"); u00112 : constant Version_32 := 16#143c59ac#; pragma Export (C, u00112, "system__string_hashS"); u00113 : constant Version_32 := 16#1d9142a4#; pragma Export (C, u00113, "system__val_unsB"); u00114 : constant Version_32 := 16#168e1080#; pragma Export (C, u00114, "system__val_unsS"); u00115 : constant Version_32 := 16#4c01b69c#; pragma Export (C, u00115, "interfaces__c_streamsB"); u00116 : constant Version_32 := 16#b1330297#; pragma Export (C, u00116, "interfaces__c_streamsS"); u00117 : constant Version_32 := 16#6f0d52aa#; pragma Export (C, u00117, "system__file_ioB"); u00118 : constant Version_32 := 16#95d1605d#; pragma Export (C, u00118, "system__file_ioS"); u00119 : constant Version_32 := 16#86c56e5a#; pragma Export (C, u00119, "ada__finalizationS"); u00120 : constant Version_32 := 16#95817ed8#; pragma Export (C, u00120, "system__finalization_rootB"); u00121 : constant Version_32 := 16#7d52f2a8#; pragma Export (C, u00121, "system__finalization_rootS"); u00122 : constant Version_32 := 16#cf3f1b90#; pragma Export (C, u00122, "system__file_control_blockS"); u00123 : constant Version_32 := 16#f6fdca1c#; pragma Export (C, u00123, "ada__text_io__integer_auxB"); u00124 : constant Version_32 := 16#b9793d30#; pragma Export (C, u00124, "ada__text_io__integer_auxS"); u00125 : constant Version_32 := 16#181dc502#; pragma Export (C, u00125, "ada__text_io__generic_auxB"); u00126 : constant Version_32 := 16#a6c327d3#; pragma Export (C, u00126, "ada__text_io__generic_auxS"); u00127 : constant Version_32 := 16#b10ba0c7#; pragma Export (C, u00127, "system__img_biuB"); u00128 : constant Version_32 := 16#c00475f6#; pragma Export (C, u00128, "system__img_biuS"); u00129 : constant Version_32 := 16#4e06ab0c#; pragma Export (C, u00129, "system__img_llbB"); u00130 : constant Version_32 := 16#81c36508#; pragma Export (C, u00130, "system__img_llbS"); u00131 : constant Version_32 := 16#9dca6636#; pragma Export (C, u00131, "system__img_lliB"); u00132 : constant Version_32 := 16#23efd4e9#; pragma Export (C, u00132, "system__img_lliS"); u00133 : constant Version_32 := 16#a756d097#; pragma Export (C, u00133, "system__img_llwB"); u00134 : constant Version_32 := 16#28af469e#; pragma Export (C, u00134, "system__img_llwS"); u00135 : constant Version_32 := 16#eb55dfbb#; pragma Export (C, u00135, "system__img_wiuB"); u00136 : constant Version_32 := 16#ae45f264#; pragma Export (C, u00136, "system__img_wiuS"); u00137 : constant Version_32 := 16#d763507a#; pragma Export (C, u00137, "system__val_intB"); u00138 : constant Version_32 := 16#7a05ab07#; pragma Export (C, u00138, "system__val_intS"); u00139 : constant Version_32 := 16#03fc996e#; pragma Export (C, u00139, "ada__real_timeB"); u00140 : constant Version_32 := 16#c3d451b0#; pragma Export (C, u00140, "ada__real_timeS"); u00141 : constant Version_32 := 16#cb56a7b3#; pragma Export (C, u00141, "system__taskingB"); u00142 : constant Version_32 := 16#70384b95#; pragma Export (C, u00142, "system__taskingS"); u00143 : constant Version_32 := 16#c71f56c0#; pragma Export (C, u00143, "system__task_primitivesS"); u00144 : constant Version_32 := 16#fa769fc7#; pragma Export (C, u00144, "system__os_interfaceS"); u00145 : constant Version_32 := 16#22b0e2af#; pragma Export (C, u00145, "interfaces__c__stringsB"); u00146 : constant Version_32 := 16#603c1c44#; pragma Export (C, u00146, "interfaces__c__stringsS"); u00147 : constant Version_32 := 16#fc754292#; pragma Export (C, u00147, "system__task_primitives__operationsB"); u00148 : constant Version_32 := 16#24684c98#; pragma Export (C, u00148, "system__task_primitives__operationsS"); u00149 : constant Version_32 := 16#1b28662b#; pragma Export (C, u00149, "system__float_controlB"); u00150 : constant Version_32 := 16#d25cc204#; pragma Export (C, u00150, "system__float_controlS"); u00151 : constant Version_32 := 16#da8ccc08#; pragma Export (C, u00151, "system__interrupt_managementB"); u00152 : constant Version_32 := 16#0f60a80c#; pragma Export (C, u00152, "system__interrupt_managementS"); u00153 : constant Version_32 := 16#f65595cf#; pragma Export (C, u00153, "system__multiprocessorsB"); u00154 : constant Version_32 := 16#0a0c1e4b#; pragma Export (C, u00154, "system__multiprocessorsS"); u00155 : constant Version_32 := 16#77769007#; pragma Export (C, u00155, "system__task_infoB"); u00156 : constant Version_32 := 16#e54688cf#; pragma Export (C, u00156, "system__task_infoS"); u00157 : constant Version_32 := 16#9471a5c6#; pragma Export (C, u00157, "system__tasking__debugB"); u00158 : constant Version_32 := 16#f1f2435f#; pragma Export (C, u00158, "system__tasking__debugS"); u00159 : constant Version_32 := 16#fd83e873#; pragma Export (C, u00159, "system__concat_2B"); u00160 : constant Version_32 := 16#300056e8#; pragma Export (C, u00160, "system__concat_2S"); u00161 : constant Version_32 := 16#2b70b149#; pragma Export (C, u00161, "system__concat_3B"); u00162 : constant Version_32 := 16#39d0dd9d#; pragma Export (C, u00162, "system__concat_3S"); u00163 : constant Version_32 := 16#18e0e51c#; pragma Export (C, u00163, "system__img_enum_newB"); u00164 : constant Version_32 := 16#53ec87f8#; pragma Export (C, u00164, "system__img_enum_newS"); u00165 : constant Version_32 := 16#118e865d#; pragma Export (C, u00165, "system__stack_usageB"); u00166 : constant Version_32 := 16#3a3ac346#; pragma Export (C, u00166, "system__stack_usageS"); u00167 : constant Version_32 := 16#3791e504#; pragma Export (C, u00167, "ada__strings__unboundedB"); u00168 : constant Version_32 := 16#9fdb1809#; pragma Export (C, u00168, "ada__strings__unboundedS"); u00169 : constant Version_32 := 16#144f64ae#; pragma Export (C, u00169, "ada__strings__searchB"); u00170 : constant Version_32 := 16#c1ab8667#; pragma Export (C, u00170, "ada__strings__searchS"); u00171 : constant Version_32 := 16#933d1555#; pragma Export (C, u00171, "system__compare_array_unsigned_8B"); u00172 : constant Version_32 := 16#9ba3f0b5#; pragma Export (C, u00172, "system__compare_array_unsigned_8S"); u00173 : constant Version_32 := 16#97d13ec4#; pragma Export (C, u00173, "system__address_operationsB"); u00174 : constant Version_32 := 16#21ac3f0b#; pragma Export (C, u00174, "system__address_operationsS"); u00175 : constant Version_32 := 16#a2250034#; pragma Export (C, u00175, "system__storage_pools__subpoolsB"); u00176 : constant Version_32 := 16#cc5a1856#; pragma Export (C, u00176, "system__storage_pools__subpoolsS"); u00177 : constant Version_32 := 16#6abe5dbe#; pragma Export (C, u00177, "system__finalization_mastersB"); u00178 : constant Version_32 := 16#695cb8f2#; pragma Export (C, u00178, "system__finalization_mastersS"); u00179 : constant Version_32 := 16#7268f812#; pragma Export (C, u00179, "system__img_boolB"); u00180 : constant Version_32 := 16#c779f0d3#; pragma Export (C, u00180, "system__img_boolS"); u00181 : constant Version_32 := 16#6d4d969a#; pragma Export (C, u00181, "system__storage_poolsB"); u00182 : constant Version_32 := 16#114d1f95#; pragma Export (C, u00182, "system__storage_poolsS"); u00183 : constant Version_32 := 16#9aad1ff1#; pragma Export (C, u00183, "system__storage_pools__subpools__finalizationB"); u00184 : constant Version_32 := 16#fe2f4b3a#; pragma Export (C, u00184, "system__storage_pools__subpools__finalizationS"); u00185 : constant Version_32 := 16#70f25dad#; pragma Export (C, u00185, "system__atomic_countersB"); u00186 : constant Version_32 := 16#86fcacb5#; pragma Export (C, u00186, "system__atomic_countersS"); u00187 : constant Version_32 := 16#5fc82639#; pragma Export (C, u00187, "system__machine_codeS"); u00188 : constant Version_32 := 16#3c420900#; pragma Export (C, u00188, "system__stream_attributesB"); u00189 : constant Version_32 := 16#8bc30a4e#; pragma Export (C, u00189, "system__stream_attributesS"); u00190 : constant Version_32 := 16#97a2d3b4#; pragma Export (C, u00190, "ada__strings__unbounded__text_ioB"); u00191 : constant Version_32 := 16#f26abf4c#; pragma Export (C, u00191, "ada__strings__unbounded__text_ioS"); u00192 : constant Version_32 := 16#64b60562#; pragma Export (C, u00192, "p_stephandlerB"); u00193 : constant Version_32 := 16#c35ffe0a#; pragma Export (C, u00193, "p_stephandlerS"); u00194 : constant Version_32 := 16#a9261bbe#; pragma Export (C, u00194, "p_structuraltypesB"); u00195 : constant Version_32 := 16#386e2dac#; pragma Export (C, u00195, "p_structuraltypesS"); u00196 : constant Version_32 := 16#a347755d#; pragma Export (C, u00196, "ada__text_io__modular_auxB"); u00197 : constant Version_32 := 16#0d2bef47#; pragma Export (C, u00197, "ada__text_io__modular_auxS"); u00198 : constant Version_32 := 16#3e932977#; pragma Export (C, u00198, "system__img_lluB"); u00199 : constant Version_32 := 16#4feffd78#; pragma Export (C, u00199, "system__img_lluS"); u00200 : constant Version_32 := 16#23e4cea4#; pragma Export (C, u00200, "interfaces__cobolB"); u00201 : constant Version_32 := 16#394647ba#; pragma Export (C, u00201, "interfaces__cobolS"); u00202 : constant Version_32 := 16#5a895de2#; pragma Export (C, u00202, "system__pool_globalB"); u00203 : constant Version_32 := 16#7141203e#; pragma Export (C, u00203, "system__pool_globalS"); u00204 : constant Version_32 := 16#ee101ba4#; pragma Export (C, u00204, "system__memoryB"); u00205 : constant Version_32 := 16#6bdde70c#; pragma Export (C, u00205, "system__memoryS"); u00206 : constant Version_32 := 16#3adf5e61#; pragma Export (C, u00206, "p_stephandler__feistelhandlerB"); u00207 : constant Version_32 := 16#8e57995f#; pragma Export (C, u00207, "p_stephandler__feistelhandlerS"); u00208 : constant Version_32 := 16#e76fa629#; pragma Export (C, u00208, "p_stephandler__inputhandlerB"); u00209 : constant Version_32 := 16#abe41686#; pragma Export (C, u00209, "p_stephandler__inputhandlerS"); u00210 : constant Version_32 := 16#4b3cf578#; pragma Export (C, u00210, "system__byte_swappingS"); u00211 : constant Version_32 := 16#796b5f0d#; pragma Export (C, u00211, "system__sequential_ioB"); u00212 : constant Version_32 := 16#d8cc2bc8#; pragma Export (C, u00212, "system__sequential_ioS"); u00213 : constant Version_32 := 16#0806edc3#; pragma Export (C, u00213, "system__strings__stream_opsB"); u00214 : constant Version_32 := 16#55d4bd57#; pragma Export (C, u00214, "system__strings__stream_opsS"); u00215 : constant Version_32 := 16#17411e58#; pragma Export (C, u00215, "ada__streams__stream_ioB"); u00216 : constant Version_32 := 16#31fc8e02#; pragma Export (C, u00216, "ada__streams__stream_ioS"); u00217 : constant Version_32 := 16#5de653db#; pragma Export (C, u00217, "system__communicationB"); u00218 : constant Version_32 := 16#2bc0d4ea#; pragma Export (C, u00218, "system__communicationS"); u00219 : constant Version_32 := 16#8500a3df#; pragma Export (C, u00219, "p_stephandler__iphandlerB"); u00220 : constant Version_32 := 16#780e2d9b#; pragma Export (C, u00220, "p_stephandler__iphandlerS"); u00221 : constant Version_32 := 16#c0587cca#; pragma Export (C, u00221, "p_stephandler__keyhandlerB"); u00222 : constant Version_32 := 16#3666019b#; pragma Export (C, u00222, "p_stephandler__keyhandlerS"); u00223 : constant Version_32 := 16#13b3baa7#; pragma Export (C, u00223, "p_stephandler__outputhandlerB"); u00224 : constant Version_32 := 16#3db246c7#; pragma Export (C, u00224, "p_stephandler__outputhandlerS"); u00225 : constant Version_32 := 16#290d89e9#; pragma Export (C, u00225, "p_stephandler__reverseiphandlerB"); u00226 : constant Version_32 := 16#f3f8e71c#; pragma Export (C, u00226, "p_stephandler__reverseiphandlerS"); u00227 : constant Version_32 := 16#276453b7#; pragma Export (C, u00227, "system__img_lldB"); u00228 : constant Version_32 := 16#c1828851#; pragma Export (C, u00228, "system__img_lldS"); u00229 : constant Version_32 := 16#bd3715ff#; pragma Export (C, u00229, "system__img_decB"); u00230 : constant Version_32 := 16#9c8d88e3#; pragma Export (C, u00230, "system__img_decS"); u00231 : constant Version_32 := 16#96bbd7c2#; pragma Export (C, u00231, "system__tasking__rendezvousB"); u00232 : constant Version_32 := 16#ea18a31e#; pragma Export (C, u00232, "system__tasking__rendezvousS"); u00233 : constant Version_32 := 16#100eaf58#; pragma Export (C, u00233, "system__restrictionsB"); u00234 : constant Version_32 := 16#c1c3a556#; pragma Export (C, u00234, "system__restrictionsS"); u00235 : constant Version_32 := 16#6896b958#; pragma Export (C, u00235, "system__tasking__entry_callsB"); u00236 : constant Version_32 := 16#df420580#; pragma Export (C, u00236, "system__tasking__entry_callsS"); u00237 : constant Version_32 := 16#bc23950c#; pragma Export (C, u00237, "system__tasking__initializationB"); u00238 : constant Version_32 := 16#efd25374#; pragma Export (C, u00238, "system__tasking__initializationS"); u00239 : constant Version_32 := 16#72fc64c4#; pragma Export (C, u00239, "system__soft_links__taskingB"); u00240 : constant Version_32 := 16#5ae92880#; pragma Export (C, u00240, "system__soft_links__taskingS"); u00241 : constant Version_32 := 16#17d21067#; pragma Export (C, u00241, "ada__exceptions__is_null_occurrenceB"); u00242 : constant Version_32 := 16#e1d7566f#; pragma Export (C, u00242, "ada__exceptions__is_null_occurrenceS"); u00243 : constant Version_32 := 16#e774edef#; pragma Export (C, u00243, "system__tasking__task_attributesB"); u00244 : constant Version_32 := 16#6bc95a13#; pragma Export (C, u00244, "system__tasking__task_attributesS"); u00245 : constant Version_32 := 16#8bdfec1d#; pragma Export (C, u00245, "system__tasking__protected_objectsB"); u00246 : constant Version_32 := 16#a9001c61#; pragma Export (C, u00246, "system__tasking__protected_objectsS"); u00247 : constant Version_32 := 16#ee80728a#; pragma Export (C, u00247, "system__tracesB"); u00248 : constant Version_32 := 16#c0bde992#; pragma Export (C, u00248, "system__tracesS"); u00249 : constant Version_32 := 16#17aa7da7#; pragma Export (C, u00249, "system__tasking__protected_objects__entriesB"); u00250 : constant Version_32 := 16#427cf21f#; pragma Export (C, u00250, "system__tasking__protected_objects__entriesS"); u00251 : constant Version_32 := 16#1dc86ab7#; pragma Export (C, u00251, "system__tasking__protected_objects__operationsB"); u00252 : constant Version_32 := 16#ba36ad85#; pragma Export (C, u00252, "system__tasking__protected_objects__operationsS"); u00253 : constant Version_32 := 16#ab2f8f51#; pragma Export (C, u00253, "system__tasking__queuingB"); u00254 : constant Version_32 := 16#d1ba2fcb#; pragma Export (C, u00254, "system__tasking__queuingS"); u00255 : constant Version_32 := 16#f9053daa#; pragma Export (C, u00255, "system__tasking__utilitiesB"); u00256 : constant Version_32 := 16#14a33d48#; pragma Export (C, u00256, "system__tasking__utilitiesS"); u00257 : constant Version_32 := 16#bd6fc52e#; pragma Export (C, u00257, "system__traces__taskingB"); u00258 : constant Version_32 := 16#09f07b39#; pragma Export (C, u00258, "system__traces__taskingS"); u00259 : constant Version_32 := 16#d8fc9f88#; pragma Export (C, u00259, "system__tasking__stagesB"); u00260 : constant Version_32 := 16#e9cef940#; pragma Export (C, u00260, "system__tasking__stagesS"); -- BEGIN ELABORATION ORDER -- ada%s -- ada.characters%s -- ada.characters.latin_1%s -- interfaces%s -- system%s -- system.address_operations%s -- system.address_operations%b -- system.byte_swapping%s -- system.case_util%s -- system.case_util%b -- system.float_control%s -- system.float_control%b -- system.img_bool%s -- system.img_bool%b -- system.img_enum_new%s -- system.img_enum_new%b -- system.img_int%s -- system.img_int%b -- system.img_dec%s -- system.img_dec%b -- system.img_lli%s -- system.img_lli%b -- system.img_lld%s -- system.img_lld%b -- system.io%s -- system.io%b -- system.machine_code%s -- system.atomic_counters%s -- system.atomic_counters%b -- system.parameters%s -- system.parameters%b -- system.crtl%s -- interfaces.c_streams%s -- interfaces.c_streams%b -- system.restrictions%s -- system.restrictions%b -- system.storage_elements%s -- system.storage_elements%b -- system.stack_checking%s -- system.stack_checking%b -- system.stack_usage%s -- system.stack_usage%b -- system.string_hash%s -- system.string_hash%b -- system.htable%s -- system.htable%b -- system.strings%s -- system.strings%b -- system.traceback_entries%s -- system.traceback_entries%b -- system.traces%s -- system.traces%b -- system.unsigned_types%s -- system.img_biu%s -- system.img_biu%b -- system.img_llb%s -- system.img_llb%b -- system.img_llu%s -- system.img_llu%b -- system.img_llw%s -- system.img_llw%b -- system.img_uns%s -- system.img_uns%b -- system.img_wiu%s -- system.img_wiu%b -- system.wch_con%s -- system.wch_con%b -- system.wch_jis%s -- system.wch_jis%b -- system.wch_cnv%s -- system.wch_cnv%b -- system.compare_array_unsigned_8%s -- system.compare_array_unsigned_8%b -- system.concat_2%s -- system.concat_2%b -- system.concat_3%s -- system.concat_3%b -- system.traceback%s -- system.traceback%b -- system.val_util%s -- system.standard_library%s -- system.exception_traces%s -- ada.exceptions%s -- system.wch_stw%s -- system.val_util%b -- system.val_llu%s -- system.val_lli%s -- system.os_lib%s -- system.bit_ops%s -- ada.characters.handling%s -- ada.exceptions.traceback%s -- system.soft_links%s -- system.exception_table%s -- system.exception_table%b -- ada.io_exceptions%s -- ada.strings%s -- ada.containers%s -- system.exceptions%s -- system.exceptions%b -- system.secondary_stack%s -- system.address_image%s -- system.bounded_strings%s -- system.soft_links%b -- ada.exceptions.last_chance_handler%s -- system.exceptions_debug%s -- system.exceptions_debug%b -- system.exception_traces%b -- system.memory%s -- system.memory%b -- system.wch_stw%b -- system.val_llu%b -- system.val_lli%b -- interfaces.c%s -- system.win32%s -- system.mmap%s -- system.mmap.os_interface%s -- system.mmap.os_interface%b -- system.mmap%b -- system.os_lib%b -- system.bit_ops%b -- ada.strings.maps%s -- ada.strings.maps.constants%s -- ada.characters.handling%b -- ada.exceptions.traceback%b -- system.exceptions.machine%s -- system.exceptions.machine%b -- system.secondary_stack%b -- system.address_image%b -- system.bounded_strings%b -- ada.exceptions.last_chance_handler%b -- system.standard_library%b -- system.object_reader%s -- system.dwarf_lines%s -- system.dwarf_lines%b -- interfaces.c%b -- ada.strings.maps%b -- system.traceback.symbolic%s -- system.traceback.symbolic%b -- ada.exceptions%b -- system.object_reader%b -- ada.exceptions.is_null_occurrence%s -- ada.exceptions.is_null_occurrence%b -- ada.strings.search%s -- ada.strings.search%b -- interfaces.c.strings%s -- interfaces.c.strings%b -- interfaces.cobol%s -- interfaces.cobol%b -- system.multiprocessors%s -- system.multiprocessors%b -- system.os_interface%s -- system.interrupt_management%s -- system.interrupt_management%b -- system.task_info%s -- system.task_info%b -- system.task_lock%s -- system.task_lock%b -- system.task_primitives%s -- system.val_uns%s -- system.val_uns%b -- ada.tags%s -- ada.tags%b -- ada.streams%s -- ada.streams%b -- system.communication%s -- system.communication%b -- system.file_control_block%s -- system.finalization_root%s -- system.finalization_root%b -- ada.finalization%s -- system.file_io%s -- system.file_io%b -- ada.streams.stream_io%s -- ada.streams.stream_io%b -- system.storage_pools%s -- system.storage_pools%b -- system.finalization_masters%s -- system.finalization_masters%b -- system.storage_pools.subpools%s -- system.storage_pools.subpools.finalization%s -- system.storage_pools.subpools%b -- system.storage_pools.subpools.finalization%b -- system.stream_attributes%s -- system.stream_attributes%b -- ada.strings.unbounded%s -- ada.strings.unbounded%b -- system.val_int%s -- system.val_int%b -- system.win32.ext%s -- system.os_primitives%s -- system.os_primitives%b -- system.tasking%s -- system.task_primitives.operations%s -- system.tasking.debug%s -- system.tasking%b -- system.task_primitives.operations%b -- system.tasking.debug%b -- system.traces.tasking%s -- system.traces.tasking%b -- ada.calendar%s -- ada.calendar%b -- ada.real_time%s -- ada.real_time%b -- ada.text_io%s -- ada.text_io%b -- ada.strings.unbounded.text_io%s -- ada.strings.unbounded.text_io%b -- ada.text_io.generic_aux%s -- ada.text_io.generic_aux%b -- ada.text_io.integer_aux%s -- ada.text_io.integer_aux%b -- ada.integer_text_io%s -- ada.integer_text_io%b -- ada.text_io.modular_aux%s -- ada.text_io.modular_aux%b -- system.pool_global%s -- system.pool_global%b -- system.sequential_io%s -- system.sequential_io%b -- system.soft_links.tasking%s -- system.soft_links.tasking%b -- system.strings.stream_ops%s -- system.strings.stream_ops%b -- system.tasking.initialization%s -- system.tasking.task_attributes%s -- system.tasking.initialization%b -- system.tasking.task_attributes%b -- system.tasking.protected_objects%s -- system.tasking.protected_objects%b -- system.tasking.protected_objects.entries%s -- system.tasking.protected_objects.entries%b -- system.tasking.queuing%s -- system.tasking.queuing%b -- system.tasking.utilities%s -- system.tasking.utilities%b -- system.tasking.entry_calls%s -- system.tasking.rendezvous%s -- system.tasking.protected_objects.operations%s -- system.tasking.protected_objects.operations%b -- system.tasking.entry_calls%b -- system.tasking.rendezvous%b -- system.tasking.stages%s -- system.tasking.stages%b -- p_structuraltypes%s -- p_structuraltypes%b -- p_stephandler%s -- p_stephandler%b -- p_stephandler.feistelhandler%s -- p_stephandler.feistelhandler%b -- p_stephandler.inputhandler%s -- p_stephandler.inputhandler%b -- p_stephandler.iphandler%s -- p_stephandler.iphandler%b -- p_stephandler.keyhandler%s -- p_stephandler.keyhandler%b -- p_stephandler.outputhandler%s -- p_stephandler.outputhandler%b -- p_stephandler.reverseiphandler%s -- p_stephandler.reverseiphandler%b -- main%b -- END ELABORATION ORDER end ada_main;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . A D D R E S S _ T O _ A C C E S S _ C O N V E R S I O N S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2009, 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. -- -- -- ------------------------------------------------------------------------------ generic type Object (<>) is limited private; package System.Address_To_Access_Conversions is pragma Preelaborate; pragma Elaborate_Body; -- This pragma Elaborate_Body is there to ensure the requirement of what is -- at the moment a dummy null body. The reason this null body is there is -- that we used to have a real body, and it causes bootstrap problems with -- old compilers if we try to remove the corresponding file. pragma Compile_Time_Warning (Object'Unconstrained_Array, "Object is unconstrained array type" & ASCII.LF & "To_Pointer results may not have bounds"); -- Capture constrained status, suppressing warnings, since this is -- an obsolescent feature to use Constrained in this way (RM J.4). pragma Warnings (Off); Xyz : Boolean := Object'Constrained; pragma Warnings (On); type Object_Pointer is access all Object; for Object_Pointer'Size use Standard'Address_Size; pragma No_Strict_Aliasing (Object_Pointer); -- Strictly speaking, this routine should not be used to generate pointers -- to other than proper values of the proper type, but in practice, this -- is done all the time. This pragma stops the compiler from doing some -- optimizations that may cause unexpected results based on the assumption -- of no strict aliasing. function To_Pointer (Value : Address) return Object_Pointer; function To_Address (Value : Object_Pointer) return Address; pragma Import (Intrinsic, To_Pointer); pragma Import (Intrinsic, To_Address); end System.Address_To_Access_Conversions;
-- Copyright 2008-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 Types is function Ident (O : Object'Class) return Object'Class is begin return O; end Ident; procedure Do_Nothing (O : in out Object'Class) is begin null; end Do_Nothing; end Types;
pragma License (Unrestricted); -- implementation unit package System.Shared_Locking is pragma Preelaborate; -- no-operation procedure Nop is null; type Enter_Handler is access procedure; pragma Favor_Top_Level (Enter_Handler); Enter_Hook : not null Enter_Handler := Nop'Access; procedure Enter; type Leave_Handler is access procedure; pragma Favor_Top_Level (Leave_Handler); Leave_Hook : not null Leave_Handler := Nop'Access; procedure Leave; end System.Shared_Locking;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2013, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with Matreshka.Internals.Calendars.Formatting.ISO_8601; with Matreshka.Internals.Calendars.Formatting.Times; with Matreshka.Internals.Calendars.Gregorian; with Matreshka.Internals.Calendars.Times; package body League.Calendars.ISO_8601 is Calendar : ISO_8601_Calendar; -- This global object is used in convenient subprograms as calendar. function Local_Time_Zone return Matreshka.Internals.Calendars.Time_Zone_Access; -- XXX Local time zone is not supported now. This function is used to -- return dummy time zone to help future transition. -------------- -- Add_Days -- -------------- function Add_Days (Stamp : Date; Days : Integer) return Date is begin return Calendar.Add_Days (Stamp, Days); end Add_Days; -------------- -- Add_Days -- -------------- procedure Add_Days (Stamp : in out Date; Days : Integer) is begin Calendar.Add_Days (Stamp, Days); end Add_Days; -------------- -- Add_Days -- -------------- function Add_Days (Stamp : Date_Time; Days : Integer) return Date_Time is begin return Calendar.Add_Days (Stamp, Days); end Add_Days; -------------- -- Add_Days -- -------------- procedure Add_Days (Stamp : in out Date_Time; Days : Integer) is begin Calendar.Add_Days (Stamp, Days); end Add_Days; -------------- -- Add_Days -- -------------- function Add_Days (Self : ISO_8601_Calendar'Class; Stamp : Date; Days : Integer) return Date is pragma Unreferenced (Self); begin return Stamp + Date (Days); end Add_Days; -------------- -- Add_Days -- -------------- procedure Add_Days (Self : ISO_8601_Calendar'Class; Stamp : in out Date; Days : Integer) is pragma Unreferenced (Self); begin Stamp := Stamp + Date (Days); end Add_Days; -------------- -- Add_Days -- -------------- function Add_Days (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Days : Integer) return Date_Time is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; return Stamp; end Add_Days; -------------- -- Add_Days -- -------------- procedure Add_Days (Self : ISO_8601_Calendar'Class; Stamp : in out Date_Time; Days : Integer) is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; end Add_Days; ---------------- -- Add_Months -- ---------------- function Add_Months (Stamp : Date; Months : Integer) return Date is begin return Calendar.Add_Months (Stamp, Months); end Add_Months; ---------------- -- Add_Months -- ---------------- procedure Add_Months (Stamp : in out Date; Months : Integer) is begin Calendar.Add_Months (Stamp, Months); end Add_Months; ---------------- -- Add_Months -- ---------------- function Add_Months (Stamp : Date_Time; Months : Integer) return Date_Time is begin return Calendar.Add_Months (Stamp, Months); end Add_Months; ---------------- -- Add_Months -- ---------------- procedure Add_Months (Stamp : in out Date_Time; Months : Integer) is begin Calendar.Add_Months (Stamp, Months); end Add_Months; ---------------- -- Add_Months -- ---------------- function Add_Months (Self : ISO_8601_Calendar'Class; Stamp : Date; Months : Integer) return Date is Year : Year_Number; Month : Month_Number; Day : Day_Number; Total : Integer; begin Split (Self, Stamp, Year, Month, Day); Total := Integer (Year * 12) + Integer (Month - 1) + Months; Year := Year_Number (Total / 12); Month := Month_Number ((Total mod 12) + 1); Day := Day_Number'Min (Day, Days_In_Month (Self, Year, Month)); return Create (Self, Year, Month, Day); end Add_Months; ---------------- -- Add_Months -- ---------------- procedure Add_Months (Self : ISO_8601_Calendar'Class; Stamp : in out Date; Months : Integer) is begin Stamp := Add_Months (Self, Stamp, Months); end Add_Months; ---------------- -- Add_Months -- ---------------- function Add_Months (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Months : Integer) return Date_Time is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; return Stamp; end Add_Months; ---------------- -- Add_Months -- ---------------- procedure Add_Months (Self : ISO_8601_Calendar'Class; Stamp : in out Date_Time; Months : Integer) is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; end Add_Months; --------------- -- Add_Years -- --------------- function Add_Years (Stamp : Date; Years : Integer) return Date is begin return Calendar.Add_Years (Stamp, Years); end Add_Years; --------------- -- Add_Years -- --------------- procedure Add_Years (Stamp : in out Date; Years : Integer) is begin Calendar.Add_Years (Stamp, Years); end Add_Years; --------------- -- Add_Years -- --------------- function Add_Years (Stamp : Date_Time; Years : Integer) return Date_Time is begin return Calendar.Add_Years (Stamp, Years); end Add_Years; --------------- -- Add_Years -- --------------- procedure Add_Years (Stamp : in out Date_Time; Years : Integer) is begin Calendar.Add_Years (Stamp, Years); end Add_Years; --------------- -- Add_Years -- --------------- function Add_Years (Self : ISO_8601_Calendar'Class; Stamp : Date; Years : Integer) return Date is begin return Add_Months (Self, Stamp, Years * 12); end Add_Years; --------------- -- Add_Years -- --------------- procedure Add_Years (Self : ISO_8601_Calendar'Class; Stamp : in out Date; Years : Integer) is begin Add_Months (Self, Stamp, Years * 12); end Add_Years; --------------- -- Add_Years -- --------------- function Add_Years (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Years : Integer) return Date_Time is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; return Stamp; end Add_Years; --------------- -- Add_Years -- --------------- procedure Add_Years (Self : ISO_8601_Calendar'Class; Stamp : in out Date_Time; Years : Integer) is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; end Add_Years; ------------ -- Create -- ------------ function Create (Year : Year_Number; Month : Month_Number; Day : Day_Number) return Date is begin return Calendar.Create (Year, Month, Day); end Create; ------------ -- Create -- ------------ function Create (Year : Year_Number; Month : Month_Number; Day : Day_Number; Hour : Hour_Number; Minute : Minute_Number; Second : Second_Number; Nanosecond_100 : Nanosecond_100_Number) return Date_Time is begin return Calendar.Create (Year, Month, Day, Hour, Minute, Second, Nanosecond_100); end Create; ------------ -- Create -- ------------ function Create (Zone : Time_Zone; Year : Year_Number; Month : Month_Number; Day : Day_Number; Hour : Hour_Number; Minute : Minute_Number; Second : Second_Number; Nanosecond_100 : Nanosecond_100_Number) return Date_Time is begin return Calendar.Create (Zone, Year, Month, Day, Hour, Minute, Second, Nanosecond_100); end Create; ------------ -- Create -- ------------ function Create (Self : ISO_8601_Calendar'Class; Year : Year_Number; Month : Month_Number; Day : Day_Number) return Date is pragma Unreferenced (Self); begin return Date (Matreshka.Internals.Calendars.Gregorian.Julian_Day (Matreshka.Internals.Calendars.Gregorian.Year_Number (Year), Matreshka.Internals.Calendars.Gregorian.Month_Number (Month), Matreshka.Internals.Calendars.Gregorian.Day_Number (Day))); end Create; ------------ -- Create -- ------------ function Create (Self : ISO_8601_Calendar'Class; Year : Year_Number; Month : Month_Number; Day : Day_Number; Hour : Hour_Number; Minute : Minute_Number; Second : Second_Number; Nanosecond_100 : Nanosecond_100_Number) return Date_Time is pragma Unreferenced (Self); begin return Date_Time (Matreshka.Internals.Calendars.Times.Create (Local_Time_Zone, Matreshka.Internals.Calendars.Gregorian.Julian_Day (Matreshka.Internals.Calendars.Gregorian.Year_Number (Year), Matreshka.Internals.Calendars.Gregorian.Month_Number (Month), Matreshka.Internals.Calendars.Gregorian.Day_Number (Day)), Matreshka.Internals.Calendars.Times.Hour_Number (Hour), Matreshka.Internals.Calendars.Times.Minute_Number (Minute), Matreshka.Internals.Calendars.Times.Second_Number (Second), Matreshka.Internals.Calendars.Times.Nano_Second_100_Number (Nanosecond_100))); end Create; ------------ -- Create -- ------------ function Create (Self : ISO_8601_Calendar'Class; Zone : Time_Zone; Year : Year_Number; Month : Month_Number; Day : Day_Number; Hour : Hour_Number; Minute : Minute_Number; Second : Second_Number; Nanosecond_100 : Nanosecond_100_Number) return Date_Time is pragma Unreferenced (Self); begin return Date_Time (Matreshka.Internals.Calendars.Times.Create (Zone.Description, Matreshka.Internals.Calendars.Gregorian.Julian_Day (Matreshka.Internals.Calendars.Gregorian.Year_Number (Year), Matreshka.Internals.Calendars.Gregorian.Month_Number (Month), Matreshka.Internals.Calendars.Gregorian.Day_Number (Day)), Matreshka.Internals.Calendars.Times.Hour_Number (Hour), Matreshka.Internals.Calendars.Times.Minute_Number (Minute), Matreshka.Internals.Calendars.Times.Second_Number (Second), Matreshka.Internals.Calendars.Times.Nano_Second_100_Number (Nanosecond_100))); end Create; --------- -- Day -- --------- function Day (Stamp : Date) return Day_Number is begin return Calendar.Day (Stamp); end Day; --------- -- Day -- --------- function Day (Stamp : Date_Time) return Day_Number is begin return Calendar.Day (Stamp); end Day; --------- -- Day -- --------- function Day (Stamp : Date_Time; Zone : Time_Zone) return Day_Number is begin return Calendar.Day (Stamp, Zone); end Day; --------- -- Day -- --------- function Day (Self : ISO_8601_Calendar'Class; Stamp : Date) return Day_Number is pragma Unreferenced (Self); begin return Day_Number (Matreshka.Internals.Calendars.Gregorian.Day (Matreshka.Internals.Calendars.Julian_Day_Number (Stamp))); end Day; --------- -- Day -- --------- function Day (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Day_Number is pragma Unreferenced (Self); begin return Day_Number (Matreshka.Internals.Calendars.Gregorian.Day (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Local_Time_Zone))); end Day; --------- -- Day -- --------- function Day (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Day_Number is pragma Unreferenced (Self); begin return Day_Number (Matreshka.Internals.Calendars.Gregorian.Day (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Zone.Description))); end Day; ----------------- -- Day_Of_Week -- ----------------- function Day_Of_Week (Stamp : Date) return Day_Of_Week_Number is begin return Calendar.Day_Of_Week (Stamp); end Day_Of_Week; ----------------- -- Day_Of_Week -- ----------------- function Day_Of_Week (Stamp : Date_Time) return Day_Of_Week_Number is begin return Calendar.Day_Of_Week (Stamp); end Day_Of_Week; ----------------- -- Day_Of_Week -- ----------------- function Day_Of_Week (Stamp : Date_Time; Zone : Time_Zone) return Day_Of_Week_Number is begin return Calendar.Day_Of_Week (Stamp, Zone); end Day_Of_Week; ----------------- -- Day_Of_Week -- ----------------- function Day_Of_Week (Self : ISO_8601_Calendar'Class; Stamp : Date) return Day_Of_Week_Number is pragma Unreferenced (Self); begin return Day_Of_Week_Number (Matreshka.Internals.Calendars.Gregorian.Day_Of_Week (Matreshka.Internals.Calendars.Julian_Day_Number (Stamp))); end Day_Of_Week; ----------------- -- Day_Of_Week -- ----------------- function Day_Of_Week (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Day_Of_Week_Number is pragma Unreferenced (Self); begin return Day_Of_Week_Number (Matreshka.Internals.Calendars.Gregorian.Day_Of_Week (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Local_Time_Zone))); end Day_Of_Week; ----------------- -- Day_Of_Week -- ----------------- function Day_Of_Week (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Day_Of_Week_Number is pragma Unreferenced (Self); begin return Day_Of_Week_Number (Matreshka.Internals.Calendars.Gregorian.Day_Of_Week (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Zone.Description))); end Day_Of_Week; ----------------- -- Day_Of_Year -- ----------------- function Day_Of_Year (Stamp : Date) return Day_Of_Year_Number is begin return Calendar.Day_Of_Year (Stamp); end Day_Of_Year; ----------------- -- Day_Of_Year -- ----------------- function Day_Of_Year (Stamp : Date_Time) return Day_Of_Year_Number is begin return Calendar.Day_Of_Year (Stamp); end Day_Of_Year; ----------------- -- Day_Of_Year -- ----------------- function Day_Of_Year (Stamp : Date_Time; Zone : Time_Zone) return Day_Of_Year_Number is begin return Calendar.Day_Of_Year (Stamp, Zone); end Day_Of_Year; ----------------- -- Day_Of_Year -- ----------------- function Day_Of_Year (Self : ISO_8601_Calendar'Class; Stamp : Date) return Day_Of_Year_Number is pragma Unreferenced (Self); begin return Day_Of_Year_Number (Matreshka.Internals.Calendars.Gregorian.Day_Of_Year (Matreshka.Internals.Calendars.Julian_Day_Number (Stamp))); end Day_Of_Year; ----------------- -- Day_Of_Year -- ----------------- function Day_Of_Year (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Day_Of_Year_Number is pragma Unreferenced (Self); begin return Day_Of_Year_Number (Matreshka.Internals.Calendars.Gregorian.Day_Of_Year (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Local_Time_Zone))); end Day_Of_Year; ----------------- -- Day_Of_Year -- ----------------- function Day_Of_Year (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Day_Of_Year_Number is pragma Unreferenced (Self); begin return Day_Of_Year_Number (Matreshka.Internals.Calendars.Gregorian.Day_Of_Year (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Zone.Description))); end Day_Of_Year; ------------------- -- Days_In_Month -- ------------------- function Days_In_Month (Stamp : Date) return Day_Number is begin return Calendar.Days_In_Month (Stamp); end Days_In_Month; ------------------- -- Days_In_Month -- ------------------- function Days_In_Month (Stamp : Date_Time) return Day_Number is begin return Calendar.Days_In_Month (Stamp); end Days_In_Month; ------------------- -- Days_In_Month -- ------------------- function Days_In_Month (Stamp : Date_Time; Zone : Time_Zone) return Day_Number is begin return Calendar.Days_In_Month (Stamp, Zone); end Days_In_Month; ------------------- -- Days_In_Month -- ------------------- function Days_In_Month (Year : Year_Number; Month : Month_Number) return Day_Number is begin return Calendar.Days_In_Month (Year, Month); end Days_In_Month; ------------------- -- Days_In_Month -- ------------------- function Days_In_Month (Self : ISO_8601_Calendar'Class; Stamp : Date) return Day_Number is pragma Unreferenced (Self); begin return Day_Number (Matreshka.Internals.Calendars.Gregorian.Days_In_Month (Matreshka.Internals.Calendars.Julian_Day_Number (Stamp))); end Days_In_Month; ------------------- -- Days_In_Month -- ------------------- function Days_In_Month (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Day_Number is pragma Unreferenced (Self); begin return Day_Number (Matreshka.Internals.Calendars.Gregorian.Days_In_Month (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Local_Time_Zone))); end Days_In_Month; ------------------- -- Days_In_Month -- ------------------- function Days_In_Month (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Day_Number is pragma Unreferenced (Self); begin return Day_Number (Matreshka.Internals.Calendars.Gregorian.Days_In_Month (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Zone.Description))); end Days_In_Month; ------------------- -- Days_In_Month -- ------------------- function Days_In_Month (Self : ISO_8601_Calendar'Class; Year : Year_Number; Month : Month_Number) return Day_Number is pragma Unreferenced (Self); begin return Day_Number (Matreshka.Internals.Calendars.Gregorian.Days_In_Month (Matreshka.Internals.Calendars.Gregorian.Year_Number (Year), Matreshka.Internals.Calendars.Gregorian.Month_Number (Month))); end Days_In_Month; ------------------ -- Days_In_Year -- ------------------ function Days_In_Year (Stamp : Date) return Day_Of_Year_Number is begin return Calendar.Days_In_Year (Stamp); end Days_In_Year; ------------------ -- Days_In_Year -- ------------------ function Days_In_Year (Stamp : Date_Time) return Day_Of_Year_Number is begin return Calendar.Days_In_Year (Stamp); end Days_In_Year; ------------------ -- Days_In_Year -- ------------------ function Days_In_Year (Stamp : Date_Time; Zone : Time_Zone) return Day_Of_Year_Number is begin return Calendar.Days_In_Year (Stamp, Zone); end Days_In_Year; ------------------ -- Days_In_Year -- ------------------ function Days_In_Year (Year : Year_Number) return Day_Of_Year_Number is begin return Calendar.Days_In_Year (Year); end Days_In_Year; ------------------ -- Days_In_Year -- ------------------ function Days_In_Year (Self : ISO_8601_Calendar'Class; Stamp : Date) return Day_Of_Year_Number is pragma Unreferenced (Self); begin return Day_Of_Year_Number (Matreshka.Internals.Calendars.Gregorian.Days_In_Year (Matreshka.Internals.Calendars.Julian_Day_Number (Stamp))); end Days_In_Year; ------------------ -- Days_In_Year -- ------------------ function Days_In_Year (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Day_Of_Year_Number is pragma Unreferenced (Self); begin return Day_Of_Year_Number (Matreshka.Internals.Calendars.Gregorian.Days_In_Year (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Local_Time_Zone))); end Days_In_Year; ------------------ -- Days_In_Year -- ------------------ function Days_In_Year (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Day_Of_Year_Number is pragma Unreferenced (Self); begin return Day_Of_Year_Number (Matreshka.Internals.Calendars.Gregorian.Days_In_Year (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Zone.Description))); end Days_In_Year; ------------------ -- Days_In_Year -- ------------------ function Days_In_Year (Self : ISO_8601_Calendar'Class; Year : Year_Number) return Day_Of_Year_Number is pragma Unreferenced (Self); begin return Day_Of_Year_Number (Matreshka.Internals.Calendars.Gregorian.Days_In_Year (Matreshka.Internals.Calendars.Gregorian.Day_Of_Year_Number (Year))); end Days_In_Year; ------------- -- Days_To -- ------------- function Days_To (From : Date; To : Date) return Integer is begin return Calendar.Days_To (From, To); end Days_To; ------------- -- Days_To -- ------------- function Days_To (Self : ISO_8601_Calendar'Class; From : Date; To : Date) return Integer is pragma Unreferenced (Self); begin return Integer (To - From); end Days_To; --------------------- -- From_Julian_Day -- --------------------- function From_Julian_Day (Day : Integer) return Date is begin return Calendar.From_Julian_Day (Day); end From_Julian_Day; --------------------- -- From_Julian_Day -- --------------------- function From_Julian_Day (Self : ISO_8601_Calendar'Class; Day : Integer) return Date is pragma Unreferenced (Self); begin return Date (Day); end From_Julian_Day; ---------- -- Hour -- ---------- function Hour (Stamp : Time) return Hour_Number is begin return Calendar.Hour (Stamp); end Hour; ---------- -- Hour -- ---------- function Hour (Stamp : Date_Time) return Hour_Number is begin return Calendar.Hour (Stamp); end Hour; ---------- -- Hour -- ---------- function Hour (Stamp : Date_Time; Zone : Time_Zone) return Hour_Number is begin return Calendar.Hour (Stamp, Zone); end Hour; ---------- -- Hour -- ---------- function Hour (Self : ISO_8601_Calendar'Class; Stamp : Time) return Hour_Number is pragma Unreferenced (Self); begin return Hour_Number (Matreshka.Internals.Calendars.Times.Hour (Matreshka.Internals.Calendars.Relative_Time (Stamp))); end Hour; ---------- -- Hour -- ---------- function Hour (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Hour_Number is pragma Unreferenced (Self); begin return Hour_Number (Matreshka.Internals.Calendars.Times.Hour (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Local_Time_Zone)); end Hour; ---------- -- Hour -- ---------- function Hour (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Hour_Number is pragma Unreferenced (Self); begin return Hour_Number (Matreshka.Internals.Calendars.Times.Hour (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Zone.Description)); end Hour; ----------- -- Image -- ----------- function Image (Pattern : League.Strings.Universal_String; Stamp : Date_Time) return League.Strings.Universal_String is begin return Calendar.Image (Pattern, Stamp); end Image; ----------- -- Image -- ----------- function Image (Pattern : League.Strings.Universal_String; Stamp : Date_Time; Zone : Time_Zone) return League.Strings.Universal_String is begin return Calendar.Image (Pattern, Stamp, Zone); end Image; ----------- -- Image -- ----------- function Image (Self : ISO_8601_Calendar'Class; Pattern : League.Strings.Universal_String; Stamp : Date_Time) return League.Strings.Universal_String is pragma Unreferenced (Self); Printer : Matreshka.Internals.Calendars.Formatting.ISO_8601.ISO_8601_Printer; Time_Printer : Matreshka.Internals.Calendars.Formatting.Times.Time_Printer; begin return Matreshka.Internals.Calendars.Formatting.Image (Pattern, Printer, Time_Printer, Matreshka.Internals.Calendars.Absolute_Time (Stamp), Local_Time_Zone); end Image; ----------- -- Image -- ----------- function Image (Self : ISO_8601_Calendar'Class; Pattern : League.Strings.Universal_String; Stamp : Date_Time; Zone : Time_Zone) return League.Strings.Universal_String is pragma Unreferenced (Self); Printer : Matreshka.Internals.Calendars.Formatting.ISO_8601.ISO_8601_Printer; Time_Printer : Matreshka.Internals.Calendars.Formatting.Times.Time_Printer; begin return Matreshka.Internals.Calendars.Formatting.Image (Pattern, Printer, Time_Printer, Matreshka.Internals.Calendars.Absolute_Time (Stamp), Zone.Description); end Image; ------------------ -- Is_Leap_Year -- ------------------ function Is_Leap_Year (Year : Year_Number) return Boolean is begin return Calendar.Is_Leap_Year (Year); end Is_Leap_Year; ------------------ -- Is_Leap_Year -- ------------------ function Is_Leap_Year (Stamp : Date) return Boolean is begin return Calendar.Is_Leap_Year (Stamp); end Is_Leap_Year; ------------------ -- Is_Leap_Year -- ------------------ function Is_Leap_Year (Stamp : Date_Time) return Boolean is begin return Calendar.Is_Leap_Year (Stamp); end Is_Leap_Year; ------------------ -- Is_Leap_Year -- ------------------ function Is_Leap_Year (Stamp : Date_Time; Zone : Time_Zone) return Boolean is begin return Calendar.Is_Leap_Year (Stamp, Zone); end Is_Leap_Year; ------------------ -- Is_Leap_Year -- ------------------ function Is_Leap_Year (Self : ISO_8601_Calendar'Class; Stamp : Date) return Boolean is pragma Unreferenced (Self); begin return Matreshka.Internals.Calendars.Gregorian.Is_Leap_Year (Matreshka.Internals.Calendars.Julian_Day_Number (Stamp)); end Is_Leap_Year; ------------------ -- Is_Leap_Year -- ------------------ function Is_Leap_Year (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Boolean is pragma Unreferenced (Self); begin return Matreshka.Internals.Calendars.Gregorian.Is_Leap_Year (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Local_Time_Zone)); end Is_Leap_Year; ------------------ -- Is_Leap_Year -- ------------------ function Is_Leap_Year (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Boolean is pragma Unreferenced (Self); begin return Matreshka.Internals.Calendars.Gregorian.Is_Leap_Year (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Zone.Description)); end Is_Leap_Year; ------------------ -- Is_Leap_Year -- ------------------ function Is_Leap_Year (Self : ISO_8601_Calendar'Class; Year : Year_Number) return Boolean is pragma Unreferenced (Self); begin return Matreshka.Internals.Calendars.Gregorian.Is_Leap_Year (Matreshka.Internals.Calendars.Gregorian.Year_Number (Year)); end Is_Leap_Year; -------------- -- Is_Valid -- -------------- function Is_Valid (Year : Year_Number; Month : Month_Number; Day : Day_Number) return Boolean is begin return Calendar.Is_Valid (Year, Month, Day); end Is_Valid; -------------- -- Is_Valid -- -------------- function Is_Valid (Self : ISO_8601_Calendar'Class; Year : Year_Number; Month : Month_Number; Day : Day_Number) return Boolean is begin return Day <= Days_In_Month (Self, Year, Month); end Is_Valid; --------------------- -- Local_Time_Zone -- --------------------- function Local_Time_Zone return Matreshka.Internals.Calendars.Time_Zone_Access is begin return Matreshka.Internals.Calendars.UTC_Time_Zone'Access; end Local_Time_Zone; ------------ -- Minute -- ------------ function Minute (Stamp : Time) return Minute_Number is begin return Calendar.Minute (Stamp); end Minute; ------------ -- Minute -- ------------ function Minute (Stamp : Date_Time) return Minute_Number is begin return Calendar.Minute (Stamp); end Minute; ------------ -- Minute -- ------------ function Minute (Stamp : Date_Time; Zone : Time_Zone) return Minute_Number is begin return Calendar.Minute (Stamp, Zone); end Minute; ------------ -- Minute -- ------------ function Minute (Self : ISO_8601_Calendar'Class; Stamp : Time) return Minute_Number is pragma Unreferenced (Self); begin return Minute_Number (Matreshka.Internals.Calendars.Times.Minute (Matreshka.Internals.Calendars.Relative_Time (Stamp))); end Minute; ------------ -- Minute -- ------------ function Minute (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Minute_Number is pragma Unreferenced (Self); begin return Minute_Number (Matreshka.Internals.Calendars.Times.Minute (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Local_Time_Zone)); end Minute; ------------ -- Minute -- ------------ function Minute (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Minute_Number is pragma Unreferenced (Self); begin return Minute_Number (Matreshka.Internals.Calendars.Times.Minute (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Zone.Description)); end Minute; ----------- -- Month -- ----------- function Month (Stamp : Date) return Month_Number is begin return Calendar.Month (Stamp); end Month; ----------- -- Month -- ----------- function Month (Stamp : Date_Time) return Month_Number is begin return Calendar.Month (Stamp); end Month; ----------- -- Month -- ----------- function Month (Stamp : Date_Time; Zone : Time_Zone) return Month_Number is begin return Calendar.Month (Stamp, Zone); end Month; ----------- -- Month -- ----------- function Month (Self : ISO_8601_Calendar'Class; Stamp : Date) return Month_Number is pragma Unreferenced (Self); begin return Month_Number (Matreshka.Internals.Calendars.Gregorian.Month (Matreshka.Internals.Calendars.Julian_Day_Number (Stamp))); end Month; ----------- -- Month -- ----------- function Month (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Month_Number is pragma Unreferenced (Self); begin return Month_Number (Matreshka.Internals.Calendars.Gregorian.Month (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Local_Time_Zone))); end Month; ----------- -- Month -- ----------- function Month (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Month_Number is pragma Unreferenced (Self); begin return Month_Number (Matreshka.Internals.Calendars.Gregorian.Month (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Zone.Description))); end Month; -------------------- -- Nanosecond_100 -- -------------------- function Nanosecond_100 (Stamp : Time) return Nanosecond_100_Number is begin return Calendar.Nanosecond_100 (Stamp); end Nanosecond_100; -------------------- -- Nanosecond_100 -- -------------------- function Nanosecond_100 (Stamp : Date_Time) return Nanosecond_100_Number is begin return Calendar.Nanosecond_100 (Stamp); end Nanosecond_100; -------------------- -- Nanosecond_100 -- -------------------- function Nanosecond_100 (Stamp : Date_Time; Zone : Time_Zone) return Nanosecond_100_Number is begin return Calendar.Nanosecond_100 (Stamp, Zone); end Nanosecond_100; -------------------- -- Nanosecond_100 -- -------------------- function Nanosecond_100 (Self : ISO_8601_Calendar'Class; Stamp : Time) return Nanosecond_100_Number is pragma Unreferenced (Self); begin return Nanosecond_100_Number (Matreshka.Internals.Calendars.Times.Nanosecond_100 (Matreshka.Internals.Calendars.Relative_Time (Stamp), 0)); -- XXX Doesn't support leap second, should be reviewed. end Nanosecond_100; -------------------- -- Nanosecond_100 -- -------------------- function Nanosecond_100 (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Nanosecond_100_Number is pragma Unreferenced (Self); begin return Nanosecond_100_Number (Matreshka.Internals.Calendars.Times.Nanosecond_100 (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Local_Time_Zone)); end Nanosecond_100; -------------------- -- Nanosecond_100 -- -------------------- function Nanosecond_100 (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Nanosecond_100_Number is pragma Unreferenced (Self); begin return Nanosecond_100_Number (Matreshka.Internals.Calendars.Times.Nanosecond_100 (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Zone.Description)); end Nanosecond_100; ------------ -- Second -- ------------ function Second (Stamp : Time) return Second_Number is begin return Calendar.Second (Stamp); end Second; ------------ -- Second -- ------------ function Second (Stamp : Date_Time) return Second_Number is begin return Calendar.Second (Stamp); end Second; ------------ -- Second -- ------------ function Second (Stamp : Date_Time; Zone : Time_Zone) return Second_Number is begin return Calendar.Second (Stamp, Zone); end Second; ------------ -- Second -- ------------ function Second (Self : ISO_8601_Calendar'Class; Stamp : Time) return Second_Number is pragma Unreferenced (Self); begin return Second_Number (Matreshka.Internals.Calendars.Times.Second (Matreshka.Internals.Calendars.Relative_Time (Stamp), 0)); -- XXX Doesn't handle leap seconds, must be reviewed. end Second; ------------ -- Second -- ------------ function Second (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Second_Number is pragma Unreferenced (Self); begin return Second_Number (Matreshka.Internals.Calendars.Times.Second (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Local_Time_Zone)); end Second; ------------ -- Second -- ------------ function Second (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Second_Number is pragma Unreferenced (Self); begin return Second_Number (Matreshka.Internals.Calendars.Times.Second (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Zone.Description)); end Second; ----------- -- Split -- ----------- procedure Split (Stamp : Date; Year : out Year_Number; Month : out Month_Number; Day : out Day_Number) is begin Calendar.Split (Stamp, Year, Month, Day); end Split; ----------- -- Split -- ----------- procedure Split (Stamp : Date_Time; Year : out Year_Number; Month : out Month_Number; Day : out Day_Number; Hour : out Hour_Number; Minute : out Minute_Number; Second : out Second_Number; Nanosecond_100 : out Nanosecond_100_Number) is begin Calendar.Split (Stamp, Year, Month, Day, Hour, Minute, Second, Nanosecond_100); end Split; ----------- -- Split -- ----------- procedure Split (Stamp : Date_Time; Zone : Time_Zone; Year : out Year_Number; Month : out Month_Number; Day : out Day_Number; Hour : out Hour_Number; Minute : out Minute_Number; Second : out Second_Number; Nanosecond_100 : out Nanosecond_100_Number) is begin Calendar.Split (Zone, Stamp, Year, Month, Day, Hour, Minute, Second, Nanosecond_100); end Split; ----------- -- Split -- ----------- procedure Split (Self : ISO_8601_Calendar'Class; Stamp : Date; Year : out Year_Number; Month : out Month_Number; Day : out Day_Number) is pragma Unreferenced (Self); X : constant Matreshka.Internals.Calendars.Julian_Day_Number := Matreshka.Internals.Calendars.Julian_Day_Number (Stamp); begin -- XXX Can use Split from Grerorian package to retrieve components in -- one pass. Year := Year_Number (Matreshka.Internals.Calendars.Gregorian.Year (X)); Month := Month_Number (Matreshka.Internals.Calendars.Gregorian.Month (X)); Day := Day_Number (Matreshka.Internals.Calendars.Gregorian.Day (X)); end Split; ----------- -- Split -- ----------- procedure Split (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Year : out Year_Number; Month : out Month_Number; Day : out Day_Number; Hour : out Hour_Number; Minute : out Minute_Number; Second : out Second_Number; Nanosecond_100 : out Nanosecond_100_Number) is pragma Unreferenced (Self); -- This parameter is used for dispatching only. Julian_Day : Matreshka.Internals.Calendars.Julian_Day_Number; begin Matreshka.Internals.Calendars.Times.Split (Local_Time_Zone, Matreshka.Internals.Calendars.Absolute_Time (Stamp), Julian_Day, Matreshka.Internals.Calendars.Times.Hour_Number (Hour), Matreshka.Internals.Calendars.Times.Minute_Number (Minute), Matreshka.Internals.Calendars.Times.Second_Number (Second), Matreshka.Internals.Calendars.Times.Nano_second_100_Number (Nanosecond_100)); Matreshka.Internals.Calendars.Gregorian.Split (Julian_Day, Matreshka.Internals.Calendars.Gregorian.Year_Number (Year), Matreshka.Internals.Calendars.Gregorian.Month_Number (Month), Matreshka.Internals.Calendars.Gregorian.Day_Number (Day)); end Split; ----------- -- Split -- ----------- procedure Split (Self : ISO_8601_Calendar'Class; Zone : Time_Zone; Stamp : Date_Time; Year : out Year_Number; Month : out Month_Number; Day : out Day_Number; Hour : out Hour_Number; Minute : out Minute_Number; Second : out Second_Number; Nanosecond_100 : out Nanosecond_100_Number) is pragma Unreferenced (Self); -- This parameter is used for dispatching only. Julian_Day : Matreshka.Internals.Calendars.Julian_Day_Number; begin Matreshka.Internals.Calendars.Times.Split (Zone.Description, Matreshka.Internals.Calendars.Absolute_Time (Stamp), Julian_Day, Matreshka.Internals.Calendars.Times.Hour_Number (Hour), Matreshka.Internals.Calendars.Times.Minute_Number (Minute), Matreshka.Internals.Calendars.Times.Second_Number (Second), Matreshka.Internals.Calendars.Times.Nano_second_100_Number (Nanosecond_100)); Matreshka.Internals.Calendars.Gregorian.Split (Julian_Day, Matreshka.Internals.Calendars.Gregorian.Year_Number (Year), Matreshka.Internals.Calendars.Gregorian.Month_Number (Month), Matreshka.Internals.Calendars.Gregorian.Day_Number (Day)); end Split; ------------------- -- To_Julian_Day -- ------------------- function To_Julian_Day (Stamp : Date) return Integer is begin return Calendar.To_Julian_Day (Stamp); end To_Julian_Day; ------------------- -- To_Julian_Day -- ------------------- function To_Julian_Day (Stamp : Date_Time) return Integer is begin return Calendar.To_Julian_Day (Stamp); end To_Julian_Day; ------------------- -- To_Julian_Day -- ------------------- function To_Julian_Day (Stamp : Date_Time; Zone : Time_Zone) return Integer is begin return Calendar.To_Julian_Day (Stamp, Zone); end To_Julian_Day; ------------------- -- To_Julian_Day -- ------------------- function To_Julian_Day (Self : ISO_8601_Calendar'Class; Stamp : Date) return Integer is pragma Unreferenced (Self); begin return Integer (Stamp); end To_Julian_Day; ------------------- -- To_Julian_Day -- ------------------- function To_Julian_Day (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Integer is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; return 0; end To_Julian_Day; ------------------- -- To_Julian_Day -- ------------------- function To_Julian_Day (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Integer is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; return 0; end To_Julian_Day; ------------------ -- Week_Of_Year -- ------------------ function Week_Of_Year (Stamp : Date) return Week_Of_Year_Number is begin return Calendar.Week_Of_Year (Stamp); end Week_Of_Year; ------------------ -- Week_Of_Year -- ------------------ procedure Week_Of_Year (Stamp : Date; Week : out Week_Of_Year_Number; Year : out Year_Number) is begin Calendar.Week_Of_Year (Stamp, Week, Year); end Week_Of_Year; ------------------ -- Week_Of_Year -- ------------------ procedure Week_Of_Year (Stamp : Date_Time; Week : out Week_Of_Year_Number; Year : out Year_Number) is begin Calendar.Week_Of_Year (Stamp, Week, Year); end Week_Of_Year; ------------------ -- Week_Of_Year -- ------------------ procedure Week_Of_Year (Stamp : Date_Time; Zone : Time_Zone; Week : out Week_Of_Year_Number; Year : out Year_Number) is begin Calendar.Week_Of_Year (Stamp, Zone, Week, Year); end Week_Of_Year; ------------------ -- Week_Of_Year -- ------------------ function Week_Of_Year (Stamp : Date_Time) return Week_Of_Year_Number is begin return Calendar.Week_Of_Year (Stamp); end Week_Of_Year; ------------------ -- Week_Of_Year -- ------------------ function Week_Of_Year (Stamp : Date_Time; Zone : Time_Zone) return Week_Of_Year_Number is begin return Calendar.Week_Of_Year (Stamp, Zone); end Week_Of_Year; ------------------ -- Week_Of_Year -- ------------------ function Week_Of_Year (Self : ISO_8601_Calendar'Class; Stamp : Date) return Week_Of_Year_Number is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; return 1; end Week_Of_Year; ------------------ -- Week_Of_Year -- ------------------ procedure Week_Of_Year (Self : ISO_8601_Calendar'Class; Stamp : Date; Week : out Week_Of_Year_Number; Year : out Year_Number) is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; end Week_Of_Year; ------------------ -- Week_Of_Year -- ------------------ function Week_Of_Year (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Week_Of_Year_Number is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; return 1; end Week_Of_Year; ------------------ -- Week_Of_Year -- ------------------ procedure Week_Of_Year (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Week : out Week_Of_Year_Number; Year : out Year_Number) is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; end Week_Of_Year; ------------------ -- Week_Of_Year -- ------------------ function Week_Of_Year (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Week_Of_Year_Number is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; return 1; end Week_Of_Year; ------------------ -- Week_Of_Year -- ------------------ procedure Week_Of_Year (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone; Week : out Week_Of_Year_Number; Year : out Year_Number) is pragma Unreferenced (Self); begin -- XXX Not yet implemented. raise Program_Error; end Week_Of_Year; ---------- -- Year -- ---------- function Year (Stamp : Date) return Year_Number is begin return Calendar.Year (Stamp); end Year; ---------- -- Year -- ---------- function Year (Stamp : Date_Time) return Year_Number is begin return Calendar.Year (Stamp); end Year; ---------- -- Year -- ---------- function Year (Stamp : Date_Time; Zone : Time_Zone) return Year_Number is begin return Calendar.Year (Stamp, Zone); end Year; ---------- -- Year -- ---------- function Year (Self : ISO_8601_Calendar'Class; Stamp : Date) return Year_Number is pragma Unreferenced (Self); begin return Year_Number (Matreshka.Internals.Calendars.Gregorian.Year (Matreshka.Internals.Calendars.Julian_Day_Number (Stamp))); end Year; ---------- -- Year -- ---------- function Year (Self : ISO_8601_Calendar'Class; Stamp : Date_Time) return Year_Number is pragma Unreferenced (Self); begin return Year_Number (Matreshka.Internals.Calendars.Gregorian.Year (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Local_Time_Zone))); end Year; ---------- -- Year -- ---------- function Year (Self : ISO_8601_Calendar'Class; Stamp : Date_Time; Zone : Time_Zone) return Year_Number is pragma Unreferenced (Self); begin return Year_Number (Matreshka.Internals.Calendars.Gregorian.Year (Matreshka.Internals.Calendars.Times.Julian_Day (Matreshka.Internals.Calendars.Absolute_Time (Stamp), Zone.Description))); end Year; end League.Calendars.ISO_8601;
with Ada.Text_IO; use Ada.Text_IO; with Dates; use Dates; procedure Exemple_Dates is Une_Date : T_Date; begin -- Initialiser une date Initialiser (Une_Date, 1, OCTOBRE, 2018); -- L'afficher Afficher (Une_Date); New_Line; end Exemple_Dates;
-- -- Copyright (C) 2017, AdaCore -- -- This spec has been automatically generated from ATSAM4SD32C.svd pragma Ada_2012; pragma Style_Checks (Off); with System; package Interfaces.SAM.SYSC is pragma Preelaborate; pragma No_Elaboration_Code_All; --------------- -- Registers -- --------------- -- General Purpose Backup Register -- General Purpose Backup Register type GPBR_GPBR_Registers is array (0 .. 7) of Interfaces.SAM.UInt32 with Volatile; subtype RSTC_CR_KEY_Field is Interfaces.SAM.Byte; -- Control Register type RSTC_CR_Register is record -- Write-only. Processor Reset PROCRST : Boolean := False; -- unspecified Reserved_1_1 : Interfaces.SAM.Bit := 16#0#; -- Write-only. Peripheral Reset PERRST : Boolean := False; -- Write-only. External Reset EXTRST : Boolean := False; -- unspecified Reserved_4_23 : Interfaces.SAM.UInt20 := 16#0#; -- Write-only. System Reset Key KEY : RSTC_CR_KEY_Field := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RSTC_CR_Register use record PROCRST at 0 range 0 .. 0; Reserved_1_1 at 0 range 1 .. 1; PERRST at 0 range 2 .. 2; EXTRST at 0 range 3 .. 3; Reserved_4_23 at 0 range 4 .. 23; KEY at 0 range 24 .. 31; end record; subtype RSTC_SR_RSTTYP_Field is Interfaces.SAM.UInt3; -- Status Register type RSTC_SR_Register is record -- Read-only. User Reset Status URSTS : Boolean; -- unspecified Reserved_1_7 : Interfaces.SAM.UInt7; -- Read-only. Reset Type RSTTYP : RSTC_SR_RSTTYP_Field; -- unspecified Reserved_11_15 : Interfaces.SAM.UInt5; -- Read-only. NRST Pin Level NRSTL : Boolean; -- Read-only. Software Reset Command in Progress SRCMP : Boolean; -- unspecified Reserved_18_31 : Interfaces.SAM.UInt14; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RSTC_SR_Register use record URSTS at 0 range 0 .. 0; Reserved_1_7 at 0 range 1 .. 7; RSTTYP at 0 range 8 .. 10; Reserved_11_15 at 0 range 11 .. 15; NRSTL at 0 range 16 .. 16; SRCMP at 0 range 17 .. 17; Reserved_18_31 at 0 range 18 .. 31; end record; subtype RSTC_MR_ERSTL_Field is Interfaces.SAM.UInt4; subtype RSTC_MR_KEY_Field is Interfaces.SAM.Byte; -- Mode Register type RSTC_MR_Register is record -- User Reset Enable URSTEN : Boolean := True; -- unspecified Reserved_1_3 : Interfaces.SAM.UInt3 := 16#0#; -- User Reset Interrupt Enable URSTIEN : Boolean := False; -- unspecified Reserved_5_7 : Interfaces.SAM.UInt3 := 16#0#; -- External Reset Length ERSTL : RSTC_MR_ERSTL_Field := 16#0#; -- unspecified Reserved_12_23 : Interfaces.SAM.UInt12 := 16#0#; -- Password KEY : RSTC_MR_KEY_Field := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RSTC_MR_Register use record URSTEN at 0 range 0 .. 0; Reserved_1_3 at 0 range 1 .. 3; URSTIEN at 0 range 4 .. 4; Reserved_5_7 at 0 range 5 .. 7; ERSTL at 0 range 8 .. 11; Reserved_12_23 at 0 range 12 .. 23; KEY at 0 range 24 .. 31; end record; -- Time Event Selection type CR_TIMEVSEL_Field is ( -- Minute change Minute, -- Hour change Hour, -- Every day at midnight Midnight, -- Every day at noon Noon) with Size => 2; for CR_TIMEVSEL_Field use (Minute => 0, Hour => 1, Midnight => 2, Noon => 3); -- Calendar Event Selection type CR_CALEVSEL_Field is ( -- Week change (every Monday at time 00:00:00) Week, -- Month change (every 01 of each month at time 00:00:00) Month, -- Year change (every January 1 at time 00:00:00) Year) with Size => 2; for CR_CALEVSEL_Field use (Week => 0, Month => 1, Year => 2); -- Control Register type RTC_CR_Register is record -- Update Request Time Register UPDTIM : Boolean := False; -- Update Request Calendar Register UPDCAL : Boolean := False; -- unspecified Reserved_2_7 : Interfaces.SAM.UInt6 := 16#0#; -- Time Event Selection TIMEVSEL : CR_TIMEVSEL_Field := Interfaces.SAM.SYSC.Minute; -- unspecified Reserved_10_15 : Interfaces.SAM.UInt6 := 16#0#; -- Calendar Event Selection CALEVSEL : CR_CALEVSEL_Field := Interfaces.SAM.SYSC.Week; -- unspecified Reserved_18_31 : Interfaces.SAM.UInt14 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTC_CR_Register use record UPDTIM at 0 range 0 .. 0; UPDCAL at 0 range 1 .. 1; Reserved_2_7 at 0 range 2 .. 7; TIMEVSEL at 0 range 8 .. 9; Reserved_10_15 at 0 range 10 .. 15; CALEVSEL at 0 range 16 .. 17; Reserved_18_31 at 0 range 18 .. 31; end record; subtype RTC_MR_CORRECTION_Field is Interfaces.SAM.UInt7; -- RTCOUT0 Output Source Selection type MR_OUT0_Field is ( -- no waveform, stuck at '0' No_Wave, -- 1 Hz square wave Freq1Hz, -- 32 Hz square wave Freq32Hz, -- 64 Hz square wave Freq64Hz, -- 512 Hz square wave Freq512Hz, -- output toggles when alarm flag rises Alarm_Toggle, -- output is a copy of the alarm flag Alarm_Flag, -- duty cycle programmable pulse Prog_Pulse) with Size => 3; for MR_OUT0_Field use (No_Wave => 0, Freq1Hz => 1, Freq32Hz => 2, Freq64Hz => 3, Freq512Hz => 4, Alarm_Toggle => 5, Alarm_Flag => 6, Prog_Pulse => 7); -- RTCOUT1 Output Source Selection type MR_OUT1_Field is ( -- no waveform, stuck at '0' No_Wave, -- 1 Hz square wave Freq1Hz, -- 32 Hz square wave Freq32Hz, -- 64 Hz square wave Freq64Hz, -- 512 Hz square wave Freq512Hz, -- output toggles when alarm flag rises Alarm_Toggle, -- output is a copy of the alarm flag Alarm_Flag, -- duty cycle programmable pulse Prog_Pulse) with Size => 3; for MR_OUT1_Field use (No_Wave => 0, Freq1Hz => 1, Freq32Hz => 2, Freq64Hz => 3, Freq512Hz => 4, Alarm_Toggle => 5, Alarm_Flag => 6, Prog_Pulse => 7); -- High Duration of the Output Pulse type MR_THIGH_Field is ( -- 31.2 ms H_31Ms, -- 15.6 ms H_16Ms, -- 3.91 Lms H_4Ms, -- 976 us H_976Us, -- 488 us H_488Us, -- 122 us H_122Us, -- 30.5 us H_30Us, -- 15.2 us H_15Us) with Size => 3; for MR_THIGH_Field use (H_31Ms => 0, H_16Ms => 1, H_4Ms => 2, H_976Us => 3, H_488Us => 4, H_122Us => 5, H_30Us => 6, H_15Us => 7); -- Period of the Output Pulse type MR_TPERIOD_Field is ( -- 1 second P_1S, -- 500 ms P_500Ms, -- 250 ms P_250Ms, -- 125 ms P_125Ms) with Size => 2; for MR_TPERIOD_Field use (P_1S => 0, P_500Ms => 1, P_250Ms => 2, P_125Ms => 3); -- Mode Register type RTC_MR_Register is record -- 12-/24-hour Mode HRMOD : Boolean := False; -- PERSIAN Calendar PERSIAN : Boolean := False; -- unspecified Reserved_2_3 : Interfaces.SAM.UInt2 := 16#0#; -- NEGative PPM Correction NEGPPM : Boolean := False; -- unspecified Reserved_5_7 : Interfaces.SAM.UInt3 := 16#0#; -- Slow Clock Correction CORRECTION : RTC_MR_CORRECTION_Field := 16#0#; -- HIGH PPM Correction HIGHPPM : Boolean := False; -- RTCOUT0 Output Source Selection OUT0 : MR_OUT0_Field := Interfaces.SAM.SYSC.No_Wave; -- unspecified Reserved_19_19 : Interfaces.SAM.Bit := 16#0#; -- RTCOUT1 Output Source Selection OUT1 : MR_OUT1_Field := Interfaces.SAM.SYSC.No_Wave; -- unspecified Reserved_23_23 : Interfaces.SAM.Bit := 16#0#; -- High Duration of the Output Pulse THIGH : MR_THIGH_Field := Interfaces.SAM.SYSC.H_31Ms; -- unspecified Reserved_27_27 : Interfaces.SAM.Bit := 16#0#; -- Period of the Output Pulse TPERIOD : MR_TPERIOD_Field := Interfaces.SAM.SYSC.P_1S; -- unspecified Reserved_30_31 : Interfaces.SAM.UInt2 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTC_MR_Register use record HRMOD at 0 range 0 .. 0; PERSIAN at 0 range 1 .. 1; Reserved_2_3 at 0 range 2 .. 3; NEGPPM at 0 range 4 .. 4; Reserved_5_7 at 0 range 5 .. 7; CORRECTION at 0 range 8 .. 14; HIGHPPM at 0 range 15 .. 15; OUT0 at 0 range 16 .. 18; Reserved_19_19 at 0 range 19 .. 19; OUT1 at 0 range 20 .. 22; Reserved_23_23 at 0 range 23 .. 23; THIGH at 0 range 24 .. 26; Reserved_27_27 at 0 range 27 .. 27; TPERIOD at 0 range 28 .. 29; Reserved_30_31 at 0 range 30 .. 31; end record; subtype RTC_TIMR_SEC_Field is Interfaces.SAM.UInt7; subtype RTC_TIMR_MIN_Field is Interfaces.SAM.UInt7; subtype RTC_TIMR_HOUR_Field is Interfaces.SAM.UInt6; -- Time Register type RTC_TIMR_Register is record -- Current Second SEC : RTC_TIMR_SEC_Field := 16#0#; -- unspecified Reserved_7_7 : Interfaces.SAM.Bit := 16#0#; -- Current Minute MIN : RTC_TIMR_MIN_Field := 16#0#; -- unspecified Reserved_15_15 : Interfaces.SAM.Bit := 16#0#; -- Current Hour HOUR : RTC_TIMR_HOUR_Field := 16#0#; -- Ante Meridiem Post Meridiem Indicator AMPM : Boolean := False; -- unspecified Reserved_23_31 : Interfaces.SAM.UInt9 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTC_TIMR_Register use record SEC at 0 range 0 .. 6; Reserved_7_7 at 0 range 7 .. 7; MIN at 0 range 8 .. 14; Reserved_15_15 at 0 range 15 .. 15; HOUR at 0 range 16 .. 21; AMPM at 0 range 22 .. 22; Reserved_23_31 at 0 range 23 .. 31; end record; subtype RTC_CALR_CENT_Field is Interfaces.SAM.UInt7; subtype RTC_CALR_YEAR_Field is Interfaces.SAM.Byte; subtype RTC_CALR_MONTH_Field is Interfaces.SAM.UInt5; subtype RTC_CALR_DAY_Field is Interfaces.SAM.UInt3; subtype RTC_CALR_DATE_Field is Interfaces.SAM.UInt6; -- Calendar Register type RTC_CALR_Register is record -- Current Century CENT : RTC_CALR_CENT_Field := 16#20#; -- unspecified Reserved_7_7 : Interfaces.SAM.Bit := 16#0#; -- Current Year YEAR : RTC_CALR_YEAR_Field := 16#10#; -- Current Month MONTH : RTC_CALR_MONTH_Field := 16#1#; -- Current Day in Current Week DAY : RTC_CALR_DAY_Field := 16#5#; -- Current Day in Current Month DATE : RTC_CALR_DATE_Field := 16#1#; -- unspecified Reserved_30_31 : Interfaces.SAM.UInt2 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTC_CALR_Register use record CENT at 0 range 0 .. 6; Reserved_7_7 at 0 range 7 .. 7; YEAR at 0 range 8 .. 15; MONTH at 0 range 16 .. 20; DAY at 0 range 21 .. 23; DATE at 0 range 24 .. 29; Reserved_30_31 at 0 range 30 .. 31; end record; subtype RTC_TIMALR_SEC_Field is Interfaces.SAM.UInt7; subtype RTC_TIMALR_MIN_Field is Interfaces.SAM.UInt7; subtype RTC_TIMALR_HOUR_Field is Interfaces.SAM.UInt6; -- Time Alarm Register type RTC_TIMALR_Register is record -- Second Alarm SEC : RTC_TIMALR_SEC_Field := 16#0#; -- Second Alarm Enable SECEN : Boolean := False; -- Minute Alarm MIN : RTC_TIMALR_MIN_Field := 16#0#; -- Minute Alarm Enable MINEN : Boolean := False; -- Hour Alarm HOUR : RTC_TIMALR_HOUR_Field := 16#0#; -- AM/PM Indicator AMPM : Boolean := False; -- Hour Alarm Enable HOUREN : Boolean := False; -- unspecified Reserved_24_31 : Interfaces.SAM.Byte := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTC_TIMALR_Register use record SEC at 0 range 0 .. 6; SECEN at 0 range 7 .. 7; MIN at 0 range 8 .. 14; MINEN at 0 range 15 .. 15; HOUR at 0 range 16 .. 21; AMPM at 0 range 22 .. 22; HOUREN at 0 range 23 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; subtype RTC_CALALR_MONTH_Field is Interfaces.SAM.UInt5; subtype RTC_CALALR_DATE_Field is Interfaces.SAM.UInt6; -- Calendar Alarm Register type RTC_CALALR_Register is record -- unspecified Reserved_0_15 : Interfaces.SAM.UInt16 := 16#0#; -- Month Alarm MONTH : RTC_CALALR_MONTH_Field := 16#1#; -- unspecified Reserved_21_22 : Interfaces.SAM.UInt2 := 16#0#; -- Month Alarm Enable MTHEN : Boolean := False; -- Date Alarm DATE : RTC_CALALR_DATE_Field := 16#1#; -- unspecified Reserved_30_30 : Interfaces.SAM.Bit := 16#0#; -- Date Alarm Enable DATEEN : Boolean := False; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTC_CALALR_Register use record Reserved_0_15 at 0 range 0 .. 15; MONTH at 0 range 16 .. 20; Reserved_21_22 at 0 range 21 .. 22; MTHEN at 0 range 23 .. 23; DATE at 0 range 24 .. 29; Reserved_30_30 at 0 range 30 .. 30; DATEEN at 0 range 31 .. 31; end record; -- Acknowledge for Update type SR_ACKUPD_Field is ( -- Time and calendar registers cannot be updated. Freerun, -- Time and calendar registers can be updated. Update) with Size => 1; for SR_ACKUPD_Field use (Freerun => 0, Update => 1); -- Alarm Flag type SR_ALARM_Field is ( -- No alarm matching condition occurred. No_Alarmevent, -- An alarm matching condition has occurred. Alarmevent) with Size => 1; for SR_ALARM_Field use (No_Alarmevent => 0, Alarmevent => 1); -- Second Event type SR_SEC_Field is ( -- No second event has occurred since the last clear. No_Secevent, -- At least one second event has occurred since the last clear. Secevent) with Size => 1; for SR_SEC_Field use (No_Secevent => 0, Secevent => 1); -- Time Event type SR_TIMEV_Field is ( -- No time event has occurred since the last clear. No_Timevent, -- At least one time event has occurred since the last clear. Timevent) with Size => 1; for SR_TIMEV_Field use (No_Timevent => 0, Timevent => 1); -- Calendar Event type SR_CALEV_Field is ( -- No calendar event has occurred since the last clear. No_Calevent, -- At least one calendar event has occurred since the last clear. Calevent) with Size => 1; for SR_CALEV_Field use (No_Calevent => 0, Calevent => 1); -- Time and/or Date Free Running Error type SR_TDERR_Field is ( -- The internal free running counters are carrying valid values since -- the last read of RTC_SR. Correct, -- The internal free running counters have been corrupted (invalid date -- or time, non-BCD values) since the last read and/or they are still -- invalid. Err_Timedate) with Size => 1; for SR_TDERR_Field use (Correct => 0, Err_Timedate => 1); -- Status Register type RTC_SR_Register is record -- Read-only. Acknowledge for Update ACKUPD : SR_ACKUPD_Field; -- Read-only. Alarm Flag ALARM : SR_ALARM_Field; -- Read-only. Second Event SEC : SR_SEC_Field; -- Read-only. Time Event TIMEV : SR_TIMEV_Field; -- Read-only. Calendar Event CALEV : SR_CALEV_Field; -- Read-only. Time and/or Date Free Running Error TDERR : SR_TDERR_Field; -- unspecified Reserved_6_31 : Interfaces.SAM.UInt26; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTC_SR_Register use record ACKUPD at 0 range 0 .. 0; ALARM at 0 range 1 .. 1; SEC at 0 range 2 .. 2; TIMEV at 0 range 3 .. 3; CALEV at 0 range 4 .. 4; TDERR at 0 range 5 .. 5; Reserved_6_31 at 0 range 6 .. 31; end record; -- Status Clear Command Register type RTC_SCCR_Register is record -- Write-only. Acknowledge Clear ACKCLR : Boolean := False; -- Write-only. Alarm Clear ALRCLR : Boolean := False; -- Write-only. Second Clear SECCLR : Boolean := False; -- Write-only. Time Clear TIMCLR : Boolean := False; -- Write-only. Calendar Clear CALCLR : Boolean := False; -- Write-only. Time and/or Date Free Running Error Clear TDERRCLR : Boolean := False; -- unspecified Reserved_6_31 : Interfaces.SAM.UInt26 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTC_SCCR_Register use record ACKCLR at 0 range 0 .. 0; ALRCLR at 0 range 1 .. 1; SECCLR at 0 range 2 .. 2; TIMCLR at 0 range 3 .. 3; CALCLR at 0 range 4 .. 4; TDERRCLR at 0 range 5 .. 5; Reserved_6_31 at 0 range 6 .. 31; end record; -- Interrupt Enable Register type RTC_IER_Register is record -- Write-only. Acknowledge Update Interrupt Enable ACKEN : Boolean := False; -- Write-only. Alarm Interrupt Enable ALREN : Boolean := False; -- Write-only. Second Event Interrupt Enable SECEN : Boolean := False; -- Write-only. Time Event Interrupt Enable TIMEN : Boolean := False; -- Write-only. Calendar Event Interrupt Enable CALEN : Boolean := False; -- Write-only. Time and/or Date Error Interrupt Enable TDERREN : Boolean := False; -- unspecified Reserved_6_31 : Interfaces.SAM.UInt26 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTC_IER_Register use record ACKEN at 0 range 0 .. 0; ALREN at 0 range 1 .. 1; SECEN at 0 range 2 .. 2; TIMEN at 0 range 3 .. 3; CALEN at 0 range 4 .. 4; TDERREN at 0 range 5 .. 5; Reserved_6_31 at 0 range 6 .. 31; end record; -- Interrupt Disable Register type RTC_IDR_Register is record -- Write-only. Acknowledge Update Interrupt Disable ACKDIS : Boolean := False; -- Write-only. Alarm Interrupt Disable ALRDIS : Boolean := False; -- Write-only. Second Event Interrupt Disable SECDIS : Boolean := False; -- Write-only. Time Event Interrupt Disable TIMDIS : Boolean := False; -- Write-only. Calendar Event Interrupt Disable CALDIS : Boolean := False; -- Write-only. Time and/or Date Error Interrupt Disable TDERRDIS : Boolean := False; -- unspecified Reserved_6_31 : Interfaces.SAM.UInt26 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTC_IDR_Register use record ACKDIS at 0 range 0 .. 0; ALRDIS at 0 range 1 .. 1; SECDIS at 0 range 2 .. 2; TIMDIS at 0 range 3 .. 3; CALDIS at 0 range 4 .. 4; TDERRDIS at 0 range 5 .. 5; Reserved_6_31 at 0 range 6 .. 31; end record; -- Interrupt Mask Register type RTC_IMR_Register is record -- Read-only. Acknowledge Update Interrupt Mask ACK : Boolean; -- Read-only. Alarm Interrupt Mask ALR : Boolean; -- Read-only. Second Event Interrupt Mask SEC : Boolean; -- Read-only. Time Event Interrupt Mask TIM : Boolean; -- Read-only. Calendar Event Interrupt Mask CAL : Boolean; -- unspecified Reserved_5_31 : Interfaces.SAM.UInt27; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTC_IMR_Register use record ACK at 0 range 0 .. 0; ALR at 0 range 1 .. 1; SEC at 0 range 2 .. 2; TIM at 0 range 3 .. 3; CAL at 0 range 4 .. 4; Reserved_5_31 at 0 range 5 .. 31; end record; -- Valid Entry Register type RTC_VER_Register is record -- Read-only. Non-valid Time NVTIM : Boolean; -- Read-only. Non-valid Calendar NVCAL : Boolean; -- Read-only. Non-valid Time Alarm NVTIMALR : Boolean; -- Read-only. Non-valid Calendar Alarm NVCALALR : Boolean; -- unspecified Reserved_4_31 : Interfaces.SAM.UInt28; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTC_VER_Register use record NVTIM at 0 range 0 .. 0; NVCAL at 0 range 1 .. 1; NVTIMALR at 0 range 2 .. 2; NVCALALR at 0 range 3 .. 3; Reserved_4_31 at 0 range 4 .. 31; end record; subtype RTT_MR_RTPRES_Field is Interfaces.SAM.UInt16; -- Mode Register type RTT_MR_Register is record -- Real-time Timer Prescaler Value RTPRES : RTT_MR_RTPRES_Field := 16#8000#; -- Alarm Interrupt Enable ALMIEN : Boolean := False; -- Real-time Timer Increment Interrupt Enable RTTINCIEN : Boolean := False; -- Real-time Timer Restart RTTRST : Boolean := False; -- unspecified Reserved_19_19 : Interfaces.SAM.Bit := 16#0#; -- Real-time Timer Disable RTTDIS : Boolean := False; -- unspecified Reserved_21_23 : Interfaces.SAM.UInt3 := 16#0#; -- Real-Time Clock 1Hz Clock Selection RTC1HZ : Boolean := False; -- unspecified Reserved_25_31 : Interfaces.SAM.UInt7 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTT_MR_Register use record RTPRES at 0 range 0 .. 15; ALMIEN at 0 range 16 .. 16; RTTINCIEN at 0 range 17 .. 17; RTTRST at 0 range 18 .. 18; Reserved_19_19 at 0 range 19 .. 19; RTTDIS at 0 range 20 .. 20; Reserved_21_23 at 0 range 21 .. 23; RTC1HZ at 0 range 24 .. 24; Reserved_25_31 at 0 range 25 .. 31; end record; -- Status Register type RTT_SR_Register is record -- Read-only. Real-time Alarm Status ALMS : Boolean; -- Read-only. Real-time Timer Increment RTTINC : Boolean; -- unspecified Reserved_2_31 : Interfaces.SAM.UInt30; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTT_SR_Register use record ALMS at 0 range 0 .. 0; RTTINC at 0 range 1 .. 1; Reserved_2_31 at 0 range 2 .. 31; end record; -- Voltage Regulator Off type CR_VROFF_Field is ( -- no effect. No_Effect, -- if KEY is correct, asserts vddcore_nreset and stops the voltage -- regulator. Stop_Vreg) with Size => 1; for CR_VROFF_Field use (No_Effect => 0, Stop_Vreg => 1); -- Crystal Oscillator Select type CR_XTALSEL_Field is ( -- no effect. No_Effect, -- if KEY is correct, switches the slow clock on the crystal oscillator -- output. Crystal_Sel) with Size => 1; for CR_XTALSEL_Field use (No_Effect => 0, Crystal_Sel => 1); subtype SUPC_CR_KEY_Field is Interfaces.SAM.Byte; -- Supply Controller Control Register type SUPC_CR_Register is record -- unspecified Reserved_0_1 : Interfaces.SAM.UInt2 := 16#0#; -- Write-only. Voltage Regulator Off VROFF : CR_VROFF_Field := Interfaces.SAM.SYSC.No_Effect; -- Write-only. Crystal Oscillator Select XTALSEL : CR_XTALSEL_Field := Interfaces.SAM.SYSC.No_Effect; -- unspecified Reserved_4_23 : Interfaces.SAM.UInt20 := 16#0#; -- Write-only. Password KEY : SUPC_CR_KEY_Field := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SUPC_CR_Register use record Reserved_0_1 at 0 range 0 .. 1; VROFF at 0 range 2 .. 2; XTALSEL at 0 range 3 .. 3; Reserved_4_23 at 0 range 4 .. 23; KEY at 0 range 24 .. 31; end record; subtype SUPC_SMMR_SMTH_Field is Interfaces.SAM.UInt4; -- Supply Monitor Sampling Period type SMMR_SMSMPL_Field is ( -- Supply Monitor disabled Smd, -- Continuous Supply Monitor Csm, -- Supply Monitor enabled one SLCK period every 32 SLCK periods SMMR_SMSMPL_Field_32Slck, -- Supply Monitor enabled one SLCK period every 256 SLCK periods SMMR_SMSMPL_Field_256Slck, -- Supply Monitor enabled one SLCK period every 2,048 SLCK periods SMMR_SMSMPL_Field_2048Slck) with Size => 3; for SMMR_SMSMPL_Field use (Smd => 0, Csm => 1, SMMR_SMSMPL_Field_32Slck => 2, SMMR_SMSMPL_Field_256Slck => 3, SMMR_SMSMPL_Field_2048Slck => 4); -- Supply Monitor Reset Enable type SMMR_SMRSTEN_Field is ( -- the core reset signal "vddcore_nreset" is not affected when a supply -- monitor detection occurs. Not_Enable, -- the core reset signal, vddcore_nreset is asserted when a supply -- monitor detection occurs. Enable) with Size => 1; for SMMR_SMRSTEN_Field use (Not_Enable => 0, Enable => 1); -- Supply Monitor Interrupt Enable type SMMR_SMIEN_Field is ( -- the SUPC interrupt signal is not affected when a supply monitor -- detection occurs. Not_Enable, -- the SUPC interrupt signal is asserted when a supply monitor detection -- occurs. Enable) with Size => 1; for SMMR_SMIEN_Field use (Not_Enable => 0, Enable => 1); -- Supply Controller Supply Monitor Mode Register type SUPC_SMMR_Register is record -- Supply Monitor Threshold SMTH : SUPC_SMMR_SMTH_Field := 16#0#; -- unspecified Reserved_4_7 : Interfaces.SAM.UInt4 := 16#0#; -- Supply Monitor Sampling Period SMSMPL : SMMR_SMSMPL_Field := Interfaces.SAM.SYSC.Smd; -- unspecified Reserved_11_11 : Interfaces.SAM.Bit := 16#0#; -- Supply Monitor Reset Enable SMRSTEN : SMMR_SMRSTEN_Field := Interfaces.SAM.SYSC.Not_Enable; -- Supply Monitor Interrupt Enable SMIEN : SMMR_SMIEN_Field := Interfaces.SAM.SYSC.Not_Enable; -- unspecified Reserved_14_31 : Interfaces.SAM.UInt18 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SUPC_SMMR_Register use record SMTH at 0 range 0 .. 3; Reserved_4_7 at 0 range 4 .. 7; SMSMPL at 0 range 8 .. 10; Reserved_11_11 at 0 range 11 .. 11; SMRSTEN at 0 range 12 .. 12; SMIEN at 0 range 13 .. 13; Reserved_14_31 at 0 range 14 .. 31; end record; -- Brownout Detector Reset Enable type MR_BODRSTEN_Field is ( -- the core reset signal "vddcore_nreset" is not affected when a -- brownout detection occurs. Not_Enable, -- the core reset signal, vddcore_nreset is asserted when a brownout -- detection occurs. Enable) with Size => 1; for MR_BODRSTEN_Field use (Not_Enable => 0, Enable => 1); -- Brownout Detector Disable type MR_BODDIS_Field is ( -- the core brownout detector is enabled. Enable, -- the core brownout detector is disabled. Disable) with Size => 1; for MR_BODDIS_Field use (Enable => 0, Disable => 1); -- Voltage Regulator enable type MR_ONREG_Field is ( -- Internal voltage regulator is not used (external power supply is -- used) Onreg_Unused, -- internal voltage regulator is used Onreg_Used) with Size => 1; for MR_ONREG_Field use (Onreg_Unused => 0, Onreg_Used => 1); -- Oscillator Bypass type MR_OSCBYPASS_Field is ( -- no effect. Clock selection depends on XTALSEL value. No_Effect, -- the 32-KHz XTAL oscillator is selected and is put in bypass mode. Bypass) with Size => 1; for MR_OSCBYPASS_Field use (No_Effect => 0, Bypass => 1); subtype SUPC_MR_KEY_Field is Interfaces.SAM.Byte; -- Supply Controller Mode Register type SUPC_MR_Register is record -- unspecified Reserved_0_11 : Interfaces.SAM.UInt12 := 16#A00#; -- Brownout Detector Reset Enable BODRSTEN : MR_BODRSTEN_Field := Interfaces.SAM.SYSC.Enable; -- Brownout Detector Disable BODDIS : MR_BODDIS_Field := Interfaces.SAM.SYSC.Enable; -- Voltage Regulator enable ONREG : MR_ONREG_Field := Interfaces.SAM.SYSC.Onreg_Used; -- unspecified Reserved_15_19 : Interfaces.SAM.UInt5 := 16#0#; -- Oscillator Bypass OSCBYPASS : MR_OSCBYPASS_Field := Interfaces.SAM.SYSC.No_Effect; -- unspecified Reserved_21_23 : Interfaces.SAM.UInt3 := 16#0#; -- Password Key KEY : SUPC_MR_KEY_Field := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SUPC_MR_Register use record Reserved_0_11 at 0 range 0 .. 11; BODRSTEN at 0 range 12 .. 12; BODDIS at 0 range 13 .. 13; ONREG at 0 range 14 .. 14; Reserved_15_19 at 0 range 15 .. 19; OSCBYPASS at 0 range 20 .. 20; Reserved_21_23 at 0 range 21 .. 23; KEY at 0 range 24 .. 31; end record; -- Supply Monitor Wake Up Enable type WUMR_SMEN_Field is ( -- the supply monitor detection has no wake up effect. Not_Enable, -- the supply monitor detection forces the wake up of the core power -- supply. Enable) with Size => 1; for WUMR_SMEN_Field use (Not_Enable => 0, Enable => 1); -- Real Time Timer Wake Up Enable type WUMR_RTTEN_Field is ( -- the RTT alarm signal has no wake up effect. Not_Enable, -- the RTT alarm signal forces the wake up of the core power supply. Enable) with Size => 1; for WUMR_RTTEN_Field use (Not_Enable => 0, Enable => 1); -- Real Time Clock Wake Up Enable type WUMR_RTCEN_Field is ( -- the RTC alarm signal has no wake up effect. Not_Enable, -- the RTC alarm signal forces the wake up of the core power supply. Enable) with Size => 1; for WUMR_RTCEN_Field use (Not_Enable => 0, Enable => 1); -- Low power Debouncer ENable WKUP0 type WUMR_LPDBCEN0_Field is ( -- the WKUP0 input pin is not connected with low power debouncer. Not_Enable, -- the WKUP0 input pin is connected with low power debouncer and can -- force a core wake up. Enable) with Size => 1; for WUMR_LPDBCEN0_Field use (Not_Enable => 0, Enable => 1); -- Low power Debouncer ENable WKUP1 type WUMR_LPDBCEN1_Field is ( -- the WKUP1input pin is not connected with low power debouncer. Not_Enable, -- the WKUP1 input pin is connected with low power debouncer and can -- force a core wake up. Enable) with Size => 1; for WUMR_LPDBCEN1_Field use (Not_Enable => 0, Enable => 1); -- Low power Debouncer Clear type WUMR_LPDBCCLR_Field is ( -- a low power debounce event does not create an immediate clear on -- first half GPBR registers. Not_Enable, -- a low power debounce event on WKUP0 or WKUP1 generates an immediate -- clear on first half GPBR registers. Enable) with Size => 1; for WUMR_LPDBCCLR_Field use (Not_Enable => 0, Enable => 1); -- Wake Up Inputs Debouncer Period type WUMR_WKUPDBC_Field is ( -- Immediate, no debouncing, detected active at least on one Slow Clock -- edge. Immediate, -- WKUPx shall be in its active state for at least 3 SLCK periods WUMR_WKUPDBC_Field_3_Sclk, -- WKUPx shall be in its active state for at least 32 SLCK periods WUMR_WKUPDBC_Field_32_Sclk, -- WKUPx shall be in its active state for at least 512 SLCK periods WUMR_WKUPDBC_Field_512_Sclk, -- WKUPx shall be in its active state for at least 4,096 SLCK periods WUMR_WKUPDBC_Field_4096_Sclk, -- WKUPx shall be in its active state for at least 32,768 SLCK periods WUMR_WKUPDBC_Field_32768_Sclk) with Size => 3; for WUMR_WKUPDBC_Field use (Immediate => 0, WUMR_WKUPDBC_Field_3_Sclk => 1, WUMR_WKUPDBC_Field_32_Sclk => 2, WUMR_WKUPDBC_Field_512_Sclk => 3, WUMR_WKUPDBC_Field_4096_Sclk => 4, WUMR_WKUPDBC_Field_32768_Sclk => 5); -- Low Power DeBounCer Period type WUMR_LPDBC_Field is ( -- Disable the low power debouncer. Disable, -- WKUP0/1 in its active state for at least 2 RTCOUT0 periods WUMR_LPDBC_Field_2_Rtcout0, -- WKUP0/1 in its active state for at least 3 RTCOUT0 periods WUMR_LPDBC_Field_3_Rtcout0, -- WKUP0/1 in its active state for at least 4 RTCOUT0 periods WUMR_LPDBC_Field_4_Rtcout0, -- WKUP0/1 in its active state for at least 5 RTCOUT0 periods WUMR_LPDBC_Field_5_Rtcout0, -- WKUP0/1 in its active state for at least 6 RTCOUT0 periods WUMR_LPDBC_Field_6_Rtcout0, -- WKUP0/1 in its active state for at least 7 RTCOUT0 periods WUMR_LPDBC_Field_7_Rtcout0, -- WKUP0/1 in its active state for at least 8 RTCOUT0 periods WUMR_LPDBC_Field_8_Rtcout0) with Size => 3; for WUMR_LPDBC_Field use (Disable => 0, WUMR_LPDBC_Field_2_Rtcout0 => 1, WUMR_LPDBC_Field_3_Rtcout0 => 2, WUMR_LPDBC_Field_4_Rtcout0 => 3, WUMR_LPDBC_Field_5_Rtcout0 => 4, WUMR_LPDBC_Field_6_Rtcout0 => 5, WUMR_LPDBC_Field_7_Rtcout0 => 6, WUMR_LPDBC_Field_8_Rtcout0 => 7); -- Supply Controller Wake Up Mode Register type SUPC_WUMR_Register is record -- unspecified Reserved_0_0 : Interfaces.SAM.Bit := 16#0#; -- Supply Monitor Wake Up Enable SMEN : WUMR_SMEN_Field := Interfaces.SAM.SYSC.Not_Enable; -- Real Time Timer Wake Up Enable RTTEN : WUMR_RTTEN_Field := Interfaces.SAM.SYSC.Not_Enable; -- Real Time Clock Wake Up Enable RTCEN : WUMR_RTCEN_Field := Interfaces.SAM.SYSC.Not_Enable; -- unspecified Reserved_4_4 : Interfaces.SAM.Bit := 16#0#; -- Low power Debouncer ENable WKUP0 LPDBCEN0 : WUMR_LPDBCEN0_Field := Interfaces.SAM.SYSC.Not_Enable; -- Low power Debouncer ENable WKUP1 LPDBCEN1 : WUMR_LPDBCEN1_Field := Interfaces.SAM.SYSC.Not_Enable; -- Low power Debouncer Clear LPDBCCLR : WUMR_LPDBCCLR_Field := Interfaces.SAM.SYSC.Not_Enable; -- unspecified Reserved_8_11 : Interfaces.SAM.UInt4 := 16#0#; -- Wake Up Inputs Debouncer Period WKUPDBC : WUMR_WKUPDBC_Field := Interfaces.SAM.SYSC.Immediate; -- unspecified Reserved_15_15 : Interfaces.SAM.Bit := 16#0#; -- Low Power DeBounCer Period LPDBC : WUMR_LPDBC_Field := Interfaces.SAM.SYSC.Disable; -- unspecified Reserved_19_31 : Interfaces.SAM.UInt13 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SUPC_WUMR_Register use record Reserved_0_0 at 0 range 0 .. 0; SMEN at 0 range 1 .. 1; RTTEN at 0 range 2 .. 2; RTCEN at 0 range 3 .. 3; Reserved_4_4 at 0 range 4 .. 4; LPDBCEN0 at 0 range 5 .. 5; LPDBCEN1 at 0 range 6 .. 6; LPDBCCLR at 0 range 7 .. 7; Reserved_8_11 at 0 range 8 .. 11; WKUPDBC at 0 range 12 .. 14; Reserved_15_15 at 0 range 15 .. 15; LPDBC at 0 range 16 .. 18; Reserved_19_31 at 0 range 19 .. 31; end record; -- Wake Up Input Enable 0 type WUIR_WKUPEN0_Field is ( -- the corresponding wake-up input has no wake up effect. Disable, -- the corresponding wake-up input forces the wake up of the core power -- supply. Enable) with Size => 1; for WUIR_WKUPEN0_Field use (Disable => 0, Enable => 1); -- SUPC_WUIR_WKUPEN array type SUPC_WUIR_WKUPEN_Field_Array is array (0 .. 15) of WUIR_WKUPEN0_Field with Component_Size => 1, Size => 16; -- Type definition for SUPC_WUIR_WKUPEN type SUPC_WUIR_WKUPEN_Field (As_Array : Boolean := False) is record case As_Array is when False => -- WKUPEN as a value Val : Interfaces.SAM.UInt16; when True => -- WKUPEN as an array Arr : SUPC_WUIR_WKUPEN_Field_Array; end case; end record with Unchecked_Union, Size => 16; for SUPC_WUIR_WKUPEN_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- Wake Up Input Type 0 type WUIR_WKUPT0_Field is ( -- a low level for a period defined by WKUPDBC on the corresponding -- wake-up input forces the wake up of the core power supply. Low, -- a high level for a period defined by WKUPDBC on the correspond-ing -- wake-up input forces the wake up of the core power supply. High) with Size => 1; for WUIR_WKUPT0_Field use (Low => 0, High => 1); -- SUPC_WUIR_WKUPT array type SUPC_WUIR_WKUPT_Field_Array is array (0 .. 15) of WUIR_WKUPT0_Field with Component_Size => 1, Size => 16; -- Type definition for SUPC_WUIR_WKUPT type SUPC_WUIR_WKUPT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- WKUPT as a value Val : Interfaces.SAM.UInt16; when True => -- WKUPT as an array Arr : SUPC_WUIR_WKUPT_Field_Array; end case; end record with Unchecked_Union, Size => 16; for SUPC_WUIR_WKUPT_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- Supply Controller Wake Up Inputs Register type SUPC_WUIR_Register is record -- Wake Up Input Enable 0 WKUPEN : SUPC_WUIR_WKUPEN_Field := (As_Array => False, Val => 16#0#); -- Wake Up Input Type 0 WKUPT : SUPC_WUIR_WKUPT_Field := (As_Array => False, Val => 16#0#); end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SUPC_WUIR_Register use record WKUPEN at 0 range 0 .. 15; WKUPT at 0 range 16 .. 31; end record; -- WKUP Wake Up Status type SR_WKUPS_Field is ( -- no wake up due to the assertion of the WKUP pins has occurred since -- the last read of SUPC_SR. No, -- at least one wake up due to the assertion of the WKUP pins has -- occurred since the last read of SUPC_SR. Present) with Size => 1; for SR_WKUPS_Field use (No => 0, Present => 1); -- Supply Monitor Detection Wake Up Status type SR_SMWS_Field is ( -- no wake up due to a supply monitor detection has occurred since the -- last read of SUPC_SR. No, -- at least one wake up due to a supply monitor detection has occurred -- since the last read of SUPC_SR. Present) with Size => 1; for SR_SMWS_Field use (No => 0, Present => 1); -- Brownout Detector Reset Status type SR_BODRSTS_Field is ( -- no core brownout rising edge event has been detected since the last -- read of the SUPC_SR. No, -- at least one brownout output rising edge event has been detected -- since the last read of the SUPC_SR. Present) with Size => 1; for SR_BODRSTS_Field use (No => 0, Present => 1); -- Supply Monitor Reset Status type SR_SMRSTS_Field is ( -- no supply monitor detection has generated a core reset since the last -- read of the SUPC_SR. No, -- at least one supply monitor detection has generated a core reset -- since the last read of the SUPC_SR. Present) with Size => 1; for SR_SMRSTS_Field use (No => 0, Present => 1); -- Supply Monitor Status type SR_SMS_Field is ( -- no supply monitor detection since the last read of SUPC_SR. No, -- at least one supply monitor detection since the last read of SUPC_SR. Present) with Size => 1; for SR_SMS_Field use (No => 0, Present => 1); -- Supply Monitor Output Status type SR_SMOS_Field is ( -- the supply monitor detected VDDIO higher than its threshold at its -- last measurement. High, -- the supply monitor detected VDDIO lower than its threshold at its -- last measurement. Low) with Size => 1; for SR_SMOS_Field use (High => 0, Low => 1); -- 32-kHz Oscillator Selection Status type SR_OSCSEL_Field is ( -- the slow clock, SLCK is generated by the embedded 32-kHz RC -- oscillator. Rc, -- the slow clock, SLCK is generated by the 32-kHz crystal oscillator. Cryst) with Size => 1; for SR_OSCSEL_Field use (Rc => 0, Cryst => 1); -- Low Power Debouncer Wake Up Status on WKUP0 type SR_LPDBCS0_Field is ( -- no wake up due to the assertion of the WKUP0 pin has occurred since -- the last read of SUPC_SR. No, -- at least one wake up due to the assertion of the WKUP0 pin has -- occurred since the last read of SUPC_SR. Present) with Size => 1; for SR_LPDBCS0_Field use (No => 0, Present => 1); -- Low Power Debouncer Wake Up Status on WKUP1 type SR_LPDBCS1_Field is ( -- no wake up due to the assertion of the WKUP1 pin has occurred since -- the last read of SUPC_SR. No, -- at least one wake up due to the assertion of the WKUP1 pin has -- occurred since the last read of SUPC_SR. Present) with Size => 1; for SR_LPDBCS1_Field use (No => 0, Present => 1); -- WKUP Input Status 0 type SR_WKUPIS0_Field is ( -- the corresponding wake-up input is disabled, or was inactive at the -- time the debouncer triggered a wake up event. Dis, -- the corresponding wake-up input was active at the time the debouncer -- triggered a wake up event. En) with Size => 1; for SR_WKUPIS0_Field use (Dis => 0, En => 1); -- SUPC_SR_WKUPIS array type SUPC_SR_WKUPIS_Field_Array is array (0 .. 15) of SR_WKUPIS0_Field with Component_Size => 1, Size => 16; -- Type definition for SUPC_SR_WKUPIS type SUPC_SR_WKUPIS_Field (As_Array : Boolean := False) is record case As_Array is when False => -- WKUPIS as a value Val : Interfaces.SAM.UInt16; when True => -- WKUPIS as an array Arr : SUPC_SR_WKUPIS_Field_Array; end case; end record with Unchecked_Union, Size => 16; for SUPC_SR_WKUPIS_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- Supply Controller Status Register type SUPC_SR_Register is record -- unspecified Reserved_0_0 : Interfaces.SAM.Bit; -- Read-only. WKUP Wake Up Status WKUPS : SR_WKUPS_Field; -- Read-only. Supply Monitor Detection Wake Up Status SMWS : SR_SMWS_Field; -- Read-only. Brownout Detector Reset Status BODRSTS : SR_BODRSTS_Field; -- Read-only. Supply Monitor Reset Status SMRSTS : SR_SMRSTS_Field; -- Read-only. Supply Monitor Status SMS : SR_SMS_Field; -- Read-only. Supply Monitor Output Status SMOS : SR_SMOS_Field; -- Read-only. 32-kHz Oscillator Selection Status OSCSEL : SR_OSCSEL_Field; -- unspecified Reserved_8_12 : Interfaces.SAM.UInt5; -- Read-only. Low Power Debouncer Wake Up Status on WKUP0 LPDBCS0 : SR_LPDBCS0_Field; -- Read-only. Low Power Debouncer Wake Up Status on WKUP1 LPDBCS1 : SR_LPDBCS1_Field; -- unspecified Reserved_15_15 : Interfaces.SAM.Bit; -- Read-only. WKUP Input Status 0 WKUPIS : SUPC_SR_WKUPIS_Field; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for SUPC_SR_Register use record Reserved_0_0 at 0 range 0 .. 0; WKUPS at 0 range 1 .. 1; SMWS at 0 range 2 .. 2; BODRSTS at 0 range 3 .. 3; SMRSTS at 0 range 4 .. 4; SMS at 0 range 5 .. 5; SMOS at 0 range 6 .. 6; OSCSEL at 0 range 7 .. 7; Reserved_8_12 at 0 range 8 .. 12; LPDBCS0 at 0 range 13 .. 13; LPDBCS1 at 0 range 14 .. 14; Reserved_15_15 at 0 range 15 .. 15; WKUPIS at 0 range 16 .. 31; end record; subtype WDT_CR_KEY_Field is Interfaces.SAM.Byte; -- Control Register type WDT_CR_Register is record -- Write-only. Watchdog Restart WDRSTT : Boolean := False; -- unspecified Reserved_1_23 : Interfaces.SAM.UInt23 := 16#0#; -- Write-only. Password KEY : WDT_CR_KEY_Field := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for WDT_CR_Register use record WDRSTT at 0 range 0 .. 0; Reserved_1_23 at 0 range 1 .. 23; KEY at 0 range 24 .. 31; end record; subtype WDT_MR_WDV_Field is Interfaces.SAM.UInt12; subtype WDT_MR_WDD_Field is Interfaces.SAM.UInt12; -- Mode Register type WDT_MR_Register is record -- Watchdog Counter Value WDV : WDT_MR_WDV_Field := 16#FFF#; -- Watchdog Fault Interrupt Enable WDFIEN : Boolean := False; -- Watchdog Reset Enable WDRSTEN : Boolean := True; -- Watchdog Reset Processor WDRPROC : Boolean := False; -- Watchdog Disable WDDIS : Boolean := False; -- Watchdog Delta Value WDD : WDT_MR_WDD_Field := 16#FFF#; -- Watchdog Debug Halt WDDBGHLT : Boolean := True; -- Watchdog Idle Halt WDIDLEHLT : Boolean := True; -- unspecified Reserved_30_31 : Interfaces.SAM.UInt2 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for WDT_MR_Register use record WDV at 0 range 0 .. 11; WDFIEN at 0 range 12 .. 12; WDRSTEN at 0 range 13 .. 13; WDRPROC at 0 range 14 .. 14; WDDIS at 0 range 15 .. 15; WDD at 0 range 16 .. 27; WDDBGHLT at 0 range 28 .. 28; WDIDLEHLT at 0 range 29 .. 29; Reserved_30_31 at 0 range 30 .. 31; end record; -- Status Register type WDT_SR_Register is record -- Read-only. Watchdog Underflow WDUNF : Boolean; -- Read-only. Watchdog Error WDERR : Boolean; -- unspecified Reserved_2_31 : Interfaces.SAM.UInt30; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for WDT_SR_Register use record WDUNF at 0 range 0 .. 0; WDERR at 0 range 1 .. 1; Reserved_2_31 at 0 range 2 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- General Purpose Backup Register type GPBR_Peripheral is record -- General Purpose Backup Register GPBR : aliased GPBR_GPBR_Registers; end record with Volatile; for GPBR_Peripheral use record GPBR at 0 range 0 .. 255; end record; -- General Purpose Backup Register GPBR_Periph : aliased GPBR_Peripheral with Import, Address => System'To_Address (16#400E1490#); -- Reset Controller type RSTC_Peripheral is record -- Control Register CR : aliased RSTC_CR_Register; -- Status Register SR : aliased RSTC_SR_Register; -- Mode Register MR : aliased RSTC_MR_Register; end record with Volatile; for RSTC_Peripheral use record CR at 16#0# range 0 .. 31; SR at 16#4# range 0 .. 31; MR at 16#8# range 0 .. 31; end record; -- Reset Controller RSTC_Periph : aliased RSTC_Peripheral with Import, Address => System'To_Address (16#400E1400#); -- Real-time Clock type RTC_Peripheral is record -- Control Register CR : aliased RTC_CR_Register; -- Mode Register MR : aliased RTC_MR_Register; -- Time Register TIMR : aliased RTC_TIMR_Register; -- Calendar Register CALR : aliased RTC_CALR_Register; -- Time Alarm Register TIMALR : aliased RTC_TIMALR_Register; -- Calendar Alarm Register CALALR : aliased RTC_CALALR_Register; -- Status Register SR : aliased RTC_SR_Register; -- Status Clear Command Register SCCR : aliased RTC_SCCR_Register; -- Interrupt Enable Register IER : aliased RTC_IER_Register; -- Interrupt Disable Register IDR : aliased RTC_IDR_Register; -- Interrupt Mask Register IMR : aliased RTC_IMR_Register; -- Valid Entry Register VER : aliased RTC_VER_Register; end record with Volatile; for RTC_Peripheral use record CR at 16#0# range 0 .. 31; MR at 16#4# range 0 .. 31; TIMR at 16#8# range 0 .. 31; CALR at 16#C# range 0 .. 31; TIMALR at 16#10# range 0 .. 31; CALALR at 16#14# range 0 .. 31; SR at 16#18# range 0 .. 31; SCCR at 16#1C# range 0 .. 31; IER at 16#20# range 0 .. 31; IDR at 16#24# range 0 .. 31; IMR at 16#28# range 0 .. 31; VER at 16#2C# range 0 .. 31; end record; -- Real-time Clock RTC_Periph : aliased RTC_Peripheral with Import, Address => System'To_Address (16#400E1460#); -- Real-time Timer type RTT_Peripheral is record -- Mode Register MR : aliased RTT_MR_Register; -- Alarm Register AR : aliased Interfaces.SAM.UInt32; -- Value Register VR : aliased Interfaces.SAM.UInt32; -- Status Register SR : aliased RTT_SR_Register; end record with Volatile; for RTT_Peripheral use record MR at 16#0# range 0 .. 31; AR at 16#4# range 0 .. 31; VR at 16#8# range 0 .. 31; SR at 16#C# range 0 .. 31; end record; -- Real-time Timer RTT_Periph : aliased RTT_Peripheral with Import, Address => System'To_Address (16#400E1430#); -- Supply Controller type SUPC_Peripheral is record -- Supply Controller Control Register CR : aliased SUPC_CR_Register; -- Supply Controller Supply Monitor Mode Register SMMR : aliased SUPC_SMMR_Register; -- Supply Controller Mode Register MR : aliased SUPC_MR_Register; -- Supply Controller Wake Up Mode Register WUMR : aliased SUPC_WUMR_Register; -- Supply Controller Wake Up Inputs Register WUIR : aliased SUPC_WUIR_Register; -- Supply Controller Status Register SR : aliased SUPC_SR_Register; end record with Volatile; for SUPC_Peripheral use record CR at 16#0# range 0 .. 31; SMMR at 16#4# range 0 .. 31; MR at 16#8# range 0 .. 31; WUMR at 16#C# range 0 .. 31; WUIR at 16#10# range 0 .. 31; SR at 16#14# range 0 .. 31; end record; -- Supply Controller SUPC_Periph : aliased SUPC_Peripheral with Import, Address => System'To_Address (16#400E1410#); -- Watchdog Timer type WDT_Peripheral is record -- Control Register CR : aliased WDT_CR_Register; -- Mode Register MR : aliased WDT_MR_Register; -- Status Register SR : aliased WDT_SR_Register; end record with Volatile; for WDT_Peripheral use record CR at 16#0# range 0 .. 31; MR at 16#4# range 0 .. 31; SR at 16#8# range 0 .. 31; end record; -- Watchdog Timer WDT_Periph : aliased WDT_Peripheral with Import, Address => System'To_Address (16#400E1450#); end Interfaces.SAM.SYSC;
package body COBS.Stream.Encoder is subtype Dispatch is Instance'Class; procedure Do_Flush (This : in out Instance); procedure Do_Flush (This : in out Instance) is begin Dispatch (This).Flush (This.Buffer (This.Buffer'First .. This.Encode_Pointer - 1)); This.Code_Pointer := This.Buffer'First; This.Encode_Pointer := This.Code_Pointer + 1; end Do_Flush; ---------- -- Push -- ---------- procedure Push (This : in out Instance; Data : Storage_Element) is begin if Data /= 0 then This.Buffer (This.Encode_Pointer) := Data; This.Encode_Pointer := This.Encode_Pointer + 1; This.Code := This.Code + 1; end if; if Data = 0 or else This.Code = 16#FF# then This.Buffer (This.Code_Pointer) := This.Code; This.Prev_Code := This.Code; Do_Flush (This); This.Code := 1; end if; end Push; --------------- -- End_Frame -- --------------- procedure End_Frame (This : in out Instance) is begin if This.Code /= 1 or else This.Prev_Code /= 16#FF# then This.Buffer (This.Code_Pointer) := This.Code; This.Buffer (This.Encode_Pointer) := 0; This.Encode_Pointer := This.Encode_Pointer + 1; else This.Buffer (This.Code_Pointer) := 0; end if; Do_Flush (This); This.Code := 1; This.Prev_Code := 1; end End_Frame; end COBS.Stream.Encoder;
-- Copyright 2012-2020 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/>. with Pck; use Pck; procedure Foo is I : Integer := Ident (10); -- STOP Obj : Base; begin Obj.X := I; Do_Nothing (Obj.X'Address); end Foo;
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package Pixtend.wiringPiSPI_h is function wiringPiSPIGetFd (channel : int) return int -- wiringPiSPI.h:29 with Import => True, Convention => C, External_Name => "wiringPiSPIGetFd"; function wiringPiSPIDataRW (channel : int; data : access unsigned_char; len : int) return int -- wiringPiSPI.h:30 with Import => True, Convention => C, External_Name => "wiringPiSPIDataRW"; function wiringPiSPISetupMode (channel : int; speed : int; mode : int) return int -- wiringPiSPI.h:31 with Import => True, Convention => C, External_Name => "wiringPiSPISetupMode"; function wiringPiSPISetup (channel : int; speed : int) return int -- wiringPiSPI.h:32 with Import => True, Convention => C, External_Name => "wiringPiSPISetup"; end Pixtend.wiringPiSPI_h;
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- A S I S . S E T _ G E T -- -- -- -- S p e c -- -- -- -- Copyright (C) 1995-2010, Free Software Foundation, Inc. -- -- -- -- ASIS-for-GNAT is free software; you can redistribute it and/or modify it -- -- under terms of the GNU General Public License as published by the Free -- -- Software Foundation; either version 2, or (at your option) any later -- -- version. ASIS-for-GNAT is distributed in the hope that it will be use- -- -- ful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- -- -- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -- -- Public License for more details. You should have received a copy of the -- -- GNU General Public License distributed with ASIS-for-GNAT; see file -- -- COPYING. If not, write to the Free Software Foundation, 51 Franklin -- -- Street, Fifth Floor, Boston, MA 02110-1301, USA. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ASIS-for-GNAT was originally developed by the ASIS-for-GNAT team at the -- -- Software Engineering Laboratory of the Swiss Federal Institute of -- -- Technology (LGL-EPFL) in Lausanne, Switzerland, in cooperation with the -- -- Scientific Research Computer Center of Moscow State University (SRCC -- -- MSU), Russia, with funding partially provided by grants from the Swiss -- -- National Science Foundation and the Swiss Academy of Engineering -- -- Sciences. ASIS-for-GNAT is now maintained by AdaCore -- -- (http://www.adacore.com). -- -- -- ------------------------------------------------------------------------------ with Ada.Calendar; use Ada.Calendar; with Asis.Extensions; use Asis.Extensions; package Asis.Set_Get is pragma Elaborate_Body (Asis.Set_Get); -- This package contains the interface routines for setting and getting -- the values of the internal components of the main ASIS abstractions - -- Context, Compilation_Unit and Element. All the operations for getting -- components are defined as functions, but the operations for obtaining -- the tree nodes from an Element value may change the tree being accessed, -- which should be considered as the side effect. -- THE DOCUMENTATION IS INCOMPLETE!!!!! --------------------------------------- -- String -> Program_Text conversion -- --------------------------------------- function To_Program_Text (S : String) return Program_Text; -- This function takes the string which is a part of the source code -- representation and converts it into ASIS Program_Text type. It tries -- to recognize the wide character encoding and to convert it back into -- Wide_Character ------------- -- CONTEXT -- ------------- ------------------------------------- -- Id <-> ASIS Context conversions -- ------------------------------------- function Get_Cont_Id (C : Context) return Context_Id; function Get_Cont (Id : Context_Id) return Context; procedure Set_Cont (C : out Context; Id : Context_Id); -- Assigns the value of Id to the Id fields of a given variable C -- of the Asis Context type pragma Inline (Get_Cont_Id); pragma Inline (Get_Cont); -------------------------------- -- Getting Context Attributes -- -------------------------------- function Valid (C : Context) return Boolean; -- checks if its argument is an opened (=valid) Context -- DO WE REALLY NEED THIS FUNCTION?? ---------------------- -- COMPILATION_UNIT -- ---------------------- ---------------------------------------------- -- Id <-> ASIS Compilation Unit conversions -- ---------------------------------------------- function Get_Unit_Id (C_U : Compilation_Unit) return Unit_Id; function Get_Comp_Unit (U : Unit_Id; C : Context_Id) return Compilation_Unit; -- this function creates the new value of the Compilation_Unit -- type; note, that it also sets the field Obtained as equal to -- the current OS time function Get_Comp_Unit_List (U_List : Unit_Id_List; C : Context_Id) return Compilation_Unit_List; -- Creates the ASIS Compilation Unit List from the list of unit Ids pragma Inline (Get_Unit_Id); pragma Inline (Get_Comp_Unit); ----------------------------------------- -- Getting Compilation Unit Attributes -- ----------------------------------------- function Not_Nil (C_U : Compilation_Unit) return Boolean; -- Check if C_U /= Nil_Compilation_Unit (the name "Exists" is already -- busy in ASIS function Nil (C_U : Compilation_Unit) return Boolean; -- Check if C_U = Nil_Compilation_Unit function Is_Standard (C_U : Compilation_Unit) return Boolean; -- Check if C_U represents the predefined package Standard function Kind (C_U : Compilation_Unit) return Asis.Unit_Kinds; function Class (C_U : Compilation_Unit) return Unit_Classes; function Origin (C_U : Compilation_Unit) return Unit_Origins; function Is_Main_Unit (C_U : Compilation_Unit) return Boolean; function Top (C_U : Compilation_Unit) return Node_Id; function Is_Body_Required (C_U : Compilation_Unit) return Boolean; function Unit_Name (C_U : Compilation_Unit) return String; function Encl_Cont (C_U : Compilation_Unit) return Context; function Encl_Cont_Id (C_U : Compilation_Unit) return Context_Id; function Source_File (C_U : Compilation_Unit) return String; function Ref_File (C_U : Compilation_Unit) return String; function Context_Info (C_U : Compilation_Unit) return String; function Time_Stamp (C_U : Compilation_Unit) return Time; function Source_Status (C_U : Compilation_Unit) return Source_File_Statuses; function Main_Tree (C_U : Compilation_Unit) return Tree_Id; ------------------- -- Miscellaneous -- ------------------- function "=" (Left, Right : Compilation_Unit) return Boolean; -- This function "re-implements" the equivalent-to-predefined -- compare operation for Compilation_Unit. It should never be used in -- any ASIS application code. function Valid (C_U : Compilation_Unit) return Boolean; -- checks, if the argument is valid, that is, if its enclosing -- Context is opened procedure Reset_Main_Tree (C_U : Compilation_Unit); -- If C_U is a main unit in some tree, this procedure resets -- this tree, otherwise it does nothing. This procedure does not -- reset the context, it should be done by a caller. function Get_Configuration_CU (C_U : Compilation_Unit) return Compilation_Unit; -- Returns the ASIS COmpilation unit which represents -- A_Configuration_Compilation in the enclosing context of C_U pragma Inline (Not_Nil); pragma Inline (Nil); pragma Inline (Is_Standard); pragma Inline (Kind); pragma Inline (Class); pragma Inline (Origin); pragma Inline (Is_Main_Unit); pragma Inline (Top); pragma Inline (Is_Body_Required); pragma Inline (Unit_Name); pragma Inline (Encl_Cont); pragma Inline (Encl_Cont_Id); pragma Inline (Valid); -- THIS "INLINE" LIST IS INCOMPLETE!!! ------------- -- ELEMENT -- ------------- function "=" (Left, Right : Element) return Boolean; -- This function "re-implements" the equivalent-to-predefined -- compare operation for Elements. It should never be used in -- any ASIS application code. --------- -- Get -- --------- function Node (E : Element) return Node_Id; function R_Node (E : Element) return Node_Id; function Node_Field_1 (E : Element) return Node_Id; function Node_Field_2 (E : Element) return Node_Id; function Node_Value (E : Element) return Node_Id; function R_Node_Value (E : Element) return Node_Id; function Node_Field_1_Value (E : Element) return Node_Id; function Node_Field_2_Value (E : Element) return Node_Id; -- Node, R_Node and Node_Field_1 reset the tree when returning -- the node value in a way that the returned node will be the -- proper node value for the tree being accessed by ASIS, -- whereas Node_Value, R_Node_Value and Node_Field_1_Value -- just return the node value without changing the currently -- accessed tree function Encl_Unit (E : Element) return Compilation_Unit; function Encl_Unit_Id (E : Element) return Unit_Id; function Encl_Cont (E : Element) return Context; function Encl_Cont_Id (E : Element) return Context_Id; function Kind (E : Element) return Asis.Element_Kinds; function Int_Kind (E : Element) return Internal_Element_Kinds; function Is_From_Implicit (E : Element) return Boolean; function Is_From_Inherited (E : Element) return Boolean; function Is_From_Instance (E : Element) return Boolean; function Special_Case (E : Element) return Special_Cases; function Normalization_Case (E : Element) return Normalization_Cases; function Parenth_Count (E : Element) return Nat; function Encl_Tree (E : Element) return Tree_Id; function Rel_Sloc (E : Element) return Source_Ptr; function Character_Code (E : Element) return Char_Code; function Obtained (E : Element) return ASIS_OS_Time; function Location (E : Asis.Element) return Source_Ptr; -- this function returns not relative (as Rel_Sloc does), but -- "absolute" location of the source position corresponding -- to the Node on which E is based. This function is -- "tree-swapping-safe" function Valid (E : Element) return Boolean; -- checks, if the argument is valid, that is, if the enclosing -- Context of its enclosing Unit is opened pragma Inline (Node); pragma Inline (R_Node); pragma Inline (Encl_Unit); pragma Inline (Encl_Unit_Id); pragma Inline (Encl_Cont); pragma Inline (Encl_Cont_Id); pragma Inline (Kind); pragma Inline (Int_Kind); pragma Inline (Is_From_Implicit); pragma Inline (Is_From_Inherited); pragma Inline (Is_From_Instance); pragma Inline (Special_Case); pragma Inline (Encl_Tree); pragma Inline (Rel_Sloc); pragma Inline (Valid); --------- -- Set -- --------- procedure Set_Node (E : in out Element; N : Node_Id); procedure Set_R_Node (E : in out Element; N : Node_Id); procedure Set_Node_Field_1 (E : in out Element; N : Node_Id); procedure Set_Node_Field_2 (E : in out Element; N : Node_Id); procedure Set_Encl_Unit_Id (E : in out Element; U : Unit_Id); procedure Set_Enclosing_Context (E : in out Element; C : Context_Id); procedure Set_Obtained (E : in out Element; T : ASIS_OS_Time); procedure Set_Int_Kind (E : in out Element; K : Internal_Element_Kinds); procedure Set_From_Implicit (E : in out Element; I : Boolean := True); procedure Set_From_Inherited (E : in out Element; I : Boolean := True); procedure Set_From_Instance (E : in out Element; I : Boolean := True); procedure Set_Special_Case (E : in out Element; S : Special_Cases); procedure Set_Rel_Sloc (E : in out Element; S : Source_Ptr); procedure Set_Character_Code (E : in out Element; C : Char_Code); procedure Set_Encl_Tree (E : in out Element; T : Tree_Id); procedure Set_Normalization_Case (E : in out Element; N : Normalization_Cases); procedure Set_Parenth_Count (E : in out Element; Val : Nat); function Set_Element (Node : Node_Id; R_Node : Node_Id; Node_Field_1 : Node_Id; Node_Field_2 : Node_Id; Encl_Unit : Compilation_Unit; -- contains Ids for both Enclosing Compilation Unit and Enclosing -- Context Int_Kind : Internal_Element_Kinds; Implicit : Boolean; Inherited : Boolean; Instance : Boolean; Spec_Case : Special_Cases; Norm_Case : Normalization_Cases; Par_Count : Nat; Character_Code : Char_Code) return Element; -- Constructs and returns the ASIS Element value on the base of -- Element attributes -- Note, that it should not be any parameter passed for the -- Enclosing_Tree field, because this field should be set equal -- to the Id of the tree being currently accessed! -- Note also, that it should not be any parameter passed for the -- Rel_Scr field, because this field should be computed as the -- difference between the source location of the node upon -- the given element is to be built (that is, passed as the -- actual for the Node parameter, and the top node of the -- Element's enclosing Unit. -- -- It is supposed, that this function is called as the part of the -- constructing of the new element during processing some ASIS -- query, so the actuals for Node, R_Node and the current setting of -- the top node for the Unit pointed by Encl_Unit are consistent. -- See also A4G.Mapping (body). function Set_In_List (EL : Element_List; Node_Field_1 : Node_Id := Empty; Implicit : Boolean := False; Inherited : Boolean := False) return Element_List; -- For all the Elements in EL sets their fields Node_Field_1, -- Is_Part_Of_Implicit, Is_Part_Of_Inherited to the values passed as -- actuals accordingly for Node_Field_1, Implicit and Inherited. procedure Convert_To_Limited_View (El : in out Asis.Element); -- Provided that A4G.A_Sem.Belongs_To_Limited_View (El), changes its -- internal representation in such a way that El represents the limited -- view of the corresponding type or package. This includes changing of the -- Element kind for type elements. Char_Literal_Spec_Template : Element; -- Used as a template for creating lists of -- An_Enumeration_Literal_Specification representing defining -- character literals of types Standard.Character and -- Standard.Wide_Character. This variable is initialized in package body Numeric_Error_Template : Element; -- Used as a template for the artificial elements representing the obsolete -- renaming of Numeric_Error exception in package Standard and components -- thereof. ----------------------------------------------------------- -- Special processing for Elements representing root and -- -- universal numeric types in ASIS -- ----------------------------------------------------------- function Set_Root_Type_Declaration (Int_Kind : Internal_Element_Kinds; Cont : Context_Id) return Element; -- Constructs and returns the ASIS Element representing the declaration -- of a root or universal numeric type. If an actual for Int_Kind does -- not belong to Internal_Root_Type_Kinds, Nil_Element is returned. -- Otherwise the child element of the result returned by the -- Type_Declaration_View function should be of Int_Kind kind. -- Every opened Context contains exactly one Element representing -- the declaration of a given root or universal numeric type. -- These elements (as well as their child elements) have no Node to -- be based upon (they simply do not need such a Node), they are -- implicit declarations located in the predefined Standard package. function Is_Root_Num_Type (Declaration : Asis.Declaration) return Boolean; -- Checks if Declaration is A_Type_Declaration Element representing -- the declaration of a root or universal numeric type. function Root_Type_Definition (Declaration : Asis.Declaration) return Asis.Definition; -- Transforms A_Type_Declaration Element representing the declaration -- of a root or universal numeric type into the corresponding type -- definition (being of Root_Type_Kinds). This function does not -- check if its argument really represents the declaration of a root -- or universal numeric type end Asis.Set_Get;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>Loop_3_proc</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>p_p2_mul1_stencil_stream_V_value_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>32</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>hw_output_V_value_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>stream&amp;lt;AxiPackedStencil&amp;lt;unsigned char, 1, 1, 1, 1&amp;gt; &amp;gt;.V.value.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>8</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>hw_output_V_last_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>stream&amp;lt;AxiPackedStencil&amp;lt;unsigned char, 1, 1, 1, 1&amp;gt; &amp;gt;.V.last.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>23</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_4"> <Value> <Obj> <type>0</type> <id>6</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>37</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>8</id> <name>indvar_flatten</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>21</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>85</item> <item>86</item> <item>87</item> <item>88</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>9</id> <name>p_hw_output_y_scan_1</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>247</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second class_id="12" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="13" tracking_level="0" version="0"> <first class_id="14" tracking_level="0" version="0"> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>247</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>89</item> <item>90</item> <item>91</item> <item>92</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>10</id> <name>p_hw_output_x_scan_2</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>_hw_output_x___scan_dim_0</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>93</item> <item>94</item> <item>95</item> <item>96</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>11</id> <name>exitcond_flatten</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>exitcond_flatten_fu_114_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>97</item> <item>99</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>12</id> <name>indvar_flatten_next</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>indvar_flatten_next_fu_120_p2</rtlName> <coreName/> </Obj> <bitwidth>21</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>100</item> <item>102</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>13</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>103</item> <item>104</item> <item>105</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>16</id> <name>exitcond7</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>247</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>247</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>exitcond7_fu_126_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>38</item> <item>40</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>17</id> <name>p_hw_output_x_scan_s</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>247</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>247</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_hw_output_x_scan_s_fu_132_p3</rtlName> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>41</item> <item>43</item> <item>44</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>18</id> <name>p_hw_output_y_scan_2</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>245</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>245</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_hw_output_y_scan_2_fu_146_p2</rtlName> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>45</item> <item>47</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>19</id> <name>tmp_7_mid1</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>263</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>263</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_7_mid1_fu_170_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>48</item> <item>50</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>20</id> <name>tmp_s</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>263</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>263</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_s_fu_152_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>51</item> <item>52</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>21</id> <name>tmp_7_mid2</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>263</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>263</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_7_mid2_fu_175_p3</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>53</item> <item>54</item> <item>55</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>22</id> <name>p_hw_output_y_scan_s</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>247</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>247</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_hw_output_y_scan_s_fu_158_p3</rtlName> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>56</item> <item>57</item> <item>58</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>25</id> <name>tmp_value_V_5</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>253</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>253</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.value.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>60</item> <item>61</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>26</id> <name>p_s</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>260</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>260</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_s_fu_180_p4</rtlName> <coreName/> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>63</item> <item>64</item> <item>66</item> <item>68</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>27</id> <name>p_440</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>260</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>260</second> </item> </second> </item> </inlineStackInfo> <originalName>_440</originalName> <rtlName>hw_output_V_value_V</rtlName> <coreName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>69</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>28</id> <name>tmp_2</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>263</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>263</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_2_fu_165_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>70</item> <item>72</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>29</id> <name>tmp_last_V</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>263</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>263</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.last.V</originalName> <rtlName>hw_output_V_last_V</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>73</item> <item>74</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>30</id> <name/> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>268</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>268</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>76</item> <item>77</item> <item>78</item> <item>79</item> <item>80</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>32</id> <name>p_hw_output_x_scan_1</name> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>247</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>247</second> </item> </second> </item> </inlineStackInfo> <originalName>_hw_output_x___scan_dim_0</originalName> <rtlName>p_hw_output_x_scan_1_fu_140_p2</rtlName> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>81</item> <item>82</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>33</id> <name/> <fileName>hls_target.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>247</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>247</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>83</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>35</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_27"> <Value> <Obj> <type>2</type> <id>39</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1917</content> </item> <item class_id_reference="16" object_id="_28"> <Value> <Obj> <type>2</type> <id>42</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_29"> <Value> <Obj> <type>2</type> <id>46</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_30"> <Value> <Obj> <type>2</type> <id>49</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1076</content> </item> <item class_id_reference="16" object_id="_31"> <Value> <Obj> <type>2</type> <id>65</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>3</content> </item> <item class_id_reference="16" object_id="_32"> <Value> <Obj> <type>2</type> <id>67</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>7</content> </item> <item class_id_reference="16" object_id="_33"> <Value> <Obj> <type>2</type> <id>71</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1916</content> </item> <item class_id_reference="16" object_id="_34"> <Value> <Obj> <type>2</type> <id>84</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>21</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_35"> <Value> <Obj> <type>2</type> <id>98</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>21</bitwidth> </Value> <const_type>0</const_type> <content>2064609</content> </item> <item class_id_reference="16" object_id="_36"> <Value> <Obj> <type>2</type> <id>101</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>21</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_37"> <Obj> <type>3</type> <id>7</id> <name>newFuncRoot</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>6</item> </node_objs> </item> <item class_id_reference="18" object_id="_38"> <Obj> <type>3</type> <id>14</id> <name>.preheader</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>8</item> <item>9</item> <item>10</item> <item>11</item> <item>12</item> <item>13</item> </node_objs> </item> <item class_id_reference="18" object_id="_39"> <Obj> <type>3</type> <id>34</id> <name>.preheader37</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>15</count> <item_version>0</item_version> <item>16</item> <item>17</item> <item>18</item> <item>19</item> <item>20</item> <item>21</item> <item>22</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>32</item> <item>33</item> </node_objs> </item> <item class_id_reference="18" object_id="_40"> <Obj> <type>3</type> <id>36</id> <name>.exitStub</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>35</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>57</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_41"> <id>37</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>6</sink_obj> </item> <item class_id_reference="20" object_id="_42"> <id>38</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_43"> <id>40</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_44"> <id>41</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_45"> <id>43</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_46"> <id>44</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_47"> <id>45</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_48"> <id>47</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_49"> <id>48</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_50"> <id>50</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_51"> <id>51</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_52"> <id>52</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_53"> <id>53</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_54"> <id>54</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_55"> <id>55</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_56"> <id>56</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_57"> <id>57</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_58"> <id>58</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_59"> <id>61</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_60"> <id>64</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_61"> <id>66</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_62"> <id>68</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_63"> <id>69</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_64"> <id>70</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_65"> <id>72</id> <edge_type>1</edge_type> <source_obj>71</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_66"> <id>73</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_67"> <id>74</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_68"> <id>77</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_69"> <id>78</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_70"> <id>79</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_71"> <id>80</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_72"> <id>81</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_73"> <id>82</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_74"> <id>83</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_75"> <id>85</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_76"> <id>86</id> <edge_type>2</edge_type> <source_obj>7</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_77"> <id>87</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_78"> <id>88</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_79"> <id>89</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_80"> <id>90</id> <edge_type>2</edge_type> <source_obj>7</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_81"> <id>91</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_82"> <id>92</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_83"> <id>93</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_84"> <id>94</id> <edge_type>2</edge_type> <source_obj>7</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_85"> <id>95</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_86"> <id>96</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_87"> <id>97</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_88"> <id>99</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_89"> <id>100</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_90"> <id>102</id> <edge_type>1</edge_type> <source_obj>101</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_91"> <id>103</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_92"> <id>104</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_93"> <id>105</id> <edge_type>2</edge_type> <source_obj>36</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_94"> <id>165</id> <edge_type>2</edge_type> <source_obj>7</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_95"> <id>166</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_96"> <id>167</id> <edge_type>2</edge_type> <source_obj>14</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_97"> <id>168</id> <edge_type>2</edge_type> <source_obj>34</source_obj> <sink_obj>14</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_98"> <mId>1</mId> <mTag>Loop_3_proc</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</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>2064613</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_99"> <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>7</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_100"> <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>14</item> <item>34</item> </basic_blocks> <mII>1</mII> <mDepth>4</mDepth> <mMinTripCount>2064609</mMinTripCount> <mMaxTripCount>2064609</mMaxTripCount> <mMinLatency>2064611</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_101"> <mId>4</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>36</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_102"> <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="_103"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_104"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_105"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_106"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_107"> <id>2</id> <operations> <count>9</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_108"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_109"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_110"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_111"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_112"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_113"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_114"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_115"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_116"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_117"> <id>3</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_118"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_119"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_120"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_121"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_122"> <id>4</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_123"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_124"> <id>5</id> <operations> <count>11</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_125"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_126"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_127"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_128"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_129"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_130"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_131"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_132"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_133"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_134"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_135"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_136"> <id>6</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_137"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_138"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>20</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="_139"> <inState>3</inState> <outState>4</outState> <condition> <id>30</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="_140"> <inState>4</inState> <outState>5</outState> <condition> <id>31</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="_141"> <inState>5</inState> <outState>2</outState> <condition> <id>32</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="_142"> <inState>2</inState> <outState>6</outState> <condition> <id>29</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>11</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_143"> <inState>2</inState> <outState>3</outState> <condition> <id>33</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>1</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="36" tracking_level="1" version="0" object_id="_144"> <dp_component_resource class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_component_resource> <dp_expression_resource> <count>19</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>ap_block_pp0_stage0_flag00001001 ( and ) </first> <second class_id="39" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="40" tracking_level="0" version="0"> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_block_pp0_stage0_flag00011001 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_block_state1 ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_block_state5_io ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_block_state5_pp0_stage0_iter3 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_enable_pp0 ( xor ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>2</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter1 ( xor ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>2</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>exitcond7_fu_126_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>11</second> </item> <item> <first>(1P1)</first> <second>9</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>6</second> </item> </second> </item> <item> <first>exitcond_flatten_fu_114_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>21</second> </item> <item> <first>(1P1)</first> <second>16</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>13</second> </item> </second> </item> <item> <first>hw_output_V_last_V ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>indvar_flatten_next_fu_120_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>21</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>68</second> </item> <item> <first>LUT</first> <second>26</second> </item> </second> </item> <item> <first>p_hw_output_x_scan_1_fu_140_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>11</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>38</second> </item> <item> <first>LUT</first> <second>16</second> </item> </second> </item> <item> <first>p_hw_output_x_scan_s_fu_132_p3 ( select ) </first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>(2P2)</first> <second>11</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>11</second> </item> </second> </item> <item> <first>p_hw_output_y_scan_2_fu_146_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>11</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>38</second> </item> <item> <first>LUT</first> <second>16</second> </item> </second> </item> <item> <first>p_hw_output_y_scan_s_fu_158_p3 ( select ) </first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>11</second> </item> <item> <first>(2P2)</first> <second>11</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>11</second> </item> </second> </item> <item> <first>tmp_2_fu_165_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>11</second> </item> <item> <first>(1P1)</first> <second>9</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>6</second> </item> </second> </item> <item> <first>tmp_7_mid1_fu_170_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>11</second> </item> <item> <first>(1P1)</first> <second>11</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>6</second> </item> </second> </item> <item> <first>tmp_7_mid2_fu_175_p3 ( select ) </first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>(2P2)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>tmp_s_fu_152_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>11</second> </item> <item> <first>(1P1)</first> <second>11</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>6</second> </item> </second> </item> </dp_expression_resource> <dp_fifo_resource> <count>0</count> <item_version>0</item_version> </dp_fifo_resource> <dp_memory_resource> <count>0</count> <item_version>0</item_version> </dp_memory_resource> <dp_multiplexer_resource> <count>12</count> <item_version>0</item_version> <item> <first>ap_NS_fsm</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>4</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>4</second> </item> <item> <first>LUT</first> <second>21</second> </item> </second> </item> <item> <first>ap_done</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter1</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter3</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>ap_sig_ioackin_hw_output_V_value_V_ap_ack</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>hw_output_V_last_V_blk_n</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>hw_output_V_value_V_blk_n</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>indvar_flatten_reg_80</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>21</second> </item> <item> <first>(2Count)</first> <second>42</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>p_hw_output_x_scan_2_reg_103</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>11</second> </item> <item> <first>(2Count)</first> <second>22</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>p_hw_output_y_scan_1_phi_fu_95_p4</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>11</second> </item> <item> <first>(2Count)</first> <second>22</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>p_hw_output_y_scan_1_reg_91</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>11</second> </item> <item> <first>(2Count)</first> <second>22</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>p_p2_mul1_stencil_stream_V_value_V_blk_n</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>21</count> <item_version>0</item_version> <item> <first>ap_CS_fsm</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>3</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>3</second> </item> </second> </item> <item> <first>ap_done_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter0</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter1</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter2</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter3</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_reg_ioackin_hw_output_V_last_V_ap_ack</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_reg_ioackin_hw_output_V_value_V_ap_ack</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_reg_pp0_iter2_tmp_2_reg_241</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_reg_pp0_iter2_tmp_s_reg_231</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>exitcond7_reg_210</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>exitcond_flatten_reg_201</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>indvar_flatten_reg_80</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>21</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>21</second> </item> </second> </item> <item> <first>p_hw_output_x_scan_2_reg_103</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>p_hw_output_x_scan_s_reg_216</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>p_hw_output_y_scan_1_reg_91</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>p_hw_output_y_scan_2_reg_226</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>p_hw_output_y_scan_s_reg_236</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>tmp_2_reg_241</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>tmp_7_mid1_reg_246</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>tmp_s_reg_231</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> </dp_register_resource> <dp_component_map class_id="41" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_component_map> <dp_expression_map> <count>12</count> <item_version>0</item_version> <item class_id="42" tracking_level="0" version="0"> <first>exitcond7_fu_126_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>exitcond_flatten_fu_114_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>hw_output_V_last_V ( and ) </first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>indvar_flatten_next_fu_120_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>p_hw_output_x_scan_1_fu_140_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>p_hw_output_x_scan_s_fu_132_p3 ( select ) </first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>p_hw_output_y_scan_2_fu_146_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>p_hw_output_y_scan_s_fu_158_p3 ( select ) </first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>tmp_2_fu_165_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>tmp_7_mid1_fu_170_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>tmp_7_mid2_fu_175_p3 ( select ) </first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>tmp_s_fu_152_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> </dp_expression_map> <dp_fifo_map> <count>0</count> <item_version>0</item_version> </dp_fifo_map> <dp_memory_map> <count>0</count> <item_version>0</item_version> </dp_memory_map> </res> <node_label_latency class_id="43" tracking_level="0" version="0"> <count>23</count> <item_version>0</item_version> <item class_id="44" tracking_level="0" version="0"> <first>6</first> <second class_id="45" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>8</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>1</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>18</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>2</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="46" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="47" tracking_level="0" version="0"> <first>7</first> <second class_id="48" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>14</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>34</first> <second> <first>1</first> <second>4</second> </second> </item> <item> <first>36</first> <second> <first>2</first> <second>2</second> </second> </item> </bblk_ent_exit> <regions class_id="49" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="50" tracking_level="1" version="0" object_id="_145"> <region_name>Loop 1</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>14</item> <item>34</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>4</pipe_depth> </item> </regions> <dp_fu_nodes class_id="51" tracking_level="0" version="0"> <count>19</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>64</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>70</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>84</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>95</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>107</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>114</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>120</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>126</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>132</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>140</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>146</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>152</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>158</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>165</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>170</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>175</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>180</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>190</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>195</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="54" tracking_level="0" version="0"> <count>17</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>exitcond7_fu_126</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>exitcond_flatten_fu_114</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>indvar_flatten_next_fu_120</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>indvar_flatten_phi_fu_84</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>p_440_fu_190</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>p_hw_output_x_scan_1_fu_140</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>p_hw_output_x_scan_2_phi_fu_107</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>p_hw_output_x_scan_s_fu_132</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>p_hw_output_y_scan_1_phi_fu_95</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>p_hw_output_y_scan_2_fu_146</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>p_hw_output_y_scan_s_fu_158</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>p_s_fu_180</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>tmp_2_fu_165</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>tmp_7_mid1_fu_170</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>tmp_7_mid2_fu_175</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>tmp_last_V_fu_195</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>tmp_s_fu_152</first> <second> <count>1</count> <item_version>0</item_version> <item>20</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>2</count> <item_version>0</item_version> <item> <first>StgValue_32_write_fu_70</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>tmp_value_V_5_read_fu_64</first> <second> <count>1</count> <item_version>0</item_version> <item>25</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="56" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>13</count> <item_version>0</item_version> <item> <first>80</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>91</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>103</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>201</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>205</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>210</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>216</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>221</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>226</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>231</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>236</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>241</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>246</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>13</count> <item_version>0</item_version> <item> <first>exitcond7_reg_210</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>exitcond_flatten_reg_201</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>indvar_flatten_next_reg_205</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>indvar_flatten_reg_80</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>p_hw_output_x_scan_1_reg_221</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>p_hw_output_x_scan_2_reg_103</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>p_hw_output_x_scan_s_reg_216</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>p_hw_output_y_scan_1_reg_91</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>p_hw_output_y_scan_2_reg_226</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>p_hw_output_y_scan_s_reg_236</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>tmp_2_reg_241</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>tmp_7_mid1_reg_246</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>tmp_s_reg_231</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>3</count> <item_version>0</item_version> <item> <first>80</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>91</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>103</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>3</count> <item_version>0</item_version> <item> <first>indvar_flatten_reg_80</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>p_hw_output_x_scan_2_reg_103</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>p_hw_output_y_scan_1_reg_91</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="57" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="58" tracking_level="0" version="0"> <first>hw_output_V_last_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>30</item> </second> </item> </second> </item> <item> <first>hw_output_V_value_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>30</item> </second> </item> </second> </item> <item> <first>p_p2_mul1_stencil_stream_V_value_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>25</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="59" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="60" tracking_level="0" version="0"> <first>1</first> <second>FIFO_SRL</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
-- Mail Baby API -- This is an API defintion for accesssing the Mail.Baby mail service. -- -- The version of the OpenAPI document: 1.0.0 -- Contact: detain@interserver.net -- -- NOTE: This package is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT. -- https://openapi-generator.tech -- Do not edit the class manually. with .Models; with Swagger.Clients; package .Clients is pragma Style_Checks ("-mr"); type Client_Type is new Swagger.Clients.Client_Type with null record; -- displays a list of mail service orders procedure Get_Mail_Orders (Client : in out Client_Type; Result : out .Models.MailOrder_Type_Vectors.Vector); -- Checks if the server is running procedure Ping_Server (Client : in out Client_Type); -- places a mail order -- Adds an item to the system procedure Place_Mail_Order (Client : in out Client_Type; Mail_Order_Type : in .Models.MailOrder_Type); -- Sends an Email with Advanced Options -- Sends An email through one of your mail orders allowing additional options such as file attachments, cc, bcc, etc. procedure Send_Adv_Mail (Client : in out Client_Type; Send_Mail_Adv_Type : in .Models.SendMailAdv_Type; Result : out .Models.GenericResponse_Type); -- Sends an Email -- Sends An email through one of your mail orders. procedure Send_Mail (Client : in out Client_Type; To : in Swagger.UString; From : in Swagger.UString; Subject : in Swagger.UString; P_Body : in Swagger.UString; Result : out .Models.GenericResponse_Type); -- validatess order details before placing an order procedure Validate_Mail_Order (Client : in out Client_Type); -- displays the mail log -- By passing in the appropriate options, you can search for -- available inventory in the system procedure View_Mail_Log (Client : in out Client_Type; Id : in Swagger.Nullable_Long; Search_String : in Swagger.Nullable_UString; Skip : in Swagger.Nullable_Integer; Limit : in Swagger.Nullable_Integer; Result : out .Models.MailLog_Type_Vectors.Vector); end .Clients;
----------------------------------------------------------------------- -- util-http-clients-curl -- HTTP Clients with CURL -- Copyright (C) 2012, 2017, 2018, 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 System; with Interfaces.C; with Interfaces.C.Strings; with Ada.Strings.Unbounded; with Util.Http.Mockups; package Util.Http.Clients.Curl is -- Register the CURL Http manager. procedure Register; private package C renames Interfaces.C; package Strings renames Interfaces.C.Strings; use type C.size_t; -- Define 'Int' and 'Chars_Ptr' with capitals to avoid GNAT warnings due -- to Eclipse capitalization. subtype Int is C.int; subtype Chars_Ptr is Strings.chars_ptr; subtype Size_T is C.size_t; subtype CURL is System.Address; type CURL_Code is new Interfaces.C.int; CURLE_OK : constant CURL_Code := 0; type CURL_Info is new Int; type Curl_Option is new Int; type CURL_Slist; type CURL_Slist_Access is access CURL_Slist; type CURL_Slist is record Data : Chars_Ptr; Next : CURL_Slist_Access; end record; -- Check the CURL result code and report and exception and a log message if -- the CURL code indicates an error. procedure Check_Code (Code : in CURL_Code; Message : in String); type Curl_Http_Manager is new Http_Manager with null record; type Curl_Http_Manager_Access is access all Http_Manager'Class; -- Create a new HTTP request associated with the current request manager. procedure Create (Manager : in Curl_Http_Manager; Http : in out Client'Class); overriding procedure Do_Get (Manager : in Curl_Http_Manager; Http : in Client'Class; URI : in String; Reply : out Response'Class); overriding procedure Do_Head (Manager : in Curl_Http_Manager; Http : in Client'Class; URI : in String; Reply : out Response'Class); overriding procedure Do_Post (Manager : in Curl_Http_Manager; Http : in Client'Class; URI : in String; Data : in String; Reply : out Response'Class); overriding procedure Do_Put (Manager : in Curl_Http_Manager; Http : in Client'Class; URI : in String; Data : in String; Reply : out Response'Class); overriding procedure Do_Patch (Manager : in Curl_Http_Manager; Http : in Client'Class; URI : in String; Data : in String; Reply : out Response'Class); overriding procedure Do_Delete (Manager : in Curl_Http_Manager; Http : in Client'Class; URI : in String; Reply : out Response'Class); overriding procedure Do_Options (Manager : in Curl_Http_Manager; Http : in Client'Class; URI : in String; Reply : out Response'Class); -- Set the timeout for the connection. overriding procedure Set_Timeout (Manager : in Curl_Http_Manager; Http : in Client'Class; Timeout : in Duration); type Curl_Http_Request is new Util.Http.Mockups.Mockup_Request with record Data : CURL := System.Null_Address; URL : Chars_Ptr := Interfaces.C.Strings.Null_Ptr; Content : Chars_Ptr := Interfaces.C.Strings.Null_Ptr; Curl_Headers : CURL_Slist_Access := null; end record; type Curl_Http_Request_Access is access all Curl_Http_Request'Class; -- Prepare to setup the headers in the request. procedure Set_Headers (Request : in out Curl_Http_Request); overriding procedure Finalize (Request : in out Curl_Http_Request); type Curl_Http_Response is new Util.Http.Mockups.Mockup_Response with record C : CURL; Content : Ada.Strings.Unbounded.Unbounded_String; Status : Natural; Parsing_Body : Boolean := False; end record; type Curl_Http_Response_Access is access all Curl_Http_Response'Class; -- Get the response body as a string. overriding function Get_Body (Reply : in Curl_Http_Response) return String; -- Get the response status code. overriding function Get_Status (Reply : in Curl_Http_Response) return Natural; -- Add a string to a CURL slist. function Curl_Slist_Append (List : in CURL_Slist_Access; Value : in Chars_Ptr) return CURL_Slist_Access; pragma Import (C, Curl_Slist_Append, "curl_slist_append"); -- Free an entrire CURL slist. procedure Curl_Slist_Free_All (List : in CURL_Slist_Access); pragma Import (C, Curl_Slist_Free_All, "curl_slist_free_all"); -- Start a libcurl easy session. function Curl_Easy_Init return CURL; pragma Import (C, Curl_Easy_Init, "curl_easy_init"); -- End a libcurl easy session. procedure Curl_Easy_Cleanup (Handle : in CURL); pragma Import (C, Curl_Easy_Cleanup, "curl_easy_cleanup"); -- Perform a file transfer. function Curl_Easy_Perform (Handle : in CURL) return CURL_Code; pragma Import (C, Curl_Easy_Perform, "curl_easy_perform"); -- Return the error message which correspond to the given CURL error code. function Curl_Easy_Strerror (Code : in CURL_Code) return Chars_Ptr; pragma Import (C, Curl_Easy_Strerror, "curl_easy_strerror"); -- Set options for a curl easy handle. function Curl_Easy_Setopt_String (Handle : in CURL; Option : in Curl_Option; Value : in Chars_Ptr) return CURL_Code; pragma Import (C, Curl_Easy_Setopt_String, "curl_easy_setopt"); -- Set options for a curl easy handle. function Curl_Easy_Setopt_Slist (Handle : in CURL; Option : in Curl_Option; Value : in CURL_Slist_Access) return CURL_Code; pragma Import (C, Curl_Easy_Setopt_Slist, "curl_easy_setopt"); -- Set options for a curl easy handle. function Curl_Easy_Setopt_Long (Handle : in CURL; Option : in Curl_Option; Value : in Interfaces.C.long) return CURL_Code; pragma Import (C, Curl_Easy_Setopt_Long, "curl_easy_setopt"); -- Get information from a CURL handle for an option returning a String. function Curl_Easy_Getinfo_String (Handle : in CURL; Option : in CURL_Info; Value : access Chars_Ptr) return CURL_Code; pragma Import (C, Curl_Easy_Getinfo_String, "curl_easy_getinfo"); -- Get information from a CURL handle for an option returning a Long. function Curl_Easy_Getinfo_Long (Handle : in CURL; Option : in CURL_Info; Value : access C.long) return CURL_Code; pragma Import (C, Curl_Easy_Getinfo_Long, "curl_easy_getinfo"); type Write_Callback_Access is access function (Data : in Chars_Ptr; Size : in Size_T; Nmemb : in Size_T; Ptr : in Curl_Http_Response_Access) return Size_T; pragma Convention (C, Write_Callback_Access); function Curl_Easy_Setopt_Write_Callback (Handle : in CURL; Option : in Curl_Option; Func : in Write_Callback_Access) return CURL_Code; pragma Import (C, Curl_Easy_Setopt_Write_Callback, "curl_easy_setopt"); -- Set options for a curl easy handle. function Curl_Easy_Setopt_Data (Handle : in CURL; Option : in Curl_Option; Value : in Curl_Http_Response_Access) return CURL_Code; pragma Warnings (Off, Curl_Easy_Setopt_Data); pragma Import (C, Curl_Easy_Setopt_Data, "curl_easy_setopt"); function Read_Response (Data : in Chars_Ptr; Size : in Size_T; Nmemb : in Size_T; Response : in Curl_Http_Response_Access) return Size_T; pragma Convention (C, Read_Response); end Util.Http.Clients.Curl;
----------------------------------------------------------------------- -- AWA.Questions.Models -- AWA.Questions.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generator: https://ada-gen.googlecode.com/svn/trunk Revision 1095 ----------------------------------------------------------------------- -- Copyright (C) 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- pragma Warnings (Off); with ADO.Sessions; with ADO.Objects; with ADO.Statements; with ADO.SQL; with ADO.Schemas; with ADO.Queries; with ADO.Queries.Loaders; with Ada.Calendar; with Ada.Containers.Vectors; with Ada.Strings.Unbounded; with Util.Beans.Objects; with Util.Beans.Basic.Lists; with AWA.Users.Models; with AWA.Workspaces.Models; with Util.Beans.Methods; pragma Warnings (On); package AWA.Questions.Models is pragma Style_Checks ("-mr"); type Question_Ref is new ADO.Objects.Object_Ref with null record; type Answer_Ref is new ADO.Objects.Object_Ref with null record; -- -------------------- -- The question table holds a single question asked by a user to the community. -- The short description is used to give an overview of the question in long lists -- while the description contains the full question text. The rating is updating -- according to users voting for the question. -- -------------------- -- Create an object key for Question. function Question_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key; -- Create an object key for Question from a string. -- Raises Constraint_Error if the string cannot be converted into the object key. function Question_Key (Id : in String) return ADO.Objects.Object_Key; Null_Question : constant Question_Ref; function "=" (Left, Right : Question_Ref'Class) return Boolean; -- Set the date when the question was created. procedure Set_Create_Date (Object : in out Question_Ref; Value : in Ada.Calendar.Time); -- Get the date when the question was created. function Get_Create_Date (Object : in Question_Ref) return Ada.Calendar.Time; -- Set the question title. procedure Set_Title (Object : in out Question_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String); procedure Set_Title (Object : in out Question_Ref; Value : in String); -- Get the question title. function Get_Title (Object : in Question_Ref) return Ada.Strings.Unbounded.Unbounded_String; function Get_Title (Object : in Question_Ref) return String; -- Set the full description. procedure Set_Description (Object : in out Question_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String); procedure Set_Description (Object : in out Question_Ref; Value : in String); -- Get the full description. function Get_Description (Object : in Question_Ref) return Ada.Strings.Unbounded.Unbounded_String; function Get_Description (Object : in Question_Ref) return String; -- Set the date when the question was edited. procedure Set_Edit_Date (Object : in out Question_Ref; Value : in ADO.Nullable_Time); -- Get the date when the question was edited. function Get_Edit_Date (Object : in Question_Ref) return ADO.Nullable_Time; -- Set Title: Questions and Answers model -- Date: 2015-11-15 -- the question short description. procedure Set_Short_Description (Object : in out Question_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String); procedure Set_Short_Description (Object : in out Question_Ref; Value : in String); -- Get Title: Questions and Answers model -- Date: 2015-11-15 -- the question short description. function Get_Short_Description (Object : in Question_Ref) return Ada.Strings.Unbounded.Unbounded_String; function Get_Short_Description (Object : in Question_Ref) return String; -- Set the question rating. procedure Set_Rating (Object : in out Question_Ref; Value : in Integer); -- Get the question rating. function Get_Rating (Object : in Question_Ref) return Integer; -- Set the question identifier. procedure Set_Id (Object : in out Question_Ref; Value : in ADO.Identifier); -- Get the question identifier. function Get_Id (Object : in Question_Ref) return ADO.Identifier; -- Get the optimistic locking version. function Get_Version (Object : in Question_Ref) return Integer; -- Set the user who asked the question. procedure Set_Author (Object : in out Question_Ref; Value : in AWA.Users.Models.User_Ref'Class); -- Get the user who asked the question. function Get_Author (Object : in Question_Ref) return AWA.Users.Models.User_Ref'Class; -- procedure Set_Workspace (Object : in out Question_Ref; Value : in AWA.Workspaces.Models.Workspace_Ref'Class); -- function Get_Workspace (Object : in Question_Ref) return AWA.Workspaces.Models.Workspace_Ref'Class; -- procedure Set_Accepted_Answer (Object : in out Question_Ref; Value : in AWA.Questions.Models.Answer_Ref'Class); -- function Get_Accepted_Answer (Object : in Question_Ref) return AWA.Questions.Models.Answer_Ref'Class; -- Load the entity identified by 'Id'. -- Raises the NOT_FOUND exception if it does not exist. procedure Load (Object : in out Question_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier); -- Load the entity identified by 'Id'. -- Returns True in <b>Found</b> if the object was found and False if it does not exist. procedure Load (Object : in out Question_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier; Found : out Boolean); -- Find and load the entity. overriding procedure Find (Object : in out Question_Ref; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean); -- Save the entity. If the entity does not have an identifier, an identifier is allocated -- and it is inserted in the table. Otherwise, only data fields which have been changed -- are updated. overriding procedure Save (Object : in out Question_Ref; Session : in out ADO.Sessions.Master_Session'Class); -- Delete the entity. overriding procedure Delete (Object : in out Question_Ref; Session : in out ADO.Sessions.Master_Session'Class); overriding function Get_Value (From : in Question_Ref; Name : in String) return Util.Beans.Objects.Object; -- Table definition QUESTION_TABLE : constant ADO.Schemas.Class_Mapping_Access; -- Internal method to allocate the Object_Record instance overriding procedure Allocate (Object : in out Question_Ref); -- Copy of the object. procedure Copy (Object : in Question_Ref; Into : in out Question_Ref); -- -------------------- -- The answer table gives a list of anwsers to the question. -- Ranking is updating according to users voting for the anwser. -- -------------------- -- Create an object key for Answer. function Answer_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key; -- Create an object key for Answer from a string. -- Raises Constraint_Error if the string cannot be converted into the object key. function Answer_Key (Id : in String) return ADO.Objects.Object_Key; Null_Answer : constant Answer_Ref; function "=" (Left, Right : Answer_Ref'Class) return Boolean; -- Set the answer creation date. procedure Set_Create_Date (Object : in out Answer_Ref; Value : in Ada.Calendar.Time); -- Get the answer creation date. function Get_Create_Date (Object : in Answer_Ref) return Ada.Calendar.Time; -- Set the date when the answer was edited. procedure Set_Edit_Date (Object : in out Answer_Ref; Value : in ADO.Nullable_Time); -- Get the date when the answer was edited. function Get_Edit_Date (Object : in Answer_Ref) return ADO.Nullable_Time; -- Set the answer text. procedure Set_Answer (Object : in out Answer_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String); procedure Set_Answer (Object : in out Answer_Ref; Value : in String); -- Get the answer text. function Get_Answer (Object : in Answer_Ref) return Ada.Strings.Unbounded.Unbounded_String; function Get_Answer (Object : in Answer_Ref) return String; -- Set the anwser rank number. procedure Set_Rank (Object : in out Answer_Ref; Value : in Integer); -- Get the anwser rank number. function Get_Rank (Object : in Answer_Ref) return Integer; -- Set the answer identifier. procedure Set_Id (Object : in out Answer_Ref; Value : in ADO.Identifier); -- Get the answer identifier. function Get_Id (Object : in Answer_Ref) return ADO.Identifier; -- function Get_Version (Object : in Answer_Ref) return Integer; -- Set the user who wrote the answer. procedure Set_Author (Object : in out Answer_Ref; Value : in AWA.Users.Models.User_Ref'Class); -- Get the user who wrote the answer. function Get_Author (Object : in Answer_Ref) return AWA.Users.Models.User_Ref'Class; -- procedure Set_Question (Object : in out Answer_Ref; Value : in AWA.Questions.Models.Question_Ref'Class); -- function Get_Question (Object : in Answer_Ref) return AWA.Questions.Models.Question_Ref'Class; -- Load the entity identified by 'Id'. -- Raises the NOT_FOUND exception if it does not exist. procedure Load (Object : in out Answer_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier); -- Load the entity identified by 'Id'. -- Returns True in <b>Found</b> if the object was found and False if it does not exist. procedure Load (Object : in out Answer_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier; Found : out Boolean); -- Find and load the entity. overriding procedure Find (Object : in out Answer_Ref; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean); -- Save the entity. If the entity does not have an identifier, an identifier is allocated -- and it is inserted in the table. Otherwise, only data fields which have been changed -- are updated. overriding procedure Save (Object : in out Answer_Ref; Session : in out ADO.Sessions.Master_Session'Class); -- Delete the entity. overriding procedure Delete (Object : in out Answer_Ref; Session : in out ADO.Sessions.Master_Session'Class); overriding function Get_Value (From : in Answer_Ref; Name : in String) return Util.Beans.Objects.Object; -- Table definition ANSWER_TABLE : constant ADO.Schemas.Class_Mapping_Access; -- Internal method to allocate the Object_Record instance overriding procedure Allocate (Object : in out Answer_Ref); -- Copy of the object. procedure Copy (Object : in Answer_Ref; Into : in out Answer_Ref); -- -------------------- -- The list of answers. -- -------------------- type Answer_Info is new Util.Beans.Basic.Bean with record -- the answer identifier. Id : ADO.Identifier; -- the answer creation date. Create_Date : Ada.Calendar.Time; -- the answer edit date. Edit_Date : ADO.Nullable_Time; -- the answer description. Answer : Ada.Strings.Unbounded.Unbounded_String; -- the answer rank. Rank : Integer; -- the question rating as voted by the current user. User_Rating : Integer; -- the author's identifier. Author_Id : ADO.Identifier; -- the author's name. Author_Name : Ada.Strings.Unbounded.Unbounded_String; -- the author's email. Author_Email : Ada.Strings.Unbounded.Unbounded_String; end record; -- Get the bean attribute identified by the name. overriding function Get_Value (From : in Answer_Info; Name : in String) return Util.Beans.Objects.Object; -- Set the bean attribute identified by the name. overriding procedure Set_Value (Item : in out Answer_Info; Name : in String; Value : in Util.Beans.Objects.Object); package Answer_Info_Beans is new Util.Beans.Basic.Lists (Element_Type => Answer_Info); package Answer_Info_Vectors renames Answer_Info_Beans.Vectors; subtype Answer_Info_List_Bean is Answer_Info_Beans.List_Bean; type Answer_Info_List_Bean_Access is access all Answer_Info_List_Bean; -- Run the query controlled by <b>Context</b> and append the list in <b>Object</b>. procedure List (Object : in out Answer_Info_List_Bean'Class; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class); subtype Answer_Info_Vector is Answer_Info_Vectors.Vector; -- Run the query controlled by <b>Context</b> and append the list in <b>Object</b>. procedure List (Object : in out Answer_Info_Vector; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class); Query_Answer_List : constant ADO.Queries.Query_Definition_Access; -- -------------------- -- The list of questions. -- -------------------- type Question_Display_Info is new Util.Beans.Basic.Bean with record -- the question identifier. Id : ADO.Identifier; -- the question title. Title : Ada.Strings.Unbounded.Unbounded_String; -- the question creation date. Create_Date : Ada.Calendar.Time; -- the question edit date. Edit_Date : ADO.Nullable_Time; -- the question description. Description : Ada.Strings.Unbounded.Unbounded_String; -- the question rating. Rating : Integer; -- the question rating as voted by the current user. User_Rating : Integer; -- the author's identifier. Author_Id : ADO.Identifier; -- the author's name. Author_Name : Ada.Strings.Unbounded.Unbounded_String; -- the author's email. Author_Email : Ada.Strings.Unbounded.Unbounded_String; end record; -- Get the bean attribute identified by the name. overriding function Get_Value (From : in Question_Display_Info; Name : in String) return Util.Beans.Objects.Object; -- Set the bean attribute identified by the name. overriding procedure Set_Value (Item : in out Question_Display_Info; Name : in String; Value : in Util.Beans.Objects.Object); package Question_Display_Info_Beans is new Util.Beans.Basic.Lists (Element_Type => Question_Display_Info); package Question_Display_Info_Vectors renames Question_Display_Info_Beans.Vectors; subtype Question_Display_Info_List_Bean is Question_Display_Info_Beans.List_Bean; type Question_Display_Info_List_Bean_Access is access all Question_Display_Info_List_Bean; -- Run the query controlled by <b>Context</b> and append the list in <b>Object</b>. procedure List (Object : in out Question_Display_Info_List_Bean'Class; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class); subtype Question_Display_Info_Vector is Question_Display_Info_Vectors.Vector; -- Run the query controlled by <b>Context</b> and append the list in <b>Object</b>. procedure List (Object : in out Question_Display_Info_Vector; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class); Query_Question_Info : constant ADO.Queries.Query_Definition_Access; -- -------------------- -- The list of questions. -- -------------------- type Question_Info is new Util.Beans.Basic.Bean with record -- the question identifier. Id : ADO.Identifier; -- the question title. Title : Ada.Strings.Unbounded.Unbounded_String; -- the question creation date. Create_Date : Ada.Calendar.Time; -- the question short description. Description : Ada.Strings.Unbounded.Unbounded_String; -- the question rating. Rating : Integer; -- the number of answers. Answer_Count : Integer; -- the author's identifier. Author_Id : ADO.Identifier; -- the author's name. Author_Name : Ada.Strings.Unbounded.Unbounded_String; -- the author's email. Author_Email : Ada.Strings.Unbounded.Unbounded_String; end record; -- Get the bean attribute identified by the name. overriding function Get_Value (From : in Question_Info; Name : in String) return Util.Beans.Objects.Object; -- Set the bean attribute identified by the name. overriding procedure Set_Value (Item : in out Question_Info; Name : in String; Value : in Util.Beans.Objects.Object); package Question_Info_Beans is new Util.Beans.Basic.Lists (Element_Type => Question_Info); package Question_Info_Vectors renames Question_Info_Beans.Vectors; subtype Question_Info_List_Bean is Question_Info_Beans.List_Bean; type Question_Info_List_Bean_Access is access all Question_Info_List_Bean; -- Run the query controlled by <b>Context</b> and append the list in <b>Object</b>. procedure List (Object : in out Question_Info_List_Bean'Class; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class); subtype Question_Info_Vector is Question_Info_Vectors.Vector; -- Run the query controlled by <b>Context</b> and append the list in <b>Object</b>. procedure List (Object : in out Question_Info_Vector; Session : in out ADO.Sessions.Session'Class; Context : in out ADO.Queries.Context'Class); Query_Question_List : constant ADO.Queries.Query_Definition_Access; Query_Question_Tag_List : constant ADO.Queries.Query_Definition_Access; type Question_Bean is abstract new AWA.Questions.Models.Question_Ref and Util.Beans.Basic.Bean and Util.Beans.Methods.Method_Bean with null record; -- This bean provides some methods that can be used in a Method_Expression. overriding function Get_Method_Bindings (From : in Question_Bean) return Util.Beans.Methods.Method_Binding_Array_Access; -- Set the bean attribute identified by the name. overriding procedure Set_Value (Item : in out Question_Bean; Name : in String; Value : in Util.Beans.Objects.Object); procedure Save (Bean : in out Question_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is abstract; procedure Delete (Bean : in out Question_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is abstract; procedure Load (Bean : in out Question_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is abstract; type Answer_Bean is abstract new AWA.Questions.Models.Answer_Ref and Util.Beans.Basic.Bean and Util.Beans.Methods.Method_Bean with null record; -- This bean provides some methods that can be used in a Method_Expression. overriding function Get_Method_Bindings (From : in Answer_Bean) return Util.Beans.Methods.Method_Binding_Array_Access; -- Set the bean attribute identified by the name. overriding procedure Set_Value (Item : in out Answer_Bean; Name : in String; Value : in Util.Beans.Objects.Object); procedure Save (Bean : in out Answer_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is abstract; procedure Delete (Bean : in out Answer_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is abstract; procedure Load (Bean : in out Answer_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is abstract; -- -------------------- -- load the list of questions -- -------------------- type Question_List_Bean is abstract limited new Util.Beans.Basic.Bean and Util.Beans.Methods.Method_Bean with record -- the optional tag to filter questions. Tag : Ada.Strings.Unbounded.Unbounded_String; Page : Integer; -- the number of questions per page. Page_Size : Integer; -- the number of questions. Count : Integer; end record; -- This bean provides some methods that can be used in a Method_Expression. overriding function Get_Method_Bindings (From : in Question_List_Bean) return Util.Beans.Methods.Method_Binding_Array_Access; -- Get the bean attribute identified by the name. overriding function Get_Value (From : in Question_List_Bean; Name : in String) return Util.Beans.Objects.Object; -- Set the bean attribute identified by the name. overriding procedure Set_Value (Item : in out Question_List_Bean; Name : in String; Value : in Util.Beans.Objects.Object); procedure Load (Bean : in out Question_List_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is abstract; type Question_Display_Bean is abstract limited new Util.Beans.Basic.Bean and Util.Beans.Methods.Method_Bean with null record; -- This bean provides some methods that can be used in a Method_Expression. overriding function Get_Method_Bindings (From : in Question_Display_Bean) return Util.Beans.Methods.Method_Binding_Array_Access; -- Get the bean attribute identified by the name. overriding function Get_Value (From : in Question_Display_Bean; Name : in String) return Util.Beans.Objects.Object; -- Set the bean attribute identified by the name. overriding procedure Set_Value (Item : in out Question_Display_Bean; Name : in String; Value : in Util.Beans.Objects.Object); procedure Load (Bean : in out Question_Display_Bean; Outcome : in out Ada.Strings.Unbounded.Unbounded_String) is abstract; private QUESTION_NAME : aliased constant String := "awa_question"; COL_0_1_NAME : aliased constant String := "create_date"; COL_1_1_NAME : aliased constant String := "title"; COL_2_1_NAME : aliased constant String := "description"; COL_3_1_NAME : aliased constant String := "edit_date"; COL_4_1_NAME : aliased constant String := "short_description"; COL_5_1_NAME : aliased constant String := "rating"; COL_6_1_NAME : aliased constant String := "id"; COL_7_1_NAME : aliased constant String := "version"; COL_8_1_NAME : aliased constant String := "author_id"; COL_9_1_NAME : aliased constant String := "workspace_id"; COL_10_1_NAME : aliased constant String := "accepted_answer_id"; QUESTION_DEF : aliased constant ADO.Schemas.Class_Mapping := (Count => 11, Table => QUESTION_NAME'Access, Members => ( 1 => COL_0_1_NAME'Access, 2 => COL_1_1_NAME'Access, 3 => COL_2_1_NAME'Access, 4 => COL_3_1_NAME'Access, 5 => COL_4_1_NAME'Access, 6 => COL_5_1_NAME'Access, 7 => COL_6_1_NAME'Access, 8 => COL_7_1_NAME'Access, 9 => COL_8_1_NAME'Access, 10 => COL_9_1_NAME'Access, 11 => COL_10_1_NAME'Access) ); QUESTION_TABLE : constant ADO.Schemas.Class_Mapping_Access := QUESTION_DEF'Access; Null_Question : constant Question_Ref := Question_Ref'(ADO.Objects.Object_Ref with null record); type Question_Impl is new ADO.Objects.Object_Record (Key_Type => ADO.Objects.KEY_INTEGER, Of_Class => QUESTION_DEF'Access) with record Create_Date : Ada.Calendar.Time; Title : Ada.Strings.Unbounded.Unbounded_String; Description : Ada.Strings.Unbounded.Unbounded_String; Edit_Date : ADO.Nullable_Time; Short_Description : Ada.Strings.Unbounded.Unbounded_String; Rating : Integer; Version : Integer; Author : AWA.Users.Models.User_Ref; Workspace : AWA.Workspaces.Models.Workspace_Ref; Accepted_Answer : AWA.Questions.Models.Answer_Ref; end record; type Question_Access is access all Question_Impl; overriding procedure Destroy (Object : access Question_Impl); overriding procedure Find (Object : in out Question_Impl; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean); overriding procedure Load (Object : in out Question_Impl; Session : in out ADO.Sessions.Session'Class); procedure Load (Object : in out Question_Impl; Stmt : in out ADO.Statements.Query_Statement'Class; Session : in out ADO.Sessions.Session'Class); overriding procedure Save (Object : in out Question_Impl; Session : in out ADO.Sessions.Master_Session'Class); procedure Create (Object : in out Question_Impl; Session : in out ADO.Sessions.Master_Session'Class); overriding procedure Delete (Object : in out Question_Impl; Session : in out ADO.Sessions.Master_Session'Class); procedure Set_Field (Object : in out Question_Ref'Class; Impl : out Question_Access); ANSWER_NAME : aliased constant String := "awa_answer"; COL_0_2_NAME : aliased constant String := "create_date"; COL_1_2_NAME : aliased constant String := "edit_date"; COL_2_2_NAME : aliased constant String := "answer"; COL_3_2_NAME : aliased constant String := "rank"; COL_4_2_NAME : aliased constant String := "id"; COL_5_2_NAME : aliased constant String := "version"; COL_6_2_NAME : aliased constant String := "author_id"; COL_7_2_NAME : aliased constant String := "question_id"; ANSWER_DEF : aliased constant ADO.Schemas.Class_Mapping := (Count => 8, Table => ANSWER_NAME'Access, Members => ( 1 => COL_0_2_NAME'Access, 2 => COL_1_2_NAME'Access, 3 => COL_2_2_NAME'Access, 4 => COL_3_2_NAME'Access, 5 => COL_4_2_NAME'Access, 6 => COL_5_2_NAME'Access, 7 => COL_6_2_NAME'Access, 8 => COL_7_2_NAME'Access) ); ANSWER_TABLE : constant ADO.Schemas.Class_Mapping_Access := ANSWER_DEF'Access; Null_Answer : constant Answer_Ref := Answer_Ref'(ADO.Objects.Object_Ref with null record); type Answer_Impl is new ADO.Objects.Object_Record (Key_Type => ADO.Objects.KEY_INTEGER, Of_Class => ANSWER_DEF'Access) with record Create_Date : Ada.Calendar.Time; Edit_Date : ADO.Nullable_Time; Answer : Ada.Strings.Unbounded.Unbounded_String; Rank : Integer; Version : Integer; Author : AWA.Users.Models.User_Ref; Question : AWA.Questions.Models.Question_Ref; end record; type Answer_Access is access all Answer_Impl; overriding procedure Destroy (Object : access Answer_Impl); overriding procedure Find (Object : in out Answer_Impl; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean); overriding procedure Load (Object : in out Answer_Impl; Session : in out ADO.Sessions.Session'Class); procedure Load (Object : in out Answer_Impl; Stmt : in out ADO.Statements.Query_Statement'Class; Session : in out ADO.Sessions.Session'Class); overriding procedure Save (Object : in out Answer_Impl; Session : in out ADO.Sessions.Master_Session'Class); procedure Create (Object : in out Answer_Impl; Session : in out ADO.Sessions.Master_Session'Class); overriding procedure Delete (Object : in out Answer_Impl; Session : in out ADO.Sessions.Master_Session'Class); procedure Set_Field (Object : in out Answer_Ref'Class; Impl : out Answer_Access); package File_1 is new ADO.Queries.Loaders.File (Path => "answer-list.xml", Sha1 => "2EDE0E19B5963DDEE7C4F8CE3A1B331A0063EC0A"); package Def_Answerinfo_Answer_List is new ADO.Queries.Loaders.Query (Name => "answer-list", File => File_1.File'Access); Query_Answer_List : constant ADO.Queries.Query_Definition_Access := Def_Answerinfo_Answer_List.Query'Access; package File_2 is new ADO.Queries.Loaders.File (Path => "question-info.xml", Sha1 => "EEBB96CEACAFAD6A3C4CBFCE81E28E885E0740A2"); package Def_Questiondisplayinfo_Question_Info is new ADO.Queries.Loaders.Query (Name => "question-info", File => File_2.File'Access); Query_Question_Info : constant ADO.Queries.Query_Definition_Access := Def_Questiondisplayinfo_Question_Info.Query'Access; package File_3 is new ADO.Queries.Loaders.File (Path => "question-list.xml", Sha1 => "6B1373D779DD15CEB92310B13BBB715BD674231C"); package Def_Questioninfo_Question_List is new ADO.Queries.Loaders.Query (Name => "question-list", File => File_3.File'Access); Query_Question_List : constant ADO.Queries.Query_Definition_Access := Def_Questioninfo_Question_List.Query'Access; package Def_Questioninfo_Question_Tag_List is new ADO.Queries.Loaders.Query (Name => "question-tag-list", File => File_3.File'Access); Query_Question_Tag_List : constant ADO.Queries.Query_Definition_Access := Def_Questioninfo_Question_Tag_List.Query'Access; end AWA.Questions.Models;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . V X W O R K S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1998-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. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ -- This is the MIPS VxWorks version of this package. with Interfaces.C; package System.VxWorks is pragma Preelaborate; package IC renames Interfaces.C; -- Floating point context record. MIPS version FP_NUM_DREGS : constant := 16; type Fpx_Array is array (1 .. FP_NUM_DREGS) of IC.double; type FP_CONTEXT is record fpx : Fpx_Array; fpcsr : IC.int; end record; pragma Convention (C, FP_CONTEXT); Num_HW_Interrupts : constant := 256; -- Number of entries in hardware interrupt vector table. end System.VxWorks;
pragma Style_Checks (Off); -- This spec has been automatically generated from STM32F3x4.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.MPU is pragma Preelaborate; --------------- -- Registers -- --------------- subtype MPU_TYPER_DREGION_Field is HAL.UInt8; subtype MPU_TYPER_IREGION_Field is HAL.UInt8; -- MPU type register type MPU_TYPER_Register is record -- Read-only. Separate flag SEPARATE_k : Boolean; -- unspecified Reserved_1_7 : HAL.UInt7; -- Read-only. Number of MPU data regions DREGION : MPU_TYPER_DREGION_Field; -- Read-only. Number of MPU instruction regions IREGION : MPU_TYPER_IREGION_Field; -- unspecified Reserved_24_31 : HAL.UInt8; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MPU_TYPER_Register use record SEPARATE_k at 0 range 0 .. 0; Reserved_1_7 at 0 range 1 .. 7; DREGION at 0 range 8 .. 15; IREGION at 0 range 16 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; -- MPU control register type MPU_CTRL_Register is record -- Read-only. Enables the MPU ENABLE : Boolean; -- Read-only. Enables the operation of MPU during hard fault HFNMIENA : Boolean; -- Read-only. Enable priviliged software access to default memory map PRIVDEFENA : Boolean; -- unspecified Reserved_3_31 : HAL.UInt29; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MPU_CTRL_Register use record ENABLE at 0 range 0 .. 0; HFNMIENA at 0 range 1 .. 1; PRIVDEFENA at 0 range 2 .. 2; Reserved_3_31 at 0 range 3 .. 31; end record; subtype MPU_RNR_REGION_Field is HAL.UInt8; -- MPU region number register type MPU_RNR_Register is record -- MPU region REGION : MPU_RNR_REGION_Field := 16#0#; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MPU_RNR_Register use record REGION at 0 range 0 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; subtype MPU_RBAR_REGION_Field is HAL.UInt4; subtype MPU_RBAR_ADDR_Field is HAL.UInt27; -- MPU region base address register type MPU_RBAR_Register is record -- MPU region field REGION : MPU_RBAR_REGION_Field := 16#0#; -- MPU region number valid VALID : Boolean := False; -- Region base address field ADDR : MPU_RBAR_ADDR_Field := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MPU_RBAR_Register use record REGION at 0 range 0 .. 3; VALID at 0 range 4 .. 4; ADDR at 0 range 5 .. 31; end record; subtype MPU_RASR_SIZE_Field is HAL.UInt5; subtype MPU_RASR_SRD_Field is HAL.UInt8; subtype MPU_RASR_TEX_Field is HAL.UInt3; subtype MPU_RASR_AP_Field is HAL.UInt3; -- MPU region attribute and size register type MPU_RASR_Register is record -- Region enable bit. ENABLE : Boolean := False; -- Size of the MPU protection region SIZE : MPU_RASR_SIZE_Field := 16#0#; -- unspecified Reserved_6_7 : HAL.UInt2 := 16#0#; -- Subregion disable bits SRD : MPU_RASR_SRD_Field := 16#0#; -- memory attribute B : Boolean := False; -- memory attribute C : Boolean := False; -- Shareable memory attribute S : Boolean := False; -- memory attribute TEX : MPU_RASR_TEX_Field := 16#0#; -- unspecified Reserved_22_23 : HAL.UInt2 := 16#0#; -- Access permission AP : MPU_RASR_AP_Field := 16#0#; -- unspecified Reserved_27_27 : HAL.Bit := 16#0#; -- Instruction access disable bit XN : Boolean := False; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MPU_RASR_Register use record ENABLE at 0 range 0 .. 0; SIZE at 0 range 1 .. 5; Reserved_6_7 at 0 range 6 .. 7; SRD at 0 range 8 .. 15; B at 0 range 16 .. 16; C at 0 range 17 .. 17; S at 0 range 18 .. 18; TEX at 0 range 19 .. 21; Reserved_22_23 at 0 range 22 .. 23; AP at 0 range 24 .. 26; Reserved_27_27 at 0 range 27 .. 27; XN at 0 range 28 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Memory protection unit type MPU_Peripheral is record -- MPU type register MPU_TYPER : aliased MPU_TYPER_Register; -- MPU control register MPU_CTRL : aliased MPU_CTRL_Register; -- MPU region number register MPU_RNR : aliased MPU_RNR_Register; -- MPU region base address register MPU_RBAR : aliased MPU_RBAR_Register; -- MPU region attribute and size register MPU_RASR : aliased MPU_RASR_Register; end record with Volatile; for MPU_Peripheral use record MPU_TYPER at 16#0# range 0 .. 31; MPU_CTRL at 16#4# range 0 .. 31; MPU_RNR at 16#8# range 0 .. 31; MPU_RBAR at 16#C# range 0 .. 31; MPU_RASR at 16#10# range 0 .. 31; end record; -- Memory protection unit MPU_Periph : aliased MPU_Peripheral with Import, Address => MPU_Base; end STM32_SVD.MPU;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018-2020, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with HAL; use HAL; with HAL.SPI; use HAL.SPI; with nRF.GPIO; use nRF.GPIO; with NRF_SVD.SPI; package nRF.SPI_Master is type Clock_Speed is (SPI_125kbps, SPI_250kbps, SPI_500kbps, SPI_1Mbps, SPI_2Mbps, SPI_4Mbps, SPI_8Mbps); -- nRF SPI device has a limited number of speeds available type Data_Bit_Order is (Most_Significant_First, Least_Significant_First); type Clock_Phase is (Sample_Leading_Edge, Sample_Trailing_Edge); -- SPI Clock phase, also known as CPHA: -- CPHA = 0 -> Sample_Leading_Edge -- CPHA = 1 -> Sample_Trailing_Edge type Clock_Polarity is (Active_High, Active_Low); -- SPI Clock polarity, also known as CPOL: -- CPOL = 0 -> Active_High -- CPOL = 1 -> Active_Low type SPI_Master (Periph : not null access NRF_SVD.SPI.SPI_Peripheral) is new HAL.SPI.SPI_Port with private; -- nRF SPI Master device procedure Enable (This : in out SPI_Master) with Post => This.Enabled; -- Enable the device. Configuration cannot be changed while the device is -- enabled. procedure Disable (This : in out SPI_Master) with Post => not This.Enabled; -- Disable the device function Enabled (This : SPI_Master) return Boolean; -- Return True if the device is enabled procedure Configure (This : in out SPI_Master; SCK, MOSI, MISO : GPIO_Pin_Index; Speed : Clock_Speed; Bit_Order : Data_Bit_Order; Polarity : Clock_Polarity; Phase : Clock_Phase) with Pre => not This.Enabled; -- Configure the device's IO pins and protocol. Configuration must be done -- while the device is disabled. -- -- SPI Mode | Polarity | Phase -- ---------------------------------------------- -- 0 | Active_High | Sample_Leading_Edge -- 1 | Active_High | Sample_Trailing_Edge -- 2 | Active_Low | Sample_Leading_Edge -- 3 | Active_Low | Sample_Trailing_Edge procedure Disconnect (This : in out SPI_Master) with Pre => not This.Enabled; -- Disconect the peripheral from the GPIO points ---------------------------------------- -- Implementation of HAL.SPI.SPI_Port -- ---------------------------------------- overriding function Data_Size (This : SPI_Master) return SPI_Data_Size; overriding procedure Transmit (This : in out SPI_Master; Data : SPI_Data_8b; Status : out SPI_Status; Timeout : Natural := 1000); overriding procedure Transmit (This : in out SPI_Master; Data : SPI_Data_16b; Status : out SPI_Status; Timeout : Natural := 1000); overriding procedure Receive (This : in out SPI_Master; Data : out SPI_Data_8b; Status : out SPI_Status; Timeout : Natural := 1000); overriding procedure Receive (This : in out SPI_Master; Data : out SPI_Data_16b; Status : out SPI_Status; Timeout : Natural := 1000); private type SPI_Master (Periph : not null access NRF_SVD.SPI.SPI_Peripheral) is new HAL.SPI.SPI_Port with null record; end nRF.SPI_Master;
-- specification of the package - -- read this to get an overview of the package; -- see bubble.adb for the implementation package Bubble is -- state shared by all tasks (ie threads) protected State is -- a setter for a, b, c, d procedure Set_All(a, b, c, d : Integer); -- get a, b, c, d but only when a <= b <= c <= d -- block when they are not sorted entry Wait_Until_Sorted(a, b, c, d : out Integer); -- entries for detecting when neighbouring numbers -- are not in order and swapping them: entry BubbleAB; entry BubbleBC; entry BubbleCD; private procedure Print_State; a, b, c, d : Integer := 0; end State; -- tasks for swapping neighbours in State: task BubbleAB; task BubbleBC; task BubbleCD; end Bubble;
with impact.d3.collision.Algorithm, impact.d3.Object, impact.d3.Dispatcher, impact.d3.collision.manifold_Result; package impact.d3.collision.Algorithm.activating -- -- This class is not enabled yet (work-in-progress) to more aggressively activate objects. -- is type Item is abstract new impact.d3.collision.Algorithm.item with private; procedure define (Self : in out Item; ci : in AlgorithmConstructionInfo; colObj0, colObj1 : access impact.d3.Object.item'Class); -- package Forge -- is -- function to_activating_Algorithm (ci : in AlgorithmConstructionInfo) return Item; -- function to_activating_Algorithm (ci : in AlgorithmConstructionInfo; -- colObj0, colObj1 : access impact.d3.Object.item'Class ) return Item; -- end Forge; overriding procedure destruct (Self : in out Item); overriding function calculateTimeOfImpact (Self : in Item; body0, body1 : access impact.d3.Object.item'Class; dispatchInfo : in impact.d3.Dispatcher.DispatcherInfo; resultOut : access impact.d3.collision.manifold_Result.item) return math.Real; private type Item is abstract new impact.d3.collision.Algorithm.item with record null; end record; end impact.d3.collision.Algorithm.activating;
<?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>zeropad2d_cl_array_array_ap_fixed_32u_config20_s</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>64</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>data_V_data_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>data.V.data[0].V</originalName> <rtlName></rtlName> <coreName></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>data_V_data_1_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[1].V</originalName> <rtlName></rtlName> <coreName></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>data_V_data_2_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[2].V</originalName> <rtlName></rtlName> <coreName></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>data_V_data_3_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[3].V</originalName> <rtlName></rtlName> <coreName></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="_5"> <Value> <Obj> <type>1</type> <id>5</id> <name>data_V_data_4_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[4].V</originalName> <rtlName></rtlName> <coreName></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="_6"> <Value> <Obj> <type>1</type> <id>6</id> <name>data_V_data_5_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[5].V</originalName> <rtlName></rtlName> <coreName></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="_7"> <Value> <Obj> <type>1</type> <id>7</id> <name>data_V_data_6_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[6].V</originalName> <rtlName></rtlName> <coreName></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="_8"> <Value> <Obj> <type>1</type> <id>8</id> <name>data_V_data_7_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[7].V</originalName> <rtlName></rtlName> <coreName></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="_9"> <Value> <Obj> <type>1</type> <id>9</id> <name>data_V_data_8_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[8].V</originalName> <rtlName></rtlName> <coreName></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="_10"> <Value> <Obj> <type>1</type> <id>10</id> <name>data_V_data_9_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[9].V</originalName> <rtlName></rtlName> <coreName></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="_11"> <Value> <Obj> <type>1</type> <id>11</id> <name>data_V_data_10_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[10].V</originalName> <rtlName></rtlName> <coreName></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="_12"> <Value> <Obj> <type>1</type> <id>12</id> <name>data_V_data_11_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[11].V</originalName> <rtlName></rtlName> <coreName></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="_13"> <Value> <Obj> <type>1</type> <id>13</id> <name>data_V_data_12_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[12].V</originalName> <rtlName></rtlName> <coreName></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="_14"> <Value> <Obj> <type>1</type> <id>14</id> <name>data_V_data_13_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[13].V</originalName> <rtlName></rtlName> <coreName></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="_15"> <Value> <Obj> <type>1</type> <id>15</id> <name>data_V_data_14_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[14].V</originalName> <rtlName></rtlName> <coreName></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="_16"> <Value> <Obj> <type>1</type> <id>16</id> <name>data_V_data_15_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[15].V</originalName> <rtlName></rtlName> <coreName></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="_17"> <Value> <Obj> <type>1</type> <id>17</id> <name>data_V_data_16_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[16].V</originalName> <rtlName></rtlName> <coreName></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="_18"> <Value> <Obj> <type>1</type> <id>18</id> <name>data_V_data_17_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[17].V</originalName> <rtlName></rtlName> <coreName></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="_19"> <Value> <Obj> <type>1</type> <id>19</id> <name>data_V_data_18_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[18].V</originalName> <rtlName></rtlName> <coreName></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="_20"> <Value> <Obj> <type>1</type> <id>20</id> <name>data_V_data_19_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[19].V</originalName> <rtlName></rtlName> <coreName></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="_21"> <Value> <Obj> <type>1</type> <id>21</id> <name>data_V_data_20_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[20].V</originalName> <rtlName></rtlName> <coreName></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="_22"> <Value> <Obj> <type>1</type> <id>22</id> <name>data_V_data_21_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[21].V</originalName> <rtlName></rtlName> <coreName></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="_23"> <Value> <Obj> <type>1</type> <id>23</id> <name>data_V_data_22_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[22].V</originalName> <rtlName></rtlName> <coreName></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="_24"> <Value> <Obj> <type>1</type> <id>24</id> <name>data_V_data_23_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[23].V</originalName> <rtlName></rtlName> <coreName></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="_25"> <Value> <Obj> <type>1</type> <id>25</id> <name>data_V_data_24_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[24].V</originalName> <rtlName></rtlName> <coreName></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="_26"> <Value> <Obj> <type>1</type> <id>26</id> <name>data_V_data_25_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[25].V</originalName> <rtlName></rtlName> <coreName></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="_27"> <Value> <Obj> <type>1</type> <id>27</id> <name>data_V_data_26_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[26].V</originalName> <rtlName></rtlName> <coreName></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="_28"> <Value> <Obj> <type>1</type> <id>28</id> <name>data_V_data_27_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[27].V</originalName> <rtlName></rtlName> <coreName></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="_29"> <Value> <Obj> <type>1</type> <id>29</id> <name>data_V_data_28_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[28].V</originalName> <rtlName></rtlName> <coreName></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="_30"> <Value> <Obj> <type>1</type> <id>30</id> <name>data_V_data_29_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[29].V</originalName> <rtlName></rtlName> <coreName></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="_31"> <Value> <Obj> <type>1</type> <id>31</id> <name>data_V_data_30_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[30].V</originalName> <rtlName></rtlName> <coreName></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="_32"> <Value> <Obj> <type>1</type> <id>32</id> <name>data_V_data_31_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V.data[31].V</originalName> <rtlName></rtlName> <coreName></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="_33"> <Value> <Obj> <type>1</type> <id>33</id> <name>res_V_data_0_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[0].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_34"> <Value> <Obj> <type>1</type> <id>34</id> <name>res_V_data_1_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[1].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_35"> <Value> <Obj> <type>1</type> <id>35</id> <name>res_V_data_2_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[2].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_36"> <Value> <Obj> <type>1</type> <id>36</id> <name>res_V_data_3_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[3].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_37"> <Value> <Obj> <type>1</type> <id>37</id> <name>res_V_data_4_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[4].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_38"> <Value> <Obj> <type>1</type> <id>38</id> <name>res_V_data_5_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[5].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_39"> <Value> <Obj> <type>1</type> <id>39</id> <name>res_V_data_6_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[6].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_40"> <Value> <Obj> <type>1</type> <id>40</id> <name>res_V_data_7_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[7].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_41"> <Value> <Obj> <type>1</type> <id>41</id> <name>res_V_data_8_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[8].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_42"> <Value> <Obj> <type>1</type> <id>42</id> <name>res_V_data_9_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[9].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_43"> <Value> <Obj> <type>1</type> <id>43</id> <name>res_V_data_10_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[10].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_44"> <Value> <Obj> <type>1</type> <id>44</id> <name>res_V_data_11_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[11].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_45"> <Value> <Obj> <type>1</type> <id>45</id> <name>res_V_data_12_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[12].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_46"> <Value> <Obj> <type>1</type> <id>46</id> <name>res_V_data_13_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[13].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_47"> <Value> <Obj> <type>1</type> <id>47</id> <name>res_V_data_14_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[14].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_48"> <Value> <Obj> <type>1</type> <id>48</id> <name>res_V_data_15_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[15].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_49"> <Value> <Obj> <type>1</type> <id>49</id> <name>res_V_data_16_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[16].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_50"> <Value> <Obj> <type>1</type> <id>50</id> <name>res_V_data_17_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[17].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_51"> <Value> <Obj> <type>1</type> <id>51</id> <name>res_V_data_18_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[18].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_52"> <Value> <Obj> <type>1</type> <id>52</id> <name>res_V_data_19_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[19].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_53"> <Value> <Obj> <type>1</type> <id>53</id> <name>res_V_data_20_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[20].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_54"> <Value> <Obj> <type>1</type> <id>54</id> <name>res_V_data_21_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[21].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_55"> <Value> <Obj> <type>1</type> <id>55</id> <name>res_V_data_22_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[22].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_56"> <Value> <Obj> <type>1</type> <id>56</id> <name>res_V_data_23_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[23].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_57"> <Value> <Obj> <type>1</type> <id>57</id> <name>res_V_data_24_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[24].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_58"> <Value> <Obj> <type>1</type> <id>58</id> <name>res_V_data_25_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[25].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_59"> <Value> <Obj> <type>1</type> <id>59</id> <name>res_V_data_26_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[26].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_60"> <Value> <Obj> <type>1</type> <id>60</id> <name>res_V_data_27_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[27].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_61"> <Value> <Obj> <type>1</type> <id>61</id> <name>res_V_data_28_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[28].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_62"> <Value> <Obj> <type>1</type> <id>62</id> <name>res_V_data_29_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[29].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_63"> <Value> <Obj> <type>1</type> <id>63</id> <name>res_V_data_30_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[30].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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="_64"> <Value> <Obj> <type>1</type> <id>64</id> <name>res_V_data_31_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V.data[31].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</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>75</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_65"> <Value> <Obj> <type>0</type> <id>131</id> <name>_ln56</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>56</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</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>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>56</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>243</item> </oprand_edges> <opcode>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="_66"> <Value> <Obj> <type>0</type> <id>133</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>245</item> <item>246</item> <item>247</item> <item>248</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="_67"> <Value> <Obj> <type>0</type> <id>134</id> <name>icmp_ln56</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>56</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>56</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>249</item> <item>251</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="_68"> <Value> <Obj> <type>0</type> <id>136</id> <name>j</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>56</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>56</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>252</item> <item>254</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="_69"> <Value> <Obj> <type>0</type> <id>137</id> <name>_ln56</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>56</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>56</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>255</item> <item>256</item> <item>257</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="_70"> <Value> <Obj> <type>0</type> <id>140</id> <name>res_V_data_0_V_write_ln16</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>fill_zero&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_zero&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>16</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>65</count> <item_version>0</item_version> <item>259</item> <item>260</item> <item>261</item> <item>262</item> <item>263</item> <item>264</item> <item>265</item> <item>266</item> <item>267</item> <item>268</item> <item>269</item> <item>270</item> <item>271</item> <item>272</item> <item>273</item> <item>274</item> <item>275</item> <item>276</item> <item>277</item> <item>278</item> <item>279</item> <item>280</item> <item>281</item> <item>282</item> <item>283</item> <item>284</item> <item>285</item> <item>286</item> <item>287</item> <item>288</item> <item>289</item> <item>290</item> <item>291</item> <item>293</item> <item>294</item> <item>295</item> <item>296</item> <item>297</item> <item>298</item> <item>299</item> <item>300</item> <item>301</item> <item>302</item> <item>303</item> <item>304</item> <item>305</item> <item>306</item> <item>307</item> <item>308</item> <item>309</item> <item>310</item> <item>311</item> <item>312</item> <item>313</item> <item>314</item> <item>315</item> <item>316</item> <item>317</item> <item>318</item> <item>319</item> <item>320</item> <item>321</item> <item>322</item> <item>323</item> <item>324</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>3.63</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_71"> <Value> <Obj> <type>0</type> <id>141</id> <name>_ln56</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>56</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>56</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>325</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>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_72"> <Value> <Obj> <type>0</type> <id>144</id> <name>_ln61</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>61</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>326</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="_73"> <Value> <Obj> <type>0</type> <id>146</id> <name>i1_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>327</item> <item>328</item> <item>329</item> <item>330</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>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_74"> <Value> <Obj> <type>0</type> <id>147</id> <name>icmp_ln61</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>61</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>331</item> <item>333</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>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_75"> <Value> <Obj> <type>0</type> <id>149</id> <name>i_3</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>61</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>334</item> <item>335</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>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_76"> <Value> <Obj> <type>0</type> <id>150</id> <name>_ln61</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>336</item> <item>337</item> <item>338</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_77"> <Value> <Obj> <type>0</type> <id>155</id> <name>res_V_data_0_V_write_ln16</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>fill_zero&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_zero&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>16</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>63</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>65</count> <item_version>0</item_version> <item>340</item> <item>341</item> <item>342</item> <item>343</item> <item>344</item> <item>345</item> <item>346</item> <item>347</item> <item>348</item> <item>349</item> <item>350</item> <item>351</item> <item>352</item> <item>353</item> <item>354</item> <item>355</item> <item>356</item> <item>357</item> <item>358</item> <item>359</item> <item>360</item> <item>361</item> <item>362</item> <item>363</item> <item>364</item> <item>365</item> <item>366</item> <item>367</item> <item>368</item> <item>369</item> <item>370</item> <item>371</item> <item>372</item> <item>373</item> <item>374</item> <item>375</item> <item>376</item> <item>377</item> <item>378</item> <item>379</item> <item>380</item> <item>381</item> <item>382</item> <item>383</item> <item>384</item> <item>385</item> <item>386</item> <item>387</item> <item>388</item> <item>389</item> <item>390</item> <item>391</item> <item>392</item> <item>393</item> <item>394</item> <item>395</item> <item>396</item> <item>397</item> <item>398</item> <item>399</item> <item>400</item> <item>401</item> <item>402</item> <item>403</item> <item>404</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>3.63</m_delay> <m_topoIndex>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_78"> <Value> <Obj> <type>0</type> <id>156</id> <name>_ln65</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>65</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>65</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>405</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>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_79"> <Value> <Obj> <type>0</type> <id>158</id> <name>j3_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>406</item> <item>407</item> <item>408</item> <item>409</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>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_80"> <Value> <Obj> <type>0</type> <id>159</id> <name>icmp_ln65</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>65</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>65</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>410</item> <item>411</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>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_81"> <Value> <Obj> <type>0</type> <id>161</id> <name>j_7</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>65</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>65</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>412</item> <item>413</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>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_82"> <Value> <Obj> <type>0</type> <id>162</id> <name>_ln65</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>65</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>65</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>414</item> <item>415</item> <item>416</item> </oprand_edges> <opcode>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="_83"> <Value> <Obj> <type>0</type> <id>165</id> <name>empty_53</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>256</bitwidth> </Value> <oprand_edges> <count>33</count> <item_version>0</item_version> <item>419</item> <item>420</item> <item>421</item> <item>422</item> <item>423</item> <item>424</item> <item>425</item> <item>426</item> <item>427</item> <item>428</item> <item>429</item> <item>430</item> <item>431</item> <item>432</item> <item>433</item> <item>434</item> <item>435</item> <item>436</item> <item>437</item> <item>438</item> <item>439</item> <item>440</item> <item>441</item> <item>442</item> <item>443</item> <item>444</item> <item>445</item> <item>446</item> <item>447</item> <item>448</item> <item>449</item> <item>450</item> <item>451</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>3.63</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_84"> <Value> <Obj> <type>0</type> <id>166</id> <name>tmp_data_0_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[0].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>452</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_85"> <Value> <Obj> <type>0</type> <id>167</id> <name>tmp_data_1_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[1].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>453</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_86"> <Value> <Obj> <type>0</type> <id>168</id> <name>tmp_data_2_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[2].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>454</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_87"> <Value> <Obj> <type>0</type> <id>169</id> <name>tmp_data_3_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[3].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>455</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_88"> <Value> <Obj> <type>0</type> <id>170</id> <name>tmp_data_4_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[4].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>456</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_89"> <Value> <Obj> <type>0</type> <id>171</id> <name>tmp_data_5_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[5].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>457</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_90"> <Value> <Obj> <type>0</type> <id>172</id> <name>tmp_data_6_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[6].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>458</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_91"> <Value> <Obj> <type>0</type> <id>173</id> <name>tmp_data_7_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[7].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>459</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_92"> <Value> <Obj> <type>0</type> <id>174</id> <name>tmp_data_8_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[8].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>460</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_93"> <Value> <Obj> <type>0</type> <id>175</id> <name>tmp_data_9_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[9].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>461</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_94"> <Value> <Obj> <type>0</type> <id>176</id> <name>tmp_data_10_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[10].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>462</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_95"> <Value> <Obj> <type>0</type> <id>177</id> <name>tmp_data_11_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[11].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>463</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_96"> <Value> <Obj> <type>0</type> <id>178</id> <name>tmp_data_12_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[12].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>464</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_97"> <Value> <Obj> <type>0</type> <id>179</id> <name>tmp_data_13_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[13].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>465</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_98"> <Value> <Obj> <type>0</type> <id>180</id> <name>tmp_data_14_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[14].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>466</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_99"> <Value> <Obj> <type>0</type> <id>181</id> <name>tmp_data_15_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[15].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>467</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_100"> <Value> <Obj> <type>0</type> <id>182</id> <name>tmp_data_16_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[16].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>468</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>37</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_101"> <Value> <Obj> <type>0</type> <id>183</id> <name>tmp_data_17_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[17].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>469</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>38</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_102"> <Value> <Obj> <type>0</type> <id>184</id> <name>tmp_data_18_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[18].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>470</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>39</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_103"> <Value> <Obj> <type>0</type> <id>185</id> <name>tmp_data_19_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[19].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>471</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>40</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_104"> <Value> <Obj> <type>0</type> <id>186</id> <name>tmp_data_20_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[20].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>472</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>41</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_105"> <Value> <Obj> <type>0</type> <id>187</id> <name>tmp_data_21_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[21].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>473</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>42</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_106"> <Value> <Obj> <type>0</type> <id>188</id> <name>tmp_data_22_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[22].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>474</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>43</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_107"> <Value> <Obj> <type>0</type> <id>189</id> <name>tmp_data_23_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[23].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>475</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>44</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_108"> <Value> <Obj> <type>0</type> <id>190</id> <name>tmp_data_24_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[24].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>476</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>45</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_109"> <Value> <Obj> <type>0</type> <id>191</id> <name>tmp_data_25_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[25].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>477</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>46</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_110"> <Value> <Obj> <type>0</type> <id>192</id> <name>tmp_data_26_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[26].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>478</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>47</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_111"> <Value> <Obj> <type>0</type> <id>193</id> <name>tmp_data_27_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[27].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>479</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>48</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_112"> <Value> <Obj> <type>0</type> <id>194</id> <name>tmp_data_28_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[28].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>480</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>49</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_113"> <Value> <Obj> <type>0</type> <id>195</id> <name>tmp_data_29_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[29].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>481</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>50</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_114"> <Value> <Obj> <type>0</type> <id>196</id> <name>tmp_data_30_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[30].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>482</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>51</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_115"> <Value> <Obj> <type>0</type> <id>197</id> <name>tmp_data_31_V</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>22</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data[31].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>483</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>52</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_116"> <Value> <Obj> <type>0</type> <id>198</id> <name>res_V_data_0_V_write_ln28</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>28</lineNumber> <contextFuncName>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_data&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>28</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>66</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>66</count> <item_version>0</item_version> <item>484</item> <item>485</item> <item>486</item> <item>487</item> <item>488</item> <item>489</item> <item>490</item> <item>491</item> <item>492</item> <item>493</item> <item>494</item> <item>495</item> <item>496</item> <item>497</item> <item>498</item> <item>499</item> <item>500</item> <item>501</item> <item>502</item> <item>503</item> <item>504</item> <item>505</item> <item>506</item> <item>507</item> <item>508</item> <item>509</item> <item>510</item> <item>511</item> <item>512</item> <item>513</item> <item>514</item> <item>515</item> <item>516</item> <item>517</item> <item>518</item> <item>519</item> <item>520</item> <item>521</item> <item>522</item> <item>523</item> <item>524</item> <item>525</item> <item>526</item> <item>527</item> <item>528</item> <item>529</item> <item>530</item> <item>531</item> <item>532</item> <item>533</item> <item>534</item> <item>535</item> <item>536</item> <item>537</item> <item>538</item> <item>539</item> <item>540</item> <item>541</item> <item>542</item> <item>543</item> <item>544</item> <item>545</item> <item>546</item> <item>547</item> <item>548</item> <item>1919</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>3.63</m_delay> <m_topoIndex>53</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_117"> <Value> <Obj> <type>0</type> <id>199</id> <name>_ln65</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>65</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>65</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>549</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>54</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_118"> <Value> <Obj> <type>0</type> <id>201</id> <name>_ln68</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>68</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>68</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>417</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>55</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_119"> <Value> <Obj> <type>0</type> <id>203</id> <name>j4_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>2</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>550</item> <item>551</item> <item>553</item> <item>554</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>56</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_120"> <Value> <Obj> <type>0</type> <id>204</id> <name>icmp_ln68</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>68</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>68</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>555</item> <item>557</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>0.95</m_delay> <m_topoIndex>57</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_121"> <Value> <Obj> <type>0</type> <id>206</id> <name>j_9</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>68</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>68</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>558</item> <item>560</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.56</m_delay> <m_topoIndex>58</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_122"> <Value> <Obj> <type>0</type> <id>207</id> <name>_ln68</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>68</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>68</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>561</item> <item>562</item> <item>563</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>59</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_123"> <Value> <Obj> <type>0</type> <id>210</id> <name>res_V_data_0_V_write_ln16</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>fill_zero&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_zero&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>16</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>69</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>66</count> <item_version>0</item_version> <item>564</item> <item>565</item> <item>566</item> <item>567</item> <item>568</item> <item>569</item> <item>570</item> <item>571</item> <item>572</item> <item>573</item> <item>574</item> <item>575</item> <item>576</item> <item>577</item> <item>578</item> <item>579</item> <item>580</item> <item>581</item> <item>582</item> <item>583</item> <item>584</item> <item>585</item> <item>586</item> <item>587</item> <item>588</item> <item>589</item> <item>590</item> <item>591</item> <item>592</item> <item>593</item> <item>594</item> <item>595</item> <item>596</item> <item>597</item> <item>598</item> <item>599</item> <item>600</item> <item>601</item> <item>602</item> <item>603</item> <item>604</item> <item>605</item> <item>606</item> <item>607</item> <item>608</item> <item>609</item> <item>610</item> <item>611</item> <item>612</item> <item>613</item> <item>614</item> <item>615</item> <item>616</item> <item>617</item> <item>618</item> <item>619</item> <item>620</item> <item>621</item> <item>622</item> <item>623</item> <item>624</item> <item>625</item> <item>626</item> <item>627</item> <item>628</item> <item>1920</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>3.63</m_delay> <m_topoIndex>60</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_124"> <Value> <Obj> <type>0</type> <id>211</id> <name>_ln68</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>68</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>68</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>629</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>61</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_125"> <Value> <Obj> <type>0</type> <id>214</id> <name>_ln61</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>61</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>630</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>62</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_126"> <Value> <Obj> <type>0</type> <id>216</id> <name>_ln73</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>73</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>73</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>339</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>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_127"> <Value> <Obj> <type>0</type> <id>218</id> <name>i5_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>2</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>631</item> <item>632</item> <item>633</item> <item>634</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>63</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_128"> <Value> <Obj> <type>0</type> <id>219</id> <name>icmp_ln73</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>73</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>73</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>635</item> <item>636</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>0.95</m_delay> <m_topoIndex>64</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_129"> <Value> <Obj> <type>0</type> <id>221</id> <name>i</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>73</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>73</second> </item> </second> </item> </inlineStackInfo> <originalName>i</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>637</item> <item>638</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.56</m_delay> <m_topoIndex>65</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_130"> <Value> <Obj> <type>0</type> <id>222</id> <name>_ln73</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>73</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>73</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>639</item> <item>640</item> <item>641</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>66</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_131"> <Value> <Obj> <type>0</type> <id>226</id> <name>_ln74</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>74</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>74</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>642</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>67</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_132"> <Value> <Obj> <type>0</type> <id>228</id> <name>j6_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>643</item> <item>644</item> <item>645</item> <item>646</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>69</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_133"> <Value> <Obj> <type>0</type> <id>229</id> <name>icmp_ln74</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>74</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>74</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>647</item> <item>648</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>70</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_134"> <Value> <Obj> <type>0</type> <id>231</id> <name>j_8</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>74</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>74</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>649</item> <item>650</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>71</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_135"> <Value> <Obj> <type>0</type> <id>232</id> <name>_ln74</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>74</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>74</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>651</item> <item>652</item> <item>653</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>72</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_136"> <Value> <Obj> <type>0</type> <id>235</id> <name>res_V_data_0_V_write_ln16</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>fill_zero&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>fill_zero&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>16</second> </item> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>75</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>65</count> <item_version>0</item_version> <item>654</item> <item>655</item> <item>656</item> <item>657</item> <item>658</item> <item>659</item> <item>660</item> <item>661</item> <item>662</item> <item>663</item> <item>664</item> <item>665</item> <item>666</item> <item>667</item> <item>668</item> <item>669</item> <item>670</item> <item>671</item> <item>672</item> <item>673</item> <item>674</item> <item>675</item> <item>676</item> <item>677</item> <item>678</item> <item>679</item> <item>680</item> <item>681</item> <item>682</item> <item>683</item> <item>684</item> <item>685</item> <item>686</item> <item>687</item> <item>688</item> <item>689</item> <item>690</item> <item>691</item> <item>692</item> <item>693</item> <item>694</item> <item>695</item> <item>696</item> <item>697</item> <item>698</item> <item>699</item> <item>700</item> <item>701</item> <item>702</item> <item>703</item> <item>704</item> <item>705</item> <item>706</item> <item>707</item> <item>708</item> <item>709</item> <item>710</item> <item>711</item> <item>712</item> <item>713</item> <item>714</item> <item>715</item> <item>716</item> <item>717</item> <item>718</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>3.63</m_delay> <m_topoIndex>73</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_137"> <Value> <Obj> <type>0</type> <id>236</id> <name>_ln74</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>74</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>74</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>719</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>74</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_138"> <Value> <Obj> <type>0</type> <id>239</id> <name>_ln73</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>73</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>73</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>720</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>75</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_139"> <Value> <Obj> <type>0</type> <id>241</id> <name>_ln78</name> <fileName>firmware/nnet_utils/nnet_padding_stream.h</fileName> <fileDirectory>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</fileDirectory> <lineNumber>78</lineNumber> <contextFuncName>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/data/armita/Andy/platform_ml_models/eembc/CIFAR10_ResNetv1/my-hls-test-quantized-tiny2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_padding_stream.h</first> <second>zeropad2d_cl&amp;lt;nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, nnet::array&amp;lt;ap_fixed&amp;lt;8, 3, 0, 0, 0&amp;gt;, 32&amp;gt;, config20&amp;gt;</second> </first> <second>78</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>68</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>8</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_140"> <Value> <Obj> <type>2</type> <id>244</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="_141"> <Value> <Obj> <type>2</type> <id>250</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>35</content> </item> <item class_id_reference="16" object_id="_142"> <Value> <Obj> <type>2</type> <id>253</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="_143"> <Value> <Obj> <type>2</type> <id>292</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>8</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_144"> <Value> <Obj> <type>2</type> <id>332</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="_145"> <Value> <Obj> <type>2</type> <id>552</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>2</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_146"> <Value> <Obj> <type>2</type> <id>556</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>2</bitwidth> </Value> <const_type>0</const_type> <content>2</content> </item> <item class_id_reference="16" object_id="_147"> <Value> <Obj> <type>2</type> <id>559</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>2</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>19</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_148"> <Obj> <type>3</type> <id>132</id> <name>PadTop_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>1</count> <item_version>0</item_version> <item>131</item> </node_objs> </item> <item class_id_reference="18" object_id="_149"> <Obj> <type>3</type> <id>138</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>133</item> <item>134</item> <item>136</item> <item>137</item> </node_objs> </item> <item class_id_reference="18" object_id="_150"> <Obj> <type>3</type> <id>142</id> <name>_ZrsILi32ELb0EEN11ap_int_baseIXT_EXT0_EE5RTypeIXT_EXT0_EE4arg1ERKS1_i.exit2.i.i.i.i.i47.0</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>140</item> <item>141</item> </node_objs> </item> <item class_id_reference="18" object_id="_151"> <Obj> <type>3</type> <id>145</id> <name>PadTop_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>144</item> </node_objs> </item> <item class_id_reference="18" object_id="_152"> <Obj> <type>3</type> <id>151</id> <name>.preheader3</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>146</item> <item>147</item> <item>149</item> <item>150</item> </node_objs> </item> <item class_id_reference="18" object_id="_153"> <Obj> <type>3</type> <id>157</id> <name>PadMain_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>2</count> <item_version>0</item_version> <item>155</item> <item>156</item> </node_objs> </item> <item class_id_reference="18" object_id="_154"> <Obj> <type>3</type> <id>163</id> <name>.preheader2</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>158</item> <item>159</item> <item>161</item> <item>162</item> </node_objs> </item> <item class_id_reference="18" object_id="_155"> <Obj> <type>3</type> <id>200</id> <name>fill_data&lt;array&lt;ap_fixed&lt;8, 3, 0, 0, 0&gt;, 32u&gt;, array&lt;ap_fixed&lt;8, 3, 0, 0, 0&gt;, 32u&gt;, config20&gt;.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>35</count> <item_version>0</item_version> <item>165</item> <item>166</item> <item>167</item> <item>168</item> <item>169</item> <item>170</item> <item>171</item> <item>172</item> <item>173</item> <item>174</item> <item>175</item> <item>176</item> <item>177</item> <item>178</item> <item>179</item> <item>180</item> <item>181</item> <item>182</item> <item>183</item> <item>184</item> <item>185</item> <item>186</item> <item>187</item> <item>188</item> <item>189</item> <item>190</item> <item>191</item> <item>192</item> <item>193</item> <item>194</item> <item>195</item> <item>196</item> <item>197</item> <item>198</item> <item>199</item> </node_objs> </item> <item class_id_reference="18" object_id="_156"> <Obj> <type>3</type> <id>202</id> <name>.preheader1.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>1</count> <item_version>0</item_version> <item>201</item> </node_objs> </item> <item class_id_reference="18" object_id="_157"> <Obj> <type>3</type> <id>208</id> <name>.preheader1</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>203</item> <item>204</item> <item>206</item> <item>207</item> </node_objs> </item> <item class_id_reference="18" object_id="_158"> <Obj> <type>3</type> <id>212</id> <name>_ZrsILi32ELb0EEN11ap_int_baseIXT_EXT0_EE5RTypeIXT_EXT0_EE4arg1ERKS1_i.exit2.i.i.i.i.i27.0</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>210</item> <item>211</item> </node_objs> </item> <item class_id_reference="18" object_id="_159"> <Obj> <type>3</type> <id>215</id> <name>PadMain_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>214</item> </node_objs> </item> <item class_id_reference="18" object_id="_160"> <Obj> <type>3</type> <id>217</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>1</count> <item_version>0</item_version> <item>216</item> </node_objs> </item> <item class_id_reference="18" object_id="_161"> <Obj> <type>3</type> <id>223</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>218</item> <item>219</item> <item>221</item> <item>222</item> </node_objs> </item> <item class_id_reference="18" object_id="_162"> <Obj> <type>3</type> <id>227</id> <name>PadBottom_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>1</count> <item_version>0</item_version> <item>226</item> </node_objs> </item> <item class_id_reference="18" object_id="_163"> <Obj> <type>3</type> <id>233</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>228</item> <item>229</item> <item>231</item> <item>232</item> </node_objs> </item> <item class_id_reference="18" object_id="_164"> <Obj> <type>3</type> <id>237</id> <name>_ZrsILi32ELb0EEN11ap_int_baseIXT_EXT0_EE5RTypeIXT_EXT0_EE4arg1ERKS1_i.exit2.i.i.i.i.i.0</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>235</item> <item>236</item> </node_objs> </item> <item class_id_reference="18" object_id="_165"> <Obj> <type>3</type> <id>240</id> <name>PadBottom_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>239</item> </node_objs> </item> <item class_id_reference="18" object_id="_166"> <Obj> <type>3</type> <id>242</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>241</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>488</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_167"> <id>243</id> <edge_type>2</edge_type> <source_obj>138</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_168"> <id>245</id> <edge_type>1</edge_type> <source_obj>244</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_169"> <id>246</id> <edge_type>2</edge_type> <source_obj>132</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_170"> <id>247</id> <edge_type>1</edge_type> <source_obj>136</source_obj> <sink_obj>133</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_171"> <id>248</id> <edge_type>2</edge_type> <source_obj>142</source_obj> <sink_obj>133</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_172"> <id>249</id> <edge_type>1</edge_type> <source_obj>133</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_173"> <id>251</id> <edge_type>1</edge_type> <source_obj>250</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_174"> <id>252</id> <edge_type>1</edge_type> <source_obj>133</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_175"> <id>254</id> <edge_type>1</edge_type> <source_obj>253</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_176"> <id>255</id> <edge_type>1</edge_type> <source_obj>134</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_177"> <id>256</id> <edge_type>2</edge_type> <source_obj>142</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_178"> <id>257</id> <edge_type>2</edge_type> <source_obj>145</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_179"> <id>260</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_180"> <id>261</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_181"> <id>262</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_182"> <id>263</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_183"> <id>264</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_184"> <id>265</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_185"> <id>266</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_186"> <id>267</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_187"> <id>268</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_188"> <id>269</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_189"> <id>270</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_190"> <id>271</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_191"> <id>272</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_192"> <id>273</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_193"> <id>274</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_194"> <id>275</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_195"> <id>276</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_196"> <id>277</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_197"> <id>278</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_198"> <id>279</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_199"> <id>280</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_200"> <id>281</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_201"> <id>282</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_202"> <id>283</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_203"> <id>284</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_204"> <id>285</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_205"> <id>286</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_206"> <id>287</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_207"> <id>288</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_208"> <id>289</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_209"> <id>290</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_210"> <id>291</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_211"> <id>293</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_212"> <id>294</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_213"> <id>295</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_214"> <id>296</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_215"> <id>297</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_216"> <id>298</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_217"> <id>299</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_218"> <id>300</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_219"> <id>301</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_220"> <id>302</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_221"> <id>303</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_222"> <id>304</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_223"> <id>305</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_224"> <id>306</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_225"> <id>307</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_226"> <id>308</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_227"> <id>309</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_228"> <id>310</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_229"> <id>311</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_230"> <id>312</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_231"> <id>313</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_232"> <id>314</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_233"> <id>315</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_234"> <id>316</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_235"> <id>317</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_236"> <id>318</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_237"> <id>319</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_238"> <id>320</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_239"> <id>321</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_240"> <id>322</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_241"> <id>323</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_242"> <id>324</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_243"> <id>325</id> <edge_type>2</edge_type> <source_obj>138</source_obj> <sink_obj>141</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_244"> <id>326</id> <edge_type>2</edge_type> <source_obj>151</source_obj> <sink_obj>144</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_245"> <id>327</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>146</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_246"> <id>328</id> <edge_type>2</edge_type> <source_obj>215</source_obj> <sink_obj>146</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_247"> <id>329</id> <edge_type>1</edge_type> <source_obj>244</source_obj> <sink_obj>146</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_248"> <id>330</id> <edge_type>2</edge_type> <source_obj>145</source_obj> <sink_obj>146</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_249"> <id>331</id> <edge_type>1</edge_type> <source_obj>146</source_obj> <sink_obj>147</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_250"> <id>333</id> <edge_type>1</edge_type> <source_obj>332</source_obj> <sink_obj>147</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_251"> <id>334</id> <edge_type>1</edge_type> <source_obj>146</source_obj> <sink_obj>149</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_252"> <id>335</id> <edge_type>1</edge_type> <source_obj>253</source_obj> <sink_obj>149</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_253"> <id>336</id> <edge_type>1</edge_type> <source_obj>147</source_obj> <sink_obj>150</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_254"> <id>337</id> <edge_type>2</edge_type> <source_obj>157</source_obj> <sink_obj>150</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_255"> <id>338</id> <edge_type>2</edge_type> <source_obj>217</source_obj> <sink_obj>150</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_256"> <id>339</id> <edge_type>2</edge_type> <source_obj>223</source_obj> <sink_obj>216</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_257"> <id>341</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_258"> <id>342</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_259"> <id>343</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_260"> <id>344</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_261"> <id>345</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_262"> <id>346</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_263"> <id>347</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_264"> <id>348</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_265"> <id>349</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_266"> <id>350</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_267"> <id>351</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_268"> <id>352</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_269"> <id>353</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_270"> <id>354</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_271"> <id>355</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_272"> <id>356</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_273"> <id>357</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_274"> <id>358</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_275"> <id>359</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_276"> <id>360</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_277"> <id>361</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_278"> <id>362</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_279"> <id>363</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_280"> <id>364</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_281"> <id>365</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_282"> <id>366</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_283"> <id>367</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_284"> <id>368</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_285"> <id>369</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_286"> <id>370</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_287"> <id>371</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_288"> <id>372</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_289"> <id>373</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_290"> <id>374</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_291"> <id>375</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_292"> <id>376</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_293"> <id>377</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_294"> <id>378</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_295"> <id>379</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_296"> <id>380</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_297"> <id>381</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_298"> <id>382</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_299"> <id>383</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_300"> <id>384</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_301"> <id>385</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_302"> <id>386</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_303"> <id>387</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_304"> <id>388</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_305"> <id>389</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_306"> <id>390</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_307"> <id>391</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_308"> <id>392</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_309"> <id>393</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_310"> <id>394</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_311"> <id>395</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_312"> <id>396</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_313"> <id>397</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_314"> <id>398</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_315"> <id>399</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_316"> <id>400</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_317"> <id>401</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_318"> <id>402</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_319"> <id>403</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_320"> <id>404</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_321"> <id>405</id> <edge_type>2</edge_type> <source_obj>163</source_obj> <sink_obj>156</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_322"> <id>406</id> <edge_type>1</edge_type> <source_obj>161</source_obj> <sink_obj>158</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_323"> <id>407</id> <edge_type>2</edge_type> <source_obj>200</source_obj> <sink_obj>158</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_324"> <id>408</id> <edge_type>1</edge_type> <source_obj>244</source_obj> <sink_obj>158</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_325"> <id>409</id> <edge_type>2</edge_type> <source_obj>157</source_obj> <sink_obj>158</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_326"> <id>410</id> <edge_type>1</edge_type> <source_obj>158</source_obj> <sink_obj>159</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_327"> <id>411</id> <edge_type>1</edge_type> <source_obj>332</source_obj> <sink_obj>159</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_328"> <id>412</id> <edge_type>1</edge_type> <source_obj>158</source_obj> <sink_obj>161</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_329"> <id>413</id> <edge_type>1</edge_type> <source_obj>253</source_obj> <sink_obj>161</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_330"> <id>414</id> <edge_type>1</edge_type> <source_obj>159</source_obj> <sink_obj>162</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_331"> <id>415</id> <edge_type>2</edge_type> <source_obj>200</source_obj> <sink_obj>162</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_332"> <id>416</id> <edge_type>2</edge_type> <source_obj>202</source_obj> <sink_obj>162</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_333"> <id>417</id> <edge_type>2</edge_type> <source_obj>208</source_obj> <sink_obj>201</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_334"> <id>420</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_335"> <id>421</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_336"> <id>422</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_337"> <id>423</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_338"> <id>424</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_339"> <id>425</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_340"> <id>426</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_341"> <id>427</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_342"> <id>428</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_343"> <id>429</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_344"> <id>430</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_345"> <id>431</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_346"> <id>432</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_347"> <id>433</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_348"> <id>434</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_349"> <id>435</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_350"> <id>436</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_351"> <id>437</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_352"> <id>438</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_353"> <id>439</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_354"> <id>440</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_355"> <id>441</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_356"> <id>442</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_357"> <id>443</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_358"> <id>444</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_359"> <id>445</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_360"> <id>446</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_361"> <id>447</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_362"> <id>448</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_363"> <id>449</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_364"> <id>450</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_365"> <id>451</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_366"> <id>452</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>166</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_367"> <id>453</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>167</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_368"> <id>454</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>168</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_369"> <id>455</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>169</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_370"> <id>456</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>170</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_371"> <id>457</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>171</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_372"> <id>458</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>172</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_373"> <id>459</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>173</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_374"> <id>460</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>174</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_375"> <id>461</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>175</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_376"> <id>462</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>176</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_377"> <id>463</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>177</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_378"> <id>464</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>178</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_379"> <id>465</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>179</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_380"> <id>466</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>180</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_381"> <id>467</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>181</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_382"> <id>468</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>182</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_383"> <id>469</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>183</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_384"> <id>470</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>184</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_385"> <id>471</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>185</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_386"> <id>472</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>186</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_387"> <id>473</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>187</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_388"> <id>474</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>188</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_389"> <id>475</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>189</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_390"> <id>476</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>190</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_391"> <id>477</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>191</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_392"> <id>478</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>192</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_393"> <id>479</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>193</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_394"> <id>480</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>194</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_395"> <id>481</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>195</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_396"> <id>482</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>196</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_397"> <id>483</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>197</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_398"> <id>485</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_399"> <id>486</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_400"> <id>487</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_401"> <id>488</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_402"> <id>489</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_403"> <id>490</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_404"> <id>491</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_405"> <id>492</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_406"> <id>493</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_407"> <id>494</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_408"> <id>495</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_409"> <id>496</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_410"> <id>497</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_411"> <id>498</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_412"> <id>499</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_413"> <id>500</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_414"> <id>501</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_415"> <id>502</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_416"> <id>503</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_417"> <id>504</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_418"> <id>505</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_419"> <id>506</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_420"> <id>507</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_421"> <id>508</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_422"> <id>509</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_423"> <id>510</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_424"> <id>511</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_425"> <id>512</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_426"> <id>513</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_427"> <id>514</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_428"> <id>515</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_429"> <id>516</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_430"> <id>517</id> <edge_type>1</edge_type> <source_obj>166</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_431"> <id>518</id> <edge_type>1</edge_type> <source_obj>167</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_432"> <id>519</id> <edge_type>1</edge_type> <source_obj>168</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_433"> <id>520</id> <edge_type>1</edge_type> <source_obj>169</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_434"> <id>521</id> <edge_type>1</edge_type> <source_obj>170</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_435"> <id>522</id> <edge_type>1</edge_type> <source_obj>171</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_436"> <id>523</id> <edge_type>1</edge_type> <source_obj>172</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_437"> <id>524</id> <edge_type>1</edge_type> <source_obj>173</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_438"> <id>525</id> <edge_type>1</edge_type> <source_obj>174</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_439"> <id>526</id> <edge_type>1</edge_type> <source_obj>175</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_440"> <id>527</id> <edge_type>1</edge_type> <source_obj>176</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_441"> <id>528</id> <edge_type>1</edge_type> <source_obj>177</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_442"> <id>529</id> <edge_type>1</edge_type> <source_obj>178</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_443"> <id>530</id> <edge_type>1</edge_type> <source_obj>179</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_444"> <id>531</id> <edge_type>1</edge_type> <source_obj>180</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_445"> <id>532</id> <edge_type>1</edge_type> <source_obj>181</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_446"> <id>533</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_447"> <id>534</id> <edge_type>1</edge_type> <source_obj>183</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_448"> <id>535</id> <edge_type>1</edge_type> <source_obj>184</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_449"> <id>536</id> <edge_type>1</edge_type> <source_obj>185</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_450"> <id>537</id> <edge_type>1</edge_type> <source_obj>186</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_451"> <id>538</id> <edge_type>1</edge_type> <source_obj>187</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_452"> <id>539</id> <edge_type>1</edge_type> <source_obj>188</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_453"> <id>540</id> <edge_type>1</edge_type> <source_obj>189</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_454"> <id>541</id> <edge_type>1</edge_type> <source_obj>190</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_455"> <id>542</id> <edge_type>1</edge_type> <source_obj>191</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_456"> <id>543</id> <edge_type>1</edge_type> <source_obj>192</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_457"> <id>544</id> <edge_type>1</edge_type> <source_obj>193</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_458"> <id>545</id> <edge_type>1</edge_type> <source_obj>194</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_459"> <id>546</id> <edge_type>1</edge_type> <source_obj>195</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_460"> <id>547</id> <edge_type>1</edge_type> <source_obj>196</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_461"> <id>548</id> <edge_type>1</edge_type> <source_obj>197</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_462"> <id>549</id> <edge_type>2</edge_type> <source_obj>163</source_obj> <sink_obj>199</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_463"> <id>550</id> <edge_type>1</edge_type> <source_obj>206</source_obj> <sink_obj>203</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_464"> <id>551</id> <edge_type>2</edge_type> <source_obj>212</source_obj> <sink_obj>203</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_465"> <id>553</id> <edge_type>1</edge_type> <source_obj>552</source_obj> <sink_obj>203</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_466"> <id>554</id> <edge_type>2</edge_type> <source_obj>202</source_obj> <sink_obj>203</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_467"> <id>555</id> <edge_type>1</edge_type> <source_obj>203</source_obj> <sink_obj>204</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_468"> <id>557</id> <edge_type>1</edge_type> <source_obj>556</source_obj> <sink_obj>204</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_469"> <id>558</id> <edge_type>1</edge_type> <source_obj>203</source_obj> <sink_obj>206</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_470"> <id>560</id> <edge_type>1</edge_type> <source_obj>559</source_obj> <sink_obj>206</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_471"> <id>561</id> <edge_type>1</edge_type> <source_obj>204</source_obj> <sink_obj>207</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_472"> <id>562</id> <edge_type>2</edge_type> <source_obj>212</source_obj> <sink_obj>207</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_473"> <id>563</id> <edge_type>2</edge_type> <source_obj>215</source_obj> <sink_obj>207</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_474"> <id>565</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_475"> <id>566</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_476"> <id>567</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_477"> <id>568</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_478"> <id>569</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_479"> <id>570</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_480"> <id>571</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_481"> <id>572</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_482"> <id>573</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_483"> <id>574</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_484"> <id>575</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_485"> <id>576</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_486"> <id>577</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_487"> <id>578</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_488"> <id>579</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_489"> <id>580</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_490"> <id>581</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_491"> <id>582</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_492"> <id>583</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_493"> <id>584</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_494"> <id>585</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_495"> <id>586</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_496"> <id>587</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_497"> <id>588</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_498"> <id>589</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_499"> <id>590</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_500"> <id>591</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_501"> <id>592</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_502"> <id>593</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_503"> <id>594</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_504"> <id>595</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_505"> <id>596</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_506"> <id>597</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_507"> <id>598</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_508"> <id>599</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_509"> <id>600</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_510"> <id>601</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_511"> <id>602</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_512"> <id>603</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_513"> <id>604</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_514"> <id>605</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_515"> <id>606</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_516"> <id>607</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_517"> <id>608</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_518"> <id>609</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_519"> <id>610</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_520"> <id>611</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_521"> <id>612</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_522"> <id>613</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_523"> <id>614</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_524"> <id>615</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_525"> <id>616</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_526"> <id>617</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_527"> <id>618</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_528"> <id>619</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_529"> <id>620</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_530"> <id>621</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_531"> <id>622</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_532"> <id>623</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_533"> <id>624</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_534"> <id>625</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_535"> <id>626</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_536"> <id>627</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_537"> <id>628</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_538"> <id>629</id> <edge_type>2</edge_type> <source_obj>208</source_obj> <sink_obj>211</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_539"> <id>630</id> <edge_type>2</edge_type> <source_obj>151</source_obj> <sink_obj>214</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_540"> <id>631</id> <edge_type>1</edge_type> <source_obj>221</source_obj> <sink_obj>218</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_541"> <id>632</id> <edge_type>2</edge_type> <source_obj>240</source_obj> <sink_obj>218</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_542"> <id>633</id> <edge_type>1</edge_type> <source_obj>552</source_obj> <sink_obj>218</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_543"> <id>634</id> <edge_type>2</edge_type> <source_obj>217</source_obj> <sink_obj>218</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_544"> <id>635</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>219</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_545"> <id>636</id> <edge_type>1</edge_type> <source_obj>556</source_obj> <sink_obj>219</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_546"> <id>637</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>221</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_547"> <id>638</id> <edge_type>1</edge_type> <source_obj>559</source_obj> <sink_obj>221</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_548"> <id>639</id> <edge_type>1</edge_type> <source_obj>219</source_obj> <sink_obj>222</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_549"> <id>640</id> <edge_type>2</edge_type> <source_obj>227</source_obj> <sink_obj>222</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_550"> <id>641</id> <edge_type>2</edge_type> <source_obj>242</source_obj> <sink_obj>222</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_551"> <id>642</id> <edge_type>2</edge_type> <source_obj>233</source_obj> <sink_obj>226</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_552"> <id>643</id> <edge_type>1</edge_type> <source_obj>244</source_obj> <sink_obj>228</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_553"> <id>644</id> <edge_type>2</edge_type> <source_obj>227</source_obj> <sink_obj>228</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_554"> <id>645</id> <edge_type>1</edge_type> <source_obj>231</source_obj> <sink_obj>228</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_555"> <id>646</id> <edge_type>2</edge_type> <source_obj>237</source_obj> <sink_obj>228</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_556"> <id>647</id> <edge_type>1</edge_type> <source_obj>228</source_obj> <sink_obj>229</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_557"> <id>648</id> <edge_type>1</edge_type> <source_obj>250</source_obj> <sink_obj>229</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_558"> <id>649</id> <edge_type>1</edge_type> <source_obj>228</source_obj> <sink_obj>231</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_559"> <id>650</id> <edge_type>1</edge_type> <source_obj>253</source_obj> <sink_obj>231</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_560"> <id>651</id> <edge_type>1</edge_type> <source_obj>229</source_obj> <sink_obj>232</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_561"> <id>652</id> <edge_type>2</edge_type> <source_obj>237</source_obj> <sink_obj>232</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_562"> <id>653</id> <edge_type>2</edge_type> <source_obj>240</source_obj> <sink_obj>232</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_563"> <id>655</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_564"> <id>656</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_565"> <id>657</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_566"> <id>658</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_567"> <id>659</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_568"> <id>660</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_569"> <id>661</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_570"> <id>662</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_571"> <id>663</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_572"> <id>664</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_573"> <id>665</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_574"> <id>666</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_575"> <id>667</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_576"> <id>668</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_577"> <id>669</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_578"> <id>670</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_579"> <id>671</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_580"> <id>672</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_581"> <id>673</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_582"> <id>674</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_583"> <id>675</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_584"> <id>676</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_585"> <id>677</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_586"> <id>678</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_587"> <id>679</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_588"> <id>680</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_589"> <id>681</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_590"> <id>682</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_591"> <id>683</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_592"> <id>684</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_593"> <id>685</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_594"> <id>686</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_595"> <id>687</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_596"> <id>688</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_597"> <id>689</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_598"> <id>690</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_599"> <id>691</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_600"> <id>692</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_601"> <id>693</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_602"> <id>694</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_603"> <id>695</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_604"> <id>696</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_605"> <id>697</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_606"> <id>698</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_607"> <id>699</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_608"> <id>700</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_609"> <id>701</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_610"> <id>702</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_611"> <id>703</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_612"> <id>704</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_613"> <id>705</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_614"> <id>706</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_615"> <id>707</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_616"> <id>708</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_617"> <id>709</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_618"> <id>710</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_619"> <id>711</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_620"> <id>712</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_621"> <id>713</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_622"> <id>714</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_623"> <id>715</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_624"> <id>716</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_625"> <id>717</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_626"> <id>718</id> <edge_type>1</edge_type> <source_obj>292</source_obj> <sink_obj>235</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_627"> <id>719</id> <edge_type>2</edge_type> <source_obj>233</source_obj> <sink_obj>236</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_628"> <id>720</id> <edge_type>2</edge_type> <source_obj>223</source_obj> <sink_obj>239</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_629"> <id>1895</id> <edge_type>2</edge_type> <source_obj>132</source_obj> <sink_obj>138</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_630"> <id>1896</id> <edge_type>2</edge_type> <source_obj>138</source_obj> <sink_obj>145</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_631"> <id>1897</id> <edge_type>2</edge_type> <source_obj>138</source_obj> <sink_obj>142</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_632"> <id>1898</id> <edge_type>2</edge_type> <source_obj>142</source_obj> <sink_obj>138</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_633"> <id>1899</id> <edge_type>2</edge_type> <source_obj>145</source_obj> <sink_obj>151</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_634"> <id>1900</id> <edge_type>2</edge_type> <source_obj>151</source_obj> <sink_obj>217</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_635"> <id>1901</id> <edge_type>2</edge_type> <source_obj>151</source_obj> <sink_obj>157</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_636"> <id>1902</id> <edge_type>2</edge_type> <source_obj>157</source_obj> <sink_obj>163</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_637"> <id>1903</id> <edge_type>2</edge_type> <source_obj>163</source_obj> <sink_obj>202</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_638"> <id>1904</id> <edge_type>2</edge_type> <source_obj>163</source_obj> <sink_obj>200</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_639"> <id>1905</id> <edge_type>2</edge_type> <source_obj>200</source_obj> <sink_obj>163</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_640"> <id>1906</id> <edge_type>2</edge_type> <source_obj>202</source_obj> <sink_obj>208</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_641"> <id>1907</id> <edge_type>2</edge_type> <source_obj>208</source_obj> <sink_obj>215</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_642"> <id>1908</id> <edge_type>2</edge_type> <source_obj>208</source_obj> <sink_obj>212</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_643"> <id>1909</id> <edge_type>2</edge_type> <source_obj>212</source_obj> <sink_obj>208</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_644"> <id>1910</id> <edge_type>2</edge_type> <source_obj>215</source_obj> <sink_obj>151</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_645"> <id>1911</id> <edge_type>2</edge_type> <source_obj>217</source_obj> <sink_obj>223</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_646"> <id>1912</id> <edge_type>2</edge_type> <source_obj>223</source_obj> <sink_obj>242</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_647"> <id>1913</id> <edge_type>2</edge_type> <source_obj>223</source_obj> <sink_obj>227</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_648"> <id>1914</id> <edge_type>2</edge_type> <source_obj>227</source_obj> <sink_obj>233</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_649"> <id>1915</id> <edge_type>2</edge_type> <source_obj>233</source_obj> <sink_obj>240</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_650"> <id>1916</id> <edge_type>2</edge_type> <source_obj>233</source_obj> <sink_obj>237</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_651"> <id>1917</id> <edge_type>2</edge_type> <source_obj>237</source_obj> <sink_obj>233</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_652"> <id>1918</id> <edge_type>2</edge_type> <source_obj>240</source_obj> <sink_obj>223</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_653"> <id>1919</id> <edge_type>4</edge_type> <source_obj>155</source_obj> <sink_obj>198</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_654"> <id>1920</id> <edge_type>4</edge_type> <source_obj>155</source_obj> <sink_obj>210</sink_obj> <is_back_edge>0</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>16</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_655"> <mId>1</mId> <mTag>zeropad2d_cl&lt;array,array&lt;ap_fixed,32u&gt;,config20&gt;</mTag> <mType>0</mType> <sub_regions> <count>7</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> <item>5</item> <item>11</item> <item>12</item> <item>16</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>1296</mMinLatency> <mMaxLatency>1296</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_656"> <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>132</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="_657"> <mId>3</mId> <mTag>PadTopWidth</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>138</item> <item>142</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>35</mMinTripCount> <mMaxTripCount>35</mMaxTripCount> <mMinLatency>35</mMinLatency> <mMaxLatency>35</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_658"> <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>145</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="_659"> <mId>5</mId> <mTag>PadMain</mTag> <mType>1</mType> <sub_regions> <count>5</count> <item_version>0</item_version> <item>6</item> <item>7</item> <item>8</item> <item>9</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>32</mMinTripCount> <mMaxTripCount>32</mMaxTripCount> <mMinLatency>1184</mMinLatency> <mMaxLatency>1184</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_660"> <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>151</item> <item>157</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="_661"> <mId>7</mId> <mTag>CopyMain</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>163</item> <item>200</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>32</mMinTripCount> <mMaxTripCount>32</mMaxTripCount> <mMinLatency>32</mMinLatency> <mMaxLatency>32</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_662"> <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>202</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="_663"> <mId>9</mId> <mTag>PadRight</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>208</item> <item>212</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>2</mMinTripCount> <mMaxTripCount>2</mMaxTripCount> <mMinLatency>2</mMinLatency> <mMaxLatency>2</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_664"> <mId>10</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>215</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="_665"> <mId>11</mId> <mTag>Region 5</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>217</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="_666"> <mId>12</mId> <mTag>PadBottom</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>13</item> <item>14</item> <item>15</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>2</mMinTripCount> <mMaxTripCount>2</mMaxTripCount> <mMinLatency>74</mMinLatency> <mMaxLatency>74</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_667"> <mId>13</mId> <mTag>Region 6</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>223</item> <item>227</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="_668"> <mId>14</mId> <mTag>PadBottomWidth</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>233</item> <item>237</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>35</mMinTripCount> <mMaxTripCount>35</mMaxTripCount> <mMinLatency>35</mMinLatency> <mMaxLatency>35</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_669"> <mId>15</mId> <mTag>Region 7</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>240</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="_670"> <mId>16</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>242</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="-1"></fsm> <res class_id="-1"></res> <node_label_latency class_id="26" tracking_level="0" version="0"> <count>75</count> <item_version>0</item_version> <item class_id="27" tracking_level="0" version="0"> <first>131</first> <second class_id="28" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>133</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>134</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>136</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>137</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>140</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>141</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>144</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>146</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>147</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>149</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>150</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>155</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>156</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>158</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>159</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>161</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>162</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>165</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>166</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>167</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>168</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>169</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>170</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>171</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>172</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>173</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>174</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>175</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>176</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>177</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>178</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>179</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>180</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>181</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>182</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>183</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>184</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>185</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>186</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>187</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>188</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>189</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>190</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>191</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>192</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>193</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>194</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>195</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>196</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>197</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>198</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>199</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>201</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>203</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>204</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>206</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>207</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>210</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>211</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>214</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>216</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>218</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>219</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>221</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>222</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>226</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>228</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>229</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>231</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>232</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>235</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>236</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>239</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>241</first> <second> <first>5</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="29" tracking_level="0" version="0"> <count>19</count> <item_version>0</item_version> <item class_id="30" tracking_level="0" version="0"> <first>132</first> <second class_id="31" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>138</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>142</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>145</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>151</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>157</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>163</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>200</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>202</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>208</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>212</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>215</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>217</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>223</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>227</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>233</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>237</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>240</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>242</first> <second> <first>3</first> <second>3</second> </second> </item> </bblk_ent_exit> <regions class_id="32" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="34" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="35" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="36" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
-- reader1.c -- -- section: xmlReader -- synopsis: Parse an XML file with an xmlReader -- purpose: Demonstrate the use of xmlReaderForFile() to parse an XML file -- and dump the informations about the nodes found in the process. -- (Note that the XMLReader functions require libxml2 version later -- than 2.6.) -- usage: reader1 <filename> -- test: reader1 test2.xml > reader1.tmp ; -- diff reader1.tmp reader1.res ; -- rm reader1.tmp -- author: Daniel Veillard -- copy: see Copyright for the status of this software. -- -- reader2.c -- -- section: xmlReader -- synopsis: Parse and validate an XML file with an xmlReader -- purpose: Demonstrate the use of xmlReaderForFile() to parse an XML file -- validating the content in the process and activating options -- like entities substitution, and DTD attributes defaulting. -- (Note that the XMLReader functions require libxml2 version later -- than 2.6.) -- usage: reader2 <valid_xml_filename> -- test: reader2 test2.xml > reader1.tmp ; -- diff reader1.tmp reader1.res ; -- rm reader1.tmp -- author: Daniel Veillard -- copy: see Copyright for the status of this software. -- -- reader3.c -- -- section: xmlReader -- synopsis: Show how to extract subdocuments with xmlReader -- purpose: Demonstrate the use of xmlTextReaderPreservePattern() -- to parse an XML file with the xmlReader while collecting -- only some subparts of the document. -- (Note that the XMLReader functions require libxml2 version later -- than 2.6.) -- usage: reader3 -- test: reader3 > reader3.tmp ; -- diff reader3.tmp reader3.res ; -- rm reader3.tmp -- author: Daniel Veillard -- copy: see Copyright for the status of this software. -- -- reader4.c -- -- section: xmlReader -- synopsis: Parse multiple XML files reusing an xmlReader -- purpose: Demonstrate the use of xmlReaderForFile() and -- xmlReaderNewFile to parse XML files while reusing the reader object -- and parser context. (Note that the XMLReader functions require -- libxml2 version later than 2.6.) -- usage: reader4 <filename> [ filename ... ] -- test: reader4 test1.xml test2.xml test3.xml > reader4.tmp ; -- diff reader4.tmp reader4.res ; -- rm reader4.tmp -- author: Graham Bennett -- copy: see Copyright for the status of this software. -- -- Ada version by yt -- with Ada.Text_IO; with Ada.Unchecked_Conversion; with C.stdio; with C.stdlib; with C.string; with C.libxml.xmlreader; with C.libxml.parser; with C.libxml.xmlmemory; with C.libxml.xmlstring; with C.libxml.tree; with C.libxml.xmlversion; --pragma Compile_Time_Error ( -- not C.libxml.xmlversion.LIBXML_READER_ENABLED -- or else not C.libxml.xmlversion.LIBXML_PATTERN_ENABLED -- or else not C.libxml.xmlversion.LIBXML_OUTPUT_ENABLED, -- "Reader, Pattern or output support not compiled in"); procedure test_reader is pragma Linker_Options ("-lxml2"); use type C.char; use type C.char_array; use type C.signed_int; use type C.size_t; use type C.unsigned_int; use type C.libxml.tree.xmlDocPtr; use type C.libxml.xmlreader.xmlTextReaderPtr; use type C.libxml.xmlstring.xmlChar_const_ptr; function To_char_const_ptr is new Ada.Unchecked_Conversion ( C.libxml.xmlstring.xmlChar_const_ptr, C.char_const_ptr); function To_xmlChar_const_ptr is new Ada.Unchecked_Conversion ( C.char_const_ptr, C.libxml.xmlstring.xmlChar_const_ptr); Write_Mode : constant C.char_array := "w" & C.char'Val (0); stdout : access C.stdio.FILE; procedure fwrite ( ptr : not null access constant C.char; size : in C.size_t; nitems : in C.size_t; stream : access C.stdio.FILE) is Dummy_size_t : C.size_t; begin Dummy_size_t := C.stdio.fwrite ( C.void_const_ptr (ptr.all'Address), size, nitems, stream); end fwrite; procedure fputs ( s : not null access constant C.char; stream : access C.stdio.FILE) is Dummy_signed_int : C.signed_int; begin Dummy_signed_int := C.stdio.fputs (s, stream); end fputs; procedure fputs ( s : in C.char_array; stream : access C.stdio.FILE) is begin fputs (s (s'First)'Access, stream); end fputs; procedure fputd ( d : in C.signed_int; stream : access C.stdio.FILE) is s : C.char_array (0 .. 10); i : C.size_t := s'Last; r : C.signed_int := d; begin if r < 0 then fputs (' ' & C.char'Val (0), stream); r := -r; end if; s (i) := C.char'Val (0); loop i := i - 1; s (i) := C.char'Val (C.char'Pos ('0') + r rem 10); r := r / 10; exit when r = 0; end loop; fputs (s (i)'Access, stream); end fputd; procedure processNode_For_1_and_2 ( reader : C.libxml.xmlreader.xmlTextReaderPtr) is name, value : C.libxml.xmlstring.xmlChar_const_ptr; S1 : constant C.char_array := "--" & C.char'Val (0); begin name := C.libxml.xmlreader.xmlTextReaderConstName (reader); if name = null then name := To_xmlChar_const_ptr (S1 (S1'First)'Unchecked_Access); end if; value := C.libxml.xmlreader.xmlTextReaderConstValue (reader); fputd (C.libxml.xmlreader.xmlTextReaderDepth (reader), stdout); fputs (' ' & C.char'Val (0), stdout); fputd (C.libxml.xmlreader.xmlTextReaderNodeType (reader), stdout); fputs (' ' & C.char'Val (0), stdout); fputs (To_char_const_ptr (name), stdout); fputs (' ' & C.char'Val (0), stdout); fputd (C.libxml.xmlreader.xmlTextReaderIsEmptyElement (reader), stdout); fputs (' ' & C.char'Val (0), stdout); fputd (C.libxml.xmlreader.xmlTextReaderHasValue (reader), stdout); if value = null then fputs (C.char'Val (10) & C.char'Val (0), stdout); else if C.libxml.xmlstring.xmlStrlen (value) > 40 then fputs (' ' & C.char'Val (0), stdout); fwrite (To_char_const_ptr (value), 1, 40, stdout); fputs ("..." & C.char'Val (10) & C.char'Val (0), stdout); else fputs (' ' & C.char'Val (0), stdout); fputs (To_char_const_ptr (value), stdout); fputs (C.char'Val (10) & C.char'Val (0), stdout); end if; end if; end processNode_For_1_and_2; -- do as reader1.c procedure reader1 (argv1, output : in C.char_array) is -- processNode: -- @reader: the xmlReader -- -- Dump information about the current node procedure processNode (reader : C.libxml.xmlreader.xmlTextReaderPtr) renames processNode_For_1_and_2; -- streamFile: -- @filename: the file name to parse -- -- Parse and print information about an XML file. procedure streamFile (filename : access constant C.char) is reader : C.libxml.xmlreader.xmlTextReaderPtr; ret : C.signed_int; begin reader := C.libxml.xmlreader.xmlReaderForFile (filename, null, 0); if reader /= null then ret := C.libxml.xmlreader.xmlTextReaderRead (reader); while ret = 1 loop processNode (reader); ret := C.libxml.xmlreader.xmlTextReaderRead (reader); end loop; C.libxml.xmlreader.xmlFreeTextReader (reader); if ret /= 0 then fputs (filename, C.stdio.stderr); fputs ( " : failed to parse" & C.char'Val (10) & C.char'Val (0), C.stdio.stderr); end if; else fputs ("Unable to open " & C.char'Val (0), C.stdio.stderr); fputs (filename, C.stdio.stderr); fputs (C.char'Val (10) & C.char'Val (0), C.stdio.stderr); end if; end streamFile; Dummy_signed_int : C.signed_int; begin stdout := C.stdio.fopen ( output (output'First)'Access, Write_Mode (Write_Mode'First)'Access); streamFile (argv1 (argv1'First)'Access); Dummy_signed_int := C.stdio.fclose (stdout); end reader1; -- do as reader2.c procedure reader2 (argv1, output : in C.char_array) is -- processNode: -- @reader: the xmlReader -- -- Dump information about the current node procedure processNode (reader : C.libxml.xmlreader.xmlTextReaderPtr) renames processNode_For_1_and_2; -- streamFile: -- @filename: the file name to parse -- -- Parse, validate and print information about an XML file. procedure streamFile (filename : access constant C.char) is reader : C.libxml.xmlreader.xmlTextReaderPtr; ret : C.signed_int; begin -- Pass some special parsing options to activate DTD attribute defaulting, -- entities substitution and DTD validation reader := C.libxml.xmlreader.xmlReaderForFile ( filename, null, C.signed_int ( C.unsigned_int'( C.libxml.parser.xmlParserOption'Enum_Rep ( C.libxml.parser.XML_PARSE_DTDATTR) -- default DTD attributes or C.libxml.parser.xmlParserOption'Enum_Rep ( C.libxml.parser.XML_PARSE_NOENT) -- substitute entities or C.libxml.parser.xmlParserOption'Enum_Rep ( C.libxml.parser.XML_PARSE_DTDVALID)))); -- validate with the DTD if reader /= null then ret := C.libxml.xmlreader.xmlTextReaderRead (reader); while ret = 1 loop processNode (reader); ret := C.libxml.xmlreader.xmlTextReaderRead (reader); end loop; -- Once the document has been fully parsed check the validation results if C.libxml.xmlreader.xmlTextReaderIsValid (reader) /= 1 then fputs ("Document " & C.char'Val (0), C.stdio.stderr); fputs (filename, C.stdio.stderr); fputs ( " does not validate" & C.char'Val (10) & C.char'Val (0), C.stdio.stderr); end if; C.libxml.xmlreader.xmlFreeTextReader (reader); if ret /= 0 then fputs (filename, C.stdio.stderr); fputs ( " : failed to parse" & C.char'Val (10) & C.char'Val (0), C.stdio.stderr); end if; else fputs ("Unable to open " & C.char'Val (0), C.stdio.stderr); fputs (filename, C.stdio.stderr); fputs (C.char'Val (10) & C.char'Val (0), C.stdio.stderr); end if; end streamFile; Dummy_signed_int : C.signed_int; begin stdout := C.stdio.fopen ( output (output'First)'Access, Write_Mode (Write_Mode'First)'Access); streamFile (argv1 (argv1'First)'Access); Dummy_signed_int := C.stdio.fclose (stdout); end reader2; -- do as reader3.c procedure reader3 (output : in C.char_array) is -- streamFile: -- @filename: the file name to parse -- -- Parse and print information about an XML file. -- -- Returns the resulting doc with just the elements preserved. function extractFile ( filename : access constant C.char; pattern : C.libxml.xmlstring.xmlChar_const_ptr) return C.libxml.tree.xmlDocPtr is doc : C.libxml.tree.xmlDocPtr; reader : C.libxml.xmlreader.xmlTextReaderPtr; ret : C.signed_int; begin -- build an xmlReader for that file reader := C.libxml.xmlreader.xmlReaderForFile (filename, null, 0); if reader /= null then -- add the pattern to preserve if C.libxml.xmlreader.xmlTextReaderPreservePattern ( reader, pattern, null) < 0 then fputs (filename, C.stdio.stderr); fputs ( " : failed add preserve pattern " & C.char'Val (0), C.stdio.stderr); fputs (To_char_const_ptr (pattern), C.stdio.stderr); fputs (C.char'Val (10) & C.char'Val (0), C.stdio.stderr); end if; -- Parse and traverse the tree, collecting the nodes in the process ret := C.libxml.xmlreader.xmlTextReaderRead (reader); while ret = 1 loop ret := C.libxml.xmlreader.xmlTextReaderRead (reader); end loop; if ret /= 0 then fputs (filename, C.stdio.stderr); fputs ( " : failed to parse" & C.char'Val (10) & C.char'Val (0), C.stdio.stderr); C.libxml.xmlreader.xmlFreeTextReader (reader); return null; end if; -- get the resulting nodes doc := C.libxml.xmlreader.xmlTextReaderCurrentDoc (reader); -- Free up the reader C.libxml.xmlreader.xmlFreeTextReader (reader); else fputs ("Unable to open " & C.char'Val (0), C.stdio.stderr); fputs (filename, C.stdio.stderr); fputs (C.char'Val (10) & C.char'Val (0), C.stdio.stderr); return null; end if; return doc; end extractFile; filename : constant C.char_array := "test3.xml" & C.char'Val (0); pattern : constant C.char_array := "preserved" & C.char'Val (0); doc : C.libxml.tree.xmlDocPtr; Dummy_signed_int : C.signed_int; begin stdout := C.stdio.fopen ( output (output'First)'Access, Write_Mode (Write_Mode'First)'Access); doc := extractFile ( filename (filename'First)'Access, To_xmlChar_const_ptr (pattern (pattern'First)'Unchecked_Access)); if doc /= null then -- ouptut the result. Dummy_signed_int := C.libxml.tree.xmlDocDump (stdout, doc); -- don't forget to free up the doc C.libxml.tree.xmlFreeDoc (doc); end if; Dummy_signed_int := C.stdio.fclose (stdout); end reader3; -- do as reader4.c procedure reader4 (argv1, argv2, argv3, output : in C.char_array) is procedure processDoc (readerPtr : C.libxml.xmlreader.xmlTextReaderPtr) is ret : C.signed_int; docPtr : C.libxml.tree.xmlDocPtr; URL : C.libxml.xmlstring.xmlChar_const_ptr; begin ret := C.libxml.xmlreader.xmlTextReaderRead (readerPtr); while ret = 1 loop ret := C.libxml.xmlreader.xmlTextReaderRead (readerPtr); end loop; -- One can obtain the document pointer to get insteresting -- information about the document like the URL, but one must also -- be sure to clean it up at the end (see below). docPtr := C.libxml.xmlreader.xmlTextReaderCurrentDoc (readerPtr); if null = docPtr then fputs ( "failed to obtain document" & C.char'Val (10) & C.char'Val (0), C.stdio.stderr); return; end if; URL := docPtr.URL; if null = URL then fputs (To_char_const_ptr (URL), C.stdio.stderr); fputs ( ": Failed to obtain URL" & C.char'Val (10) & C.char'Val (0), C.stdio.stderr); end if; if ret /= 0 then fputs (To_char_const_ptr (URL), C.stdio.stderr); fputs ( " : failed to parse" & C.char'Val (10) & C.char'Val (0), C.stdio.stderr); return; end if; fputs (To_char_const_ptr (URL), stdout); fputs (": Processed ok" & C.char'Val (10) & C.char'Val (0), stdout); end processDoc; readerPtr : C.libxml.xmlreader.xmlTextReaderPtr; docPtr : C.libxml.tree.xmlDocPtr; Dummy_signed_int : C.signed_int; begin stdout := C.stdio.fopen ( output (output'First)'Access, Write_Mode (Write_Mode'First)'Access); -- Create a new reader for the first file and process the document. readerPtr := C.libxml.xmlreader.xmlReaderForFile (argv1 (argv1'First)'Access, null, 0); if null = readerPtr then fputs (argv1, C.stdio.stderr); fputs ( ": failed to create reader" & C.char'Val (10) & C.char'Val (0), C.stdio.stderr); raise Program_Error; end if; processDoc (readerPtr); -- The reader can be reused for subsequent files. for i in 2 .. 3 loop declare argv_i : access constant C.char; begin case i is when 2 => argv_i := argv2 (argv2'First)'Access; when 3 => argv_i := argv3 (argv3'First)'Access; end case; if C.libxml.xmlreader.xmlReaderNewFile (readerPtr, argv_i, null, 0) < 0 then raise Program_Error; end if; if null = readerPtr then fputs (argv_i, C.stdio.stderr); fputs ( ": failed to create reader" & C.char'Val (10) & C.char'Val (0), C.stdio.stderr); raise Program_Error; end if; processDoc (readerPtr); end; end loop; -- Since we've called xmlTextReaderCurrentDoc, we now have to -- clean up after ourselves. We only have to do this the last -- time, because xmlReaderNewFile calls xmlCtxtReset which takes -- care of it. docPtr := C.libxml.xmlreader.xmlTextReaderCurrentDoc (readerPtr); if docPtr /= null then C.libxml.tree.xmlFreeDoc (docPtr); end if; -- Clean up the reader. C.libxml.xmlreader.xmlFreeTextReader (readerPtr); Dummy_signed_int := C.stdio.fclose (stdout); end reader4; begin -- this initialize the library and check potential ABI mismatches -- between the version it was compiled for and the actual shared -- library used. C.libxml.xmlversion.xmlCheckVersion (C.libxml.xmlversion.LIBXML_VERSION); Tests : declare Default_Temp : constant C.char_array (0 .. 4) := "/tmp" & C.char'Val (0); function Get_Temp return access constant C.char is TMPDIR : constant C.char_array (0 .. 6) := "TMPDIR" & C.char'Val (0); Temp : access constant C.char := C.stdlib.getenv (TMPDIR (0)'Access); begin if Temp = null or else Temp.all = C.char'Val (0) then Temp := Default_Temp (0)'Access; end if; return Temp; end Get_Temp; Temp : constant not null access constant C.char := Get_Temp; Dummy_char_ptr : C.char_ptr; begin declare argv1 : constant C.char_array := "test2.xml" & C.char'Val (0); output_Name : constant C.char_array := "/reader1.tmp" & C.char'Val (0); output : aliased C.char_array (0 .. C.string.strlen (Temp) + 256); begin Dummy_char_ptr := C.string.strcpy (output (0)'Access, Temp); Dummy_char_ptr := C.string.strcat (output (0)'Access, output_Name (0)'Access); reader1 (argv1, output); end; declare argv1 : constant C.char_array := "test2.xml" & C.char'Val (0); output_Name : constant C.char_array := "/reader2.tmp" & C.char'Val (0); output : aliased C.char_array (0 .. C.string.strlen (Temp) + 256); begin Dummy_char_ptr := C.string.strcpy (output (0)'Access, Temp); Dummy_char_ptr := C.string.strcat (output (0)'Access, output_Name (0)'Access); reader2 (argv1, output); end; declare output_Name : constant C.char_array := "/reader3.tmp" & C.char'Val (0); output : aliased C.char_array (0 .. C.string.strlen (Temp) + 256); begin Dummy_char_ptr := C.string.strcpy (output (0)'Access, Temp); Dummy_char_ptr := C.string.strcat (output (0)'Access, output_Name (0)'Access); reader3 (output); end; declare argv1 : constant C.char_array := "test1.xml" & C.char'Val (0); argv2 : constant C.char_array := "test2.xml" & C.char'Val (0); argv3 : constant C.char_array := "test3.xml" & C.char'Val (0); output_Name : constant C.char_array := "/reader4.tmp" & C.char'Val (0); output : aliased C.char_array (0 .. C.string.strlen (Temp) + 256); begin Dummy_char_ptr := C.string.strcpy (output (0)'Access, Temp); Dummy_char_ptr := C.string.strcat (output (0)'Access, output_Name (0)'Access); reader4 (argv1, argv2, argv3, output); end; end Tests; -- Cleanup function for the XML library. C.libxml.parser.xmlCleanupParser; -- this is to debug memory for regression tests C.libxml.xmlmemory.xmlMemoryDump; -- finish Ada.Text_IO.Put_Line (Ada.Text_IO.Standard_Error.all, "ok"); end test_reader;
with Dsp.Functions; with Ada.Complex_Text_IO; with Ada.Text_IO; with Ada.Numerics.Complex_Types; procedure Main is use Dsp.Functions; use Ada.Complex_Text_IO; use Ada; use Ada.Numerics.Complex_Types; F1 : Real_FIR; F2 : Complex_IIR; F3 : Complex_IIR; Result : constant Scalar_Array (0 .. 10) := (1.00000000000000, 0.00618033988750, 0.01611853648862, -0.01591953648862, -0.00605735112374, 0.01930895010000, -0.00587744173801, -0.01532856781963, 0.01513932079970, 0.00576048064743, -0.01836261941912); -- (1.0000000, -- 0.0061803, -- 0.0161185, -- -0.0159195, -- - 0.0060574, -- 0.0193090, -- -0.0058774, -- - 0.0153286, -- 0.0151393, -- 0.0057605, -- -0.0183626); Tmp : Float; begin F1.Set (Real_Filters.Coefficient_Array'(0 => 1.0, 1 => 2.0, 2 => 3.0)); for K in 0 .. 5 loop Text_IO.Put (F1.Filter (Delta_Signal (K))'img); Text_IO.New_Line; end loop; F2.Set (Numerator => Complexify (Real_Filters.Coefficient_Array'(0 => 1.0)), Denominator => Complexify(Real_Filters.Coefficient_Array'(0 => 1.0, 1 => -0.5))); Text_IO.Put_Line ("------------"); for K in 0 .. 5 loop Put (F2.Filter (Delta_Signal (K))); Text_IO.New_Line; end loop; F3.Set (Notch_Specs (Freq => 0.3, Pole_Radius => 0.99, Class => Stopband)); Text_IO.Put_Line ("------------"); Tmp := 0.0; for K in Result'Range loop Tmp := Tmp + abs (Re (F3.Filter (Delta_Signal (K))) -Result (K)); end loop; Text_IO.Put_Line (Tmp'Img); end Main;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- E X P _ P R A G -- -- -- -- 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. -- -- -- -- 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 Casing; use Casing; with Einfo; use Einfo; with Errout; use Errout; with Exp_Ch11; use Exp_Ch11; with Exp_Tss; use Exp_Tss; with Exp_Util; use Exp_Util; with Expander; use Expander; with Namet; use Namet; with Nlists; use Nlists; with Nmake; use Nmake; with Opt; use Opt; with Rtsfind; use Rtsfind; with Sem; use Sem; with Sem_Eval; use Sem_Eval; with Sem_Res; use Sem_Res; with Sem_Util; use Sem_Util; with Sinfo; use Sinfo; with Sinput; use Sinput; with Snames; use Snames; with Stringt; use Stringt; with Stand; use Stand; with Targparm; use Targparm; with Tbuild; use Tbuild; with Uintp; use Uintp; package body Exp_Prag is ----------------------- -- Local Subprograms -- ----------------------- function Arg1 (N : Node_Id) return Node_Id; function Arg2 (N : Node_Id) return Node_Id; -- Obtain specified pragma argument expression procedure Expand_Pragma_Abort_Defer (N : Node_Id); procedure Expand_Pragma_Assert (N : Node_Id); procedure Expand_Pragma_Common_Object (N : Node_Id); procedure Expand_Pragma_Import (N : Node_Id); procedure Expand_Pragma_Import_Export_Exception (N : Node_Id); procedure Expand_Pragma_Inspection_Point (N : Node_Id); procedure Expand_Pragma_Interrupt_Priority (N : Node_Id); procedure Expand_Pragma_Psect_Object (N : Node_Id); ---------- -- Arg1 -- ---------- function Arg1 (N : Node_Id) return Node_Id is Arg : constant Node_Id := First (Pragma_Argument_Associations (N)); begin if Present (Arg) and then Nkind (Arg) = N_Pragma_Argument_Association then return Expression (Arg); else return Arg; end if; end Arg1; ---------- -- Arg2 -- ---------- function Arg2 (N : Node_Id) return Node_Id is Arg1 : constant Node_Id := First (Pragma_Argument_Associations (N)); begin if No (Arg1) then return Empty; else declare Arg : constant Node_Id := Next (Arg1); begin if Present (Arg) and then Nkind (Arg) = N_Pragma_Argument_Association then return Expression (Arg); else return Arg; end if; end; end if; end Arg2; --------------------- -- Expand_N_Pragma -- --------------------- procedure Expand_N_Pragma (N : Node_Id) is begin -- Note: we may have a pragma whose chars field is not a -- recognized pragma, and we must ignore it at this stage. if Is_Pragma_Name (Chars (N)) then case Get_Pragma_Id (Chars (N)) is -- Pragmas requiring special expander action when Pragma_Abort_Defer => Expand_Pragma_Abort_Defer (N); when Pragma_Assert => Expand_Pragma_Assert (N); when Pragma_Common_Object => Expand_Pragma_Common_Object (N); when Pragma_Export_Exception => Expand_Pragma_Import_Export_Exception (N); when Pragma_Import => Expand_Pragma_Import (N); when Pragma_Import_Exception => Expand_Pragma_Import_Export_Exception (N); when Pragma_Inspection_Point => Expand_Pragma_Inspection_Point (N); when Pragma_Interrupt_Priority => Expand_Pragma_Interrupt_Priority (N); when Pragma_Psect_Object => Expand_Pragma_Psect_Object (N); -- All other pragmas need no expander action when others => null; end case; end if; end Expand_N_Pragma; ------------------------------- -- Expand_Pragma_Abort_Defer -- ------------------------------- -- An Abort_Defer pragma appears as the first statement in a handled -- statement sequence (right after the begin). It defers aborts for -- the entire statement sequence, but not for any declarations or -- handlers (if any) associated with this statement sequence. -- The transformation is to transform -- pragma Abort_Defer; -- statements; -- into -- begin -- Abort_Defer.all; -- statements -- exception -- when all others => -- Abort_Undefer.all; -- raise; -- at end -- Abort_Undefer_Direct; -- end; procedure Expand_Pragma_Abort_Defer (N : Node_Id) is Loc : constant Source_Ptr := Sloc (N); Stm : Node_Id; Stms : List_Id; HSS : Node_Id; Blk : constant Entity_Id := New_Internal_Entity (E_Block, Current_Scope, Sloc (N), 'B'); begin Stms := New_List (Build_Runtime_Call (Loc, RE_Abort_Defer)); loop Stm := Remove_Next (N); exit when No (Stm); Append (Stm, Stms); end loop; HSS := Make_Handled_Sequence_Of_Statements (Loc, Statements => Stms, At_End_Proc => New_Occurrence_Of (RTE (RE_Abort_Undefer_Direct), Loc)); Rewrite (N, Make_Block_Statement (Loc, Handled_Statement_Sequence => HSS)); Set_Scope (Blk, Current_Scope); Set_Etype (Blk, Standard_Void_Type); Set_Identifier (N, New_Occurrence_Of (Blk, Sloc (N))); Expand_At_End_Handler (HSS, Blk); Analyze (N); end Expand_Pragma_Abort_Defer; -------------------------- -- Expand_Pragma_Assert -- -------------------------- procedure Expand_Pragma_Assert (N : Node_Id) is Loc : constant Source_Ptr := Sloc (N); Cond : constant Node_Id := Arg1 (N); Msg : String_Id; begin -- We already know that assertions are enabled, because otherwise -- the semantic pass dealt with rewriting the assertion (see Sem_Prag) pragma Assert (Assertions_Enabled); -- Since assertions are on, we rewrite the pragma with its -- corresponding if statement, and then analyze the statement -- The expansion transforms: -- pragma Assert (condition [,message]); -- into -- if not condition then -- System.Assertions.Raise_Assert_Failure (Str); -- end if; -- where Str is the message if one is present, or the default of -- file:line if no message is given. -- First, we need to prepare the character literal if Present (Arg2 (N)) then Msg := Strval (Expr_Value_S (Arg2 (N))); else Build_Location_String (Loc); Msg := String_From_Name_Buffer; end if; -- Now generate the if statement. Note that we consider this to be -- an explicit conditional in the source, not an implicit if, so we -- do not call Make_Implicit_If_Statement. Rewrite (N, Make_If_Statement (Loc, Condition => Make_Op_Not (Loc, Right_Opnd => Cond), Then_Statements => New_List ( Make_Procedure_Call_Statement (Loc, Name => New_Reference_To (RTE (RE_Raise_Assert_Failure), Loc), Parameter_Associations => New_List ( Make_String_Literal (Loc, Msg)))))); Analyze (N); -- If new condition is always false, give a warning if Nkind (N) = N_Procedure_Call_Statement and then Is_RTE (Entity (Name (N)), RE_Raise_Assert_Failure) then -- If original condition was a Standard.False, we assume -- that this is indeed intented to raise assert error -- and no warning is required. if Is_Entity_Name (Original_Node (Cond)) and then Entity (Original_Node (Cond)) = Standard_False then return; else Error_Msg_N ("?assertion will fail at run-time", N); end if; end if; end Expand_Pragma_Assert; --------------------------------- -- Expand_Pragma_Common_Object -- --------------------------------- -- Add series of pragmas to replicate semantic effect in DEC Ada -- pragma Linker_Section (internal_name, external_name); -- pragma Machine_Attribute (internal_name, "overlaid"); -- pragma Machine_Attribute (internal_name, "global"); -- pragma Machine_Attribute (internal_name, "initialize"); -- For now we do nothing with the size attribute ??? -- Really this expansion would be much better in the back end. The -- front end should not need to know about target dependent, back end -- dependent semantics ??? procedure Expand_Pragma_Common_Object (N : Node_Id) is Loc : constant Source_Ptr := Sloc (N); Internal : constant Node_Id := Arg1 (N); External : constant Node_Id := Arg2 (N); Psect : Node_Id; -- Psect value upper cased as string literal Iloc : constant Source_Ptr := Sloc (Internal); Eloc : constant Source_Ptr := Sloc (External); Ploc : Source_Ptr; begin -- Acquire Psect value and fold to upper case if Present (External) then if Nkind (External) = N_String_Literal then String_To_Name_Buffer (Strval (External)); else Get_Name_String (Chars (External)); end if; Set_All_Upper_Case; Psect := Make_String_Literal (Eloc, Strval => String_From_Name_Buffer); else Get_Name_String (Chars (Internal)); Set_All_Upper_Case; Psect := Make_String_Literal (Iloc, Strval => String_From_Name_Buffer); end if; Ploc := Sloc (Psect); -- Insert pragmas Insert_List_After_And_Analyze (N, New_List ( -- The Linker_Section pragma ensures the correct section Make_Pragma (Loc, Chars => Name_Linker_Section, Pragma_Argument_Associations => New_List ( Make_Pragma_Argument_Association (Iloc, Expression => New_Copy_Tree (Internal)), Make_Pragma_Argument_Association (Ploc, Expression => New_Copy_Tree (Psect)))), -- Machine_Attribute "overlaid" ensures that this section -- overlays any other sections of the same name. Make_Pragma (Loc, Chars => Name_Machine_Attribute, Pragma_Argument_Associations => New_List ( Make_Pragma_Argument_Association (Iloc, Expression => New_Copy_Tree (Internal)), Make_Pragma_Argument_Association (Eloc, Expression => Make_String_Literal (Sloc => Ploc, Strval => "overlaid")))), -- Machine_Attribute "global" ensures that section is visible Make_Pragma (Loc, Chars => Name_Machine_Attribute, Pragma_Argument_Associations => New_List ( Make_Pragma_Argument_Association (Iloc, Expression => New_Copy_Tree (Internal)), Make_Pragma_Argument_Association (Eloc, Expression => Make_String_Literal (Sloc => Ploc, Strval => "global")))), -- Machine_Attribute "initialize" ensures section is demand zeroed Make_Pragma (Loc, Chars => Name_Machine_Attribute, Pragma_Argument_Associations => New_List ( Make_Pragma_Argument_Association (Iloc, Expression => New_Copy_Tree (Internal)), Make_Pragma_Argument_Association (Eloc, Expression => Make_String_Literal (Sloc => Ploc, Strval => "initialize")))))); end Expand_Pragma_Common_Object; -------------------------- -- Expand_Pragma_Import -- -------------------------- -- When applied to a variable, the default initialization must not be -- done. As it is already done when the pragma is found, we just get rid -- of the call the initialization procedure which followed the object -- declaration. The call is inserted after the declaration, but validity -- checks may also have been inserted and the initialization call does -- not necessarily appear immediately after the object declaration. -- We can't use the freezing mechanism for this purpose, since we -- have to elaborate the initialization expression when it is first -- seen (i.e. this elaboration cannot be deferred to the freeze point). procedure Expand_Pragma_Import (N : Node_Id) is Def_Id : constant Entity_Id := Entity (Arg2 (N)); Typ : Entity_Id; Init_Call : Node_Id; begin if Ekind (Def_Id) = E_Variable then Typ := Etype (Def_Id); -- Loop to ??? Init_Call := Next (Parent (Def_Id)); while Present (Init_Call) and then Init_Call /= N loop if Has_Non_Null_Base_Init_Proc (Typ) and then Nkind (Init_Call) = N_Procedure_Call_Statement and then Is_Entity_Name (Name (Init_Call)) and then Entity (Name (Init_Call)) = Base_Init_Proc (Typ) then Remove (Init_Call); exit; else Next (Init_Call); end if; end loop; -- Any default initialization expression should be removed -- (e.g., null defaults for access objects, zero initialization -- of packed bit arrays). Imported objects aren't allowed to -- have explicit initialization, so the expression must have -- been generated by the compiler. if No (Init_Call) and then Present (Expression (Parent (Def_Id))) then Set_Expression (Parent (Def_Id), Empty); end if; end if; end Expand_Pragma_Import; ------------------------------------------- -- Expand_Pragma_Import_Export_Exception -- ------------------------------------------- -- For a VMS exception fix up the language field with "VMS" -- instead of "Ada" (gigi needs this), create a constant that will be the -- value of the VMS condition code and stuff the Interface_Name field -- with the unexpanded name of the exception (if not already set). -- For a Ada exception, just stuff the Interface_Name field -- with the unexpanded name of the exception (if not already set). procedure Expand_Pragma_Import_Export_Exception (N : Node_Id) is begin -- This pragma is only effective on OpenVMS systems, it was ignored -- on non-VMS systems, and we need to ignore it here as well. if not OpenVMS_On_Target then return; end if; declare Id : constant Entity_Id := Entity (Arg1 (N)); Call : constant Node_Id := Register_Exception_Call (Id); Loc : constant Source_Ptr := Sloc (N); begin if Present (Call) then declare Excep_Internal : constant Node_Id := Make_Defining_Identifier (Loc, New_Internal_Name ('V')); Export_Pragma : Node_Id; Excep_Alias : Node_Id; Excep_Object : Node_Id; Excep_Image : String_Id; Exdata : List_Id; Lang1 : Node_Id; Lang2 : Node_Id; Lang3 : Node_Id; Code : Node_Id; begin if Present (Interface_Name (Id)) then Excep_Image := Strval (Interface_Name (Id)); else Get_Name_String (Chars (Id)); Set_All_Upper_Case; Excep_Image := String_From_Name_Buffer; end if; Exdata := Component_Associations (Expression (Parent (Id))); if Is_VMS_Exception (Id) then Lang1 := Next (First (Exdata)); Lang2 := Next (Lang1); Lang3 := Next (Lang2); Rewrite (Expression (Lang1), Make_Character_Literal (Loc, Chars => Name_uV, Char_Literal_Value => UI_From_Int (Character'Pos ('V')))); Analyze (Expression (Lang1)); Rewrite (Expression (Lang2), Make_Character_Literal (Loc, Chars => Name_uM, Char_Literal_Value => UI_From_Int (Character'Pos ('M')))); Analyze (Expression (Lang2)); Rewrite (Expression (Lang3), Make_Character_Literal (Loc, Chars => Name_uS, Char_Literal_Value => UI_From_Int (Character'Pos ('S')))); Analyze (Expression (Lang3)); if Exception_Code (Id) /= No_Uint then Code := Make_Integer_Literal (Loc, Intval => Exception_Code (Id)); Excep_Object := Make_Object_Declaration (Loc, Defining_Identifier => Excep_Internal, Object_Definition => New_Reference_To (RTE (RE_Exception_Code), Loc)); Insert_Action (N, Excep_Object); Analyze (Excep_Object); Start_String; Store_String_Int (UI_To_Int (Exception_Code (Id)) / 8 * 8); Excep_Alias := Make_Pragma (Loc, Name_Linker_Alias, New_List (Make_Pragma_Argument_Association (Sloc => Loc, Expression => New_Reference_To (Excep_Internal, Loc)), Make_Pragma_Argument_Association (Sloc => Loc, Expression => Make_String_Literal (Sloc => Loc, Strval => End_String)))); Insert_Action (N, Excep_Alias); Analyze (Excep_Alias); Export_Pragma := Make_Pragma (Loc, Name_Export, New_List (Make_Pragma_Argument_Association (Sloc => Loc, Expression => Make_Identifier (Loc, Name_C)), Make_Pragma_Argument_Association (Sloc => Loc, Expression => New_Reference_To (Excep_Internal, Loc)), Make_Pragma_Argument_Association (Sloc => Loc, Expression => Make_String_Literal (Sloc => Loc, Strval => Excep_Image)), Make_Pragma_Argument_Association (Sloc => Loc, Expression => Make_String_Literal (Sloc => Loc, Strval => Excep_Image)))); Insert_Action (N, Export_Pragma); Analyze (Export_Pragma); else Code := Unchecked_Convert_To (RTE (RE_Exception_Code), Make_Function_Call (Loc, Name => New_Reference_To (RTE (RE_Import_Value), Loc), Parameter_Associations => New_List (Make_String_Literal (Loc, Strval => Excep_Image)))); end if; Rewrite (Call, Make_Procedure_Call_Statement (Loc, Name => New_Reference_To (RTE (RE_Register_VMS_Exception), Loc), Parameter_Associations => New_List ( Code, Unchecked_Convert_To (RTE (RE_Exception_Data_Ptr), Make_Attribute_Reference (Loc, Prefix => New_Occurrence_Of (Id, Loc), Attribute_Name => Name_Unrestricted_Access))))); Analyze_And_Resolve (Code, RTE (RE_Exception_Code)); Analyze (Call); end if; if No (Interface_Name (Id)) then Set_Interface_Name (Id, Make_String_Literal (Sloc => Loc, Strval => Excep_Image)); end if; end; end if; end; end Expand_Pragma_Import_Export_Exception; ------------------------------------ -- Expand_Pragma_Inspection_Point -- ------------------------------------ -- If no argument is given, then we supply a default argument list that -- includes all objects declared at the source level in all subprograms -- that enclose the inspection point pragma. procedure Expand_Pragma_Inspection_Point (N : Node_Id) is Loc : constant Source_Ptr := Sloc (N); A : List_Id; Assoc : Node_Id; S : Entity_Id; E : Entity_Id; begin if No (Pragma_Argument_Associations (N)) then A := New_List; S := Current_Scope; while S /= Standard_Standard loop E := First_Entity (S); while Present (E) loop if Comes_From_Source (E) and then Is_Object (E) and then not Is_Entry_Formal (E) and then Ekind (E) /= E_Component and then Ekind (E) /= E_Discriminant and then Ekind (E) /= E_Generic_In_Parameter and then Ekind (E) /= E_Generic_In_Out_Parameter then Append_To (A, Make_Pragma_Argument_Association (Loc, Expression => New_Occurrence_Of (E, Loc))); end if; Next_Entity (E); end loop; S := Scope (S); end loop; Set_Pragma_Argument_Associations (N, A); end if; -- Expand the arguments of the pragma. Expanding an entity reference -- is a noop, except in a protected operation, where a reference may -- have to be transformed into a reference to the corresponding prival. -- Are there other pragmas that may require this ??? Assoc := First (Pragma_Argument_Associations (N)); while Present (Assoc) loop Expand (Expression (Assoc)); Next (Assoc); end loop; end Expand_Pragma_Inspection_Point; -------------------------------------- -- Expand_Pragma_Interrupt_Priority -- -------------------------------------- -- Supply default argument if none exists (System.Interrupt_Priority'Last) procedure Expand_Pragma_Interrupt_Priority (N : Node_Id) is Loc : constant Source_Ptr := Sloc (N); begin if No (Pragma_Argument_Associations (N)) then Set_Pragma_Argument_Associations (N, New_List ( Make_Pragma_Argument_Association (Loc, Expression => Make_Attribute_Reference (Loc, Prefix => New_Occurrence_Of (RTE (RE_Interrupt_Priority), Loc), Attribute_Name => Name_Last)))); end if; end Expand_Pragma_Interrupt_Priority; -------------------------------- -- Expand_Pragma_Psect_Object -- -------------------------------- -- Convert to Common_Object, and expand the resulting pragma procedure Expand_Pragma_Psect_Object (N : Node_Id) is begin Set_Chars (N, Name_Common_Object); Expand_Pragma_Common_Object (N); end Expand_Pragma_Psect_Object; end Exp_Prag;
with Ada.Text_IO; with Ada.Strings.Fixed; with Ada.Characters.Handling; with Ada.Long_Integer_Text_IO; -- Copyright 2021 Melwyn Francis Carlo procedure A022 is use Ada.Text_IO; use Ada.Strings.Fixed; use Ada.Long_Integer_Text_IO; FT : File_Type; Ch : Character; Name_Val : String (1 .. 50) := 50 * ' '; Names_List : array (Integer range 1 .. 5500) of String (1 .. 50) := (others => 50 * ' '); File_Name : constant String := "problems/022/p022_names.txt"; Is_Incremented : Boolean := False; Count_Val : Integer := 1; Index_Val : Integer := 1; Alpha_Val, Str_Len : Integer; N : Long_Integer; begin Open (FT, In_File, File_Name); Get (FT, Ch); while not End_Of_File (FT) loop Get (FT, Ch); if Ada.Characters.Handling.Is_Letter (Ch) then Is_Incremented := False; Name_Val (Index_Val) := Ch; Index_Val := Index_Val + 1; else if not Is_Incremented then Index_Val := 1; Is_Incremented := True; Names_List (Count_Val) := Name_Val; Count_Val := Count_Val + 1; Name_Val := 50 * ' '; end if; end if; end loop; Close (FT); Count_Val := Count_Val - 1; for I in 1 .. (Count_Val - 1) loop for J in (I + 1) .. Count_Val loop if Names_List (I) > Names_List (J) then Name_Val := 50 * ' '; Name_Val := Names_List (I); Names_List (I) := Names_List (J); Names_List (J) := Name_Val; end if; end loop; end loop; N := 0; for I in 1 .. Count_Val loop Alpha_Val := 0; Str_Len := Index (Names_List (I), " ") - 1; for J in 1 .. Str_Len loop Alpha_Val := Alpha_Val + Character'Pos (Names_List (I) (J)) - 64; end loop; N := N + Long_Integer (I * Alpha_Val); end loop; Put (N, Width => 0); end A022;
with Interfaces.C.Strings, System; use type Interfaces.C.int, System.Address; package body FLTK.Widgets.Valuators.Value_Outputs is procedure value_output_set_draw_hook (W, D : in System.Address); pragma Import (C, value_output_set_draw_hook, "value_output_set_draw_hook"); pragma Inline (value_output_set_draw_hook); procedure value_output_set_handle_hook (W, H : in System.Address); pragma Import (C, value_output_set_handle_hook, "value_output_set_handle_hook"); pragma Inline (value_output_set_handle_hook); function new_fl_value_output (X, Y, W, H : in Interfaces.C.int; Text : in Interfaces.C.char_array) return System.Address; pragma Import (C, new_fl_value_output, "new_fl_value_output"); pragma Inline (new_fl_value_output); procedure free_fl_value_output (A : in System.Address); pragma Import (C, free_fl_value_output, "free_fl_value_output"); pragma Inline (free_fl_value_output); function fl_value_output_is_soft (A : in System.Address) return Interfaces.C.int; pragma Import (C, fl_value_output_is_soft, "fl_value_output_is_soft"); pragma Inline (fl_value_output_is_soft); procedure fl_value_output_set_soft (A : in System.Address; T : in Interfaces.C.int); pragma Import (C, fl_value_output_set_soft, "fl_value_output_set_soft"); pragma Inline (fl_value_output_set_soft); function fl_value_output_get_text_color (TD : in System.Address) return Interfaces.C.unsigned; pragma Import (C, fl_value_output_get_text_color, "fl_value_output_get_text_color"); pragma Inline (fl_value_output_get_text_color); procedure fl_value_output_set_text_color (TD : in System.Address; C : in Interfaces.C.unsigned); pragma Import (C, fl_value_output_set_text_color, "fl_value_output_set_text_color"); pragma Inline (fl_value_output_set_text_color); function fl_value_output_get_text_font (TD : in System.Address) return Interfaces.C.int; pragma Import (C, fl_value_output_get_text_font, "fl_value_output_get_text_font"); pragma Inline (fl_value_output_get_text_font); procedure fl_value_output_set_text_font (TD : in System.Address; F : in Interfaces.C.int); pragma Import (C, fl_value_output_set_text_font, "fl_value_output_set_text_font"); pragma Inline (fl_value_output_set_text_font); function fl_value_output_get_text_size (TD : in System.Address) return Interfaces.C.int; pragma Import (C, fl_value_output_get_text_size, "fl_value_output_get_text_size"); pragma Inline (fl_value_output_get_text_size); procedure fl_value_output_set_text_size (TD : in System.Address; S : in Interfaces.C.int); pragma Import (C, fl_value_output_set_text_size, "fl_value_output_set_text_size"); pragma Inline (fl_value_output_set_text_size); procedure fl_value_output_draw (W : in System.Address); pragma Import (C, fl_value_output_draw, "fl_value_output_draw"); pragma Inline (fl_value_output_draw); function fl_value_output_handle (W : in System.Address; E : in Interfaces.C.int) return Interfaces.C.int; pragma Import (C, fl_value_output_handle, "fl_value_output_handle"); pragma Inline (fl_value_output_handle); procedure Finalize (This : in out Value_Output) is begin if This.Void_Ptr /= System.Null_Address and then This in Value_Output'Class then free_fl_value_output (This.Void_Ptr); This.Void_Ptr := System.Null_Address; end if; Finalize (Valuator (This)); end Finalize; package body Forge is function Create (X, Y, W, H : in Integer; Text : in String) return Value_Output is begin return This : Value_Output do This.Void_Ptr := new_fl_value_output (Interfaces.C.int (X), Interfaces.C.int (Y), Interfaces.C.int (W), Interfaces.C.int (H), Interfaces.C.To_C (Text)); fl_widget_set_user_data (This.Void_Ptr, Widget_Convert.To_Address (This'Unchecked_Access)); value_output_set_draw_hook (This.Void_Ptr, Draw_Hook'Address); value_output_set_handle_hook (This.Void_Ptr, Handle_Hook'Address); end return; end Create; end Forge; function Is_Soft (This : in Value_Output) return Boolean is begin return fl_value_output_is_soft (This.Void_Ptr) /= 0; end Is_Soft; procedure Set_Soft (This : in out Value_Output; To : in Boolean) is begin fl_value_output_set_soft (This.Void_Ptr, Boolean'Pos (To)); end Set_Soft; function Get_Text_Color (This : in Value_Output) return Color is begin return Color (fl_value_output_get_text_color (This.Void_Ptr)); end Get_Text_Color; procedure Set_Text_Color (This : in out Value_Output; Col : in Color) is begin fl_value_output_set_text_color (This.Void_Ptr, Interfaces.C.unsigned (Col)); end Set_Text_Color; function Get_Text_Font (This : in Value_Output) return Font_Kind is begin return Font_Kind'Val (fl_value_output_get_text_font (This.Void_Ptr)); end Get_Text_Font; procedure Set_Text_Font (This : in out Value_Output; Font : in Font_Kind) is begin fl_value_output_set_text_font (This.Void_Ptr, Font_Kind'Pos (Font)); end Set_Text_Font; function Get_Text_Size (This : in Value_Output) return Font_Size is begin return Font_Size (fl_value_output_get_text_size (This.Void_Ptr)); end Get_Text_Size; procedure Set_Text_Size (This : in out Value_Output; Size : in Font_Size) is begin fl_value_output_set_text_size (This.Void_Ptr, Interfaces.C.int (Size)); end Set_Text_Size; procedure Draw (This : in out Value_Output) is begin fl_value_output_draw (This.Void_Ptr); end Draw; function Handle (This : in out Value_Output; Event : in Event_Kind) return Event_Outcome is begin return Event_Outcome'Val (fl_value_output_handle (This.Void_Ptr, Event_Kind'Pos (Event))); end Handle; end FLTK.Widgets.Valuators.Value_Outputs;
----------------------------------------------------------------------- -- asf-applications-tests - ASF Application tests using ASFUnit -- Copyright (C) 2011, 2012, 2015, 2017, 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 Util.Log; with Util.Test_Caller; with ASF.Tests; with ASF.Events.Faces.Actions; with ASF.Requests.Mockup; with ASF.Responses.Mockup; with ASF.Applications.Main; with ASF.Applications.Main.Configs; with ASF.Models.Selects; with ASF.Contexts.Faces; pragma Warnings (Off); -- gcc complains that the package is not referenced but it is! with ASF.Contexts.Flash; pragma Warnings (On); package body ASF.Applications.Tests is use ASF.Tests; use Util.Tests; package Caller is new Util.Test_Caller (Test, "Applications"); procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite) is begin Caller.Add_Test (Suite, "Test service HTTP invalid method", Test_Invalid_Request'Access); Caller.Add_Test (Suite, "Test service HTTP GET (File_Servlet)", Test_Get_File'Access); Caller.Add_Test (Suite, "Test service HTTP GET 404", Test_Get_404'Access); Caller.Add_Test (Suite, "Test service HTTP GET (Measure_Servlet)", Test_Get_Measures'Access); Caller.Add_Test (Suite, "Test service HTTP POST+INVOKE_APPLICATION (inputText)", Test_Form_Post'Access); Caller.Add_Test (Suite, "Test service HTTP POST+PROCESS_VALIDATION (inputText)", Test_Form_Post_Validation_Error'Access); Caller.Add_Test (Suite, "Test service HTTP POST+PROCESS_VALIDATION (selectOneMenu)", Test_Form_Post_Select'Access); Caller.Add_Test (Suite, "Test AJAX bean method invocation", Test_Ajax_Action'Access); Caller.Add_Test (Suite, "Test AJAX invalid requests", Test_Ajax_Action_Error'Access); Caller.Add_Test (Suite, "Test POST/REDIRECT/GET with flash object", Test_Flash_Object'Access); Caller.Add_Test (Suite, "Test GET+POST request with the default navigation", Test_Default_Navigation_Rule'Access); Caller.Add_Test (Suite, "Test GET with view parameters", Test_View_Params'Access); Caller.Add_Test (Suite, "Test GET with view action", Test_View_Action'Access); Caller.Add_Test (Suite, "Test GET with request parameter injection from URI", Test_View_Inject_Parameter'Access); end Add_Tests; package Save_Binding is new ASF.Events.Faces.Actions.Action_Method.Bind (Bean => Form_Bean, Method => Save, Name => "save"); Binding_Array : aliased constant Util.Beans.Methods.Method_Binding_Array := (Save_Binding.Proxy'Access, Save_Binding.Proxy'Access); -- ------------------------------ -- Get the value identified by the name. -- ------------------------------ overriding function Get_Value (From : in Form_Bean; Name : in String) return Util.Beans.Objects.Object is begin if Name = "email" then return Util.Beans.Objects.To_Object (From.Email); elsif Name = "password" then return Util.Beans.Objects.To_Object (From.Password); elsif Name = "name" then return Util.Beans.Objects.To_Object (From.Name); elsif Name = "gender" then return Util.Beans.Objects.To_Object (From.Gender); elsif Name = "genderList" then declare List : ASF.Models.Selects.Select_Item_List; begin ASF.Models.Selects.Append (List, ASF.Models.Selects.Create_Select_Item ("None", "0")); ASF.Models.Selects.Append (List, ASF.Models.Selects.Create_Select_Item ("Mrs", "1")); ASF.Models.Selects.Append (List, ASF.Models.Selects.Create_Select_Item ("Mr", "2")); ASF.Models.Selects.Append (List, ASF.Models.Selects.Create_Select_Item ("Mss", "3")); return ASF.Models.Selects.To_Object (List); end; elsif Name = "called" then return Util.Beans.Objects.To_Object (From.Called); else return Util.Beans.Objects.Null_Object; end if; end Get_Value; -- ------------------------------ -- Set the value identified by the name. -- ------------------------------ overriding procedure Set_Value (From : in out Form_Bean; Name : in String; Value : in Util.Beans.Objects.Object) is begin -- Simulate a Set_Value that raises some exception during the Update_Values phase. if Util.Beans.Objects.To_String (Value) = "error" then From.Perm_Error := True; raise Constraint_Error; end if; if Name = "email" then From.Email := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "password" then From.Password := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "name" then From.Name := Util.Beans.Objects.To_Unbounded_String (Value); elsif Name = "gender" then From.Gender := Util.Beans.Objects.To_Unbounded_String (Value); end if; end Set_Value; -- ------------------------------ -- This bean provides some methods that can be used in a Method_Expression -- ------------------------------ overriding function Get_Method_Bindings (From : in Form_Bean) return Util.Beans.Methods.Method_Binding_Array_Access is pragma Unreferenced (From); begin return Binding_Array'Access; end Get_Method_Bindings; -- ------------------------------ -- Create a form bean. -- ------------------------------ function Create_Form_Bean return Util.Beans.Basic.Readonly_Bean_Access is Result : constant Form_Bean_Access := new Form_Bean; begin return Result.all'Access; end Create_Form_Bean; -- ------------------------------ -- Create a list of forms. -- ------------------------------ function Create_Form_List return Util.Beans.Basic.Readonly_Bean_Access is Result : constant Form_Lists.List_Bean_Access := new Form_Lists.List_Bean; Form : Form_Bean; begin for I in 1 .. 100 loop Form.Name := To_Unbounded_String ("Name" & Integer'Image (I)); Form.Email := To_Unbounded_String ("Joe" & Integer'Image (I) & "@gmail.com"); Result.List.Append (Form); end loop; return Result.all'Access; end Create_Form_List; -- ------------------------------ -- Initialize the ASF application for the unit test. -- ------------------------------ procedure Initialize_Test_Application is use type ASF.Applications.Main.Application_Access; Fact : ASF.Applications.Main.Application_Factory; Config : constant String := Util.Tests.Get_Path ("regtests/config/test-config.xml"); begin if ASF.Tests.Get_Application = null then ASF.Tests.Initialize (Util.Tests.Get_Properties, Factory => Fact); end if; ASF.Applications.Main.Configs.Read_Configuration (App => ASF.Tests.Get_Application.all, File => Config); ASF.Tests.Get_Application.Start; end Initialize_Test_Application; -- ------------------------------ -- Initialize the test application -- ------------------------------ overriding procedure Set_Up (T : in out Test) is pragma Unreferenced (T); begin Initialize_Test_Application; end Set_Up; -- ------------------------------ -- Action to authenticate a user (password authentication). -- ------------------------------ procedure Save (Data : in out Form_Bean; Outcome : in out Unbounded_String) is use Util.Beans.Objects; begin if Data.Def_Nav then Outcome := To_Unbounded_String ("form-default-result"); else Outcome := To_Unbounded_String ("success"); end if; Data.Called := Data.Called + 1; if Data.Use_Flash then declare Ctx : constant ASF.Contexts.Faces.Faces_Context_Access := ASF.Contexts.Faces.Current; begin Ctx.Get_Flash.Set_Attribute ("name", To_Object (Data.Name)); Ctx.Get_Flash.Set_Attribute ("email", To_Object (Data.Email)); Ctx.Get_Flash.Set_Keep_Messages (True); Ctx.Add_Message (Client_Id => "", Message => "Message saved in the flash context"); end; end if; if Data.Perm_Error then raise Test_Exception; end if; end Save; -- ------------------------------ -- Test an invalid HTTP request. -- ------------------------------ procedure Test_Invalid_Request (T : in out Test) is Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; begin -- Unknown method Request.Set_Method ("BLAB"); Request.Set_Request_URI ("/asfunit/views/set.xhtml"); Do_Req (Request, Reply); Assert_Equals (T, ASF.Responses.SC_NOT_IMPLEMENTED, Reply.Get_Status, "Invalid response"); -- PUT on a file is not allowed Request.Set_Method ("PUT"); Request.Set_Request_URI ("/asfunit/views/set.xhtml"); Do_Req (Request, Reply); Assert_Equals (T, ASF.Responses.SC_METHOD_NOT_ALLOWED, Reply.Get_Status, "Invalid response"); -- POST on a file is not allowed Request.Set_Method ("POST"); Request.Set_Request_URI ("/asfunit/views/set.xhtml"); Do_Req (Request, Reply); Assert_Equals (T, ASF.Responses.SC_METHOD_NOT_ALLOWED, Reply.Get_Status, "Invalid response"); -- DELETE on a file is not allowed Request.Set_Method ("DELETE"); Request.Set_Request_URI ("/asfunit/views/set.xhtml"); Do_Req (Request, Reply); Assert_Equals (T, ASF.Responses.SC_METHOD_NOT_ALLOWED, Reply.Get_Status, "Invalid response"); end Test_Invalid_Request; -- ------------------------------ -- Test a GET request on a static file served by the File_Servlet. -- ------------------------------ procedure Test_Get_404 (T : in out Test) is Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; begin Do_Get (Request, Reply, "/file-does-not-exist.txt", "test-404.html"); Assert_Equals (T, ASF.Responses.SC_NOT_FOUND, Reply.Get_Status, "Invalid response"); Assert_Matches (T, ".*This is a 404 error page.*", Reply, "Invalid 404 page returned", Status => ASF.Responses.SC_NOT_FOUND); Do_Get (Request, Reply, "/file-does-not-exist.js", "test-404.html"); Assert_Equals (T, ASF.Responses.SC_NOT_FOUND, Reply.Get_Status, "Invalid response"); Assert_Matches (T, ".*This is a 404 error page.*", Reply, "Invalid 404 page returned", Status => ASF.Responses.SC_NOT_FOUND); end Test_Get_404; -- ------------------------------ -- Test a GET request on a static file served by the File_Servlet. -- ------------------------------ procedure Test_Get_File (T : in out Test) is Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; begin Do_Get (Request, Reply, "/views/set.xhtml", "get-file-set.txt"); Assert_Contains (T, "<c:set var=""user"" value=""John Smith""/>", Reply, "Wrong content"); Assert_Header (T, "Content-Type", "text/plain", Reply, "Content-Type"); Do_Get (Request, Reply, "/views/set.html", "get-file-set.html"); Assert_Matches (T, "^\s*John Smith\s?$", Reply, "Wrong content"); Assert_Header (T, "Content-Type", "text/html", Reply, "Content-Type"); Do_Get (Request, Reply, "/js/asf.js", "get-file-asf.js"); Assert_Matches (T, "^\s*var ASF = {};\s?$", Reply, "Wrong content"); Assert_Header (T, "Content-Type", "text/javascript", Reply, "Content-Type"); Do_Get (Request, Reply, "/css/asf.css", "get-file-asf.css"); Assert_Matches (T, "^.*asf.css.*$", Reply, "Wrong content"); Assert_Header (T, "Content-Type", "text/css", Reply, "Content-Type"); end Test_Get_File; -- ------------------------------ -- Test a GET request on the measure servlet -- ------------------------------ procedure Test_Get_Measures (T : in out Test) is Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; begin Do_Get (Request, Reply, "/stats.xml", "stats.xml"); -- We must get at least one measure value (assuming the Test_Get_File test -- was executed). Assert_Matches (T, "<time count=""\d+"" time=""\d+.\d+ [um]s"" title="".*""/>", Reply, "Wrong content"); end Test_Get_Measures; -- ------------------------------ -- Test a GET+POST request with submitted values and an action method called on the bean. -- ------------------------------ procedure Test_Form_Post (T : in out Test) is use Util.Beans.Objects; Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; Form : aliased Form_Bean; begin Request.Set_Attribute ("form", To_Object (Value => Form'Unchecked_Access, Storage => STATIC)); Do_Get (Request, Reply, "/tests/form-text.html", "form-text.txt"); Assert_Matches (T, ".*<label for=.name.>Name</label>.*", Reply, "Wrong form content"); Assert_Matches (T, ".*<input type=.text. name=.name. value=.. id=.name.*", Reply, "Wrong form content"); Request.Set_Parameter ("formText", "1"); Request.Set_Parameter ("name", "John"); Request.Set_Parameter ("password", "12345"); Request.Set_Parameter ("email", "john@gmail.com"); Request.Set_Parameter ("ok", "1"); Do_Post (Request, Reply, "/tests/form-text.html", "form-text-post-1.txt"); Assert_Matches (T, ".*success exact.*", Reply, "Wrong form content"); Assert_Equals (T, "John", Form.Name, "Form name not saved in the bean"); Assert_Equals (T, "12345", Form.Password, "Form password not saved in the bean"); Assert_Equals (T, "john@gmail.com", Form.Email, "Form email not saved in the bean"); Assert_Equals (T, 1, Form.Called, "save action was not called"); end Test_Form_Post; -- ------------------------------ -- Test a POST request with an invalid submitted value -- ------------------------------ procedure Test_Form_Post_Validation_Error (T : in out Test) is use Util.Beans.Objects; Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; Form : aliased Form_Bean; begin Request.Set_Attribute ("form", To_Object (Value => Form'Unchecked_Access, Storage => STATIC)); -- Post with password too short and empty email Request.Set_Parameter ("ok", "1"); Request.Set_Parameter ("formText", "1"); Request.Set_Parameter ("name", "John"); Request.Set_Parameter ("password", "12"); Request.Set_Parameter ("email", ""); Do_Post (Request, Reply, "/tests/form-text.html", "form-text-post-1.txt"); Assert_Matches (T, ".*<input type=.text. name=.name. value=.John. id=.name.*", Reply, "Wrong form content"); Assert_Matches (T, ".*Validation Error: Length is less than " & "allowable minimum of '4'.*", Reply, "Missing error message"); -- No field should be modified. Assert_Equals (T, "", Form.Name, "Form name was saved in the bean"); Assert_Equals (T, "", Form.Password, "Form password was saved in the bean"); Assert_Equals (T, "", Form.Email, "Form email was saved in the bean"); Request.Set_Parameter ("ok", "1"); Request.Set_Parameter ("email", "1"); Request.Set_Parameter ("password", "12333"); Request.Set_Parameter ("name", "122222222222222222222222222222222222222222"); Do_Post (Request, Reply, "/tests/form-text.html", "form-text-post-2.txt"); Assert_Matches (T, ".*<span class=.error.>Invalid email address</span>.*", Reply, "Invalid error message for email"); Assert_Matches (T, ".*<span class=.error.>Invalid name</span>.*", Reply, "Invalid error message for name"); Request.Set_Parameter ("ok", "1"); Request.Set_Parameter ("email", "1dddddd"); Request.Set_Parameter ("password", "12333ddddddddddddddd"); Request.Set_Parameter ("name", "1222222222"); Do_Post (Request, Reply, "/tests/form-text.html", "form-text-post-3.txt"); Assert_Matches (T, ".*Validation Error: Length is greater than " & "allowable maximum of '10'.*", Reply, "Invalid error message for password"); Request.Set_Parameter ("ok", "1"); Request.Set_Parameter ("email", "error"); Request.Set_Parameter ("password", "12333"); Request.Set_Parameter ("name", "1222222222"); Do_Post (Request, Reply, "/tests/form-text.html", "form-text-post-4.txt"); Assert_Matches (T, ".*<span class=.error.>Validation Error: Value is not correct.*", Reply, "Invalid error message for name"); Assert_Equals (T, 0, Form.Called, "Save method should not be called"); end Test_Form_Post_Validation_Error; -- ------------------------------ -- Test a GET+POST request with form having <h:selectOneMenu> element. -- ------------------------------ procedure Test_Form_Post_Select (T : in out Test) is use Util.Beans.Objects; Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; Form : aliased Form_Bean; begin Request.Set_Attribute ("form", To_Object (Value => Form'Unchecked_Access, Storage => STATIC)); Do_Get (Request, Reply, "/tests/form-select.html", "form-select.txt"); Assert_Matches (T, ".*<label for=.gender.>Gender</label>.*", Reply, "Wrong form content"); Assert_Matches (T, ".*<select name=.gender.*", Reply, "Wrong form content"); Request.Set_Parameter ("formSelect", "1"); Request.Set_Parameter ("gender", "2"); Do_Post (Request, Reply, "/tests/form-select.html", "form-select-post.txt"); Assert_Matches (T, ".*<option value=.2. selected=.selected.*", Reply, "Wrong form content"); Request.Set_Parameter ("formSelect", "1"); Request.Set_Parameter ("gender", "3"); Do_Post (Request, Reply, "/tests/form-select.html", "form-select-post2.txt"); Assert_Matches (T, ".*<option value=.3. selected=.selected.*", Reply, "Wrong form content"); end Test_Form_Post_Select; -- ------------------------------ -- Test a POST request to invoke a bean method. -- ------------------------------ procedure Test_Ajax_Action (T : in out Test) is use Util.Beans.Objects; Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; Form : aliased Form_Bean; begin Request.Set_Attribute ("form", To_Object (Value => Form'Unchecked_Access, Storage => STATIC)); Do_Post (Request, Reply, "/ajax/form/save", "ajax-action-1.txt"); Assert_Equals (T, 1, Form.Called, "Save method was not called"); end Test_Ajax_Action; -- ------------------------------ -- Test a POST request to invoke a bean method. -- Verify that invalid requests raise an error. -- ------------------------------ procedure Test_Ajax_Action_Error (T : in out Test) is use Util.Beans.Objects; Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; Form : aliased Form_Bean; begin Request.Set_Attribute ("form", To_Object (Value => Form'Unchecked_Access, Storage => STATIC)); Do_Post (Request, Reply, "/ajax/", "ajax-error-1.txt"); Assert_Equals (T, ASF.Responses.SC_NOT_FOUND, Reply.Get_Status, "Invalid error response 1"); Do_Post (Request, Reply, "/ajax/a", "ajax-error-2.txt"); Assert_Equals (T, ASF.Responses.SC_NOT_FOUND, Reply.Get_Status, "Invalid error response 2"); Do_Post (Request, Reply, "/ajax/a/", "ajax-error-3.txt"); Assert_Equals (T, ASF.Responses.SC_NOT_FOUND, Reply.Get_Status, "Invalid error response 3"); Do_Post (Request, Reply, "/ajax//c", "ajax-error-4.txt"); Assert_Equals (T, ASF.Responses.SC_NOT_FOUND, Reply.Get_Status, "Invalid error response 4"); Do_Post (Request, Reply, "/ajax/form/savex", "ajax-error-5.txt"); Assert_Equals (T, ASF.Responses.SC_NOT_FOUND, Reply.Get_Status, "Invalid error response 5"); Do_Post (Request, Reply, "/ajax/formx/save", "ajax-error-6.txt"); Assert_Equals (T, ASF.Responses.SC_NOT_FOUND, Reply.Get_Status, "Invalid error response 6"); end Test_Ajax_Action_Error; -- ------------------------------ -- Test a POST/REDIRECT/GET request with a flash information passed in between. -- ------------------------------ procedure Test_Flash_Object (T : in out Test) is use Util.Beans.Objects; Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; Form : aliased Form_Bean; Path : constant String := Util.Tests.Get_Path ("regtests/config/test-config.xml"); App : constant ASF.Applications.Main.Application_Access := ASF.Tests.Get_Application; begin ASF.Applications.Main.Configs.Read_Configuration (App.all, Path); Form.Use_Flash := True; Request.Set_Attribute ("form", To_Object (Value => Form'Unchecked_Access, Storage => STATIC)); Do_Get (Request, Reply, "/tests/form-text-redirect.html", "form-text-flash.txt"); Assert_Matches (T, ".*<label for=.name.>Name</label>.*", Reply, "Wrong form content"); Assert_Matches (T, ".*<input type=.text. name=.name. value=.. id=.name.*", Reply, "Wrong form content"); Request.Set_Parameter ("formText", "1"); Request.Set_Parameter ("name", "John"); Request.Set_Parameter ("password", "12345"); Request.Set_Parameter ("email", "john@gmail.com"); Request.Set_Parameter ("ok", "1"); Do_Post (Request, Reply, "/tests/form-text-redirect.html", "form-text-post-flash.txt"); -- The navigation rule should redirect to the GET page. Assert_Redirect (T, "/asfunit/tests/flash-data.html", Reply, "Invalid response"); Request.Set_Cookie (Reply); Do_Get (Request, Reply, "/tests/flash-data.html", "flash-data.txt"); Assert_Matches (T, ".*Name: John.*", Reply, "Wrong form content"); Assert_Matches (T, ".*Email: john@gmail.com", Reply, "Wrong form content"); Assert_Matches (T, ".*Message saved in the flash context.*", Reply, "Message was not restored"); Request.Set_Cookie (Reply); Do_Get (Request, Reply, "/tests/flash-data.html", "flash-data-2.txt"); Assert_Matches (T, ".*Name: Email:", Reply, "Wrong form content"); end Test_Flash_Object; -- ------------------------------ -- Test a GET+POST request with the default navigation rule based on the outcome. -- ------------------------------ procedure Test_Default_Navigation_Rule (T : in out Test) is use Util.Beans.Objects; Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; Form : aliased Form_Bean; begin Form.Def_Nav := True; Request.Set_Attribute ("form", To_Object (Value => Form'Unchecked_Access, Storage => STATIC)); Do_Get (Request, Reply, "/tests/form-text-default.html", "form-text-default.txt"); Assert_Matches (T, ".*<label for=.name.>Name</label>.*", Reply, "Wrong form content"); Assert_Matches (T, ".*<input type=.text. name=.name. value=.. id=.name.*", Reply, "Wrong form content"); Request.Set_Parameter ("formText", "1"); Request.Set_Parameter ("name", "John"); Request.Set_Parameter ("password", "12345"); Request.Set_Parameter ("email", "john@gmail.com"); Request.Set_Parameter ("ok", "1"); Do_Post (Request, Reply, "/tests/form-text-default.html", "form-text-post-default.txt"); Assert_Matches (T, ".*Email: john@gmail.com Name: John.*", Reply, "Wrong form content"); end Test_Default_Navigation_Rule; -- ------------------------------ -- Test a GET request with meta data and view parameters. -- ------------------------------ procedure Test_View_Params (T : in out Test) is use Util.Beans.Objects; Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; Form : aliased Form_Bean; Path : constant String := Util.Tests.Get_Path ("regtests/config/test-config.xml"); App : constant ASF.Applications.Main.Application_Access := ASF.Tests.Get_Application; begin ASF.Applications.Main.Configs.Read_Configuration (App.all, Path); Form.Use_Flash := True; Request.Set_Attribute ("form", To_Object (Value => Form'Unchecked_Access, Storage => STATIC)); Do_Get (Request, Reply, "/tests/view-params.html?name=John&email=john@gmail.com&is_a=male", "view-params.txt"); Assert_Equals (T, "John", Form.Name, "View parameter for name was not set"); Assert_Equals (T, "john@gmail.com", Form.Email, "View parameter for email was not set"); Assert_Equals (T, "male", Form.Gender, "View parameter for gender was not set"); Assert_Matches (T, ".*Name: John Email: john@gmail.com Gender: male", Reply, "Wrong generated content"); end Test_View_Params; -- ------------------------------ -- Test a GET request with meta data and view action. -- ------------------------------ procedure Test_View_Action (T : in out Test) is use Util.Beans.Objects; Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; Form : aliased Form_Bean; Path : constant String := Util.Tests.Get_Path ("regtests/config/test-config.xml"); App : constant ASF.Applications.Main.Application_Access := ASF.Tests.Get_Application; begin ASF.Applications.Main.Configs.Read_Configuration (App.all, Path); Form.Use_Flash := True; Request.Set_Attribute ("form", To_Object (Value => Form'Unchecked_Access, Storage => STATIC)); Do_Get (Request, Reply, "/tests/view-action.html?name=John&email=john@gmail.com&is_a=male", "view-action.txt"); Assert_Equals (T, 1, Form.Called, "View action was not called"); Assert_Equals (T, "John", Form.Name, "View parameter for name was not set"); Assert_Equals (T, "john@gmail.com", Form.Email, "View parameter for email was not set"); Assert_Equals (T, "male", Form.Gender, "View parameter for gender was not set"); Assert_Matches (T, ".*Name: John Email: john@gmail.com Gender: male", Reply, "Wrong generated content"); end Test_View_Action; -- ------------------------------ -- Test a GET request with pretty URL and request parameter injection. -- ------------------------------ procedure Test_View_Inject_Parameter (T : in out Test) is use Util.Beans.Objects; Request : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; Form : aliased Form_Bean; Path : constant String := Util.Tests.Get_Path ("regtests/config/test-inject.xml"); App : constant ASF.Applications.Main.Application_Access := ASF.Tests.Get_Application; begin ASF.Applications.Main.Configs.Read_Configuration (App.all, Path); App.Dump_Routes (Util.Log.INFO_LEVEL); Form.Use_Flash := True; Request.Set_Attribute ("user", To_Object (Value => Form'Unchecked_Access, Storage => STATIC)); Do_Get (Request, Reply, "/users/john/view", "view-user.txt"); Assert_Equals (T, 0, Form.Called, "View action must not be called"); Assert_Equals (T, "john", Form.Name, "View parameter for name was not set"); Assert_Matches (T, ".*Name: john Email: Gender: ", Reply, "Wrong generated content"); Do_Get (Request, Reply, "/users/harry/potter/view", "view-user2.txt"); Assert_Equals (T, "harry", Form.Name, "View parameter for name was not set"); Assert_Equals (T, "potter", Form.Email, "View parameter for email was not set"); Assert_Matches (T, ".*Name: harry Email: potter Gender: ", Reply, "Wrong generated content"); Do_Get (Request, Reply, "/users/Gandalf/Mithrandir/view/wizard", "view-user3.txt"); Assert_Equals (T, "Gandalf", Form.Name, "View parameter for name was not set"); Assert_Equals (T, "Mithrandir", Form.Email, "View parameter for email was not set"); Assert_Equals (T, "wizard", Form.Gender, "View parameter for gender was not set"); Assert_Matches (T, ".*Name: Gandalf Email: Mithrandir Gender: wizard", Reply, "Wrong generated content"); end Test_View_Inject_Parameter; end ASF.Applications.Tests;
-- generated parser support file. -- command line: wisitoken-bnf-generate.exe --generate LR1 Ada_Emacs re2c PROCESS text_rep ada.wy -- -- Copyright (C) 2013 - 2020 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, or (at -- your option) any later version. -- -- This software is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. with WisiToken.Syntax_Trees; with WisiToken.Parse.LR.Parser; package Ada_Process_LR1_Main is procedure Create_Parser (Parser : out WisiToken.Parse.LR.Parser.Parser; Language_Fixes : in WisiToken.Parse.LR.Parser.Language_Fixes_Access; Language_Matching_Begin_Tokens : in WisiToken.Parse.LR.Parser.Language_Matching_Begin_Tokens_Access; Language_String_ID_Set : in WisiToken.Parse.LR.Parser.Language_String_ID_Set_Access; Trace : not null access WisiToken.Trace'Class; User_Data : in WisiToken.Syntax_Trees.User_Data_Access; Text_Rep_File_Name : in String); end Ada_Process_LR1_Main;
-- Copyright 2008 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/>. with Pck; use Pck; procedure Foo is begin Do_Nothing (First.I); -- STOP Do_Nothing (Second.I); end Foo;
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces.C; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_render_query_version_cookie_t is -- Item -- type Item is record sequence : aliased Interfaces.C.unsigned; end record; -- Item_Array -- type Item_Array is array (Interfaces.C .size_t range <>) of aliased xcb.xcb_render_query_version_cookie_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_render_query_version_cookie_t.Item, Element_Array => xcb.xcb_render_query_version_cookie_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_render_query_version_cookie_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_render_query_version_cookie_t.Pointer, Element_Array => xcb.xcb_render_query_version_cookie_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_render_query_version_cookie_t;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- K R U N C H -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-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 Hostparm; procedure Krunch (Buffer : in out String; Len : in out Natural; Maxlen : Natural; No_Predef : Boolean) is -- LLVM local pragma Assert (Buffer'First = 1); B1 : Character renames Buffer (1); Curlen : Natural; Krlen : Natural; Num_Seps : Natural; Startloc : Natural; J : Natural; begin -- Deal with special predefined children cases. Startloc is the first -- location for the krunch, set to 1, except for the predefined children -- case, where it is set to 3, to start after the standard prefix. if No_Predef then Startloc := 1; Curlen := Len; Krlen := Maxlen; elsif Len >= 18 and then Buffer (1 .. 17) = "ada-wide_text_io-" then Startloc := 3; Buffer (2 .. 5) := "-wt-"; Buffer (6 .. Len - 12) := Buffer (18 .. Len); Curlen := Len - 12; Krlen := 8; elsif Len >= 23 and then Buffer (1 .. 22) = "ada-wide_wide_text_io-" then Startloc := 3; Buffer (2 .. 5) := "-zt-"; Buffer (6 .. Len - 17) := Buffer (23 .. Len); Curlen := Len - 17; Krlen := 8; elsif Len >= 4 and then Buffer (1 .. 4) = "ada-" then Startloc := 3; Buffer (2 .. Len - 2) := Buffer (4 .. Len); Curlen := Len - 2; Krlen := 8; elsif Len >= 5 and then Buffer (1 .. 5) = "gnat-" then Startloc := 3; Buffer (2 .. Len - 3) := Buffer (5 .. Len); Curlen := Len - 3; Krlen := 8; elsif Len >= 7 and then Buffer (1 .. 7) = "system-" then Startloc := 3; Buffer (2 .. Len - 5) := Buffer (7 .. Len); Curlen := Len - 5; Krlen := 8; elsif Len >= 11 and then Buffer (1 .. 11) = "interfaces-" then Startloc := 3; Buffer (2 .. Len - 9) := Buffer (11 .. Len); Curlen := Len - 9; Krlen := 8; -- For the renamings in the obsolescent section, we also force krunching -- to 8 characters, but no other special processing is required here. -- Note that text_io and calendar are already short enough anyway. elsif (Len = 9 and then Buffer (1 .. 9) = "direct_io") or else (Len = 10 and then Buffer (1 .. 10) = "interfaces") or else (Len = 13 and then Buffer (1 .. 13) = "io_exceptions") or else (Len = 12 and then Buffer (1 .. 12) = "machine_code") or else (Len = 13 and then Buffer (1 .. 13) = "sequential_io") or else (Len = 20 and then Buffer (1 .. 20) = "unchecked_conversion") or else (Len = 22 and then Buffer (1 .. 22) = "unchecked_deallocation") then Startloc := 1; Krlen := 8; Curlen := Len; -- Special case of a child unit whose parent unit is a single letter that -- is A, G, I, or S. In order to prevent confusion with krunched names -- of predefined units use a tilde rather than a minus as the second -- character of the file name. On VMS a tilde is an illegal character -- in a file name, so a dollar_sign is used instead. elsif Len > 1 and then Buffer (2) = '-' and then (B1 = 'a' or else B1 = 'g' or else B1 = 'i' or else B1 = 's') and then Len <= Maxlen then if Hostparm.OpenVMS then Buffer (2) := '$'; else Buffer (2) := '~'; end if; return; -- Normal case, not a predefined file else Startloc := 1; Curlen := Len; Krlen := Maxlen; end if; -- Immediate return if file name is short enough now if Curlen <= Krlen then Len := Curlen; return; end if; -- If string contains Wide_Wide, replace by a single z J := Startloc; while J <= Curlen - 8 loop if Buffer (J .. J + 8) = "wide_wide" and then (J = Startloc or else Buffer (J - 1) = '-' or else Buffer (J - 1) = '_') and then (J + 8 = Curlen or else Buffer (J + 9) = '-' or else Buffer (J + 9) = '_') then Buffer (J) := 'z'; Buffer (J + 1 .. Curlen - 8) := Buffer (J + 9 .. Curlen); Curlen := Curlen - 8; end if; J := J + 1; end loop; -- For now, refuse to krunch a name that contains an ESC character (wide -- character sequence) since it's too much trouble to do this right ??? for J in 1 .. Curlen loop if Buffer (J) = ASCII.ESC then return; end if; end loop; -- Count number of separators (minus signs and underscores) and for now -- replace them by spaces. We keep them around till the end to control -- the krunching process, and then we eliminate them as the last step Num_Seps := 0; for J in Startloc .. Curlen loop if Buffer (J) = '-' or else Buffer (J) = '_' then Buffer (J) := ' '; Num_Seps := Num_Seps + 1; end if; end loop; -- Now we do the one character at a time krunch till we are short enough while Curlen - Num_Seps > Krlen loop declare Long_Length : Natural := 0; Long_Last : Natural := 0; Piece_Start : Natural; Ptr : Natural; begin Ptr := Startloc; -- Loop through pieces to find longest piece while Ptr <= Curlen loop Piece_Start := Ptr; -- Loop through characters in one piece of name while Ptr <= Curlen and then Buffer (Ptr) /= ' ' loop Ptr := Ptr + 1; end loop; if Ptr - Piece_Start > Long_Length then Long_Length := Ptr - Piece_Start; Long_Last := Ptr - 1; end if; Ptr := Ptr + 1; end loop; -- Remove last character of longest piece if Long_Last < Curlen then Buffer (Long_Last .. Curlen - 1) := Buffer (Long_Last + 1 .. Curlen); end if; Curlen := Curlen - 1; end; end loop; -- Final step, remove the spaces Len := 0; for J in 1 .. Curlen loop if Buffer (J) /= ' ' then Len := Len + 1; Buffer (Len) := Buffer (J); end if; end loop; return; end Krunch;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- XML Processor -- -- -- -- Testsuite Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2010-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$ ------------------------------------------------------------------------------ -- Initial implementation of SAX reader was unable to be reused several times -- to read different documents. ------------------------------------------------------------------------------ with Ada.Command_Line; with League.Strings; with XML.SAX.Simple_Readers; with XML.SAX.String_Input_Sources; with Put_Line; with Read_File; with SAX_Events_Writers; procedure Test_20 is use type League.Strings.Universal_String; Source : aliased XML.SAX.String_Input_Sources.String_Input_Source; Reader : aliased XML.SAX.Simple_Readers.Simple_Reader; Writer : aliased SAX_Events_Writers.SAX_Events_Writer; Root : constant String := Ada.Command_Line.Argument (1); XML1 : constant League.Strings.Universal_String := Read_File (Root & "20-1.xml"); XML2 : constant League.Strings.Universal_String := Read_File (Root & "20-2.xml"); Expected : constant League.Strings.Universal_String := Read_File (Root & "20-expected.xml"); begin Reader.Set_Content_Handler (Writer'Unchecked_Access); Reader.Set_Entity_Resolver (Writer'Unchecked_Access); Reader.Set_Error_Handler (Writer'Unchecked_Access); -- Parse first XML document. Source.Set_String (XML1); Reader.Parse (Source'Access); -- Parse second XML document. Source.Set_String (XML2); Reader.Parse (Source'Access); -- Check sequence of SAX events. Writer.Done; if Writer.Text /= Expected then Put_Line ("Expected: '" & Expected & '''); Put_Line ("Actual : '" & Writer.Text & '''); raise Program_Error; end if; end Test_20;
package body afrl.impact.ImpactPointSearchTask.SPARK_Boundary with SPARK_Mode => Off is function Get_SearchLocationID (X : ImpactPointSearchTask) return Int64 renames getSearchLocationID; end afrl.impact.ImpactPointSearchTask.SPARK_Boundary;
with STM32_SVD; use STM32_SVD; generic Filename : String; package STM32GD.USART.Peripheral is pragma Preelaborate; procedure Transmit (Data : in Byte); end STM32GD.USART.Peripheral;